[INFO] cloning repository https://github.com/HerringtonDarkholme/vue-template-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HerringtonDarkholme/vue-template-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerringtonDarkholme%2Fvue-template-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerringtonDarkholme%2Fvue-template-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33909b4fe809985b2a615abec043e62c6c9b3b6f [INFO] testing HerringtonDarkholme/vue-template-compiler/33909b4fe809985b2a615abec043e62c6c9b3b6f against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerringtonDarkholme%2Fvue-template-compiler" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/HerringtonDarkholme/vue-template-compiler [INFO] finished tweaking git repo https://github.com/HerringtonDarkholme/vue-template-compiler [INFO] tweaked toml for git repo https://github.com/HerringtonDarkholme/vue-template-compiler written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HerringtonDarkholme/vue-template-compiler on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HerringtonDarkholme/vue-template-compiler 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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/crates/wasm/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc1/source/napi/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smol_str v0.1.18 [INFO] [stderr] Downloaded rslint_syntax v0.1.4 [INFO] [stderr] Downloaded smallvec v1.12.0 [INFO] [stderr] Downloaded rslint_lexer v0.2.0 [INFO] [stderr] Downloaded slice-dst v1.5.1 [INFO] [stderr] Downloaded rslint_rowan v0.10.0 [INFO] [stderr] Downloaded web-tree-sitter-sg v1.3.3 [INFO] [stderr] Downloaded ctor v0.2.0 [INFO] [stderr] Downloaded io-lifetimes v1.0.2 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.10 [INFO] [stderr] Downloaded tree-sitter-facade-sg v0.9.1 [INFO] [stderr] Downloaded console v0.15.5 [INFO] [stderr] Downloaded serde_yaml v0.9.30 [INFO] [stderr] Downloaded serde_json v1.0.67 [INFO] [stderr] Downloaded cc v1.0.71 [INFO] [stderr] Downloaded napi v2.14.2 [INFO] [stderr] Downloaded similar v2.1.0 [INFO] [stderr] Downloaded tree-sitter v0.20.9 [INFO] [stderr] Downloaded ast-grep-core v0.5.3 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded napi-derive-backend v1.0.58 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded colored v2.0.0 [INFO] [stderr] Downloaded triomphe v0.1.3 [INFO] [stderr] Downloaded rowan v0.10.6 [INFO] [stderr] Downloaded rslint_errors v0.2.0 [INFO] [stderr] Downloaded anstream v0.6.7 [INFO] [stderr] Downloaded napi-build v2.0.0 [INFO] [stderr] Downloaded napi-derive v2.14.6 [INFO] [stderr] Downloaded rslint_parser v0.3.1 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded rslint_text_edit v0.1.0 [INFO] [stderr] Downloaded text-size v1.1.0 [INFO] [stderr] Downloaded mimalloc v0.1.26 [INFO] [stderr] Downloaded napi-sys v2.3.0 [INFO] [stderr] Downloaded insta v1.34.0 [INFO] [stderr] Downloaded tree-sitter-typescript v0.20.3 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.22 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a9bc98611a3b923c4f9b8a530e6ce44c2b4f94fc36de20e1bcc8e12743c684f [INFO] running `Command { std: "docker" "start" "-a" "7a9bc98611a3b923c4f9b8a530e6ce44c2b4f94fc36de20e1bcc8e12743c684f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a9bc98611a3b923c4f9b8a530e6ce44c2b4f94fc36de20e1bcc8e12743c684f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9bc98611a3b923c4f9b8a530e6ce44c2b4f94fc36de20e1bcc8e12743c684f", kill_on_drop: false }` [INFO] [stdout] 7a9bc98611a3b923c4f9b8a530e6ce44c2b4f94fc36de20e1bcc8e12743c684f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1645c958f9766839a16c2b166498ed61bd5847f9d169a8edb37a93442350e2e2 [INFO] running `Command { std: "docker" "start" "-a" "1645c958f9766839a16c2b166498ed61bd5847f9d169a8edb37a93442350e2e2", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/crates/wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/napi/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling text-size v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling smol_str v0.1.18 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.90 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling slice-dst v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bumpalo v3.7.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rslint_syntax v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rslint_rowan v0.10.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling anstream v0.6.7 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling equivalent v1.0.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling path-clean v1.0.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling tree-sitter v0.20.9 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.3 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.90 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling tree-sitter-facade-sg v0.9.1 [INFO] [stderr] Compiling ast-grep-core v0.5.3 [INFO] [stderr] Compiling triomphe v0.1.3 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling smallvec v1.12.0 [INFO] [stderr] Compiling serde_yaml v0.9.30 [INFO] [stderr] Compiling rowan v0.10.6 [INFO] [stderr] Compiling rslint_text_edit v0.1.0 [INFO] [stderr] Compiling rslint_errors v0.2.0 [INFO] [stderr] Compiling rslint_lexer v0.2.0 [INFO] [stderr] Compiling rslint_parser v0.3.1 [INFO] [stderr] Compiling vue-compiler-core v0.1.0 (/opt/rustwide/workdir/crates/compiler) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/util/decode_html.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn decode_named_ref(s: &str, mut w: W, as_attr: bool) -> DecodeResult { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn decode_named_ref(s: &str, mut w: W, as_attr: bool) -> DecodeResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/util/decode_html.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | fn decode_numeric_ref(s: &str, mut w: W) -> DecodeResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn decode_numeric_ref(s: &str, mut w: W) -> DecodeResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/error.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn errors(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | pub fn errors(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/error.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn error_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 252 | pub fn error_mut(&self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vue-compiler-dom v0.1.0 (/opt/rustwide/workdir/crates/dom) [INFO] [stderr] Compiling vue-compiler-sfc v0.1.0 (/opt/rustwide/workdir/crates/sfc) [INFO] [stderr] Compiling vue-compiler-ssr v0.1.0 (/opt/rustwide/workdir/crates/ssr) [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> crates/sfc/src/script/analysis/process_script.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn process_setup_script(ast: TsNode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edit` [INFO] [stdout] --> crates/sfc/src/script/analysis/process_script.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let edit = if specifiers.len() > 1 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> crates/sfc/src/script/analysis/process_script.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(src) = node.field("source") { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_type`, `is_from_setup`, and `is_used_in_template` are never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImportBinding<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | pub is_type: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub is_from_setup: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub is_used_in_template: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scope`, `global_scopes`, `binding_metadata`, and `helper_imports` are never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Analysis<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | // import / type analysis [INFO] [stdout] 21 | scope: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | global_scopes: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | binding_metadata: BindingMetadata<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | helper_imports: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | Error(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Error(String), [INFO] [stdout] 30 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Warning(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Warning(String), [INFO] [stdout] 31 + Warning(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Macros<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 36 | // macros presence check [INFO] [stdout] 37 | has_define_props_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | has_define_emit_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | has_define_expose_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | has_default_export_name: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | has_default_export_render: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | has_define_options_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | has_define_model_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | has_define_slots_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | // defineProps [INFO] [stdout] 46 | props_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | props_runtime_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | props_type_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | props_destructure_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | props_destructured_bindings: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | props_destructure_rest_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | props_runtime_defaults: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | // defineEmits [INFO] [stdout] 54 | emits_runtime_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | emits_type_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | emit_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | // defineModel [INFO] [stdout] 58 | model_decls: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | // defineOptions [INFO] [stdout] 60 | options_runtime_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `macros` is never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct SetupScriptContext<'a, 'b> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 64 | pub analysis: Analysis<'a>, [INFO] [stdout] 65 | macros: Macros<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/sfc/src/parse_sfc.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | fn parse_ast(source: &str, err_handle: RcErrHandle) -> AstRoot { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | fn parse_ast(source: &str, err_handle: RcErrHandle) -> AstRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_registered_import(&self, local: &str) -> Option<&ImportBinding> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_registered_import(&self, local: &str) -> Option<&ImportBinding<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/sfc/src/script/vanilla_script.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn analyze_script_bindings(src: &str) -> BindingMetadata { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn analyze_script_bindings(src: &str) -> BindingMetadata<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vue-compiler-wasm v0.1.0 (/opt/rustwide/workdir/crates/wasm) [INFO] [stderr] Compiling vue-compiler-cli v0.1.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.93s [INFO] running `Command { std: "docker" "inspect" "1645c958f9766839a16c2b166498ed61bd5847f9d169a8edb37a93442350e2e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1645c958f9766839a16c2b166498ed61bd5847f9d169a8edb37a93442350e2e2", kill_on_drop: false }` [INFO] [stdout] 1645c958f9766839a16c2b166498ed61bd5847f9d169a8edb37a93442350e2e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f8c4fcd519d0f0c0fc0d196e046386795293745e434d6f792f1e00eb33c5b22 [INFO] running `Command { std: "docker" "start" "-a" "3f8c4fcd519d0f0c0fc0d196e046386795293745e434d6f792f1e00eb33c5b22", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/crates/wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/napi/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling similar v2.1.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling console v0.15.5 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rslint_errors v0.2.0 [INFO] [stderr] Compiling insta v1.34.0 [INFO] [stderr] Compiling rslint_lexer v0.2.0 [INFO] [stderr] Compiling rslint_parser v0.3.1 [INFO] [stderr] Compiling vue-compiler-core v0.1.0 (/opt/rustwide/workdir/crates/compiler) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/util/decode_html.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn decode_named_ref(s: &str, mut w: W, as_attr: bool) -> DecodeResult { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn decode_named_ref(s: &str, mut w: W, as_attr: bool) -> DecodeResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/util/decode_html.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | fn decode_numeric_ref(s: &str, mut w: W) -> DecodeResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn decode_numeric_ref(s: &str, mut w: W) -> DecodeResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/error.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn errors(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | pub fn errors(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/error.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn error_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 252 | pub fn error_mut(&self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vue-compiler-dom v0.1.0 (/opt/rustwide/workdir/crates/dom) [INFO] [stderr] Compiling vue-compiler-sfc v0.1.0 (/opt/rustwide/workdir/crates/sfc) [INFO] [stderr] Compiling vue-compiler-ssr v0.1.0 (/opt/rustwide/workdir/crates/ssr) [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> crates/sfc/src/script/analysis/process_script.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn process_setup_script(ast: TsNode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edit` [INFO] [stdout] --> crates/sfc/src/script/analysis/process_script.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let edit = if specifiers.len() > 1 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> crates/sfc/src/script/analysis/process_script.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(src) = node.field("source") { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_type`, `is_from_setup`, and `is_used_in_template` are never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImportBinding<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | pub is_type: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub is_from_setup: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub is_used_in_template: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scope`, `global_scopes`, `binding_metadata`, and `helper_imports` are never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Analysis<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | // import / type analysis [INFO] [stdout] 21 | scope: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | global_scopes: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | binding_metadata: BindingMetadata<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | helper_imports: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | Error(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Error(String), [INFO] [stdout] 30 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Warning(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Warning(String), [INFO] [stdout] 31 + Warning(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Macros<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 36 | // macros presence check [INFO] [stdout] 37 | has_define_props_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | has_define_emit_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | has_define_expose_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | has_default_export_name: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | has_default_export_render: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | has_define_options_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | has_define_model_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | has_define_slots_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | // defineProps [INFO] [stdout] 46 | props_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | props_runtime_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | props_type_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | props_destructure_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | props_destructured_bindings: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | props_destructure_rest_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | props_runtime_defaults: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | // defineEmits [INFO] [stdout] 54 | emits_runtime_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | emits_type_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | emit_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | // defineModel [INFO] [stdout] 58 | model_decls: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | // defineOptions [INFO] [stdout] 60 | options_runtime_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `macros` is never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct SetupScriptContext<'a, 'b> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 64 | pub analysis: Analysis<'a>, [INFO] [stdout] 65 | macros: Macros<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/sfc/src/parse_sfc.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | fn parse_ast(source: &str, err_handle: RcErrHandle) -> AstRoot { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | fn parse_ast(source: &str, err_handle: RcErrHandle) -> AstRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_registered_import(&self, local: &str) -> Option<&ImportBinding> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_registered_import(&self, local: &str) -> Option<&ImportBinding<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/sfc/src/script/vanilla_script.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn analyze_script_bindings(src: &str) -> BindingMetadata { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn analyze_script_bindings(src: &str) -> BindingMetadata<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vue-compiler-wasm v0.1.0 (/opt/rustwide/workdir/crates/wasm) [INFO] [stderr] Compiling vue-compiler-cli v0.1.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/util/decode_html.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn decode_named_ref(s: &str, mut w: W, as_attr: bool) -> DecodeResult { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn decode_named_ref(s: &str, mut w: W, as_attr: bool) -> DecodeResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/util/decode_html.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | fn decode_numeric_ref(s: &str, mut w: W) -> DecodeResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 56 | fn decode_numeric_ref(s: &str, mut w: W) -> DecodeResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/converter/v_for.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | fn to_str(e: Js) -> &str { [INFO] [stdout] | ^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | fn to_str(e: Js<'_>) -> &str { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/converter/mod.rs:403:28 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn base_convert(s: &str) -> BaseRoot { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 403 | pub fn base_convert(s: &str) -> BaseRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/converter/mod.rs:419:31 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn handler_convert(s: &str) -> BaseRoot { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 419 | pub fn handler_convert(s: &str) -> BaseRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/error.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn errors(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 249 | pub fn errors(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/error.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn error_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 252 | pub fn error_mut(&self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/parser.rs:954:26 [INFO] [stdout] | [INFO] [stdout] 954 | pub fn base_parse(s: &str) -> AstRoot { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 954 | pub fn base_parse(s: &str) -> AstRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/parser.rs:964:28 [INFO] [stdout] | [INFO] [stdout] 964 | pub fn mock_element(s: &str) -> Element { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 964 | pub fn mock_element(s: &str) -> Element<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/scanner.rs:846:25 [INFO] [stdout] | [INFO] [stdout] 846 | fn scan_with_opt(s: &str, opt: ScanOption) -> impl TokenSource { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 846 | fn scan_with_opt(s: &str, opt: ScanOption) -> impl TokenSource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/scanner.rs:852:25 [INFO] [stdout] | [INFO] [stdout] 852 | pub fn base_scan(s: &str) -> impl TokenSource { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 852 | pub fn base_scan(s: &str) -> impl TokenSource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/scanner.rs:882:30 [INFO] [stdout] | [INFO] [stdout] 882 | fn return_base_tokens(s: &str) -> Tokens { [INFO] [stdout] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 882 | fn return_base_tokens(s: &str) -> Tokens<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/transformer/collect_entities.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | fn transform(s: &str) -> BaseRoot { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | fn transform(s: &str) -> BaseRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/transformer/process_expression.rs:423:30 [INFO] [stdout] | [INFO] [stdout] 423 | fn transform_with_err(s: &str, handler: RcErrHandle) -> BaseRoot { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 423 | fn transform_with_err(s: &str, handler: RcErrHandle) -> BaseRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/src/transformer/process_expression.rs:435:21 [INFO] [stdout] | [INFO] [stdout] 435 | fn transform(s: &str) -> BaseRoot { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 435 | fn transform(s: &str) -> BaseRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> crates/compiler/tests/common/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub use compiler::{Position, SourceLocation}; [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 import: `super::*` [INFO] [stdout] --> crates/sfc/src/script/analysis/collect_import.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/tests/parser_test/mod.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn base_parse(s: &str) -> AstRoot { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn base_parse(s: &str) -> AstRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/tests/parser_test/dir.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn mock_element(s: &str) -> parser::Element { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn mock_element(s: &str) -> parser::Element<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/compiler/tests/scanner_test/mod.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn base_scan(s: &str) -> impl TokenSource { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | pub fn base_scan(s: &str) -> impl TokenSource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> crates/sfc/src/script/analysis/process_script.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn process_setup_script(ast: TsNode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edit` [INFO] [stdout] --> crates/sfc/src/script/analysis/process_script.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let edit = if specifiers.len() > 1 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> crates/sfc/src/script/analysis/process_script.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(src) = node.field("source") { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_type`, `is_from_setup`, and `is_used_in_template` are never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImportBinding<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | pub is_type: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub is_from_setup: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub is_used_in_template: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scope`, `global_scopes`, `binding_metadata`, and `helper_imports` are never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Analysis<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | // import / type analysis [INFO] [stdout] 21 | scope: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | global_scopes: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | binding_metadata: BindingMetadata<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | helper_imports: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | Error(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - Error(String), [INFO] [stdout] 30 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Warning(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - Warning(String), [INFO] [stdout] 31 + Warning(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Macros<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 36 | // macros presence check [INFO] [stdout] 37 | has_define_props_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | has_define_emit_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | has_define_expose_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | has_default_export_name: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | has_default_export_render: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | has_define_options_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | has_define_model_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | has_define_slots_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | // defineProps [INFO] [stdout] 46 | props_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | props_runtime_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | props_type_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | props_destructure_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | props_destructured_bindings: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | props_destructure_rest_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | props_runtime_defaults: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | // defineEmits [INFO] [stdout] 54 | emits_runtime_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | emits_type_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | emit_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | // defineModel [INFO] [stdout] 58 | model_decls: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | // defineOptions [INFO] [stdout] 60 | options_runtime_decl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `macros` is never read [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct SetupScriptContext<'a, 'b> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 64 | pub analysis: Analysis<'a>, [INFO] [stdout] 65 | macros: Macros<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/sfc/src/parse_sfc.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | fn parse_ast(source: &str, err_handle: RcErrHandle) -> AstRoot { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | fn parse_ast(source: &str, err_handle: RcErrHandle) -> AstRoot<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/sfc/src/script/setup_context.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_registered_import(&self, local: &str) -> Option<&ImportBinding> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_registered_import(&self, local: &str) -> Option<&ImportBinding<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/sfc/src/script/vanilla_script.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn analyze_script_bindings(src: &str) -> BindingMetadata { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn analyze_script_bindings(src: &str) -> BindingMetadata<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.65s [INFO] running `Command { std: "docker" "inspect" "3f8c4fcd519d0f0c0fc0d196e046386795293745e434d6f792f1e00eb33c5b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8c4fcd519d0f0c0fc0d196e046386795293745e434d6f792f1e00eb33c5b22", kill_on_drop: false }` [INFO] [stdout] 3f8c4fcd519d0f0c0fc0d196e046386795293745e434d6f792f1e00eb33c5b22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d1a2407158585c6c4af449ae7517ee59ea55d3697f4bd966e4ec29f32c0077bd [INFO] running `Command { std: "docker" "start" "-a" "d1a2407158585c6c4af449ae7517ee59ea55d3697f4bd966e4ec29f32c0077bd", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/crates/wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/napi/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/util/decode_html.rs:26:34 [INFO] [stderr] | [INFO] [stderr] 26 | fn decode_named_ref(s: &str, mut w: W, as_attr: bool) -> DecodeResult { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 26 | fn decode_named_ref(s: &str, mut w: W, as_attr: bool) -> DecodeResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/util/decode_html.rs:56:36 [INFO] [stderr] | [INFO] [stderr] 56 | fn decode_numeric_ref(s: &str, mut w: W) -> DecodeResult { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 56 | fn decode_numeric_ref(s: &str, mut w: W) -> DecodeResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/error.rs:249:19 [INFO] [stderr] | [INFO] [stderr] 249 | pub fn errors(&self) -> Ref> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 249 | pub fn errors(&self) -> Ref<'_, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/error.rs:252:22 [INFO] [stderr] | [INFO] [stderr] 252 | pub fn error_mut(&self) -> RefMut> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 252 | pub fn error_mut(&self) -> RefMut<'_, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `vue-compiler-core` (lib) generated 4 warnings (run `cargo fix --lib -p vue-compiler-core` to apply 4 suggestions) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/converter/v_for.rs:146:18 [INFO] [stderr] | [INFO] [stderr] 146 | fn to_str(e: Js) -> &str { [INFO] [stderr] | ^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 146 | fn to_str(e: Js<'_>) -> &str { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/converter/mod.rs:403:28 [INFO] [stderr] | [INFO] [stderr] 403 | pub fn base_convert(s: &str) -> BaseRoot { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 403 | pub fn base_convert(s: &str) -> BaseRoot<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/converter/mod.rs:419:31 [INFO] [stderr] | [INFO] [stderr] 419 | pub fn handler_convert(s: &str) -> BaseRoot { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 419 | pub fn handler_convert(s: &str) -> BaseRoot<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/parser.rs:954:26 [INFO] [stderr] | [INFO] [stderr] 954 | pub fn base_parse(s: &str) -> AstRoot { [INFO] [stderr] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 954 | pub fn base_parse(s: &str) -> AstRoot<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/parser.rs:964:28 [INFO] [stderr] | [INFO] [stderr] 964 | pub fn mock_element(s: &str) -> Element { [INFO] [stderr] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 964 | pub fn mock_element(s: &str) -> Element<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/scanner.rs:846:25 [INFO] [stderr] | [INFO] [stderr] 846 | fn scan_with_opt(s: &str, opt: ScanOption) -> impl TokenSource { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 846 | fn scan_with_opt(s: &str, opt: ScanOption) -> impl TokenSource<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/scanner.rs:852:25 [INFO] [stderr] | [INFO] [stderr] 852 | pub fn base_scan(s: &str) -> impl TokenSource { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 852 | pub fn base_scan(s: &str) -> impl TokenSource<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/scanner.rs:882:30 [INFO] [stderr] | [INFO] [stderr] 882 | fn return_base_tokens(s: &str) -> Tokens { [INFO] [stderr] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 882 | fn return_base_tokens(s: &str) -> Tokens<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/transformer/collect_entities.rs:134:21 [INFO] [stderr] | [INFO] [stderr] 134 | fn transform(s: &str) -> BaseRoot { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 134 | fn transform(s: &str) -> BaseRoot<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/transformer/process_expression.rs:423:30 [INFO] [stderr] | [INFO] [stderr] 423 | fn transform_with_err(s: &str, handler: RcErrHandle) -> BaseRoot { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 423 | fn transform_with_err(s: &str, handler: RcErrHandle) -> BaseRoot<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/src/transformer/process_expression.rs:435:21 [INFO] [stderr] | [INFO] [stderr] 435 | fn transform(s: &str) -> BaseRoot { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 435 | fn transform(s: &str) -> BaseRoot<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Position` [INFO] [stderr] --> crates/compiler/tests/common/mod.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | pub use compiler::{Position, SourceLocation}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/tests/parser_test/mod.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn base_parse(s: &str) -> AstRoot { [INFO] [stderr] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 28 | pub fn base_parse(s: &str) -> AstRoot<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/tests/parser_test/dir.rs:80:24 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn mock_element(s: &str) -> parser::Element { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn mock_element(s: &str) -> parser::Element<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/compiler/tests/scanner_test/mod.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn base_scan(s: &str) -> impl TokenSource { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 7 | pub fn base_scan(s: &str) -> impl TokenSource<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `vue-compiler-core` (lib test) generated 15 warnings (4 duplicates) (run `cargo fix --lib -p vue-compiler-core --tests` to apply 11 suggestions) [INFO] [stderr] warning: `vue-compiler-core` (test "integration_test") generated 4 warnings (run `cargo fix --test "integration_test"` to apply 4 suggestions) [INFO] [stderr] warning: unused variable: `ast` [INFO] [stderr] --> crates/sfc/src/script/analysis/process_script.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn process_setup_script(ast: TsNode) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `edit` [INFO] [stderr] --> crates/sfc/src/script/analysis/process_script.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | let edit = if specifiers.len() > 1 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src` [INFO] [stderr] --> crates/sfc/src/script/analysis/process_script.rs:71:21 [INFO] [stderr] | [INFO] [stderr] 71 | if let Some(src) = node.field("source") { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stderr] [INFO] [stderr] warning: fields `is_type`, `is_from_setup`, and `is_used_in_template` are never read [INFO] [stdout] [INFO] [stderr] --> crates/sfc/src/script/setup_context.rs:8:9 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 7 | pub struct ImportBinding<'a> { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ------------- fields in this struct [INFO] [stdout] [INFO] [stderr] 8 | pub is_type: bool, [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ [INFO] [stdout] running 85 tests [INFO] [stderr] ... [INFO] [stdout] test codegen::code_writer::test::test_helpers ... ok [INFO] [stderr] 12 | pub is_from_setup: bool, [INFO] [stdout] test codegen::code_writer::test::test_attr ... ok [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] test codegen::code_writer::test::test_implicit_slot ... ok [INFO] [stderr] 13 | pub is_used_in_template: bool, [INFO] [stdout] test codegen::code_writer::test::test_module ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test codegen::code_writer::test::test_render_func_args ... ok [INFO] [stderr] | [INFO] [stdout] test codegen::code_writer::test::test_size ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] test codegen::code_writer::test::test_self_closing ... ok [INFO] [stderr] [INFO] [stdout] test codegen::code_writer::test::test_slot_outlet ... ok [INFO] [stderr] warning: fields `scope`, `global_scopes`, `binding_metadata`, and `helper_imports` are never read [INFO] [stdout] test codegen::code_writer::test::test_text ... ok [INFO] [stderr] --> crates/sfc/src/script/setup_context.rs:21:5 [INFO] [stdout] test codegen::code_writer::test::test_text_fast_path ... ok [INFO] [stderr] | [INFO] [stdout] test codegen::code_writer::test::test_text_merge ... ok [INFO] [stderr] 19 | pub struct Analysis<'a> { [INFO] [stdout] test codegen::code_writer::test::test_v_bind_shorthand ... ok [INFO] [stderr] | -------- fields in this struct [INFO] [stdout] test codegen::code_writer::test::test_v_if ... ok [INFO] [stderr] 20 | // import / type analysis [INFO] [stdout] test codegen::code_writer::test::test_v_for ... ok [INFO] [stderr] 21 | scope: Option, [INFO] [stdout] test codegen::code_writer::test::test_v_memo_in_for ... ok [INFO] [stderr] | ^^^^^ [INFO] [stdout] test converter::cache_dir::test::test_memo ... ok [INFO] [stderr] 22 | global_scopes: Option>, [INFO] [stdout] test converter::cache_dir::test::test_memo_in_template_for ... ok [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] test converter::test::test_abort ... ok [INFO] [stderr] ... [INFO] [stdout] test converter::cache_dir::test::test_memo_in_v_for ... ok [INFO] [stderr] 25 | binding_metadata: BindingMetadata<'a>, [INFO] [stdout] test converter::v_for::test::test_parse_invalid_for ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] test codegen::code_writer::test::test_v_model ... ok [INFO] [stderr] 26 | helper_imports: HashSet, [INFO] [stdout] test codegen::code_writer::test::test_v_if_slot ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] test converter::cache_dir::test::test_memo_in_v_if ... ok [INFO] [stderr] [INFO] [stdout] test converter::test::test_simplest ... ok [INFO] [stderr] warning: field `0` is never read [INFO] [stdout] test converter::v_if::test::test_v_if ... ok [INFO] [stderr] --> crates/sfc/src/script/setup_context.rs:30:11 [INFO] [stdout] test converter::v_on::test::test_is_fn_expr ... ok [INFO] [stderr] | [INFO] [stdout] test converter::v_for::test::test_parse_for_expr ... ok [INFO] [stderr] 30 | Error(String), [INFO] [stdout] test codegen::code_writer::test::test_v_memo ... ok [INFO] [stderr] | ----- ^^^^^^ [INFO] [stdout] test converter::v_slot::test::test_template_slot ... ok [INFO] [stderr] | | [INFO] [stdout] test parser::test::test_parse_text ... ok [INFO] [stderr] | field in this variant [INFO] [stdout] test parser::test::test_decode_attr ... ok [INFO] [stderr] | [INFO] [stdout] test scanner::test::test_simple_text_with_invalid_end_tag ... ok [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] test scanner::test::test_single_delimiter ... ok [INFO] [stderr] | [INFO] [stdout] test scanner::test::test_no_decode_attr ... ok [INFO] [stderr] 30 - Error(String), [INFO] [stdout] test scanner::test::test_tokens_moveby_fun ... ok [INFO] [stderr] 30 + Error(()), [INFO] [stdout] test converter::v_slot::test::test_implicit_named_slot ... ok [INFO] [stderr] | [INFO] [stdout] test converter::v_slot::test::test_implicit_default_slot ... ok [INFO] [stderr] [INFO] [stdout] test test::test_source_size ... ok [INFO] [stderr] warning: field `0` is never read [INFO] [stdout] test transformer::collect_entities::test::test_v_if_helper ... ok [INFO] [stderr] --> crates/sfc/src/script/setup_context.rs:31:13 [INFO] [stdout] test transformer::collect_entities::test::test_v_for_helper ... ok [INFO] [stderr] | [INFO] [stdout] test transformer::mark_slot_flag::test::test_dynamic_slot ... ok [INFO] [stderr] 31 | Warning(String), [INFO] [stdout] test transformer::optimize_text::test::test_merge_text ... ok [INFO] [stderr] | ------- ^^^^^^ [INFO] [stdout] test codegen::code_writer::test::test_v_bind_dir ... ok [INFO] [stderr] | | [INFO] [stdout] test transformer::process_expression::test::test_complex_expression ... ok [INFO] [stderr] | field in this variant [INFO] [stdout] test transformer::optimize_text::test::test_merge_text_with_slot ... ok [INFO] [stderr] | [INFO] [stdout] test transformer::process_expression::test::test_error_expression ... ok [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] test transformer::process_expression::test::test_interpolation_prefix ... ok [INFO] [stderr] | [INFO] [stdout] test transformer::process_expression::test::test_prefix_v_for ... ok [INFO] [stderr] 31 - Warning(String), [INFO] [stdout] test transformer::process_expression::test::test_prop_prefix ... ok [INFO] [stderr] 31 + Warning(()), [INFO] [stdout] test transformer::process_expression::test::test_transform_default_shorthand ... ok [INFO] [stderr] | [INFO] [stdout] test transformer::process_expression::test::test_transform_destruct ... ok [INFO] [stderr] [INFO] [stdout] test transformer::process_expression::test::test_transform_shorthand ... ok [INFO] [stderr] warning: multiple fields are never read [INFO] [stdout] test util::json::test::stringify_control_escaped ... ok [INFO] [stderr] --> crates/sfc/src/script/setup_context.rs:37:5 [INFO] [stdout] test util::json::test::stringify_dont_escape_forward_slash ... ok [INFO] [stderr] | [INFO] [stdout] test transformer::process_expression::test::test_transform_fn_param ... ok [INFO] [stderr] 35 | struct Macros<'a> { [INFO] [stdout] test transformer::process_expression::test::test_v_bind_prefix ... ok [INFO] [stderr] | ------ fields in this struct [INFO] [stdout] test util::json::test::stringify_escaped ... ok [INFO] [stderr] 36 | // macros presence check [INFO] [stdout] test util::json::test::stringify_escaped_characters ... ok [INFO] [stderr] 37 | has_define_props_call: bool, [INFO] [stdout] test util::json::test::stringify_str ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test util::rslint::test::test_fn_param ... ok [INFO] [stderr] 38 | has_define_emit_call: bool, [INFO] [stdout] test util::rslint::test::test_invalid_expr ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test util::rslint::test::test_no_panic ... ok [INFO] [stderr] 39 | has_define_expose_call: bool, [INFO] [stdout] test util::rslint::test::test_walk_fn_param ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test transformer::collect_entities::test::test_v_for_alterable_helper ... ok [INFO] [stderr] 40 | has_default_export_name: bool, [INFO] [stdout] test transformer::optimize_text::test::test_merge_text_with_element ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test util::decode_html::test::test_html_decode ... ok [INFO] [stderr] 41 | has_default_export_render: bool, [INFO] [stdout] test util::rslint::test::test_syntax_range ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test util::test::find_dynamic_only_prop ... ok [INFO] [stderr] 42 | has_define_options_call: bool, [INFO] [stdout] test util::test::layman_lazy ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test util::test::test_find_dir_mut ... ok [INFO] [stderr] 43 | has_define_model_call: bool, [INFO] [stdout] test util::test::find_prop_ignore_dynamic_bind ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test util::test::test_find_empty_dir ... ok [INFO] [stderr] 44 | has_define_slots_call: bool, [INFO] [stdout] test util::test::prop_find_all ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test util::v_str::test::test_str_ops_write ... ok [INFO] [stderr] 45 | // defineProps [INFO] [stdout] test util::test::test_find_prop ... ok [INFO] [stderr] 46 | props_identifier: Option, [INFO] [stdout] test util::v_str::test::test_str_ops_iter ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] test codegen::code_writer::test::test_v_element ... ok [INFO] [stderr] 47 | props_runtime_decl: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 48 | props_type_decl: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 49 | props_destructure_decl: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 50 | props_destructured_bindings: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 51 | props_destructure_rest_id: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 52 | props_runtime_defaults: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 53 | // defineEmits [INFO] [stderr] 54 | emits_runtime_decl: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 55 | emits_type_decl: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 56 | emit_identifier: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 57 | // defineModel [INFO] [stderr] 58 | model_decls: HashMap, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 59 | // defineOptions [INFO] [stderr] 60 | options_runtime_decl: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `macros` is never read [INFO] [stderr] --> crates/sfc/src/script/setup_context.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct SetupScriptContext<'a, 'b> { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 64 | pub analysis: Analysis<'a>, [INFO] [stderr] 65 | macros: Macros<'a>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/sfc/src/parse_sfc.rs:200:22 [INFO] [stderr] | [INFO] [stderr] 200 | fn parse_ast(source: &str, err_handle: RcErrHandle) -> AstRoot { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 200 | fn parse_ast(source: &str, err_handle: RcErrHandle) -> AstRoot<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/sfc/src/script/setup_context.rs:104:34 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn get_registered_import(&self, local: &str) -> Option<&ImportBinding> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 104 | pub fn get_registered_import(&self, local: &str) -> Option<&ImportBinding<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/sfc/src/script/vanilla_script.rs:39:33 [INFO] [stderr] | [INFO] [stderr] 39 | fn analyze_script_bindings(src: &str) -> BindingMetadata { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 39 | fn analyze_script_bindings(src: &str) -> BindingMetadata<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> crates/sfc/src/script/analysis/collect_import.rs:180:9 [INFO] [stderr] | [INFO] [stderr] 180 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `vue-compiler-sfc` (lib) generated 12 warnings (run `cargo fix --lib -p vue-compiler-sfc` to apply 3 suggestions) [INFO] [stderr] warning: `vue-compiler-sfc` (lib test) generated 13 warnings (12 duplicates) (run `cargo fix --lib -p vue-compiler-sfc --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vue_compiler_cli-b5140966a6ac5a69) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vue_compiler_core-01a1bf23a40b135c) [INFO] [stdout] test util::v_str::test::test_v_str_size ... ok [INFO] [stdout] test util::v_str::test::test_str_ops_write_edge ... ok [INFO] [stdout] test util::test::test_find_dir ... ok [INFO] [stdout] test util::rslint::test::test_walk_identifier ... ok [INFO] [stdout] test util::rslint::test::test_panic_wrong_cast - should panic ... ok [INFO] [stdout] test converter::convert_element::test::test_component_basic ... ok [INFO] [stdout] test codegen::code_writer::test::test_v_once ... ok [INFO] [stdout] test codegen::code_writer::test::test_handler ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 85 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-d8489c4a2f7a4729) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test error_test::test_scan ... ok [INFO] [stdout] test error_test::test_abrupt_closing_of_comment ... ok [INFO] [stdout] test parser_test::dir::test_prop_dir ... ok [INFO] [stdout] test parser_test::dir::test_custom_dir ... ok [INFO] [stdout] test parser_test::dir::test_slot_dir ... ok [INFO] [stdout] test parser_test::test_base_parse ... ok [INFO] [stdout] test parser_test::test_script ... ok [INFO] [stdout] test scanner_test::test_scan_raw_text ... ok [INFO] [stdout] test parser_test::dir::test_dir_parse_error ... ok [INFO] [stdout] test converter_test::test_text_call ... ok [INFO] [stdout] test parser_test::dir::test_bind_dir ... ok [INFO] [stdout] test parser_test::dir::test_on_dir ... ok [INFO] [stdout] test codegen_test::test_text_codegen ... ok [INFO] [stdout] test scanner_test::test_scan ... ok [INFO] [stdout] test scanner_test::test_scan_rc_data ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vue_compiler_dom-6857c3eaa42487bb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vue_compiler_sfc-36088ada3fec82f7) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test script::vanilla_script::test::test_analyze_inject ... ok [INFO] [stdout] test script::vanilla_script::test::test_analyze_computed ... ok [INFO] [stdout] test script::vanilla_script::test::test_analyze_setup ... ok [INFO] [stdout] test parse_sfc::test::test_parse_sfc ... ok [INFO] [stdout] test script::vanilla_script::test::test_analyze_props ... ok [INFO] [stdout] test script::vanilla_script::test::test_analyze_data ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vue_compiler_ssr-f6d9ba1cf7333b37) [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vue_compiler_wasm-b77e1a13bb5e30bf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests vue_compiler_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests vue_compiler_dom [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests vue_compiler_sfc [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests vue_compiler_ssr [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d1a2407158585c6c4af449ae7517ee59ea55d3697f4bd966e4ec29f32c0077bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a2407158585c6c4af449ae7517ee59ea55d3697f4bd966e4ec29f32c0077bd", kill_on_drop: false }` [INFO] [stdout] d1a2407158585c6c4af449ae7517ee59ea55d3697f4bd966e4ec29f32c0077bd