[INFO] fetching crate swc_plugin_styled_jsx 0.14.2... [INFO] testing swc_plugin_styled_jsx-0.14.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate swc_plugin_styled_jsx 0.14.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate swc_plugin_styled_jsx 0.14.2 [INFO] finished tweaking crates.io crate swc_plugin_styled_jsx 0.14.2 [INFO] tweaked toml for crates.io crate swc_plugin_styled_jsx 0.14.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_plugin_styled_jsx 0.14.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 330 packages to latest compatible versions [INFO] [stderr] Adding styled_jsx v0.29.13 (available: v0.98.0) [INFO] [stderr] Adding swc_core v0.40.57 (available: v38.0.0) [INFO] [stderr] Adding testing v0.31.43 (available: v15.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50b61ed107e24f7544fe67d0bf3b7347f919852471d4d486f269a36b274c6d50 [INFO] running `Command { std: "docker" "start" "-a" "50b61ed107e24f7544fe67d0bf3b7347f919852471d4d486f269a36b274c6d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50b61ed107e24f7544fe67d0bf3b7347f919852471d4d486f269a36b274c6d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50b61ed107e24f7544fe67d0bf3b7347f919852471d4d486f269a36b274c6d50", kill_on_drop: false }` [INFO] [stdout] 50b61ed107e24f7544fe67d0bf3b7347f919852471d4d486f269a36b274c6d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf2b13b829b2228e22ba0029fba020e74fae175496595ec6b188b424b02f04c2 [INFO] running `Command { std: "docker" "start" "-a" "cf2b13b829b2228e22ba0029fba020e74fae175496595ec6b188b424b02f04c2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling swc_macros_common v0.3.14 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling better_scoped_tls v0.1.2 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling lexical-write-integer v0.8.5 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling swc_ecma_ast v0.95.11 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling swc_ecma_ast v0.94.21 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling supports-color v1.3.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Compiling supports-unicode v1.0.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling sourcemap v6.4.1 [INFO] [stderr] Compiling lexical v6.1.1 [INFO] [stderr] Compiling supports-hyperlinks v1.2.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.5.5 [INFO] [stderr] Compiling swc_atoms v0.4.43 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling swc_atoms v0.5.9 [INFO] [stderr] Compiling camino v1.1.12 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling browserslist-rs v0.15.0 [INFO] [stderr] Compiling swc_cached v0.3.20 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling swc_config_macro v0.1.4 [INFO] [stderr] Compiling swc_timer v0.17.43 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling browserslist-rs v0.12.4 [INFO] [stderr] Compiling swc_config v0.1.15 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling swc_css_codegen_macros v0.2.4 [INFO] [stderr] Compiling vergen v7.5.1 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling static-map-macro v0.3.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling radix_fmt v1.0.0 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling cargo_metadata v0.15.4 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling easy-error v1.0.0 [INFO] [stderr] Compiling st-map v0.2.4 [INFO] [stderr] Compiling string_enum v0.3.4 [INFO] [stderr] Compiling enum_kind v0.2.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Compiling auto_impl v0.5.0 [INFO] [stderr] Compiling static-map-macro v0.2.5 [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 56 | / Quote::new_call_site() [INFO] [stdout] 57 | | .quote_with(smart_quote!( [INFO] [stdout] 58 | | Vars { [INFO] [stdout] 59 | | Type: name, [INFO] [stdout] ... | [INFO] [stdout] 68 | | .parse::() [INFO] [stdout] 69 | | .with_generics(generics) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 89 | / Quote::new(def_site::()) [INFO] [stdout] 90 | | .quote_with(smart_quote!( [INFO] [stdout] 91 | | Vars { [INFO] [stdout] 92 | | Trait: trait_path, [INFO] [stdout] ... | [INFO] [stdout] 105 | | .parse::() [INFO] [stdout] 106 | | .with_generics(i.generics.clone()) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | VariantBinder::new(Some(enum_name), &v.name, &v.data, &v.attrs.extras) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------- expected `syn::data::Fields`, found `syn::Fields` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/data.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ast_enum_of_structs! { [INFO] [stdout] 26 | | /// Data stored within an enum variant or struct. [INFO] [stdout] 27 | | /// [INFO] [stdout] 28 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |__^ this is the found type `syn::Fields` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/data.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / ast_enum_of_structs! { [INFO] [stdout] 27 | | /// Data stored within an enum variant or struct. [INFO] [stdout] 28 | | /// [INFO] [stdout] 29 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ this is the expected type `syn::data::Fields` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[Attribute]`, found `&Vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:89:79 [INFO] [stdout] | [INFO] [stdout] 89 | VariantBinder::new(Some(enum_name), &v.name, &v.data, &v.attrs.extras) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[syn::attr::Attribute]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/binder.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | ... .bind("_", Some(call_site()), None); [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `Ref`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | ... .bind("_", Some(call_site()), None); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:601:5 [INFO] [stdout] help: try wrapping the expression in `syn::token::Ref` [INFO] [stdout] | [INFO] [stdout] 90 | .bind("_", Some(syn::token::Ref { span: call_site() }), None); [INFO] [stdout] | +++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | pat, [INFO] [stdout] | ^^^ expected `Pat`, found `syn::pat::Pat` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/pat.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// A pattern in a local binding, function signature, match expression, or [INFO] [stdout] 7 | | /// various other places. [INFO] [stdout] 8 | | /// [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] | |__^ this is the expected type `Pat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/pat.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / ast_enum_of_structs! { [INFO] [stdout] 16 | | /// A pattern in a local binding, function signature, match expression, or [INFO] [stdout] 17 | | /// various other places. [INFO] [stdout] 18 | | /// [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ this is the found type `syn::pat::Pat` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:151:57 [INFO] [stdout] | [INFO] [stdout] 151 | ... .filter(|attr| is_attr_name(attr, "cfg")) [INFO] [stdout] | ------------ ^^^^ expected `&Attribute`, found `&&Attribute` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&syn::attr::Attribute` [INFO] [stdout] found reference `&&syn::Attribute` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_attr_name(attr: &Attribute, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:154:42 [INFO] [stdout] | [INFO] [stdout] 154 | fat_arrow_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:155:37 [INFO] [stdout] | [INFO] [stdout] 155 | comma: Some(call_site()), [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | comma: Some(call_site()), [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | match_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 164 | match_token: syn::token::Match { span: call_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | brace_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 165 | brace_token: syn::token::Brace { span: call_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:111:48 [INFO] [stdout] | [INFO] [stdout] 111 | let docs: Vec<_> = attrs.iter().filter_map(doc_str).collect(); [INFO] [stdout] | ---------- ^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&syn::Attribute) -> _` [INFO] [stdout] found function signature `fn(&syn::attr::Attribute) -> _` [INFO] [stdout] note: required by a bound in `filter_map` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/iter/traits/iterator.rs:937:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 111 | let docs: Vec<_> = attrs.iter().filter_map(|arg0: &syn::Attribute| doc_str(/* &syn::attr::Attribute */)).collect(); [INFO] [stdout] | +++++++++++++++++++++++ +++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `syn::punctuated::Punctuated` cannot be built from an iterator over elements of type `swc_macros_common::prelude::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | .collect(), [INFO] [stdout] | ^^^^^^^ value of type `syn::punctuated::Punctuated` cannot be built from `std::iter::Iterator>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator>` is not implemented for `syn::punctuated::Punctuated` [INFO] [stdout] = help: the following other types implement trait `FromIterator`: [INFO] [stdout] `syn::punctuated::Punctuated` implements `FromIterator>` [INFO] [stdout] `syn::punctuated::Punctuated` implements `FromIterator` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 184 | inputs: vec![ [INFO] [stdout] | _________________________- [INFO] [stdout] 185 | | // TODO [INFO] [stdout] 186 | | Element::End(FnArg::Receiver(Receiver { [INFO] [stdout] 187 | | reference: Some((name_span.as_token(), None)), [INFO] [stdout] ... | [INFO] [stdout] 191 | | })), [INFO] [stdout] 192 | | ] [INFO] [stdout] | |_________________- this expression has type `Vec>` [INFO] [stdout] 193 | .into_iter() [INFO] [stdout] | ^^^^^^^^^^^ `Iterator::Item` is `Element` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:202:30 [INFO] [stdout] | [INFO] [stdout] 202 | brace_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 202 | brace_token: syn::token::Brace { span: call_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/parse.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | let fns: Punctuated = fns.parse_terminated(FnDef::parse)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Punctuated`, found `Punctuated` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `syn::punctuated::Punctuated` to `swc_macros_common::prelude::Punctuated` [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/punctuated.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Punctuated { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `swc_macros_common::prelude::Punctuated` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/punctuated.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Punctuated { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `syn::punctuated::Punctuated` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/parse.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | span: def_site::(), [INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/parse.rs:117:83 [INFO] [stdout] | [INFO] [stdout] 117 | let fn_values: Punctuated<_, token::Comma> = Punctuated::parse_terminated(input)?; [INFO] [stdout] | ---------------------------- ^^^^^ expected `syn::parse::ParseBuffer<'_>`, found `ParseBuffer<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/parse.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct ParseBuffer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `syn::parse::ParseBuffer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/parse.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | pub struct ParseBuffer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `ParseBuffer` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [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/syn-2.0.106/src/punctuated.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn parse_terminated(input: ParseStream) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `syn::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/parse.rs:117:89 [INFO] [stdout] | [INFO] [stdout] 117 | let fn_values: Punctuated<_, token::Comma> = Punctuated::parse_terminated(input)?; [INFO] [stdout] | -----------------------------------^ the trait `From` is not implemented for `syn::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, syn::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is not implemented for `syn::Error` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `proc_macro2::LexError`, found `syn::error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `FilterMap, fn(&Attribute) -> ... {doc_str}>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:111:57 [INFO] [stdout] | [INFO] [stdout] 111 | let docs: Vec<_> = attrs.iter().filter_map(doc_str).collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str} as FnOnce<(&syn::Attribute,)>>::Output = Option<_>` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str}>: Iterator` [INFO] [stdout] `for<'a> fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str}: FnMut<(&syn::Attribute,)>` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str}>: Iterator` [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str}>: Iterator` [INFO] [stdout] which is required by `&mut FilterMap, for<'a> fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str}>: Iterator` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/string_enum-1581ff6e9680654d.long-type-16649885569102006174.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | let arms = Binder::new_from(i) [INFO] [stdout] | ---------------- ^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `syn::DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] 8 | use syn::{self, *}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [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/swc_macros_common-0.3.14/src/binder.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new_from(input: &'a DeriveInput) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::token::Comma: syn::parse::Parse` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/parse.rs:117:54 [INFO] [stdout] | [INFO] [stdout] 117 | let fn_values: Punctuated<_, token::Comma> = Punctuated::parse_terminated(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `syn::parse::Parse` is not implemented for `syn::token::Comma` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `syn` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/parse.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | pub trait Parse: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/token.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | pub trait Token: private::Sealed { [INFO] [stdout] | -------------------------------- this is the found trait [INFO] [stdout] ... [INFO] [stdout] 707 | / define_punctuation! { [INFO] [stdout] 708 | | "+" pub struct Add/1 /// `+` [INFO] [stdout] 709 | | "+=" pub struct AddEq/2 /// `+=` [INFO] [stdout] 710 | | "&" pub struct And/1 /// `&` [INFO] [stdout] ... | [INFO] [stdout] 753 | | "~" pub struct Tilde/1 /// `~` [INFO] [stdout] 754 | | } [INFO] [stdout] | |__- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/token.rs:748:1 [INFO] [stdout] | [INFO] [stdout] 748 | / define_punctuation! { [INFO] [stdout] 749 | | "&" pub struct And/1 /// bitwise and logical AND, borrow, references, reference patterns [INFO] [stdout] 750 | | "&&" pub struct AndAnd/2 /// lazy AND, borrow, references, reference patterns [INFO] [stdout] 751 | | "&=" pub struct AndEq/2 /// bitwise AND assignment [INFO] [stdout] ... | [INFO] [stdout] 794 | | "~" pub struct Tilde/1 /// unused since before Rust 1.0 [INFO] [stdout] 795 | | } [INFO] [stdout] | |_- this type implements the required trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `swc_macros_common::prelude::Punctuated::::parse_terminated` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/punctuated.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn parse_terminated(input: ParseStream) -> Result [INFO] [stdout] | ---------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 293 | P: Parse, [INFO] [stdout] | ^^^^^ required by this bound in `Punctuated::::parse_terminated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | let str_value = get_str_value(v.attrs()); [INFO] [stdout] | ------------- ^^^^^^^^^ expected `syn::Attribute`, found `syn::attr::Attribute` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/attr.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / ast_struct! { [INFO] [stdout] 13 | | /// An attribute like `#[repr(transparent)]`. [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [INFO] [stdout] | |__^ this is the expected type `syn::Attribute` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] 8 | use syn::{self, *}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/attr.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / ast_struct! { [INFO] [stdout] 20 | | /// An attribute, like `#[repr(transparent)]`. [INFO] [stdout] 21 | | /// [INFO] [stdout] 22 | | ///
[INFO] [stdout] ... | [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ this is the found type `syn::attr::Attribute` [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/string_enum-0.3.4/src/lib.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn get_str_value(attrs: &[Attribute]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ ------------------- [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | let mut pat: Pat = Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `input::VariantAttr: syn::parse::Parse` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/parse.rs:117:54 [INFO] [stdout] | [INFO] [stdout] 117 | let fn_values: Punctuated<_, token::Comma> = Punctuated::parse_terminated(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `syn::parse::Parse` is not implemented for `input::VariantAttr` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/input.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct VariantAttr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: there are multiple different versions of crate `syn` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/parse.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | pub trait Parse: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/input.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct VariantAttr { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/token.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | pub trait Token: private::Sealed { [INFO] [stdout] | -------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `swc_macros_common::prelude::Punctuated::::parse_terminated` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/punctuated.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn parse_terminated(input: ParseStream) -> Result [INFO] [stdout] | ---------------- required by a bound in this associated function [INFO] [stdout] 291 | where [INFO] [stdout] 292 | T: Parse, [INFO] [stdout] | ^^^^^ required by this bound in `Punctuated::::parse_terminated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse_meta` found for reference `&syn::attr::Attribute` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | let meta = attr.parse_meta().expect("failed to parse meta"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `parse_nested_meta` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/attr.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | / pub fn parse_nested_meta( [INFO] [stdout] 392 | | &self, [INFO] [stdout] 393 | | logic: impl FnMut(ParseNestedMeta) -> Result<()>, [INFO] [stdout] 394 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | ... cases, [INFO] [stdout] | ^^^^^ expected `Punctuated`, found `Punctuated` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/punctuated.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Punctuated { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `syn::punctuated::Punctuated` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/punctuated.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Punctuated { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `swc_macros_common::prelude::Punctuated` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] 8 | use syn::{self, *}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | Fields::Unit => Box::new( [INFO] [stdout] | ^^^^^^^^^^^^ expected `syn::data::Fields`, found `syn::Fields` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/data.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ast_enum_of_structs! { [INFO] [stdout] 26 | | /// Data stored within an enum variant or struct. [INFO] [stdout] 27 | | /// [INFO] [stdout] 28 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |__^ this is the found type `syn::Fields` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] 8 | use syn::{self, *}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/data.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / ast_enum_of_structs! { [INFO] [stdout] 27 | | /// Data stored within an enum variant or struct. [INFO] [stdout] 28 | | /// [INFO] [stdout] 29 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ this is the expected type `syn::data::Fields` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `syn::attr::Attribute` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | .collect(), [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec` [INFO] [stdout] but trait `FromIterator` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `syn::Attribute`, found `syn::attr::Attribute` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 194 | attrs: v [INFO] [stdout] | - this expression has type `VariantBinder<'_>` [INFO] [stdout] 195 | .attrs() [INFO] [stdout] 196 | .iter() [INFO] [stdout] | ------ `Iterator::Item` is `&Attribute` here [INFO] [stdout] 197 | .filter(|attr| is_attr_name(attr, "cfg")) [INFO] [stdout] | ---------------------------------------- `Iterator::Item` remains `&Attribute` here [INFO] [stdout] 198 | .cloned() [INFO] [stdout] | ^^^^^^^^ `Iterator::Item` changed to `Attribute` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | comma: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | comma: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:217:22 [INFO] [stdout] | [INFO] [stdout] 217 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 217 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 218 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/parse.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | if is_attr_name(&attr, "doc") { [INFO] [stdout] | ------------ ^^^^^ expected `syn::attr::Attribute`, found `syn::Attribute` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/attr.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / ast_struct! { [INFO] [stdout] 13 | | /// An attribute like `#[repr(transparent)]`. [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [INFO] [stdout] | |__^ this is the found type `syn::Attribute` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/attr.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / ast_struct! { [INFO] [stdout] 20 | | /// An attribute, like `#[repr(transparent)]`. [INFO] [stdout] 21 | | /// [INFO] [stdout] 22 | | ///
[INFO] [stdout] ... | [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ this is the expected type `syn::attr::Attribute` [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/swc_macros_common-0.3.14/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_attr_name(attr: &Attribute, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 227 | / Quote::new_call_site() [INFO] [stdout] 228 | | .quote_with(smart_quote!( [INFO] [stdout] 229 | | Vars { [INFO] [stdout] 230 | | Type: &i.ident, [INFO] [stdout] ... | [INFO] [stdout] 243 | | .parse::() [INFO] [stdout] 244 | | .with_generics(i.generics.clone()) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:248:33 [INFO] [stdout] | [INFO] [stdout] 248 | let arms = Binder::new_from(i) [INFO] [stdout] | ---------------- ^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `syn::DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] 8 | use syn::{self, *}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [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/swc_macros_common-0.3.14/src/binder.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new_from(input: &'a DeriveInput) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/parse.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | if is_attr_name(&attr, "kind") { [INFO] [stdout] | ------------ ^^^^^ expected `syn::attr::Attribute`, found `syn::Attribute` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/attr.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / ast_struct! { [INFO] [stdout] 13 | | /// An attribute like `#[repr(transparent)]`. [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [INFO] [stdout] | |__^ this is the found type `syn::Attribute` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/expand.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/enum_kind-0.2.2/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/attr.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / ast_struct! { [INFO] [stdout] 20 | | /// An attribute, like `#[repr(transparent)]`. [INFO] [stdout] 21 | | /// [INFO] [stdout] 22 | | ///
[INFO] [stdout] ... | [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ this is the expected type `syn::attr::Attribute` [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/swc_macros_common-0.3.14/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn is_attr_name(attr: &Attribute, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:255:43 [INFO] [stdout] | [INFO] [stdout] 255 | let str_value = get_str_value(v.attrs()); [INFO] [stdout] | ------------- ^^^^^^^^^ expected `syn::Attribute`, found `syn::attr::Attribute` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/attr.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / ast_struct! { [INFO] [stdout] 13 | | /// An attribute like `#[repr(transparent)]`. [INFO] [stdout] 14 | | /// [INFO] [stdout] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [INFO] [stdout] | |__^ this is the expected type `syn::Attribute` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] 8 | use syn::{self, *}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/attr.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / ast_struct! { [INFO] [stdout] 20 | | /// An attribute, like `#[repr(transparent)]`. [INFO] [stdout] 21 | | /// [INFO] [stdout] 22 | | ///
[INFO] [stdout] ... | [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ this is the found type `syn::attr::Attribute` [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/string_enum-0.3.4/src/lib.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn get_str_value(attrs: &[Attribute]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ ------------------- [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:258:28 [INFO] [stdout] | [INFO] [stdout] 258 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | Fields::Unit => Box::new(Pat::Path(PatPath { [INFO] [stdout] | ^^^^^^^^^^^^ expected `syn::data::Fields`, found `syn::Fields` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/data.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / ast_enum_of_structs! { [INFO] [stdout] 26 | | /// Data stored within an enum variant or struct. [INFO] [stdout] 27 | | /// [INFO] [stdout] 28 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |__^ this is the found type `syn::Fields` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] 8 | use syn::{self, *}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/data.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / ast_enum_of_structs! { [INFO] [stdout] 27 | | /// Data stored within an enum variant or struct. [INFO] [stdout] 28 | | /// [INFO] [stdout] 29 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ this is the expected type `syn::data::Fields` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:266:27 [INFO] [stdout] | [INFO] [stdout] 266 | path: qual_name, [INFO] [stdout] | ^^^^^^^^^ expected `syn::Path`, found `syn::path::Path` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/path.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// A path at which a named item is exported (e.g. `std::collections::HashMap`). [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |__^ this is the expected type `syn::Path` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use swc_macros_common::prelude::*; [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] 8 | use syn::{self, *}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/path.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / ast_struct! { [INFO] [stdout] 12 | | /// A path at which a named item is exported (e.g. `std::collections::HashMap`). [INFO] [stdout] 13 | | #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] [INFO] [stdout] 14 | | pub struct Path { [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ this is the found type `syn::path::Path` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:270:32 [INFO] [stdout] | [INFO] [stdout] 270 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `syn::attr::Attribute` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | .collect(), [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec` [INFO] [stdout] but trait `FromIterator` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `syn::Attribute`, found `syn::attr::Attribute` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 278 | attrs: v [INFO] [stdout] | - this expression has type `VariantBinder<'_>` [INFO] [stdout] 279 | .attrs() [INFO] [stdout] 280 | .iter() [INFO] [stdout] | ------ `Iterator::Item` is `&Attribute` here [INFO] [stdout] 281 | .filter(|attr| is_attr_name(attr, "cfg")) [INFO] [stdout] | ---------------------------------------- `Iterator::Item` remains `&Attribute` here [INFO] [stdout] 282 | .cloned() [INFO] [stdout] | ^^^^^^^^ `Iterator::Item` changed to `Attribute` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling swc_visit_macros v0.5.13 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | and_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `And`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:291:34 [INFO] [stdout] | [INFO] [stdout] 291 | fat_arrow_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | comma: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | comma: Some(def_site()), [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | match_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 299 | match_token: syn::token::Match { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | brace_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 300 | brace_token: syn::token::Brace { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:302:24 [INFO] [stdout] | [INFO] [stdout] 302 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:309:16 [INFO] [stdout] | [INFO] [stdout] 309 | Quote::new(def_site::()) [INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 0 generic parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn def_site() -> Span { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 309 | / Quote::new(def_site::()) [INFO] [stdout] 310 | | .quote_with(smart_quote!( [INFO] [stdout] 311 | | Vars { [INFO] [stdout] 312 | | Type: &i.ident, [INFO] [stdout] ... | [INFO] [stdout] 324 | | .parse::() [INFO] [stdout] 325 | | .with_generics(i.generics.clone()) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 333 | / Quote::new_call_site() [INFO] [stdout] 334 | | .quote_with(smart_quote!(Vars { Type: &i.ident }, { [INFO] [stdout] 335 | | impl ::serde::Serialize for Type { [INFO] [stdout] 336 | | fn serialize(&self, serializer: S) -> Result [INFO] [stdout] ... | [INFO] [stdout] 344 | | .parse::() [INFO] [stdout] 345 | | .with_generics(i.generics.clone()) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `enum_kind` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:380:10 [INFO] [stdout] | [INFO] [stdout] 349 | / Quote::new_call_site() [INFO] [stdout] 350 | | .quote_with(smart_quote!(Vars { Type: &i.ident }, { [INFO] [stdout] 351 | | impl<'de> ::serde::Deserialize<'de> for Type { [INFO] [stdout] 352 | | fn deserialize(deserializer: D) -> Result [INFO] [stdout] ... | [INFO] [stdout] 379 | | .parse::() [INFO] [stdout] 380 | | .with_generics(i.generics.clone()) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `string_enum` (lib) due to 34 previous errors [INFO] running `Command { std: "docker" "inspect" "cf2b13b829b2228e22ba0029fba020e74fae175496595ec6b188b424b02f04c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf2b13b829b2228e22ba0029fba020e74fae175496595ec6b188b424b02f04c2", kill_on_drop: false }` [INFO] [stdout] cf2b13b829b2228e22ba0029fba020e74fae175496595ec6b188b424b02f04c2