[INFO] fetching crate enum_kind 0.2.2...
[INFO] testing enum_kind-0.2.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate enum_kind 0.2.2 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate enum_kind 0.2.2
[INFO] finished tweaking crates.io crate enum_kind 0.2.2
[INFO] tweaked toml for crates.io crate enum_kind 0.2.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate enum_kind 0.2.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 7 packages to latest compatible versions
[INFO] [stderr]       Adding pmutil v0.5.3 (available: v0.6.1)
[INFO] [stderr]       Adding swc_macros_common v0.3.14 (available: v1.0.1)
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.110)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pmutil v0.5.3
[INFO] [stderr]   Downloaded swc_macros_common v0.3.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2970a64a4d35ceb23efd7a5efc041f9e69b783ae6a9e11cf97c75e06e9ac8e3c
[INFO] running `Command { std: "docker" "start" "-a" "2970a64a4d35ceb23efd7a5efc041f9e69b783ae6a9e11cf97c75e06e9ac8e3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2970a64a4d35ceb23efd7a5efc041f9e69b783ae6a9e11cf97c75e06e9ac8e3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2970a64a4d35ceb23efd7a5efc041f9e69b783ae6a9e11cf97c75e06e9ac8e3c", kill_on_drop: false }`
[INFO] [stdout] 2970a64a4d35ceb23efd7a5efc041f9e69b783ae6a9e11cf97c75e06e9ac8e3c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 735c975e587a512c5ae8eaade582800c5c9c4e7279b8977fe5306ec9b25e9cb1
[INFO] running `Command { std: "docker" "start" "-a" "735c975e587a512c5ae8eaade582800c5c9c4e7279b8977fe5306ec9b25e9cb1", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling pmutil v0.5.3
[INFO] [stderr]    Compiling swc_macros_common v0.3.14
[INFO] [stderr]    Compiling enum_kind v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stdout]   --> 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::<ItemImpl>()
[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[E0308]: arguments to this function are incorrect
[INFO] [stdout]   --> 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/syn-2.0.110/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]    |
[INFO] [stdout]   ::: 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]   ::: 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: expected `&[Attribute]`, found `&Vec<Attribute>`
[INFO] [stdout]   --> 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<syn::Attribute>`
[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]   --> 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]   --> 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/option.rs:607:4
[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]    --> 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/syn-2.0.110/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]     |
[INFO] [stdout]    ::: 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]    ::: 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]     = 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]    --> 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]    --> 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]    --> 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]    --> 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/option.rs:607:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> 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]    --> 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[E0277]: a value of type `syn::punctuated::Punctuated<syn::FnArg, syn::token::Comma>` cannot be built from an iterator over elements of type `swc_macros_common::prelude::Element<syn::FnArg, _>`
[INFO] [stdout]    --> src/expand.rs:194:18
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 .collect(),
[INFO] [stdout]     |                  ^^^^^^^ value of type `syn::punctuated::Punctuated<syn::FnArg, syn::token::Comma>` cannot be built from `std::iter::Iterator<Item=swc_macros_common::prelude::Element<syn::FnArg, _>>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromIterator<swc_macros_common::prelude::Element<syn::FnArg, _>>` is not implemented for `syn::punctuated::Punctuated<syn::FnArg, syn::token::Comma>`
[INFO] [stdout] help: the following other types implement trait `FromIterator<A>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/punctuated.rs:437:1
[INFO] [stdout]     |
[INFO] [stdout] 437 | / impl<T, P> FromIterator<T> for Punctuated<T, P>
[INFO] [stdout] 438 | | where
[INFO] [stdout] 439 | |     P: Default,
[INFO] [stdout]     | |_______________^ `syn::punctuated::Punctuated<T, P>` implements `FromIterator<T>`
[INFO] [stdout] ...
[INFO] [stdout] 459 |   impl<T, P> FromIterator<Pair<T, P>> for Punctuated<T, P> {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `syn::punctuated::Punctuated<T, P>` implements `FromIterator<Pair<T, P>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> 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<Element<FnArg, _>>`
[INFO] [stdout] 193 |                   .into_iter()
[INFO] [stdout]     |                    ^^^^^^^^^^^ `Iterator::Item` is `Element<FnArg, _>` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]    --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/iter/traits/iterator.rs:2015:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> 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]   --> src/parse.rs:43:49
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let fns: Punctuated<FnDef, Token![,]> = fns.parse_terminated(FnDef::parse)?;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Punctuated<FnDef, Comma>`, found `Punctuated<FnDef, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `?` operator cannot convert from `syn::punctuated::Punctuated<input::FnDef, _>` to `swc_macros_common::prelude::Punctuated<input::FnDef, syn::token::Comma>`
[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.110/src/punctuated.rs:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct Punctuated<T, P> {
[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<T, P> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `syn::punctuated::Punctuated`
[INFO] [stdout]    |
[INFO] [stdout]   ::: 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]   ::: 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]   --> src/parse.rs:70:27
[INFO] [stdout]    |
[INFO] [stdout] 70 |                     span: def_site::<Span>(),
[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]    --> 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]    --> /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/syn-2.0.110/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]     |
[INFO] [stdout]    ::: 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]    ::: 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.110/src/punctuated.rs:292:12
[INFO] [stdout]     |
[INFO] [stdout] 292 |     pub fn parse_terminated(input: ParseStream) -> Result<Self>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `syn::Error`
[INFO] [stdout]    --> 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<syn::error::Error>` 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<syn::error::Error>` is not implemented for `syn::Error`
[INFO] [stdout]       but trait `From<proc_macro2::LexError>` is implemented for it
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/error.rs:366:1
[INFO] [stdout]     |
[INFO] [stdout] 366 | impl From<LexError> for Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: for that trait implementation, expected `proc_macro2::LexError`, found `syn::error::Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `syn::token::Comma: syn::parse::Parse` is not satisfied
[INFO] [stdout]    --> 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.110/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]    ::: 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]    ::: 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.110/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::<T, P>::parse_terminated`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.110/src/punctuated.rs:295:12
[INFO] [stdout]     |
[INFO] [stdout] 292 |     pub fn parse_terminated(input: ParseStream) -> Result<Self>
[INFO] [stdout]     |            ---------------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 295 |         P: Parse,
[INFO] [stdout]     |            ^^^^^ required by this bound in `Punctuated::<T, P>::parse_terminated`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `input::VariantAttr: syn::parse::Parse` is not satisfied
[INFO] [stdout]    --> 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]    --> 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.110/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]    ::: 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]    ::: 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]    ::: 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::<T, P>::parse_terminated`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.110/src/punctuated.rs:294:12
[INFO] [stdout]     |
[INFO] [stdout] 292 |     pub fn parse_terminated(input: ParseStream) -> Result<Self>
[INFO] [stdout]     |            ---------------- required by a bound in this associated function
[INFO] [stdout] 293 |     where
[INFO] [stdout] 294 |         T: Parse,
[INFO] [stdout]     |            ^^^^^ required by this bound in `Punctuated::<T, P>::parse_terminated`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> 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/syn-2.0.110/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 | |     /// <br>
[INFO] [stdout] ...   |
[INFO] [stdout] 179 | | }
[INFO] [stdout]     | |_^ this is the expected type `syn::attr::Attribute`
[INFO] [stdout]     |
[INFO] [stdout]    ::: 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]    ::: 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: 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]    --> 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/syn-2.0.110/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 | |     /// <br>
[INFO] [stdout] ...   |
[INFO] [stdout] 179 | | }
[INFO] [stdout]     | |_^ this is the expected type `syn::attr::Attribute`
[INFO] [stdout]     |
[INFO] [stdout]    ::: 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]    ::: 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: 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] 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] [stderr] error: could not compile `enum_kind` (lib) due to 19 previous errors
[INFO] running `Command { std: "docker" "inspect" "735c975e587a512c5ae8eaade582800c5c9c4e7279b8977fe5306ec9b25e9cb1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "735c975e587a512c5ae8eaade582800c5c9c4e7279b8977fe5306ec9b25e9cb1", kill_on_drop: false }`
[INFO] [stdout] 735c975e587a512c5ae8eaade582800c5c9c4e7279b8977fe5306ec9b25e9cb1
