[INFO] cloning repository https://github.com/chesteralan/react-auditor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chesteralan/react-auditor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchesteralan%2Freact-auditor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchesteralan%2Freact-auditor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c51677ddaf83ebfc204819ec154d852621adef42 [INFO] checking chesteralan/react-auditor against 65c7d39f9c2b9d5c316725cb48fa3d360c64c663 for pr-161253 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchesteralan%2Freact-auditor" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chesteralan/react-auditor [INFO] finished tweaking git repo https://github.com/chesteralan/react-auditor [INFO] tweaked toml for git repo https://github.com/chesteralan/react-auditor written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chesteralan/react-auditor on toolchain 65c7d39f9c2b9d5c316725cb48fa3d360c64c663 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chesteralan/react-auditor 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" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] af93db0ad474b456fe1b8066323d3bef5ca9c07c75452a73107f924b4fc5b9ba [INFO] running `Command { std: "docker" "start" "af93db0ad474b456fe1b8066323d3bef5ca9c07c75452a73107f924b4fc5b9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af93db0ad474b456fe1b8066323d3bef5ca9c07c75452a73107f924b4fc5b9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "af93db0ad474b456fe1b8066323d3bef5ca9c07c75452a73107f924b4fc5b9ba" "/opt/rustwide/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af93db0ad474b456fe1b8066323d3bef5ca9c07c75452a73107f924b4fc5b9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "af93db0ad474b456fe1b8066323d3bef5ca9c07c75452a73107f924b4fc5b9ba" "/opt/rustwide/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Compiling siphasher v1.0.3 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking smawk v0.3.3 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Checking cow-utils v0.1.3 [INFO] [stderr] Checking phf_shared v0.14.0 [INFO] [stderr] Checking unicode-id-start v1.4.0 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Compiling dragonbox_ecma v0.1.12 [INFO] [stderr] Checking compact_str v0.9.1 [INFO] [stderr] Checking oxc_data_structures v0.140.0 [INFO] [stderr] Checking oxc_data_structures v0.138.0 [INFO] [stderr] Checking oxc_estree v0.140.0 [INFO] [stderr] Checking oxc_estree v0.138.0 [INFO] [stderr] Checking oxc_data_structures v0.139.0 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking oxc_estree v0.139.0 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking log v0.4.33 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling cc v1.2.65 [INFO] [stderr] Checking num-bigint v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking bstr v1.12.3 [INFO] [stderr] Checking winnow v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.103 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Checking inotify v0.11.2 [INFO] [stderr] Checking mio v1.2.1 [INFO] [stderr] Compiling phf v0.14.0 [INFO] [stderr] Compiling phf_generator v0.14.0 [INFO] [stderr] Checking hashbrown v0.17.1 [INFO] [stderr] Checking toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Checking itertools v0.15.0 [INFO] [stderr] Checking console v0.16.4 [INFO] [stderr] Checking toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Checking serde_spanned v1.1.1 [INFO] [stderr] Checking notify-types v2.1.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling react-auditor v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking self_cell v1.2.2 [INFO] [stderr] Checking toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Checking unit-prefix v0.5.2 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking toml v1.1.2+spec-1.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking oxc_allocator v0.140.0 [INFO] [stderr] Checking oxc_allocator v0.138.0 [INFO] [stderr] Checking oxc_allocator v0.139.0 [INFO] [stderr] Checking indicatif v0.18.6 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking colored v3.1.1 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Checking criterion-plot v0.8.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rand v0.9.4 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Checking oxc_str v0.138.0 [INFO] [stderr] Checking oxc_str v0.139.0 [INFO] [stderr] Checking oxc_str v0.140.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling oxc-miette-derive v3.0.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling phf_macros v0.14.0 [INFO] [stderr] Compiling oxc_ast_macros v0.140.0 [INFO] [stderr] Compiling oxc_ast_macros v0.138.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.52 [INFO] [stderr] Compiling oxc_ast_macros v0.139.0 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking regex v1.12.4 [INFO] [stderr] Checking ignore v0.4.28 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking zerocopy v0.8.52 [INFO] [stderr] Checking oxc-miette v3.0.0 [INFO] [stderr] Checking oxc_span v0.140.0 [INFO] [stderr] Checking oxc_span v0.138.0 [INFO] [stderr] Checking oxc_diagnostics v0.140.0 [INFO] [stderr] Checking oxc_diagnostics v0.138.0 [INFO] [stderr] Checking oxc_span v0.139.0 [INFO] [stderr] Checking oxc_diagnostics v0.139.0 [INFO] [stderr] Checking oxc_regular_expression v0.139.0 [INFO] [stderr] Checking oxc_regular_expression v0.140.0 [INFO] [stderr] Checking oxc_regular_expression v0.138.0 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking oxc_index v5.0.0 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking oxc_syntax v0.140.0 [INFO] [stderr] Checking oxc_syntax v0.138.0 [INFO] [stderr] Checking oxc_syntax v0.139.0 [INFO] [stderr] Checking oxc_ast v0.139.0 [INFO] [stderr] Checking oxc_ast v0.140.0 [INFO] [stderr] Checking oxc_ast v0.138.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking proptest v1.11.0 [INFO] [stderr] Checking criterion v0.8.2 [INFO] [stderr] Checking oxc_ecmascript v0.140.0 [INFO] [stderr] Checking oxc_ast_visit v0.140.0 [INFO] [stderr] Checking oxc_semantic v0.140.0 [INFO] [stderr] Checking oxc_ecmascript v0.138.0 [INFO] [stderr] Checking oxc_parser v0.138.0 [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_head_element.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HeadCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut HeadCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_head_element.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HeadCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut HeadCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_img_element.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ImgCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ImgCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_page_link.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut PageLinkCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut PageLinkCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_img_element.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ImgCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ImgCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_page_link.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut PageLinkCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut PageLinkCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_script_tag_in_head.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXElement<'a>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ScriptHeadCollector<'_>, &oxc_ast::ast::jsx::JSXElement<'a>)` [INFO] [stdout] found signature `fn(&mut ScriptHeadCollector<'_>, &oxc_ast::ast::JSXElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::jsx::JSXElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_script_tag_in_head.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXElement<'a>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ScriptHeadCollector<'_>, &oxc_ast::ast::jsx::JSXElement<'a>)` [INFO] [stdout] found signature `fn(&mut ScriptHeadCollector<'_>, &oxc_ast::ast::JSXElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::jsx::JSXElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_script_tag_in_head.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ScriptHeadCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ScriptHeadCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_script_tag_in_head.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ScriptHeadCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ScriptHeadCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_import_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_sync_script.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::ImportDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ImportDeclaration<'a>`, found `oxc_ast::ast::ImportDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SyncScriptCollector<'_>, &oxc_ast::ast::js::ImportDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut SyncScriptCollector<'_>, &oxc_ast::ast::ImportDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::js::ImportDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_import_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_sync_script.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::ImportDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ImportDeclaration<'a>`, found `oxc_ast::ast::ImportDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SyncScriptCollector<'_>, &oxc_ast::ast::js::ImportDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut SyncScriptCollector<'_>, &oxc_ast::ast::ImportDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::js::ImportDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_sync_script.rs:57:49 [INFO] [stdout] | [INFO] [stdout] 57 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SyncScriptCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut SyncScriptCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 57 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/nextjs/no_sync_script.rs:57:49 [INFO] [stdout] | [INFO] [stdout] 57 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SyncScriptCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut SyncScriptCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 57 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/a_has_content.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXElement<'a>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AHasContentCollector<'_>, &oxc_ast::ast::jsx::JSXElement<'a>)` [INFO] [stdout] found signature `fn(&mut AHasContentCollector<'_>, &oxc_ast::ast::JSXElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::jsx::JSXElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/a_has_content.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXElement<'a>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AHasContentCollector<'_>, &oxc_ast::ast::jsx::JSXElement<'a>)` [INFO] [stdout] found signature `fn(&mut AHasContentCollector<'_>, &oxc_ast::ast::JSXElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::jsx::JSXElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/aria_valid.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AriaCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut AriaCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 100 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/aria_valid.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AriaCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut AriaCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 100 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/button_has_type.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ButtonTypeCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ButtonTypeCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/button_has_type.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ButtonTypeCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ButtonTypeCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/click_events_have_key_events.rs:39:49 [INFO] [stdout] | [INFO] [stdout] 39 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ClickKeyCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ClickKeyCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 39 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/click_events_have_key_events.rs:39:49 [INFO] [stdout] | [INFO] [stdout] 39 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ClickKeyCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ClickKeyCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 39 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/heading_levels.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HeadingCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut HeadingCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 64 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/heading_levels.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HeadingCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut HeadingCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 64 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/html_has_lang.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HtmlLangCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut HtmlLangCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/html_has_lang.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HtmlLangCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut HtmlLangCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/img_alt.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ImgAltCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ImgAltCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/img_alt.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ImgAltCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ImgAltCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/label_associated.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut LabelCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut LabelCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/label_associated.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut LabelCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut LabelCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_import_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/lazy_load_components.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::ImportDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ImportDeclaration<'a>`, found `oxc_ast::ast::ImportDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut LazyCollector<'_>, &oxc_ast::ast::js::ImportDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut LazyCollector<'_>, &oxc_ast::ast::ImportDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::js::ImportDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_ambiguous_labels.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXElement<'a>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AmbiguousLabelCollector<'_>, &oxc_ast::ast::jsx::JSXElement<'a>)` [INFO] [stdout] found signature `fn(&mut AmbiguousLabelCollector<'_>, &oxc_ast::ast::JSXElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::jsx::JSXElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_import_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/lazy_load_components.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::ImportDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ImportDeclaration<'a>`, found `oxc_ast::ast::ImportDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut LazyCollector<'_>, &oxc_ast::ast::js::ImportDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut LazyCollector<'_>, &oxc_ast::ast::ImportDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::js::ImportDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_ambiguous_labels.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXElement<'a>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AmbiguousLabelCollector<'_>, &oxc_ast::ast::jsx::JSXElement<'a>)` [INFO] [stdout] found signature `fn(&mut AmbiguousLabelCollector<'_>, &oxc_ast::ast::JSXElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_jsx_element(&mut self, el: &oxc_ast::ast::jsx::JSXElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_autofocus.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AutofocusCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut AutofocusCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_autofocus.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AutofocusCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut AutofocusCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_bind_in_jsx.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut BindCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut BindCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_bind_in_jsx.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut BindCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut BindCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | func: &oxc_ast::ast::Function<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 76 | func: &oxc_ast::ast::js::Function<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | func: &oxc_ast::ast::Function<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 76 | func: &oxc_ast::ast::js::Function<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 87 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HeavyComputeCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 87 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_import_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_large_libraries.rs:69:50 [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::ImportDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ImportDeclaration<'a>`, found `oxc_ast::ast::ImportDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut LargeLibCollector<'_>, &oxc_ast::ast::js::ImportDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut LargeLibCollector<'_>, &oxc_ast::ast::ImportDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::js::ImportDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_import_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/no_large_libraries.rs:69:50 [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::ImportDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ImportDeclaration<'a>`, found `oxc_ast::ast::ImportDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut LargeLibCollector<'_>, &oxc_ast::ast::js::ImportDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut LargeLibCollector<'_>, &oxc_ast::ast::ImportDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 69 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::js::ImportDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/prefer_fragments.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut FragmentCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut FragmentCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 100 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/prefer_fragments.rs:100:49 [INFO] [stdout] | [INFO] [stdout] 100 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut FragmentCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut FragmentCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 100 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/tabindex_no_positive.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut TabindexCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut TabindexCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/performance/tabindex_no_positive.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut TabindexCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut TabindexCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/complexity.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_function(&mut self, func: &oxc_ast::ast::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ComplexityCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut ComplexityCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_function(&mut self, func: &oxc_ast::ast::js::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/complexity.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_function(&mut self, func: &oxc_ast::ast::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ComplexityCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut ComplexityCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_function(&mut self, func: &oxc_ast::ast::js::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/complexity.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ComplexityCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ComplexityCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 67 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/complexity.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ComplexityCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ComplexityCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 67 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/consistent_return.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | fn visit_function(&mut self, func: &oxc_ast::ast::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ReturnCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut ReturnCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 166 | fn visit_function(&mut self, func: &oxc_ast::ast::js::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/consistent_return.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | fn visit_function(&mut self, func: &oxc_ast::ast::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ReturnCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut ReturnCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 166 | fn visit_function(&mut self, func: &oxc_ast::ast::js::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/consistent_return.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ReturnCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ReturnCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 190 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/consistent_return.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ReturnCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ReturnCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 190 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_formal_parameters` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/max_params.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_formal_parameters(&mut self, params: &oxc_ast::ast::FormalParameters<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::FormalParameters<'a>`, found `oxc_ast::ast::FormalParameters<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ParamCollector<'_>, &oxc_ast::ast::js::FormalParameters<'a>)` [INFO] [stdout] found signature `fn(&mut ParamCollector<'_>, &oxc_ast::ast::FormalParameters<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_formal_parameters(&mut self, params: &oxc_ast::ast::js::FormalParameters<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_formal_parameters` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/max_params.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_formal_parameters(&mut self, params: &oxc_ast::ast::FormalParameters<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::FormalParameters<'a>`, found `oxc_ast::ast::FormalParameters<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ParamCollector<'_>, &oxc_ast::ast::js::FormalParameters<'a>)` [INFO] [stdout] found signature `fn(&mut ParamCollector<'_>, &oxc_ast::ast::FormalParameters<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_formal_parameters(&mut self, params: &oxc_ast::ast::js::FormalParameters<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_console.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 72 | fn visit_call_expression(&mut self, expr: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ConsoleCallCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ConsoleCallCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 72 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_console.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 72 | fn visit_call_expression(&mut self, expr: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ConsoleCallCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ConsoleCallCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 72 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_deep_nesting.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn visit_statement(&mut self, stmt: &oxc_ast::ast::Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Statement<'a>`, found `Statement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NestingCollector<'_>, &oxc_ast::ast::js::Statement<'a>)` [INFO] [stdout] found signature `fn(&mut NestingCollector<'_>, &Statement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 43 | fn visit_statement(&mut self, stmt: &oxc_ast::ast::js::Statement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_deep_nesting.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn visit_statement(&mut self, stmt: &oxc_ast::ast::Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Statement<'a>`, found `Statement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NestingCollector<'_>, &oxc_ast::ast::js::Statement<'a>)` [INFO] [stdout] found signature `fn(&mut NestingCollector<'_>, &Statement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 43 | fn visit_statement(&mut self, stmt: &oxc_ast::ast::js::Statement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_empty_blocks.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | fn visit_statement(&mut self, stmt: &Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Statement<'a>`, found `Statement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut EmptyBlockCollector<'_>, &oxc_ast::ast::js::Statement<'a>)` [INFO] [stdout] found signature `fn(&mut EmptyBlockCollector<'_>, &Statement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 53 | fn visit_statement(&mut self, stmt: &oxc_ast::ast::js::Statement<'a>) { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_empty_blocks.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | fn visit_statement(&mut self, stmt: &Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Statement<'a>`, found `Statement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut EmptyBlockCollector<'_>, &oxc_ast::ast::js::Statement<'a>)` [INFO] [stdout] found signature `fn(&mut EmptyBlockCollector<'_>, &Statement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 53 | fn visit_statement(&mut self, stmt: &oxc_ast::ast::js::Statement<'a>) { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_long_functions.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_function(&mut self, func: &oxc_ast::ast::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut LongFnCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut LongFnCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_function(&mut self, func: &oxc_ast::ast::js::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_long_functions.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_function(&mut self, func: &oxc_ast::ast::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut LongFnCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut LongFnCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_function(&mut self, func: &oxc_ast::ast::js::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_long_functions.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut LongFnCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut LongFnCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 68 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_long_functions.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut LongFnCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut LongFnCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 68 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_variable_declarator` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_magic_numbers.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::VariableDeclarator<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::VariableDeclarator<'a>`, found `oxc_ast::ast::VariableDeclarator<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut MagicCollector<'_>, &oxc_ast::ast::js::VariableDeclarator<'a>)` [INFO] [stdout] found signature `fn(&mut MagicCollector<'_>, &oxc_ast::ast::VariableDeclarator<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::js::VariableDeclarator<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_variable_declarator` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_magic_numbers.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::VariableDeclarator<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::VariableDeclarator<'a>`, found `oxc_ast::ast::VariableDeclarator<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut MagicCollector<'_>, &oxc_ast::ast::js::VariableDeclarator<'a>)` [INFO] [stdout] found signature `fn(&mut MagicCollector<'_>, &oxc_ast::ast::VariableDeclarator<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::js::VariableDeclarator<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_numeric_literal` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_magic_numbers.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | fn visit_numeric_literal(&mut self, lit: &NumericLiteral) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `NumericLiteral<'a>`, found `oxc_ast::ast::NumericLiteral<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut MagicCollector<'_>, &oxc_ast::ast::literal::NumericLiteral<'a>)` [INFO] [stdout] found signature `fn(&mut MagicCollector<'_>, &oxc_ast::ast::NumericLiteral<'_>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 48 - fn visit_numeric_literal(&mut self, lit: &NumericLiteral) { [INFO] [stdout] 48 + fn visit_numeric_literal(&mut self, lit: &oxc_ast::ast::literal::NumericLiteral<'a>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_numeric_literal` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_magic_numbers.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | fn visit_numeric_literal(&mut self, lit: &NumericLiteral) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `NumericLiteral<'a>`, found `oxc_ast::ast::NumericLiteral<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut MagicCollector<'_>, &oxc_ast::ast::literal::NumericLiteral<'a>)` [INFO] [stdout] found signature `fn(&mut MagicCollector<'_>, &oxc_ast::ast::NumericLiteral<'_>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 48 - fn visit_numeric_literal(&mut self, lit: &NumericLiteral) { [INFO] [stdout] 48 + fn visit_numeric_literal(&mut self, lit: &oxc_ast::ast::literal::NumericLiteral<'a>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_variable_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_var.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | fn visit_variable_declaration(&mut self, decl: &oxc_ast::ast::VariableDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `VariableDeclaration<'a>`, found `oxc_ast::ast::VariableDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut VarCollector<'_>, &oxc_ast::ast::js::VariableDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut VarCollector<'_>, &oxc_ast::ast::VariableDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 63 | fn visit_variable_declaration(&mut self, decl: &oxc_ast::ast::js::VariableDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_variable_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/no_var.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | fn visit_variable_declaration(&mut self, decl: &oxc_ast::ast::VariableDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `VariableDeclaration<'a>`, found `oxc_ast::ast::VariableDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut VarCollector<'_>, &oxc_ast::ast::js::VariableDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut VarCollector<'_>, &oxc_ast::ast::VariableDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 63 | fn visit_variable_declaration(&mut self, decl: &oxc_ast::ast::js::VariableDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/prefer_early_return.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_statement(&mut self, stmt: &oxc_ast::ast::Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Statement<'a>`, found `Statement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut EarlyReturnCollector<'_>, &oxc_ast::ast::js::Statement<'a>)` [INFO] [stdout] found signature `fn(&mut EarlyReturnCollector<'_>, &Statement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_statement(&mut self, stmt: &oxc_ast::ast::js::Statement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/consistent_component_naming.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_function(&mut self, func: &oxc_ast::ast::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NamingCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut NamingCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_function(&mut self, func: &oxc_ast::ast::js::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/quality/prefer_early_return.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_statement(&mut self, stmt: &oxc_ast::ast::Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Statement<'a>`, found `Statement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut EarlyReturnCollector<'_>, &oxc_ast::ast::js::Statement<'a>)` [INFO] [stdout] found signature `fn(&mut EarlyReturnCollector<'_>, &Statement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_statement(&mut self, stmt: &oxc_ast::ast::js::Statement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/consistent_component_naming.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_function(&mut self, func: &oxc_ast::ast::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NamingCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut NamingCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_function(&mut self, func: &oxc_ast::ast::js::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/effect_deps_complete.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut DepsCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut DepsCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/effect_deps_complete.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut DepsCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut DepsCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | func: &oxc_ast::ast::Function<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 78 | func: &oxc_ast::ast::js::Function<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | func: &oxc_ast::ast::Function<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 78 | func: &oxc_ast::ast::js::Function<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 88 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_if_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:95:44 [INFO] [stdout] | [INFO] [stdout] 95 | fn visit_if_statement(&mut self, stmt: &oxc_ast::ast::IfStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::IfStatement<'a>`, found `oxc_ast::ast::IfStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::IfStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::IfStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 95 | fn visit_if_statement(&mut self, stmt: &oxc_ast::ast::js::IfStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_conditional_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:101:54 [INFO] [stdout] | [INFO] [stdout] 101 | fn visit_conditional_expression(&mut self, expr: &oxc_ast::ast::ConditionalExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ConditionalExpression<'a>`, found `oxc_ast::ast::ConditionalExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::ConditionalExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::ConditionalExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 101 | fn visit_conditional_expression(&mut self, expr: &oxc_ast::ast::js::ConditionalExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_logical_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:107:50 [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_logical_expression(&mut self, expr: &oxc_ast::ast::LogicalExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::LogicalExpression<'a>`, found `oxc_ast::ast::LogicalExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::LogicalExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::LogicalExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_logical_expression(&mut self, expr: &oxc_ast::ast::js::LogicalExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 88 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_for_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 122 | fn visit_for_statement(&mut self, stmt: &oxc_ast::ast::ForStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ForStatement<'a>`, found `oxc_ast::ast::ForStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::ForStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::ForStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 122 | fn visit_for_statement(&mut self, stmt: &oxc_ast::ast::js::ForStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_if_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:95:44 [INFO] [stdout] | [INFO] [stdout] 95 | fn visit_if_statement(&mut self, stmt: &oxc_ast::ast::IfStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::IfStatement<'a>`, found `oxc_ast::ast::IfStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::IfStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::IfStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 95 | fn visit_if_statement(&mut self, stmt: &oxc_ast::ast::js::IfStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_conditional_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:101:54 [INFO] [stdout] | [INFO] [stdout] 101 | fn visit_conditional_expression(&mut self, expr: &oxc_ast::ast::ConditionalExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ConditionalExpression<'a>`, found `oxc_ast::ast::ConditionalExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::ConditionalExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::ConditionalExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 101 | fn visit_conditional_expression(&mut self, expr: &oxc_ast::ast::js::ConditionalExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_logical_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:107:50 [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_logical_expression(&mut self, expr: &oxc_ast::ast::LogicalExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::LogicalExpression<'a>`, found `oxc_ast::ast::LogicalExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::LogicalExpression<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::LogicalExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 107 | fn visit_logical_expression(&mut self, expr: &oxc_ast::ast::js::LogicalExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_for_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 122 | fn visit_for_statement(&mut self, stmt: &oxc_ast::ast::ForStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ForStatement<'a>`, found `oxc_ast::ast::ForStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::ForStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::ForStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 122 | fn visit_for_statement(&mut self, stmt: &oxc_ast::ast::js::ForStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_for_in_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:128:48 [INFO] [stdout] | [INFO] [stdout] 128 | fn visit_for_in_statement(&mut self, stmt: &oxc_ast::ast::ForInStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ForInStatement<'a>`, found `oxc_ast::ast::ForInStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::ForInStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::ForInStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 128 | fn visit_for_in_statement(&mut self, stmt: &oxc_ast::ast::js::ForInStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_for_in_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:128:48 [INFO] [stdout] | [INFO] [stdout] 128 | fn visit_for_in_statement(&mut self, stmt: &oxc_ast::ast::ForInStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ForInStatement<'a>`, found `oxc_ast::ast::ForInStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::ForInStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::ForInStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 128 | fn visit_for_in_statement(&mut self, stmt: &oxc_ast::ast::js::ForInStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_for_of_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | fn visit_for_of_statement(&mut self, stmt: &oxc_ast::ast::ForOfStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ForOfStatement<'a>`, found `oxc_ast::ast::ForOfStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::ForOfStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::ForOfStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 134 | fn visit_for_of_statement(&mut self, stmt: &oxc_ast::ast::js::ForOfStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_for_of_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | fn visit_for_of_statement(&mut self, stmt: &oxc_ast::ast::ForOfStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ForOfStatement<'a>`, found `oxc_ast::ast::ForOfStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::ForOfStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::ForOfStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 134 | fn visit_for_of_statement(&mut self, stmt: &oxc_ast::ast::js::ForOfStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_while_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:140:47 [INFO] [stdout] | [INFO] [stdout] 140 | fn visit_while_statement(&mut self, stmt: &oxc_ast::ast::WhileStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::WhileStatement<'a>`, found `oxc_ast::ast::WhileStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::WhileStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::WhileStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 140 | fn visit_while_statement(&mut self, stmt: &oxc_ast::ast::js::WhileStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_while_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:140:47 [INFO] [stdout] | [INFO] [stdout] 140 | fn visit_while_statement(&mut self, stmt: &oxc_ast::ast::WhileStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::WhileStatement<'a>`, found `oxc_ast::ast::WhileStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::WhileStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::WhileStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 140 | fn visit_while_statement(&mut self, stmt: &oxc_ast::ast::js::WhileStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_do_while_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:146:50 [INFO] [stdout] | [INFO] [stdout] 146 | fn visit_do_while_statement(&mut self, stmt: &oxc_ast::ast::DoWhileStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::DoWhileStatement<'a>`, found `oxc_ast::ast::DoWhileStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::DoWhileStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::DoWhileStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 146 | fn visit_do_while_statement(&mut self, stmt: &oxc_ast::ast::js::DoWhileStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_do_while_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:146:50 [INFO] [stdout] | [INFO] [stdout] 146 | fn visit_do_while_statement(&mut self, stmt: &oxc_ast::ast::DoWhileStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::DoWhileStatement<'a>`, found `oxc_ast::ast::DoWhileStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::DoWhileStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::DoWhileStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 146 | fn visit_do_while_statement(&mut self, stmt: &oxc_ast::ast::js::DoWhileStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_switch_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | fn visit_switch_statement(&mut self, stmt: &oxc_ast::ast::SwitchStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::SwitchStatement<'a>`, found `oxc_ast::ast::SwitchStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::SwitchStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::SwitchStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 152 | fn visit_switch_statement(&mut self, stmt: &oxc_ast::ast::js::SwitchStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_switch_statement` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/hook_rules.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | fn visit_switch_statement(&mut self, stmt: &oxc_ast::ast::SwitchStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::SwitchStatement<'a>`, found `oxc_ast::ast::SwitchStatement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::js::SwitchStatement<'a>)` [INFO] [stdout] found signature `fn(&mut HookRuleCollector<'_>, &oxc_ast::ast::SwitchStatement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 152 | fn visit_switch_statement(&mut self, stmt: &oxc_ast::ast::js::SwitchStatement<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_array_index_key.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ArrayIndexKeyCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ArrayIndexKeyCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_array_index_key.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ArrayIndexKeyCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ArrayIndexKeyCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_assignment_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_direct_mutation.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::AssignmentExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AssignmentExpression<'a>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut DirectMutationCollector<'_>, &oxc_ast::ast::js::AssignmentExpression<'a>)` [INFO] [stdout] found signature `fn(&mut DirectMutationCollector<'_>, &oxc_ast::ast::AssignmentExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::js::AssignmentExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_duplicate_props.rs:39:49 [INFO] [stdout] | [INFO] [stdout] 39 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut DuplicatePropsCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut DuplicatePropsCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 39 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_assignment_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_direct_mutation.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::AssignmentExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AssignmentExpression<'a>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut DirectMutationCollector<'_>, &oxc_ast::ast::js::AssignmentExpression<'a>)` [INFO] [stdout] found signature `fn(&mut DirectMutationCollector<'_>, &oxc_ast::ast::AssignmentExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::js::AssignmentExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_duplicate_props.rs:39:49 [INFO] [stdout] | [INFO] [stdout] 39 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut DuplicatePropsCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut DuplicatePropsCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 39 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_import_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_forward_ref.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::ImportDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ImportDeclaration<'a>`, found `oxc_ast::ast::ImportDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ForwardRefCollector<'_>, &oxc_ast::ast::js::ImportDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut ForwardRefCollector<'_>, &oxc_ast::ast::ImportDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::js::ImportDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_import_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_forward_ref.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::ImportDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ImportDeclaration<'a>`, found `oxc_ast::ast::ImportDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ForwardRefCollector<'_>, &oxc_ast::ast::js::ImportDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut ForwardRefCollector<'_>, &oxc_ast::ast::ImportDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 41 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::js::ImportDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_forward_ref.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_call_expression(&mut self, call: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ForwardRefCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ForwardRefCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_call_expression(&mut self, call: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_forward_ref.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_call_expression(&mut self, call: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ForwardRefCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ForwardRefCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 56 | fn visit_call_expression(&mut self, call: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_index_key.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut IndexKeyCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut IndexKeyCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_index_key.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut IndexKeyCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut IndexKeyCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_inline_functions.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InlineFnCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut InlineFnCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_inline_functions.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InlineFnCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut InlineFnCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_inline_styles.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InlineStyleCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut InlineStyleCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_inline_styles.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InlineStyleCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut InlineStyleCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_missing_key.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut MissingKeyCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut MissingKeyCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 40 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_missing_key.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut MissingKeyCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut MissingKeyCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 40 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_missing_key.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut MissingKeyCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut MissingKeyCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 66 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_missing_key.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut MissingKeyCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut MissingKeyCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 66 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_class` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_multiple_render_methods.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_class(&mut self, class: &oxc_ast::ast::Class<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Class<'a>`, found `oxc_ast::ast::Class<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut MultipleRenderCollector<'_>, &oxc_ast::ast::js::Class<'a>)` [INFO] [stdout] found signature `fn(&mut MultipleRenderCollector<'_>, &oxc_ast::ast::Class<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_class(&mut self, class: &oxc_ast::ast::js::Class<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_variable_declarator` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_ref_in_component_name.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::VariableDeclarator<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::VariableDeclarator<'a>`, found `oxc_ast::ast::VariableDeclarator<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut RefNameCollector<'_>, &oxc_ast::ast::js::VariableDeclarator<'a>)` [INFO] [stdout] found signature `fn(&mut RefNameCollector<'_>, &oxc_ast::ast::VariableDeclarator<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::js::VariableDeclarator<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_ref_in_component_name.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | func: &oxc_ast::ast::Function<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut RefNameCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut RefNameCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 55 | func: &oxc_ast::ast::js::Function<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_class` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_multiple_render_methods.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_class(&mut self, class: &oxc_ast::ast::Class<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Class<'a>`, found `oxc_ast::ast::Class<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut MultipleRenderCollector<'_>, &oxc_ast::ast::js::Class<'a>)` [INFO] [stdout] found signature `fn(&mut MultipleRenderCollector<'_>, &oxc_ast::ast::Class<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_class(&mut self, class: &oxc_ast::ast::js::Class<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_set_state_in_effect.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SetStateEffectCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut SetStateEffectCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_variable_declarator` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_ref_in_component_name.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::VariableDeclarator<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::VariableDeclarator<'a>`, found `oxc_ast::ast::VariableDeclarator<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut RefNameCollector<'_>, &oxc_ast::ast::js::VariableDeclarator<'a>)` [INFO] [stdout] found signature `fn(&mut RefNameCollector<'_>, &oxc_ast::ast::VariableDeclarator<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::js::VariableDeclarator<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_set_state_in_render.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SetStateInRenderCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut SetStateInRenderCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_ref_in_component_name.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | func: &oxc_ast::ast::Function<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut RefNameCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut RefNameCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 55 | func: &oxc_ast::ast::js::Function<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_side_effects_in_render.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SideEffectCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut SideEffectCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_set_state_in_effect.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SetStateEffectCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut SetStateEffectCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_assignment_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_state_in_default_props.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::AssignmentExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AssignmentExpression<'a>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut StateInDefaultPropsCollector<'_>, &oxc_ast::ast::js::AssignmentExpression<'a>)` [INFO] [stdout] found signature `fn(&mut StateInDefaultPropsCollector<'_>, &oxc_ast::ast::AssignmentExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::js::AssignmentExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_set_state_in_render.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SetStateInRenderCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut SetStateInRenderCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_this_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_state_in_default_props.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | fn visit_this_expression(&mut self, expr: &oxc_ast::ast::ThisExpression) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ThisExpression`, found `oxc_ast::ast::ThisExpression` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut StateInDefaultPropsCollector<'_>, &oxc_ast::ast::js::ThisExpression)` [INFO] [stdout] found signature `fn(&mut StateInDefaultPropsCollector<'_>, &oxc_ast::ast::ThisExpression)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 68 | fn visit_this_expression(&mut self, expr: &oxc_ast::ast::js::ThisExpression) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_side_effects_in_render.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SideEffectCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut SideEffectCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_unnecessary_memo.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut UnnecessaryMemoCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut UnnecessaryMemoCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_assignment_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_state_in_default_props.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::AssignmentExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AssignmentExpression<'a>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut StateInDefaultPropsCollector<'_>, &oxc_ast::ast::js::AssignmentExpression<'a>)` [INFO] [stdout] found signature `fn(&mut StateInDefaultPropsCollector<'_>, &oxc_ast::ast::AssignmentExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::js::AssignmentExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_class` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/prefer_function_components.rs:239:38 [INFO] [stdout] | [INFO] [stdout] 239 | fn visit_class(&mut self, class: &oxc_ast::ast::Class<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Class<'a>`, found `oxc_ast::ast::Class<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ClassComponentCollector<'_>, &oxc_ast::ast::js::Class<'a>)` [INFO] [stdout] found signature `fn(&mut ClassComponentCollector<'_>, &oxc_ast::ast::Class<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 239 | fn visit_class(&mut self, class: &oxc_ast::ast::js::Class<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_this_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_state_in_default_props.rs:68:47 [INFO] [stdout] | [INFO] [stdout] 68 | fn visit_this_expression(&mut self, expr: &oxc_ast::ast::ThisExpression) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ThisExpression`, found `oxc_ast::ast::ThisExpression` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut StateInDefaultPropsCollector<'_>, &oxc_ast::ast::js::ThisExpression)` [INFO] [stdout] found signature `fn(&mut StateInDefaultPropsCollector<'_>, &oxc_ast::ast::ThisExpression)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 68 | fn visit_this_expression(&mut self, expr: &oxc_ast::ast::js::ThisExpression) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_dangerously_set_innerhtml.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut DangerousHtmlCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut DangerousHtmlCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/no_unnecessary_memo.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut UnnecessaryMemoCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut UnnecessaryMemoCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_eval.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut EvalCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut EvalCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_class` has an incompatible type for trait [INFO] [stdout] --> src/rules/react/prefer_function_components.rs:239:38 [INFO] [stdout] | [INFO] [stdout] 239 | fn visit_class(&mut self, class: &oxc_ast::ast::Class<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Class<'a>`, found `oxc_ast::ast::Class<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ClassComponentCollector<'_>, &oxc_ast::ast::js::Class<'a>)` [INFO] [stdout] found signature `fn(&mut ClassComponentCollector<'_>, &oxc_ast::ast::Class<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 239 | fn visit_class(&mut self, class: &oxc_ast::ast::js::Class<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_variable_declarator` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_hardcoded_secrets.rs:58:51 [INFO] [stdout] | [INFO] [stdout] 58 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::VariableDeclarator<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::VariableDeclarator<'a>`, found `oxc_ast::ast::VariableDeclarator<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SecretCollector<'_>, &oxc_ast::ast::js::VariableDeclarator<'a>)` [INFO] [stdout] found signature `fn(&mut SecretCollector<'_>, &oxc_ast::ast::VariableDeclarator<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 58 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::js::VariableDeclarator<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_dangerously_set_innerhtml.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut DangerousHtmlCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut DangerousHtmlCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_string_literal` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_insecure_protocol.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_string_literal(&mut self, s: &oxc_ast::ast::StringLiteral) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::literal::StringLiteral<'a>`, found `oxc_ast::ast::StringLiteral<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InsecureProtocolCollector<'_>, &oxc_ast::ast::literal::StringLiteral<'a>)` [INFO] [stdout] found signature `fn(&mut InsecureProtocolCollector<'_>, &oxc_ast::ast::StringLiteral<'_>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 49 - fn visit_string_literal(&mut self, s: &oxc_ast::ast::StringLiteral) { [INFO] [stdout] 49 + fn visit_string_literal(&mut self, s: &oxc_ast::ast::literal::StringLiteral<'a>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_eval.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut EvalCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut EvalCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_insecure_protocol.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InsecureProtocolCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut InsecureProtocolCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 59 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_variable_declarator` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_hardcoded_secrets.rs:58:51 [INFO] [stdout] | [INFO] [stdout] 58 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::VariableDeclarator<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::VariableDeclarator<'a>`, found `oxc_ast::ast::VariableDeclarator<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SecretCollector<'_>, &oxc_ast::ast::js::VariableDeclarator<'a>)` [INFO] [stdout] found signature `fn(&mut SecretCollector<'_>, &oxc_ast::ast::VariableDeclarator<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 58 | fn visit_variable_declarator(&mut self, decl: &oxc_ast::ast::js::VariableDeclarator<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_string_literal` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_script_url.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_string_literal(&mut self, s: &StringLiteral) { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `oxc_ast::ast::literal::StringLiteral<'a>`, found `oxc_ast::ast::StringLiteral<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ScriptUrlCollector<'_>, &oxc_ast::ast::literal::StringLiteral<'a>)` [INFO] [stdout] found signature `fn(&mut ScriptUrlCollector<'_>, &oxc_ast::ast::StringLiteral<'_>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 - fn visit_string_literal(&mut self, s: &StringLiteral) { [INFO] [stdout] 37 + fn visit_string_literal(&mut self, s: &oxc_ast::ast::literal::StringLiteral<'a>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_string_literal` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_insecure_protocol.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_string_literal(&mut self, s: &oxc_ast::ast::StringLiteral) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::literal::StringLiteral<'a>`, found `oxc_ast::ast::StringLiteral<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InsecureProtocolCollector<'_>, &oxc_ast::ast::literal::StringLiteral<'a>)` [INFO] [stdout] found signature `fn(&mut InsecureProtocolCollector<'_>, &oxc_ast::ast::StringLiteral<'_>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 49 - fn visit_string_literal(&mut self, s: &oxc_ast::ast::StringLiteral) { [INFO] [stdout] 49 + fn visit_string_literal(&mut self, s: &oxc_ast::ast::literal::StringLiteral<'a>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_script_url.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ScriptUrlCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ScriptUrlCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_insecure_protocol.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut InsecureProtocolCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut InsecureProtocolCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 59 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_string_literal` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_script_url.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_string_literal(&mut self, s: &StringLiteral) { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `oxc_ast::ast::literal::StringLiteral<'a>`, found `oxc_ast::ast::StringLiteral<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ScriptUrlCollector<'_>, &oxc_ast::ast::literal::StringLiteral<'a>)` [INFO] [stdout] found signature `fn(&mut ScriptUrlCollector<'_>, &oxc_ast::ast::StringLiteral<'_>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 - fn visit_string_literal(&mut self, s: &StringLiteral) { [INFO] [stdout] 37 + fn visit_string_literal(&mut self, s: &oxc_ast::ast::literal::StringLiteral<'a>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_script_url.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ScriptUrlCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut ScriptUrlCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_unsafe_iframe.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut UnsafeIframeCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut UnsafeIframeCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_assignment_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_unsanitized_input.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::AssignmentExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AssignmentExpression<'a>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut UnsanitizedCollector<'_>, &oxc_ast::ast::js::AssignmentExpression<'a>)` [INFO] [stdout] found signature `fn(&mut UnsanitizedCollector<'_>, &oxc_ast::ast::AssignmentExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::js::AssignmentExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/testing/assert_includes_message.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AssertCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut AssertCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 65 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/testing/no_skipped_tests.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SkippedTestCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut SkippedTestCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_import_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/consistent_type_imports.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::ImportDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ImportDeclaration<'a>`, found `oxc_ast::ast::ImportDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut TypeImportCollector<'_>, &oxc_ast::ast::js::ImportDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut TypeImportCollector<'_>, &oxc_ast::ast::ImportDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::js::ImportDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_jsx_opening_element` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_unsafe_iframe.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::JSXOpeningElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::jsx::JSXOpeningElement<'a>`, found `oxc_ast::ast::JSXOpeningElement<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut UnsafeIframeCollector<'_>, &oxc_ast::ast::jsx::JSXOpeningElement<'a>)` [INFO] [stdout] found signature `fn(&mut UnsafeIframeCollector<'_>, &oxc_ast::ast::JSXOpeningElement<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_jsx_opening_element(&mut self, el: &oxc_ast::ast::jsx::JSXOpeningElement<'a>) { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_assignment_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/security/no_unsanitized_input.rs:51:53 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::AssignmentExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AssignmentExpression<'a>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut UnsanitizedCollector<'_>, &oxc_ast::ast::js::AssignmentExpression<'a>)` [INFO] [stdout] found signature `fn(&mut UnsanitizedCollector<'_>, &oxc_ast::ast::AssignmentExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::js::AssignmentExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/testing/assert_includes_message.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AssertCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut AssertCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 65 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/testing/no_skipped_tests.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut SkippedTestCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut SkippedTestCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_import_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/consistent_type_imports.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::ImportDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::ImportDeclaration<'a>`, found `oxc_ast::ast::ImportDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut TypeImportCollector<'_>, &oxc_ast::ast::js::ImportDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut TypeImportCollector<'_>, &oxc_ast::ast::ImportDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_import_declaration(&mut self, decl: &oxc_ast::ast::js::ImportDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/explicit_return_type.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_function(&mut self, func: &oxc_ast::ast::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ReturnTypeCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut ReturnTypeCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_function(&mut self, func: &oxc_ast::ast::js::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_function` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/explicit_return_type.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_function(&mut self, func: &oxc_ast::ast::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Function<'a>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ReturnTypeCollector<'_>, &oxc_ast::ast::js::Function<'a>, oxc_semantic::ScopeFlags)` [INFO] [stdout] found signature `fn(&mut ReturnTypeCollector<'_>, &oxc_ast::ast::Function<'a>, oxc_syntax::scope::ScopeFlags)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_function(&mut self, func: &oxc_ast::ast::js::Function<'a>, _flags: ScopeFlags) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/explicit_return_type.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ReturnTypeCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ReturnTypeCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 58 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_arrow_function_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/explicit_return_type.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | func: &oxc_ast::ast::ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrowFunctionExpression<'a>`, found a different `ArrowFunctionExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ReturnTypeCollector<'_>, &oxc_ast::ast::js::ArrowFunctionExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ReturnTypeCollector<'_>, &oxc_ast::ast::ArrowFunctionExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 58 | func: &oxc_ast::ast::js::ArrowFunctionExpression<'a>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_any_keyword` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_any.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_any_keyword(&mut self, ts: &oxc_ast::ast::TSAnyKeyword) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSAnyKeyword`, found `oxc_ast::ast::TSAnyKeyword` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AnyCollector<'_>, &oxc_ast::ast::ts::TSAnyKeyword)` [INFO] [stdout] found signature `fn(&mut AnyCollector<'_>, &oxc_ast::ast::TSAnyKeyword)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_any_keyword(&mut self, ts: &oxc_ast::ast::ts::TSAnyKeyword) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_interface_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_empty_interface.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_interface_declaration(&mut self, decl: &oxc_ast::ast::TSInterfaceDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TSInterfaceDeclaration<'a>`, found `oxc_ast::ast::TSInterfaceDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut EmptyInterfaceCollector<'_>, &oxc_ast::ast::ts::TSInterfaceDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut EmptyInterfaceCollector<'_>, &oxc_ast::ast::TSInterfaceDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_interface_declaration(&mut self, decl: &oxc_ast::ast::ts::TSInterfaceDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_any_keyword` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_any.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_any_keyword(&mut self, ts: &oxc_ast::ast::TSAnyKeyword) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSAnyKeyword`, found `oxc_ast::ast::TSAnyKeyword` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AnyCollector<'_>, &oxc_ast::ast::ts::TSAnyKeyword)` [INFO] [stdout] found signature `fn(&mut AnyCollector<'_>, &oxc_ast::ast::TSAnyKeyword)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_any_keyword(&mut self, ts: &oxc_ast::ast::ts::TSAnyKeyword) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_interface_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_empty_interface.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_interface_declaration(&mut self, decl: &oxc_ast::ast::TSInterfaceDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TSInterfaceDeclaration<'a>`, found `oxc_ast::ast::TSInterfaceDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut EmptyInterfaceCollector<'_>, &oxc_ast::ast::ts::TSInterfaceDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut EmptyInterfaceCollector<'_>, &oxc_ast::ast::TSInterfaceDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_interface_declaration(&mut self, decl: &oxc_ast::ast::ts::TSInterfaceDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_type_annotation` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_explicit_any.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_ts_type_annotation(&mut self, ann: &oxc_ast::ast::TSTypeAnnotation<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSTypeAnnotation<'a>`, found `oxc_ast::ast::TSTypeAnnotation<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::ts::TSTypeAnnotation<'a>)` [INFO] [stdout] found signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::TSTypeAnnotation<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_ts_type_annotation(&mut self, ann: &oxc_ast::ast::ts::TSTypeAnnotation<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_type_annotation` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_explicit_any.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_ts_type_annotation(&mut self, ann: &oxc_ast::ast::TSTypeAnnotation<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSTypeAnnotation<'a>`, found `oxc_ast::ast::TSTypeAnnotation<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::ts::TSTypeAnnotation<'a>)` [INFO] [stdout] found signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::TSTypeAnnotation<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_ts_type_annotation(&mut self, ann: &oxc_ast::ast::ts::TSTypeAnnotation<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_as_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_explicit_any.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_ts_as_expression(&mut self, expr: &oxc_ast::ast::TSAsExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSAsExpression<'a>`, found `oxc_ast::ast::TSAsExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::ts::TSAsExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::TSAsExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_ts_as_expression(&mut self, expr: &oxc_ast::ast::ts::TSAsExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_as_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_explicit_any.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_ts_as_expression(&mut self, expr: &oxc_ast::ast::TSAsExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSAsExpression<'a>`, found `oxc_ast::ast::TSAsExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::ts::TSAsExpression<'a>)` [INFO] [stdout] found signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::TSAsExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 55 | fn visit_ts_as_expression(&mut self, expr: &oxc_ast::ast::ts::TSAsExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_type_assertion` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_explicit_any.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_ts_type_assertion(&mut self, expr: &oxc_ast::ast::TSTypeAssertion<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSTypeAssertion<'a>`, found `oxc_ast::ast::TSTypeAssertion<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::ts::TSTypeAssertion<'a>)` [INFO] [stdout] found signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::TSTypeAssertion<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_ts_type_assertion(&mut self, expr: &oxc_ast::ast::ts::TSTypeAssertion<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_type_assertion` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_explicit_any.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_ts_type_assertion(&mut self, expr: &oxc_ast::ast::TSTypeAssertion<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSTypeAssertion<'a>`, found `oxc_ast::ast::TSTypeAssertion<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::ts::TSTypeAssertion<'a>)` [INFO] [stdout] found signature `fn(&mut ExplicitAnyCollector<'_>, &oxc_ast::ast::TSTypeAssertion<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 61 | fn visit_ts_type_assertion(&mut self, expr: &oxc_ast::ast::ts::TSTypeAssertion<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_non_null_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_non_null_assertion.rs:37:54 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_non_null_expression(&mut self, expr: &oxc_ast::ast::TSNonNullExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TSNonNullExpression<'a>`, found `oxc_ast::ast::TSNonNullExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NonNullCollector<'_>, &oxc_ast::ast::ts::TSNonNullExpression<'a>)` [INFO] [stdout] found signature `fn(&mut NonNullCollector<'_>, &oxc_ast::ast::TSNonNullExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_non_null_expression(&mut self, expr: &oxc_ast::ast::ts::TSNonNullExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_non_null_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_non_null_assertion.rs:37:54 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_non_null_expression(&mut self, expr: &oxc_ast::ast::TSNonNullExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TSNonNullExpression<'a>`, found `oxc_ast::ast::TSNonNullExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NonNullCollector<'_>, &oxc_ast::ast::ts::TSNonNullExpression<'a>)` [INFO] [stdout] found signature `fn(&mut NonNullCollector<'_>, &oxc_ast::ast::TSNonNullExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_non_null_expression(&mut self, expr: &oxc_ast::ast::ts::TSNonNullExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_as_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_type_assertion.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_as_expression(&mut self, expr: &oxc_ast::ast::TSAsExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSAsExpression<'a>`, found `oxc_ast::ast::TSAsExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AssertionCollector<'_>, &oxc_ast::ast::ts::TSAsExpression<'a>)` [INFO] [stdout] found signature `fn(&mut AssertionCollector<'_>, &oxc_ast::ast::TSAsExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_as_expression(&mut self, expr: &oxc_ast::ast::ts::TSAsExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_as_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_type_assertion.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_as_expression(&mut self, expr: &oxc_ast::ast::TSAsExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSAsExpression<'a>`, found `oxc_ast::ast::TSAsExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AssertionCollector<'_>, &oxc_ast::ast::ts::TSAsExpression<'a>)` [INFO] [stdout] found signature `fn(&mut AssertionCollector<'_>, &oxc_ast::ast::TSAsExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_as_expression(&mut self, expr: &oxc_ast::ast::ts::TSAsExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_type_assertion` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_type_assertion.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_ts_type_assertion(&mut self, expr: &oxc_ast::ast::TSTypeAssertion<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSTypeAssertion<'a>`, found `oxc_ast::ast::TSTypeAssertion<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AssertionCollector<'_>, &oxc_ast::ast::ts::TSTypeAssertion<'a>)` [INFO] [stdout] found signature `fn(&mut AssertionCollector<'_>, &oxc_ast::ast::TSTypeAssertion<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_ts_type_assertion(&mut self, expr: &oxc_ast::ast::ts::TSTypeAssertion<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_type_assertion` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/no_type_assertion.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_ts_type_assertion(&mut self, expr: &oxc_ast::ast::TSTypeAssertion<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::ts::TSTypeAssertion<'a>`, found `oxc_ast::ast::TSTypeAssertion<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut AssertionCollector<'_>, &oxc_ast::ast::ts::TSTypeAssertion<'a>)` [INFO] [stdout] found signature `fn(&mut AssertionCollector<'_>, &oxc_ast::ast::TSTypeAssertion<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 49 | fn visit_ts_type_assertion(&mut self, expr: &oxc_ast::ast::ts::TSTypeAssertion<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_type_alias_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/prefer_interface.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_type_alias_declaration(&mut self, decl: &oxc_ast::ast::TSTypeAliasDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TSTypeAliasDeclaration<'a>`, found `oxc_ast::ast::TSTypeAliasDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut TypeAliasCollector<'_>, &oxc_ast::ast::ts::TSTypeAliasDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut TypeAliasCollector<'_>, &oxc_ast::ast::TSTypeAliasDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_type_alias_declaration(&mut self, decl: &oxc_ast::ast::ts::TSTypeAliasDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_member_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_member_expression(&mut self, expr: &MemberExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::MemberExpression<'a>`, found `oxc_ast::ast::MemberExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::js::MemberExpression<'a>)` [INFO] [stdout] found signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::MemberExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_member_expression(&mut self, expr: &oxc_ast::ast::js::MemberExpression<'a>) { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_ts_type_alias_declaration` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/prefer_interface.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_type_alias_declaration(&mut self, decl: &oxc_ast::ast::TSTypeAliasDeclaration<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `TSTypeAliasDeclaration<'a>`, found `oxc_ast::ast::TSTypeAliasDeclaration<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut TypeAliasCollector<'_>, &oxc_ast::ast::ts::TSTypeAliasDeclaration<'a>)` [INFO] [stdout] found signature `fn(&mut TypeAliasCollector<'_>, &oxc_ast::ast::TSTypeAliasDeclaration<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 37 | fn visit_ts_type_alias_declaration(&mut self, decl: &oxc_ast::ast::ts::TSTypeAliasDeclaration<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_member_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_member_expression(&mut self, expr: &MemberExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::MemberExpression<'a>`, found `oxc_ast::ast::MemberExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::js::MemberExpression<'a>)` [INFO] [stdout] found signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::MemberExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 50 | fn visit_member_expression(&mut self, expr: &oxc_ast::ast::js::MemberExpression<'a>) { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_assignment_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::AssignmentExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AssignmentExpression<'a>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::js::AssignmentExpression<'a>)` [INFO] [stdout] found signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::AssignmentExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 70 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::js::AssignmentExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_assignment_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::AssignmentExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AssignmentExpression<'a>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::js::AssignmentExpression<'a>)` [INFO] [stdout] found signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::AssignmentExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 70 | fn visit_assignment_expression(&mut self, expr: &oxc_ast::ast::js::AssignmentExpression<'a>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | fn visit_call_expression(&mut self, expr: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 82 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `visit_call_expression` has an incompatible type for trait [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | fn visit_call_expression(&mut self, expr: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::CallExpression<'a>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::js::CallExpression<'a>)` [INFO] [stdout] found signature `fn(&mut NullCheckCollector<'_>, &oxc_ast::ast::CallExpression<'a>)` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 82 | fn visit_call_expression(&mut self, expr: &oxc_ast::ast::js::CallExpression<'a>) { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/scanner.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | let ret = Parser::new(&allocator, &content, source_type).parse(); [INFO] [stdout] | ^^^^^^^^^^^ ---------- ----------- expected `oxc_span::source_type::SourceType`, found `oxc_span::SourceType` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_allocator::allocator::Allocator`, found `oxc_allocator::Allocator` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_allocator` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_allocator-0.138.0/src/allocator.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Allocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_allocator-0.139.0/src/allocator.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Allocator { [INFO] [stdout] | -------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_span` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.138.0/src/source_type.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SourceType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.140.0/src/source_type.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SourceType { [INFO] [stdout] | --------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_parser-0.138.0/src/lib.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn new(allocator: &'a Allocator, source_text: &'a str, source_type: SourceType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/scanner.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | let ret = Parser::new(&allocator, &content, source_type).parse(); [INFO] [stdout] | ^^^^^^^^^^^ ---------- ----------- expected `oxc_span::source_type::SourceType`, found `oxc_span::SourceType` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_allocator::allocator::Allocator`, found `oxc_allocator::Allocator` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_allocator` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_allocator-0.138.0/src/allocator.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Allocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_allocator-0.139.0/src/allocator.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Allocator { [INFO] [stdout] | -------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_span` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.138.0/src/source_type.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SourceType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.140.0/src/source_type.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SourceType { [INFO] [stdout] | --------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_parser-0.138.0/src/lib.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn new(allocator: &'a Allocator, source_text: &'a str, source_type: SourceType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scanner.rs:175:50 [INFO] [stdout] | [INFO] [stdout] 175 | SemanticBuilder::new().build(program).semantic [INFO] [stdout] | ----- ^^^^^^^ expected `&Program<'_>`, found `&mut Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.138.0/src/ast/js.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_semantic-0.140.0/src/builder.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn build(mut self, program: &'a Program<'a>) -> SemanticBuilderReturn<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scanner.rs:175:50 [INFO] [stdout] | [INFO] [stdout] 175 | SemanticBuilder::new().build(program).semantic [INFO] [stdout] | ----- ^^^^^^^ expected `&Program<'_>`, found `&mut Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.138.0/src/ast/js.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_semantic-0.140.0/src/builder.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn build(mut self, program: &'a Program<'a>) -> SemanticBuilderReturn<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scanner.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 187 | let violations = self.registry.run_rules( [INFO] [stdout] | --------- arguments to this method are incorrect [INFO] [stdout] 188 | program, [INFO] [stdout] | ^^^^^^^ expected `&Program<'_>`, found `&mut Program<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.138.0/src/ast/js.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/rules/mod.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn run_rules( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 271 | &self, [INFO] [stdout] 272 | program: &Program, [INFO] [stdout] | ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scanner.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 187 | let violations = self.registry.run_rules( [INFO] [stdout] | --------- arguments to this method are incorrect [INFO] [stdout] 188 | program, [INFO] [stdout] | ^^^^^^^ expected `&Program<'_>`, found `&mut Program<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.138.0/src/ast/js.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/rules/mod.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn run_rules( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 271 | &self, [INFO] [stdout] 272 | program: &Program, [INFO] [stdout] | ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/scanner.rs:260:27 [INFO] [stdout] | [INFO] [stdout] 260 | let ret = Parser::new(&allocator, &content, source_type).parse(); [INFO] [stdout] | ^^^^^^^^^^^ ---------- ----------- expected `oxc_span::source_type::SourceType`, found `oxc_span::SourceType` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_allocator::allocator::Allocator`, found `oxc_allocator::Allocator` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_allocator` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_allocator-0.138.0/src/allocator.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Allocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_allocator-0.139.0/src/allocator.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Allocator { [INFO] [stdout] | -------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_span` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.138.0/src/source_type.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SourceType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.140.0/src/source_type.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SourceType { [INFO] [stdout] | --------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_parser-0.138.0/src/lib.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn new(allocator: &'a Allocator, source_text: &'a str, source_type: SourceType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/scanner.rs:260:27 [INFO] [stdout] | [INFO] [stdout] 260 | let ret = Parser::new(&allocator, &content, source_type).parse(); [INFO] [stdout] | ^^^^^^^^^^^ ---------- ----------- expected `oxc_span::source_type::SourceType`, found `oxc_span::SourceType` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_allocator::allocator::Allocator`, found `oxc_allocator::Allocator` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_allocator` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_allocator-0.138.0/src/allocator.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Allocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_allocator-0.139.0/src/allocator.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Allocator { [INFO] [stdout] | -------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_span` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.138.0/src/source_type.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SourceType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.140.0/src/source_type.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SourceType { [INFO] [stdout] | --------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_parser-0.138.0/src/lib.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn new(allocator: &'a Allocator, source_text: &'a str, source_type: SourceType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scanner.rs:272:50 [INFO] [stdout] | [INFO] [stdout] 272 | SemanticBuilder::new().build(program).semantic [INFO] [stdout] | ----- ^^^^^^^ expected `&Program<'_>`, found `&mut Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.138.0/src/ast/js.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_semantic-0.140.0/src/builder.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn build(mut self, program: &'a Program<'a>) -> SemanticBuilderReturn<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scanner.rs:272:50 [INFO] [stdout] | [INFO] [stdout] 272 | SemanticBuilder::new().build(program).semantic [INFO] [stdout] | ----- ^^^^^^^ expected `&Program<'_>`, found `&mut Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.138.0/src/ast/js.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_semantic-0.140.0/src/builder.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn build(mut self, program: &'a Program<'a>) -> SemanticBuilderReturn<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scanner.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 284 | let violations = self.registry.run_rules( [INFO] [stdout] | --------- arguments to this method are incorrect [INFO] [stdout] 285 | program, [INFO] [stdout] | ^^^^^^^ expected `&Program<'_>`, found `&mut Program<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.138.0/src/ast/js.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/rules/mod.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn run_rules( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 271 | &self, [INFO] [stdout] 272 | program: &Program, [INFO] [stdout] | ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scanner.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 284 | let violations = self.registry.run_rules( [INFO] [stdout] | --------- arguments to this method are incorrect [INFO] [stdout] 285 | program, [INFO] [stdout] | ^^^^^^^ expected `&Program<'_>`, found `&mut Program<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.138.0/src/ast/js.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/rules/mod.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn run_rules( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 271 | &self, [INFO] [stdout] 272 | program: &Program, [INFO] [stdout] | ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_head_element.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_head_element.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_img_element.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_img_element.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_page_link.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_page_link.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_script_tag_in_head.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_script_tag_in_head.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_script_tag_in_head.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | oxc_ast_visit::walk::walk_jsx_element(self, el); [INFO] [stdout] | ------------------------------------- ^^ expected `oxc_ast::ast::jsx::JSXElement<'_>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2964:12 [INFO] [stdout] | [INFO] [stdout] 2964 | pub fn walk_jsx_element<'a, V: Visit<'a>>(visitor: &mut V, it: &JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_script_tag_in_head.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | oxc_ast_visit::walk::walk_jsx_element(self, el); [INFO] [stdout] | ------------------------------------- ^^ expected `oxc_ast::ast::jsx::JSXElement<'_>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2964:12 [INFO] [stdout] | [INFO] [stdout] 2964 | pub fn walk_jsx_element<'a, V: Visit<'a>>(visitor: &mut V, it: &JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_sync_script.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/nextjs/no_sync_script.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/a_has_content.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/a_has_content.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | walk::walk_jsx_element(self, el); [INFO] [stdout] | ---------------------- ^^ expected `oxc_ast::ast::jsx::JSXElement<'_>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2964:12 [INFO] [stdout] | [INFO] [stdout] 2964 | pub fn walk_jsx_element<'a, V: Visit<'a>>(visitor: &mut V, it: &JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/a_has_content.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/a_has_content.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | walk::walk_jsx_element(self, el); [INFO] [stdout] | ---------------------- ^^ expected `oxc_ast::ast::jsx::JSXElement<'_>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2964:12 [INFO] [stdout] | [INFO] [stdout] 2964 | pub fn walk_jsx_element<'a, V: Visit<'a>>(visitor: &mut V, it: &JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/aria_valid.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/aria_valid.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/button_has_type.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/button_has_type.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/click_events_have_key_events.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/click_events_have_key_events.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/heading_levels.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/heading_levels.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/html_has_lang.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/html_has_lang.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/img_alt.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/img_alt.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/label_associated.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/label_associated.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/lazy_load_components.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/lazy_load_components.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_ambiguous_labels.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_ambiguous_labels.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | walk::walk_jsx_element(self, el); [INFO] [stdout] | ---------------------- ^^ expected `oxc_ast::ast::jsx::JSXElement<'_>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2964:12 [INFO] [stdout] | [INFO] [stdout] 2964 | pub fn walk_jsx_element<'a, V: Visit<'a>>(visitor: &mut V, it: &JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_ambiguous_labels.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_ambiguous_labels.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | walk::walk_jsx_element(self, el); [INFO] [stdout] | ---------------------- ^^ expected `oxc_ast::ast::jsx::JSXElement<'_>`, found `oxc_ast::ast::JSXElement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/jsx.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct JSXElement<'a> { [INFO] [stdout] | ------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2964:12 [INFO] [stdout] | [INFO] [stdout] 2964 | pub fn walk_jsx_element<'a, V: Visit<'a>>(visitor: &mut V, it: &JSXElement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_autofocus.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_autofocus.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_bind_in_jsx.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_bind_in_jsx.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | oxc_ast_visit::walk::walk_function(self, func, _flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- ------ expected `oxc_semantic::ScopeFlags`, found `oxc_syntax::scope::ScopeFlags` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_ast::ast::js::Function<'_>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/scope.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 33 | | pub struct ScopeFlags: u16 { [INFO] [stdout] 34 | | const StrictMode = 1 << 0; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2436:12 [INFO] [stdout] | [INFO] [stdout] 2436 | pub fn walk_function<'a, V: Visit<'a>>(visitor: &mut V, it: &Function<'a>, flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:91:67 [INFO] [stdout] | [INFO] [stdout] 91 | oxc_ast_visit::walk::walk_arrow_function_expression(self, func); [INFO] [stdout] | --------------------------------------------------- ^^^^ expected `ArrowFunctionExpression<'_>`, found `ArrowFunctionExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | -------------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2525:12 [INFO] [stdout] | [INFO] [stdout] 2525 | pub fn walk_arrow_function_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | oxc_ast_visit::walk::walk_function(self, func, _flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- ------ expected `oxc_semantic::ScopeFlags`, found `oxc_syntax::scope::ScopeFlags` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_ast::ast::js::Function<'_>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/scope.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 33 | | pub struct ScopeFlags: u16 { [INFO] [stdout] 34 | | const StrictMode = 1 << 0; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2436:12 [INFO] [stdout] | [INFO] [stdout] 2436 | pub fn walk_function<'a, V: Visit<'a>>(visitor: &mut V, it: &Function<'a>, flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_heavy_computation_in_render.rs:91:67 [INFO] [stdout] | [INFO] [stdout] 91 | oxc_ast_visit::walk::walk_arrow_function_expression(self, func); [INFO] [stdout] | --------------------------------------------------- ^^^^ expected `ArrowFunctionExpression<'_>`, found `ArrowFunctionExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | -------------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2525:12 [INFO] [stdout] | [INFO] [stdout] 2525 | pub fn walk_arrow_function_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_large_libraries.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/no_large_libraries.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/prefer_fragments.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/prefer_fragments.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/tabindex_no_positive.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/performance/tabindex_no_positive.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/complexity.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rules/quality/complexity.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | walk::walk_function(self, func, _flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- ------ expected `oxc_semantic::ScopeFlags`, found `oxc_syntax::scope::ScopeFlags` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_ast::ast::js::Function<'_>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/scope.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 33 | | pub struct ScopeFlags: u16 { [INFO] [stdout] 34 | | const StrictMode = 1 << 0; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2436:12 [INFO] [stdout] | [INFO] [stdout] 2436 | pub fn walk_function<'a, V: Visit<'a>>(visitor: &mut V, it: &Function<'a>, flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/complexity.rs:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | walk::walk_arrow_function_expression(self, func); [INFO] [stdout] | ------------------------------------ ^^^^ expected `ArrowFunctionExpression<'_>`, found `ArrowFunctionExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | -------------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2525:12 [INFO] [stdout] | [INFO] [stdout] 2525 | pub fn walk_arrow_function_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/complexity.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rules/quality/complexity.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | walk::walk_function(self, func, _flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- ------ expected `oxc_semantic::ScopeFlags`, found `oxc_syntax::scope::ScopeFlags` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_ast::ast::js::Function<'_>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/scope.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 33 | | pub struct ScopeFlags: u16 { [INFO] [stdout] 34 | | const StrictMode = 1 << 0; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2436:12 [INFO] [stdout] | [INFO] [stdout] 2436 | pub fn walk_function<'a, V: Visit<'a>>(visitor: &mut V, it: &Function<'a>, flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/complexity.rs:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | walk::walk_arrow_function_expression(self, func); [INFO] [stdout] | ------------------------------------ ^^^^ expected `ArrowFunctionExpression<'_>`, found `ArrowFunctionExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | -------------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2525:12 [INFO] [stdout] | [INFO] [stdout] 2525 | pub fn walk_arrow_function_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/consistent_return.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rules/quality/consistent_return.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | walk::walk_function(self, func, _flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- ------ expected `oxc_semantic::ScopeFlags`, found `oxc_syntax::scope::ScopeFlags` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_ast::ast::js::Function<'_>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/scope.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 33 | | pub struct ScopeFlags: u16 { [INFO] [stdout] 34 | | const StrictMode = 1 << 0; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2436:12 [INFO] [stdout] | [INFO] [stdout] 2436 | pub fn walk_function<'a, V: Visit<'a>>(visitor: &mut V, it: &Function<'a>, flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/consistent_return.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/max_params.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rules/quality/consistent_return.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | walk::walk_function(self, func, _flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- ------ expected `oxc_semantic::ScopeFlags`, found `oxc_syntax::scope::ScopeFlags` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_ast::ast::js::Function<'_>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/scope.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 33 | | pub struct ScopeFlags: u16 { [INFO] [stdout] 34 | | const StrictMode = 1 << 0; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2436:12 [INFO] [stdout] | [INFO] [stdout] 2436 | pub fn walk_function<'a, V: Visit<'a>>(visitor: &mut V, it: &Function<'a>, flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/max_params.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | walk_formal_parameters(self, params); [INFO] [stdout] | ---------------------- ^^^^^^ expected `oxc_ast::ast::js::FormalParameters<'_>`, found `oxc_ast::ast::FormalParameters<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1852:1 [INFO] [stdout] | [INFO] [stdout] 1852 | pub struct FormalParameters<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1852:1 [INFO] [stdout] | [INFO] [stdout] 1852 | pub struct FormalParameters<'a> { [INFO] [stdout] | ------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2471:12 [INFO] [stdout] | [INFO] [stdout] 2471 | pub fn walk_formal_parameters<'a, V: Visit<'a>>(visitor: &mut V, it: &FormalParameters<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/max_params.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_console.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/max_params.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | walk_formal_parameters(self, params); [INFO] [stdout] | ---------------------- ^^^^^^ expected `oxc_ast::ast::js::FormalParameters<'_>`, found `oxc_ast::ast::FormalParameters<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1852:1 [INFO] [stdout] | [INFO] [stdout] 1852 | pub struct FormalParameters<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1852:1 [INFO] [stdout] | [INFO] [stdout] 1852 | pub struct FormalParameters<'a> { [INFO] [stdout] | ------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2471:12 [INFO] [stdout] | [INFO] [stdout] 2471 | pub fn walk_formal_parameters<'a, V: Visit<'a>>(visitor: &mut V, it: &FormalParameters<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_console.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | walk_call_expression(self, expr); [INFO] [stdout] | -------------------- ^^^^ expected `oxc_ast::ast::js::CallExpression<'_>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1643:12 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn walk_call_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_console.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_deep_nesting.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_console.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | walk_call_expression(self, expr); [INFO] [stdout] | -------------------- ^^^^ expected `oxc_ast::ast::js::CallExpression<'_>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1643:12 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn walk_call_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&Statement<'a>` in the current scope [INFO] [stdout] --> src/rules/quality/no_deep_nesting.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | let start = stmt.span().start as usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_span` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.139.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.140.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.138.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: there is a method `span_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 58 | let start = stmt.span_mut().start as usize; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_deep_nesting.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&Statement<'a>` in the current scope [INFO] [stdout] --> src/rules/quality/no_deep_nesting.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | let start = stmt.span().start as usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_span` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.139.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.140.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.138.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: there is a method `span_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 58 | let start = stmt.span_mut().start as usize; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_deep_nesting.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | walk_statement(self, stmt); [INFO] [stdout] | -------------- ^^^^ expected `oxc_ast::ast::js::Statement<'_>`, found `Statement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2005:12 [INFO] [stdout] | [INFO] [stdout] 2005 | pub fn walk_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_deep_nesting.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | walk_statement(self, stmt); [INFO] [stdout] | -------------- ^^^^ expected `oxc_ast::ast::js::Statement<'_>`, found `Statement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2005:12 [INFO] [stdout] | [INFO] [stdout] 2005 | pub fn walk_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_deep_nesting.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | walk_statement(self, stmt); [INFO] [stdout] | -------------- ^^^^ expected `oxc_ast::ast::js::Statement<'_>`, found `Statement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2005:12 [INFO] [stdout] | [INFO] [stdout] 2005 | pub fn walk_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_deep_nesting.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | walk_statement(self, stmt); [INFO] [stdout] | -------------- ^^^^ expected `oxc_ast::ast::js::Statement<'_>`, found `Statement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2005:12 [INFO] [stdout] | [INFO] [stdout] 2005 | pub fn walk_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_empty_blocks.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_empty_blocks.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | walk_statement(self, stmt); [INFO] [stdout] | -------------- ^^^^ expected `oxc_ast::ast::js::Statement<'_>`, found `Statement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2005:12 [INFO] [stdout] | [INFO] [stdout] 2005 | pub fn walk_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_empty_blocks.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_empty_blocks.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | walk_statement(self, stmt); [INFO] [stdout] | -------------- ^^^^ expected `oxc_ast::ast::js::Statement<'_>`, found `Statement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2005:12 [INFO] [stdout] | [INFO] [stdout] 2005 | pub fn walk_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_long_functions.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rules/quality/no_long_functions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | walk::walk_function(self, func, _flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- ------ expected `oxc_semantic::ScopeFlags`, found `oxc_syntax::scope::ScopeFlags` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_ast::ast::js::Function<'_>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/scope.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 33 | | pub struct ScopeFlags: u16 { [INFO] [stdout] 34 | | const StrictMode = 1 << 0; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2436:12 [INFO] [stdout] | [INFO] [stdout] 2436 | pub fn walk_function<'a, V: Visit<'a>>(visitor: &mut V, it: &Function<'a>, flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_long_functions.rs:81:52 [INFO] [stdout] | [INFO] [stdout] 81 | walk::walk_arrow_function_expression(self, func); [INFO] [stdout] | ------------------------------------ ^^^^ expected `ArrowFunctionExpression<'_>`, found `ArrowFunctionExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | -------------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2525:12 [INFO] [stdout] | [INFO] [stdout] 2525 | pub fn walk_arrow_function_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_long_functions.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rules/quality/no_long_functions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | walk::walk_function(self, func, _flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- ------ expected `oxc_semantic::ScopeFlags`, found `oxc_syntax::scope::ScopeFlags` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_ast::ast::js::Function<'_>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/scope.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 33 | | pub struct ScopeFlags: u16 { [INFO] [stdout] 34 | | const StrictMode = 1 << 0; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2436:12 [INFO] [stdout] | [INFO] [stdout] 2436 | pub fn walk_function<'a, V: Visit<'a>>(visitor: &mut V, it: &Function<'a>, flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_long_functions.rs:81:52 [INFO] [stdout] | [INFO] [stdout] 81 | walk::walk_arrow_function_expression(self, func); [INFO] [stdout] | ------------------------------------ ^^^^ expected `ArrowFunctionExpression<'_>`, found `ArrowFunctionExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | -------------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2525:12 [INFO] [stdout] | [INFO] [stdout] 2525 | pub fn walk_arrow_function_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_magic_numbers.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_magic_numbers.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | oxc_ast_visit::walk::walk_variable_declarator(self, decl); [INFO] [stdout] | --------------------------------------------- ^^^^ expected `oxc_ast::ast::js::VariableDeclarator<'_>`, found `oxc_ast::ast::VariableDeclarator<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1186:1 [INFO] [stdout] | [INFO] [stdout] 1186 | pub struct VariableDeclarator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1186:1 [INFO] [stdout] | [INFO] [stdout] 1186 | pub struct VariableDeclarator<'a> { [INFO] [stdout] | --------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2094:12 [INFO] [stdout] | [INFO] [stdout] 2094 | pub fn walk_variable_declarator<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_magic_numbers.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_magic_numbers.rs:44:61 [INFO] [stdout] | [INFO] [stdout] 44 | oxc_ast_visit::walk::walk_variable_declarator(self, decl); [INFO] [stdout] | --------------------------------------------- ^^^^ expected `oxc_ast::ast::js::VariableDeclarator<'_>`, found `oxc_ast::ast::VariableDeclarator<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1186:1 [INFO] [stdout] | [INFO] [stdout] 1186 | pub struct VariableDeclarator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1186:1 [INFO] [stdout] | [INFO] [stdout] 1186 | pub struct VariableDeclarator<'a> { [INFO] [stdout] | --------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2094:12 [INFO] [stdout] | [INFO] [stdout] 2094 | pub fn walk_variable_declarator<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_unused_vars_rule.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | let is_function = flags.contains(oxc_syntax::symbol::SymbolFlags::Function); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_semantic::SymbolFlags`, found `oxc_syntax::symbol::SymbolFlags` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/symbol.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / bitflags! { [INFO] [stdout] 38 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 39 | | #[cfg_attr(feature = "serialize", derive(Serialize))] [INFO] [stdout] 40 | | pub struct SymbolFlags: u32 { [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/lib.rs:718:26 [INFO] [stdout] | [INFO] [stdout] 718 | pub const fn contains(&$self, $other: Self) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/symbol.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / bitflags! { [INFO] [stdout] 38 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 39 | | #[cfg_attr(feature = "serialize", derive(Serialize))] [INFO] [stdout] 40 | | pub struct SymbolFlags: u32 { [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_unused_vars_rule.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | let is_function = flags.contains(oxc_syntax::symbol::SymbolFlags::Function); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `oxc_semantic::SymbolFlags`, found `oxc_syntax::symbol::SymbolFlags` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/symbol.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / bitflags! { [INFO] [stdout] 38 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 39 | | #[cfg_attr(feature = "serialize", derive(Serialize))] [INFO] [stdout] 40 | | pub struct SymbolFlags: u32 { [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/lib.rs:718:26 [INFO] [stdout] | [INFO] [stdout] 718 | pub const fn contains(&$self, $other: Self) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/symbol.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / bitflags! { [INFO] [stdout] 38 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 39 | | #[cfg_attr(feature = "serialize", derive(Serialize))] [INFO] [stdout] 40 | | pub struct SymbolFlags: u32 { [INFO] [stdout] ... | [INFO] [stdout] 119 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_var.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_var.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | walk_variable_declaration(self, decl); [INFO] [stdout] | ------------------------- ^^^^ expected `VariableDeclaration<'_>`, found `oxc_ast::ast::VariableDeclaration<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1153:1 [INFO] [stdout] | [INFO] [stdout] 1153 | pub struct VariableDeclaration<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1153:1 [INFO] [stdout] | [INFO] [stdout] 1153 | pub struct VariableDeclaration<'a> { [INFO] [stdout] | ---------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2082:12 [INFO] [stdout] | [INFO] [stdout] 2082 | pub fn walk_variable_declaration<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_var.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/no_var.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | walk_variable_declaration(self, decl); [INFO] [stdout] | ------------------------- ^^^^ expected `VariableDeclaration<'_>`, found `oxc_ast::ast::VariableDeclaration<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1153:1 [INFO] [stdout] | [INFO] [stdout] 1153 | pub struct VariableDeclaration<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1153:1 [INFO] [stdout] | [INFO] [stdout] 1153 | pub struct VariableDeclaration<'a> { [INFO] [stdout] | ---------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2082:12 [INFO] [stdout] | [INFO] [stdout] 2082 | pub fn walk_variable_declaration<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/prefer_early_return.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/prefer_early_return.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | walk_statement(self, stmt); [INFO] [stdout] | -------------- ^^^^ expected `oxc_ast::ast::js::Statement<'_>`, found `Statement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2005:12 [INFO] [stdout] | [INFO] [stdout] 2005 | pub fn walk_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/prefer_early_return.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/quality/prefer_early_return.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | walk_statement(self, stmt); [INFO] [stdout] | -------------- ^^^^ expected `oxc_ast::ast::js::Statement<'_>`, found `Statement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1056:1 [INFO] [stdout] | [INFO] [stdout] 1056 | pub enum Statement<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2005:12 [INFO] [stdout] | [INFO] [stdout] 2005 | pub fn walk_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &Statement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/consistent_component_naming.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/consistent_component_naming.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/effect_deps_complete.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rules/react/hook_rules.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | walk::walk_function(self, func, _flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- ------ expected `oxc_semantic::ScopeFlags`, found `oxc_syntax::scope::ScopeFlags` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_ast::ast::js::Function<'_>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/scope.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 33 | | pub struct ScopeFlags: u16 { [INFO] [stdout] 34 | | const StrictMode = 1 << 0; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2436:12 [INFO] [stdout] | [INFO] [stdout] 2436 | pub fn walk_function<'a, V: Visit<'a>>(visitor: &mut V, it: &Function<'a>, flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:91:52 [INFO] [stdout] | [INFO] [stdout] 91 | walk::walk_arrow_function_expression(self, func); [INFO] [stdout] | ------------------------------------ ^^^^ expected `ArrowFunctionExpression<'_>`, found `ArrowFunctionExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | -------------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2525:12 [INFO] [stdout] | [INFO] [stdout] 2525 | pub fn walk_arrow_function_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | walk::walk_if_statement(self, stmt); [INFO] [stdout] | ----------------------- ^^^^ expected `oxc_ast::ast::js::IfStatement<'_>`, found `oxc_ast::ast::IfStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1228:1 [INFO] [stdout] | [INFO] [stdout] 1228 | pub struct IfStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1228:1 [INFO] [stdout] | [INFO] [stdout] 1228 | pub struct IfStatement<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2132:12 [INFO] [stdout] | [INFO] [stdout] 2132 | pub fn walk_if_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &IfStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/effect_deps_complete.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | walk::walk_conditional_expression(self, expr); [INFO] [stdout] | --------------------------------- ^^^^ expected `ConditionalExpression<'_>`, found `oxc_ast::ast::ConditionalExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:738:1 [INFO] [stdout] | [INFO] [stdout] 738 | pub struct ConditionalExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:738:1 [INFO] [stdout] | [INFO] [stdout] 738 | pub struct ConditionalExpression<'a> { [INFO] [stdout] | ------------------------------------ this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1748:12 [INFO] [stdout] | [INFO] [stdout] 1748 | pub fn walk_conditional_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | walk::walk_expression(self, &expr.left); [INFO] [stdout] | --------------------- ^^^^^^^^^^ expected `oxc_ast::ast::js::Expression<'_>`, found `Expression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1381:12 [INFO] [stdout] | [INFO] [stdout] 1381 | pub fn walk_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &Expression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | walk::walk_expression(self, &expr.right); [INFO] [stdout] | --------------------- ^^^^^^^^^^^ expected `oxc_ast::ast::js::Expression<'_>`, found `Expression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1381:12 [INFO] [stdout] | [INFO] [stdout] 1381 | pub fn walk_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &Expression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rules/react/hook_rules.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | walk::walk_function(self, func, _flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- ------ expected `oxc_semantic::ScopeFlags`, found `oxc_syntax::scope::ScopeFlags` [INFO] [stdout] | | [INFO] [stdout] | expected `oxc_ast::ast::js::Function<'_>`, found `oxc_ast::ast::Function<'a>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1746:1 [INFO] [stdout] | [INFO] [stdout] 1746 | pub struct Function<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: there are multiple different versions of crate `oxc_syntax` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.13.0/src/public.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | $vis struct $PublicBitFlags(<$PublicBitFlags as $crate::__private::PublicFlags>::Internal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is the expected type [INFO] [stdout] | this is the found type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_syntax-0.140.0/src/scope.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 33 | | pub struct ScopeFlags: u16 { [INFO] [stdout] 34 | | const StrictMode = 1 << 0; [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2436:12 [INFO] [stdout] | [INFO] [stdout] 2436 | pub fn walk_function<'a, V: Visit<'a>>(visitor: &mut V, it: &Function<'a>, flags: ScopeFlags) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:118:49 [INFO] [stdout] | [INFO] [stdout] 118 | walk::walk_logical_expression(self, expr); [INFO] [stdout] | ----------------------------- ^^^^ expected `oxc_ast::ast::js::LogicalExpression<'_>`, found `oxc_ast::ast::LogicalExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:723:1 [INFO] [stdout] | [INFO] [stdout] 723 | pub struct LogicalExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:723:1 [INFO] [stdout] | [INFO] [stdout] 723 | pub struct LogicalExpression<'a> { [INFO] [stdout] | -------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1738:12 [INFO] [stdout] | [INFO] [stdout] 1738 | pub fn walk_logical_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &LogicalExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:91:52 [INFO] [stdout] | [INFO] [stdout] 91 | walk::walk_arrow_function_expression(self, func); [INFO] [stdout] | ------------------------------------ ^^^^ expected `ArrowFunctionExpression<'_>`, found `ArrowFunctionExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1968:1 [INFO] [stdout] | [INFO] [stdout] 1968 | pub struct ArrowFunctionExpression<'a> { [INFO] [stdout] | -------------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2525:12 [INFO] [stdout] | [INFO] [stdout] 2525 | pub fn walk_arrow_function_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | walk::walk_for_statement(self, stmt); [INFO] [stdout] | ------------------------ ^^^^ expected `oxc_ast::ast::js::ForStatement<'_>`, found `oxc_ast::ast::ForStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1266:1 [INFO] [stdout] | [INFO] [stdout] 1266 | pub struct ForStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1266:1 [INFO] [stdout] | [INFO] [stdout] 1266 | pub struct ForStatement<'a> { [INFO] [stdout] | --------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2165:12 [INFO] [stdout] | [INFO] [stdout] 2165 | pub fn walk_for_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &ForStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | walk::walk_if_statement(self, stmt); [INFO] [stdout] | ----------------------- ^^^^ expected `oxc_ast::ast::js::IfStatement<'_>`, found `oxc_ast::ast::IfStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1228:1 [INFO] [stdout] | [INFO] [stdout] 1228 | pub struct IfStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1228:1 [INFO] [stdout] | [INFO] [stdout] 1228 | pub struct IfStatement<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2132:12 [INFO] [stdout] | [INFO] [stdout] 2132 | pub fn walk_if_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &IfStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | walk::walk_for_in_statement(self, stmt); [INFO] [stdout] | --------------------------- ^^^^ expected `oxc_ast::ast::js::ForInStatement<'_>`, found `oxc_ast::ast::ForInStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1298:1 [INFO] [stdout] | [INFO] [stdout] 1298 | pub struct ForInStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1298:1 [INFO] [stdout] | [INFO] [stdout] 1298 | pub struct ForInStatement<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2194:12 [INFO] [stdout] | [INFO] [stdout] 2194 | pub fn walk_for_in_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &ForInStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | walk::walk_conditional_expression(self, expr); [INFO] [stdout] | --------------------------------- ^^^^ expected `ConditionalExpression<'_>`, found `oxc_ast::ast::ConditionalExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:738:1 [INFO] [stdout] | [INFO] [stdout] 738 | pub struct ConditionalExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:738:1 [INFO] [stdout] | [INFO] [stdout] 738 | pub struct ConditionalExpression<'a> { [INFO] [stdout] | ------------------------------------ this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1748:12 [INFO] [stdout] | [INFO] [stdout] 1748 | pub fn walk_conditional_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:136:43 [INFO] [stdout] | [INFO] [stdout] 136 | walk::walk_for_of_statement(self, stmt); [INFO] [stdout] | --------------------------- ^^^^ expected `oxc_ast::ast::js::ForOfStatement<'_>`, found `oxc_ast::ast::ForOfStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1329:1 [INFO] [stdout] | [INFO] [stdout] 1329 | pub struct ForOfStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1329:1 [INFO] [stdout] | [INFO] [stdout] 1329 | pub struct ForOfStatement<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2218:12 [INFO] [stdout] | [INFO] [stdout] 2218 | pub fn walk_for_of_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &ForOfStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | walk::walk_expression(self, &expr.left); [INFO] [stdout] | --------------------- ^^^^^^^^^^ expected `oxc_ast::ast::js::Expression<'_>`, found `Expression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1381:12 [INFO] [stdout] | [INFO] [stdout] 1381 | pub fn walk_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &Expression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 142 | walk::walk_while_statement(self, stmt); [INFO] [stdout] | -------------------------- ^^^^ expected `oxc_ast::ast::js::WhileStatement<'_>`, found `oxc_ast::ast::WhileStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1253:1 [INFO] [stdout] | [INFO] [stdout] 1253 | pub struct WhileStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1253:1 [INFO] [stdout] | [INFO] [stdout] 1253 | pub struct WhileStatement<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2155:12 [INFO] [stdout] | [INFO] [stdout] 2155 | pub fn walk_while_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &WhileStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | walk::walk_expression(self, &expr.right); [INFO] [stdout] | --------------------- ^^^^^^^^^^^ expected `oxc_ast::ast::js::Expression<'_>`, found `Expression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1381:12 [INFO] [stdout] | [INFO] [stdout] 1381 | pub fn walk_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &Expression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:148:45 [INFO] [stdout] | [INFO] [stdout] 148 | walk::walk_do_while_statement(self, stmt); [INFO] [stdout] | ----------------------------- ^^^^ expected `oxc_ast::ast::js::DoWhileStatement<'_>`, found `oxc_ast::ast::DoWhileStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1241:1 [INFO] [stdout] | [INFO] [stdout] 1241 | pub struct DoWhileStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1241:1 [INFO] [stdout] | [INFO] [stdout] 1241 | pub struct DoWhileStatement<'a> { [INFO] [stdout] | ------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2145:12 [INFO] [stdout] | [INFO] [stdout] 2145 | pub fn walk_do_while_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &DoWhileStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:118:49 [INFO] [stdout] | [INFO] [stdout] 118 | walk::walk_logical_expression(self, expr); [INFO] [stdout] | ----------------------------- ^^^^ expected `oxc_ast::ast::js::LogicalExpression<'_>`, found `oxc_ast::ast::LogicalExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:723:1 [INFO] [stdout] | [INFO] [stdout] 723 | pub struct LogicalExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:723:1 [INFO] [stdout] | [INFO] [stdout] 723 | pub struct LogicalExpression<'a> { [INFO] [stdout] | -------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1738:12 [INFO] [stdout] | [INFO] [stdout] 1738 | pub fn walk_logical_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &LogicalExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | walk::walk_expression(self, &stmt.discriminant); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Expression<'_>`, found `Expression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1381:12 [INFO] [stdout] | [INFO] [stdout] 1381 | pub fn walk_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &Expression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | walk::walk_for_statement(self, stmt); [INFO] [stdout] | ------------------------ ^^^^ expected `oxc_ast::ast::js::ForStatement<'_>`, found `oxc_ast::ast::ForStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1266:1 [INFO] [stdout] | [INFO] [stdout] 1266 | pub struct ForStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1266:1 [INFO] [stdout] | [INFO] [stdout] 1266 | pub struct ForStatement<'a> { [INFO] [stdout] | --------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2165:12 [INFO] [stdout] | [INFO] [stdout] 2165 | pub fn walk_for_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &ForStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | walk::walk_switch_case(self, case); [INFO] [stdout] | ---------------------- ^^^^ expected `oxc_ast::ast::js::SwitchCase<'_>`, found `oxc_ast::ast::SwitchCase<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1406:1 [INFO] [stdout] | [INFO] [stdout] 1406 | pub struct SwitchCase<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1406:1 [INFO] [stdout] | [INFO] [stdout] 1406 | pub struct SwitchCase<'a> { [INFO] [stdout] | ------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2288:12 [INFO] [stdout] | [INFO] [stdout] 2288 | pub fn walk_switch_case<'a, V: Visit<'a>>(visitor: &mut V, it: &SwitchCase<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | walk::walk_for_in_statement(self, stmt); [INFO] [stdout] | --------------------------- ^^^^ expected `oxc_ast::ast::js::ForInStatement<'_>`, found `oxc_ast::ast::ForInStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1298:1 [INFO] [stdout] | [INFO] [stdout] 1298 | pub struct ForInStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1298:1 [INFO] [stdout] | [INFO] [stdout] 1298 | pub struct ForInStatement<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2194:12 [INFO] [stdout] | [INFO] [stdout] 2194 | pub fn walk_for_in_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &ForInStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:136:43 [INFO] [stdout] | [INFO] [stdout] 136 | walk::walk_for_of_statement(self, stmt); [INFO] [stdout] | --------------------------- ^^^^ expected `oxc_ast::ast::js::ForOfStatement<'_>`, found `oxc_ast::ast::ForOfStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1329:1 [INFO] [stdout] | [INFO] [stdout] 1329 | pub struct ForOfStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1329:1 [INFO] [stdout] | [INFO] [stdout] 1329 | pub struct ForOfStatement<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2218:12 [INFO] [stdout] | [INFO] [stdout] 2218 | pub fn walk_for_of_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &ForOfStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 142 | walk::walk_while_statement(self, stmt); [INFO] [stdout] | -------------------------- ^^^^ expected `oxc_ast::ast::js::WhileStatement<'_>`, found `oxc_ast::ast::WhileStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1253:1 [INFO] [stdout] | [INFO] [stdout] 1253 | pub struct WhileStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1253:1 [INFO] [stdout] | [INFO] [stdout] 1253 | pub struct WhileStatement<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2155:12 [INFO] [stdout] | [INFO] [stdout] 2155 | pub fn walk_while_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &WhileStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:148:45 [INFO] [stdout] | [INFO] [stdout] 148 | walk::walk_do_while_statement(self, stmt); [INFO] [stdout] | ----------------------------- ^^^^ expected `oxc_ast::ast::js::DoWhileStatement<'_>`, found `oxc_ast::ast::DoWhileStatement<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1241:1 [INFO] [stdout] | [INFO] [stdout] 1241 | pub struct DoWhileStatement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1241:1 [INFO] [stdout] | [INFO] [stdout] 1241 | pub struct DoWhileStatement<'a> { [INFO] [stdout] | ------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2145:12 [INFO] [stdout] | [INFO] [stdout] 2145 | pub fn walk_do_while_statement<'a, V: Visit<'a>>(visitor: &mut V, it: &DoWhileStatement<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | walk::walk_expression(self, &stmt.discriminant); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^ expected `oxc_ast::ast::js::Expression<'_>`, found `Expression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Expression<'a> { [INFO] [stdout] | ----------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1381:12 [INFO] [stdout] | [INFO] [stdout] 1381 | pub fn walk_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &Expression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | walk::walk_switch_case(self, case); [INFO] [stdout] | ---------------------- ^^^^ expected `oxc_ast::ast::js::SwitchCase<'_>`, found `oxc_ast::ast::SwitchCase<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:1406:1 [INFO] [stdout] | [INFO] [stdout] 1406 | pub struct SwitchCase<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:1406:1 [INFO] [stdout] | [INFO] [stdout] 1406 | pub struct SwitchCase<'a> { [INFO] [stdout] | ------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:2288:12 [INFO] [stdout] | [INFO] [stdout] 2288 | pub fn walk_switch_case<'a, V: Visit<'a>>(visitor: &mut V, it: &SwitchCase<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/hook_rules.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_array_index_key.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_array_index_key.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_direct_mutation.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_direct_mutation.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_duplicate_props.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_duplicate_props.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_forward_ref.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_forward_ref.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_index_key.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_index_key.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_inline_functions.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_inline_functions.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_inline_styles.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_inline_styles.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_missing_key.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_missing_key.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | walk::walk_call_expression(self, expr); [INFO] [stdout] | -------------------------- ^^^^ expected `oxc_ast::ast::js::CallExpression<'_>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1643:12 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn walk_call_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_missing_key.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | walk::walk_call_expression(self, expr); [INFO] [stdout] | -------------------------- ^^^^ expected `oxc_ast::ast::js::CallExpression<'_>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1643:12 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn walk_call_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_missing_key.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_missing_key.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | walk::walk_call_expression(self, expr); [INFO] [stdout] | -------------------------- ^^^^ expected `oxc_ast::ast::js::CallExpression<'_>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1643:12 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn walk_call_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_missing_key.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | walk::walk_call_expression(self, expr); [INFO] [stdout] | -------------------------- ^^^^ expected `oxc_ast::ast::js::CallExpression<'_>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1643:12 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn walk_call_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_multiple_render_methods.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_multiple_render_methods.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_ref_in_component_name.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_ref_in_component_name.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_set_state_in_effect.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_set_state_in_effect.rs:60:61 [INFO] [stdout] | [INFO] [stdout] 60 | oxc_ast_visit::walk::walk_call_expression(self, expr); [INFO] [stdout] | ----------------------------------------- ^^^^ expected `oxc_ast::ast::js::CallExpression<'_>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1643:12 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn walk_call_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_set_state_in_effect.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_set_state_in_effect.rs:60:61 [INFO] [stdout] | [INFO] [stdout] 60 | oxc_ast_visit::walk::walk_call_expression(self, expr); [INFO] [stdout] | ----------------------------------------- ^^^^ expected `oxc_ast::ast::js::CallExpression<'_>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1643:12 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn walk_call_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_set_state_in_render.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_set_state_in_render.rs:65:61 [INFO] [stdout] | [INFO] [stdout] 65 | oxc_ast_visit::walk::walk_call_expression(self, expr); [INFO] [stdout] | ----------------------------------------- ^^^^ expected `oxc_ast::ast::js::CallExpression<'_>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1643:12 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn walk_call_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_set_state_in_render.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_set_state_in_render.rs:65:61 [INFO] [stdout] | [INFO] [stdout] 65 | oxc_ast_visit::walk::walk_call_expression(self, expr); [INFO] [stdout] | ----------------------------------------- ^^^^ expected `oxc_ast::ast::js::CallExpression<'_>`, found `oxc_ast::ast::CallExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct CallExpression<'a> { [INFO] [stdout] | ----------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1643:12 [INFO] [stdout] | [INFO] [stdout] 1643 | pub fn walk_call_expression<'a, V: Visit<'a>>(visitor: &mut V, it: &CallExpression<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_side_effects_in_render.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_side_effects_in_render.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_state_in_default_props.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_state_in_default_props.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_state_in_default_props.rs:59:67 [INFO] [stdout] | [INFO] [stdout] 59 | oxc_ast_visit::walk::walk_assignment_expression(self, expr); [INFO] [stdout] | ----------------------------------------------- ^^^^ expected `AssignmentExpression<'_>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 753 | pub struct AssignmentExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 753 | pub struct AssignmentExpression<'a> { [INFO] [stdout] | ----------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1762:12 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn walk_assignment_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_state_in_default_props.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | oxc_ast_visit::walk::walk_assignment_expression(self, expr); [INFO] [stdout] | ----------------------------------------------- ^^^^ expected `AssignmentExpression<'_>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 753 | pub struct AssignmentExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 753 | pub struct AssignmentExpression<'a> { [INFO] [stdout] | ----------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1762:12 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn walk_assignment_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_state_in_default_props.rs:59:67 [INFO] [stdout] | [INFO] [stdout] 59 | oxc_ast_visit::walk::walk_assignment_expression(self, expr); [INFO] [stdout] | ----------------------------------------------- ^^^^ expected `AssignmentExpression<'_>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 753 | pub struct AssignmentExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 753 | pub struct AssignmentExpression<'a> { [INFO] [stdout] | ----------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1762:12 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn walk_assignment_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_state_in_default_props.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | oxc_ast_visit::walk::walk_assignment_expression(self, expr); [INFO] [stdout] | ----------------------------------------------- ^^^^ expected `AssignmentExpression<'_>`, found `oxc_ast::ast::AssignmentExpression<'a>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 753 | pub struct AssignmentExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:753:1 [INFO] [stdout] | [INFO] [stdout] 753 | pub struct AssignmentExpression<'a> { [INFO] [stdout] | ----------------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:1762:12 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn walk_assignment_expression<'a, V: Visit<'a>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_unnecessary_memo.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/no_unnecessary_memo.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/prefer_function_components.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/react/prefer_function_components.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_dangerously_set_innerhtml.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_dangerously_set_innerhtml.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_eval.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_eval.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_hardcoded_secrets.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_hardcoded_secrets.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_insecure_protocol.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_insecure_protocol.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_script_url.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_script_url.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_unsafe_iframe.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_unsafe_iframe.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_unsanitized_input.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/security/no_unsanitized_input.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/testing/assert_includes_message.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/testing/assert_includes_message.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/testing/no_skipped_tests.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/testing/no_skipped_tests.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/consistent_type_imports.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/consistent_type_imports.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/explicit_return_type.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/explicit_return_type.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/no_any.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/no_any.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/no_empty_interface.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/no_empty_interface.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/no_explicit_any.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/no_explicit_any.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/no_non_null_assertion.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/no_non_null_assertion.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/no_type_assertion.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/no_type_assertion.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/prefer_interface.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/prefer_interface.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | collector.visit_program(program); [INFO] [stdout] | ------------- ^^^^^^^ expected `oxc_ast::ast::js::Program<'_>`, found `oxc_ast::ast::Program<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_ast` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.140.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast-0.139.0/src/ast/js.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Program<'a> { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_ast_visit-0.140.0/src/generated/visit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn visit_program(&mut self, it: &Program<'a>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&oxc_ast::ast::MemberExpression<'a>` in the current scope [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | expr.span().start as usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_span` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.139.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.140.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.138.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: there is a method `span_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 55 | expr.span_mut().start as usize, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&oxc_ast::ast::MemberExpression<'a>` in the current scope [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | expr.span().start as usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_span` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.139.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.140.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.138.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: there is a method `span_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | expr.span_mut().start as usize, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&oxc_ast::ast::MemberExpression<'a>` in the current scope [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | expr.span().start as usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_span` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.139.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.140.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.138.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: there is a method `span_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 55 | expr.span_mut().start as usize, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&oxc_ast::ast::MemberExpression<'a>` in the current scope [INFO] [stdout] --> src/rules/typescript/strict_null_checks.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | expr.span().start as usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `oxc_span` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.139.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.140.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oxc_span-0.138.0/src/span.rs:609:1 [INFO] [stdout] | [INFO] [stdout] 609 | pub trait GetSpan { [INFO] [stdout] | ----------------- this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: there is a method `span_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | expr.span_mut().start as usize, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `react-auditor` (lib) due to 215 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `react-auditor` (lib test) due to 215 previous errors [INFO] running `Command { std: "docker" "inspect" "af93db0ad474b456fe1b8066323d3bef5ca9c07c75452a73107f924b4fc5b9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af93db0ad474b456fe1b8066323d3bef5ca9c07c75452a73107f924b4fc5b9ba", kill_on_drop: false }` [INFO] [stdout] af93db0ad474b456fe1b8066323d3bef5ca9c07c75452a73107f924b4fc5b9ba