[INFO] fetching crate poly_swc_emotion 0.7.1... [INFO] checking poly_swc_emotion-0.7.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate poly_swc_emotion 0.7.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate poly_swc_emotion 0.7.1 [INFO] finished tweaking crates.io crate poly_swc_emotion 0.7.1 [INFO] tweaked toml for crates.io crate poly_swc_emotion 0.7.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate poly_swc_emotion 0.7.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 243 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding sourcemap v6.4.1 (available: v9.2.2) [INFO] [stderr] Adding swc_atoms v0.2.13 (available: v7.0.0) [INFO] [stderr] Adding swc_common v0.18.9 (available: v14.0.3) [INFO] [stderr] Adding swc_ecma_transforms_testing v0.91.0 (available: v28.0.0) [INFO] [stderr] Adding swc_ecmascript v0.163.0 (available: v35.0.0) [INFO] [stderr] Adding swc_trace_macro v0.1.3 (available: v2.0.2) [INFO] [stderr] Adding testing v0.20.1 (available: v15.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swc_macros_common v0.3.14 [INFO] [stderr] Downloaded testing_macros v0.2.14 [INFO] [stderr] Downloaded swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Downloaded testing v0.20.1 [INFO] [stderr] Downloaded swc_visit v0.3.2 [INFO] [stderr] Downloaded swc_visit_macros v0.3.5 [INFO] [stderr] Downloaded pmutil v0.5.3 [INFO] [stderr] Downloaded swc_error_reporters v0.2.0 [INFO] [stderr] Downloaded swc_trace_macro v0.1.3 [INFO] [stderr] Downloaded swc_common v0.18.9 [INFO] [stderr] Downloaded swc_ecma_transforms_testing v0.91.0 [INFO] [stderr] Downloaded swc_ecma_testing v0.2.0 [INFO] [stderr] Downloaded radix_fmt v1.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_base v0.89.6 [INFO] [stderr] Downloaded miette v4.7.1 [INFO] [stderr] Downloaded is-macro v0.2.2 [INFO] [stderr] Downloaded swc_ecma_ast v0.79.0 [INFO] [stderr] Downloaded sourcemap v6.4.1 [INFO] [stderr] Downloaded phf_macros v0.10.0 [INFO] [stderr] Downloaded swc_ecma_visit v0.65.0 [INFO] [stderr] Downloaded swc_ecmascript v0.163.0 [INFO] [stderr] Downloaded supports-unicode v1.0.2 [INFO] [stderr] Downloaded swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Downloaded miette-derive v4.7.1 [INFO] [stderr] Downloaded ast_node v0.7.7 [INFO] [stderr] Downloaded better_scoped_tls v0.1.2 [INFO] [stderr] Downloaded from_variant v0.1.9 [INFO] [stderr] Downloaded unicode-id v0.3.5 [INFO] [stderr] Downloaded swc_ecma_codegen v0.109.1 [INFO] [stderr] Downloaded enum_kind v0.2.2 [INFO] [stderr] Downloaded string_enum v0.3.4 [INFO] [stderr] Downloaded swc_atoms v0.2.13 [INFO] [stderr] Downloaded supports-color v1.3.1 [INFO] [stderr] Downloaded supports-hyperlinks v1.2.0 [INFO] [stderr] Downloaded unreachable v0.1.1 [INFO] [stderr] Downloaded debug_unreachable v0.1.1 [INFO] [stderr] Downloaded swc_ecma_parser v0.105.7 [INFO] [stderr] Downloaded swc_ecma_utils v0.86.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 701100a329a016924d89b30881e1032cca1639115505aac3bb3686db931c7041 [INFO] running `Command { std: "docker" "start" "-a" "701100a329a016924d89b30881e1032cca1639115505aac3bb3686db931c7041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "701100a329a016924d89b30881e1032cca1639115505aac3bb3686db931c7041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "701100a329a016924d89b30881e1032cca1639115505aac3bb3686db931c7041", kill_on_drop: false }` [INFO] [stdout] 701100a329a016924d89b30881e1032cca1639115505aac3bb3686db931c7041 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cae1ce6f1797be142b5b4add9bccd38612f1d24663e38ec73a0b80cbc6867fda [INFO] running `Command { std: "docker" "start" "-a" "cae1ce6f1797be142b5b4add9bccd38612f1d24663e38ec73a0b80cbc6867fda", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking unicode-id v0.3.5 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking better_scoped_tls v0.1.2 [INFO] [stderr] Checking debug_unreachable v0.1.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking supports-color v1.3.1 [INFO] [stderr] Checking supports-unicode v1.0.2 [INFO] [stderr] Checking supports-hyperlinks v1.2.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking radix_fmt v1.0.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling swc_atoms v0.2.13 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v0.3.14 [INFO] [stderr] Compiling is-macro v0.2.2 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling swc_visit_macros v0.3.5 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling string_enum v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Compiling enum_kind v0.2.2 [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/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[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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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[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-452d40d59af55a29.long-type-11580557465523971908.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[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[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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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[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/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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: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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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] 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] [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] [stderr] error: could not compile `string_enum` (lib) due to 34 previous errors [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0599, E0631. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/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[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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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[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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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[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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `syn::parse::Parse` is not implemented for `input::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[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[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] 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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:296:30 [INFO] [stdout] | [INFO] [stdout] 296 | paren_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Paren`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Paren` [INFO] [stdout] | [INFO] [stdout] 296 | paren_token: syn::token::Paren { 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/swc_visit_macros-0.3.5/src/lib.rs:311:22 [INFO] [stdout] | [INFO] [stdout] 311 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:313:24 [INFO] [stdout] | [INFO] [stdout] 313 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 313 | bracket_token: syn::token::Bracket { 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/swc_visit_macros-0.3.5/src/lib.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 319 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 321 | bracket_token: syn::token::Bracket { 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/swc_visit_macros-0.3.5/src/lib.rs:327:22 [INFO] [stdout] | [INFO] [stdout] 327 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:329:24 [INFO] [stdout] | [INFO] [stdout] 329 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 329 | bracket_token: syn::token::Bracket { 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/swc_visit_macros-0.3.5/src/lib.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | pub_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pub`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Pub` [INFO] [stdout] | [INFO] [stdout] 337 | pub_token: syn::token::Pub { 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/swc_visit_macros-0.3.5/src/lib.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 339 | enum_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Enum`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Enum` [INFO] [stdout] | [INFO] [stdout] 339 | enum_token: syn::token::Enum { 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/swc_visit_macros-0.3.5/src/lib.rs:358:32 [INFO] [stdout] | [INFO] [stdout] 358 | lt_token: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Lt`, 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/swc_visit_macros-0.3.5/src/lib.rs:358:27 [INFO] [stdout] | [INFO] [stdout] 358 | lt_token: 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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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/swc_visit_macros-0.3.5/src/lib.rs:360:32 [INFO] [stdout] | [INFO] [stdout] 360 | gt_token: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Gt`, 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/swc_visit_macros-0.3.5/src/lib.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | gt_token: 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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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/swc_visit_macros-0.3.5/src/lib.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | 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] 366 | 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/swc_visit_macros-0.3.5/src/lib.rs:588:26 [INFO] [stdout] | [INFO] [stdout] 588 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:590:28 [INFO] [stdout] | [INFO] [stdout] 590 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 590 | bracket_token: syn::token::Bracket { 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/swc_visit_macros-0.3.5/src/lib.rs:623:34 [INFO] [stdout] | [INFO] [stdout] 623 | 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] 623 | 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/swc_visit_macros-0.3.5/src/lib.rs:869:24 [INFO] [stdout] | [INFO] [stdout] 869 | pub_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pub`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Pub` [INFO] [stdout] | [INFO] [stdout] 869 | pub_token: syn::token::Pub { 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/swc_visit_macros-0.3.5/src/lib.rs:873:22 [INFO] [stdout] | [INFO] [stdout] 873 | trait_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Trait`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Trait` [INFO] [stdout] | [INFO] [stdout] 873 | trait_token: syn::token::Trait { 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/swc_visit_macros-0.3.5/src/lib.rs:878:22 [INFO] [stdout] | [INFO] [stdout] 878 | 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] 878 | 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/swc_visit_macros-0.3.5/src/lib.rs:1743:38 [INFO] [stdout] | [INFO] [stdout] 1743 | Stmt::Semi(expr, call_site()) [INFO] [stdout] | ---------- ^^^^^^^^^^^ expected `Semi`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/stmt.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Semi(Expr, Token![;]), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:1775:35 [INFO] [stdout] | [INFO] [stdout] 1775 | colon_token: Some(def_site()), [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Colon`, 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/swc_visit_macros-0.3.5/src/lib.rs:1775:30 [INFO] [stdout] | [INFO] [stdout] 1775 | colon_token: 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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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/swc_visit_macros-0.3.5/src/lib.rs:1802:22 [INFO] [stdout] | [INFO] [stdout] 1802 | 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] 1802 | 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/swc_visit_macros-0.3.5/src/lib.rs:1810:26 [INFO] [stdout] | [INFO] [stdout] 1810 | 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/swc_visit_macros-0.3.5/src/lib.rs:1826:19 [INFO] [stdout] | [INFO] [stdout] 1826 | fn_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Fn`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Fn` [INFO] [stdout] | [INFO] [stdout] 1826 | fn_token: syn::token::Fn { 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/swc_visit_macros-0.3.5/src/lib.rs:1833:22 [INFO] [stdout] | [INFO] [stdout] 1833 | paren_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Paren`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Paren` [INFO] [stdout] | [INFO] [stdout] 1833 | paren_token: syn::token::Paren { 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/swc_visit_macros-0.3.5/src/lib.rs:1862:13 [INFO] [stdout] | [INFO] [stdout] 1837 | p.push_punct(def_site()); [INFO] [stdout] | - ---------- this argument has type `proc_macro2::Span`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `p` to have type `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] ... [INFO] [stdout] 1862 | p [INFO] [stdout] | ^ expected `Punctuated`, found `Punctuated<_, Span>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `syn::punctuated::Punctuated` [INFO] [stdout] found struct `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:1889:26 [INFO] [stdout] | [INFO] [stdout] 1889 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:1891:28 [INFO] [stdout] | [INFO] [stdout] 1891 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 1891 | bracket_token: syn::token::Bracket { 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/swc_visit_macros-0.3.5/src/lib.rs:1896:26 [INFO] [stdout] | [INFO] [stdout] 1896 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:1898:28 [INFO] [stdout] | [INFO] [stdout] 1898 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 1898 | bracket_token: syn::token::Bracket { 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/swc_visit_macros-0.3.5/src/lib.rs:1912:26 [INFO] [stdout] | [INFO] [stdout] 1912 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:1914:28 [INFO] [stdout] | [INFO] [stdout] 1914 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 1914 | bracket_token: syn::token::Bracket { 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/swc_visit_macros-0.3.5/src/lib.rs:1942:34 [INFO] [stdout] | [INFO] [stdout] 1942 | 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] 1942 | 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/swc_visit_macros-0.3.5/src/lib.rs:1997:34 [INFO] [stdout] | [INFO] [stdout] 1997 | 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] 1997 | 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/swc_visit_macros-0.3.5/src/lib.rs:2000:38 [INFO] [stdout] | [INFO] [stdout] 2000 | 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] 2000 | 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/swc_visit_macros-0.3.5/src/lib.rs:2002:38 [INFO] [stdout] | [INFO] [stdout] 2002 | 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] 2002 | 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/swc_visit_macros-0.3.5/src/lib.rs:2030:23 [INFO] [stdout] | [INFO] [stdout] 2030 | fn_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Fn`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Fn` [INFO] [stdout] | [INFO] [stdout] 2030 | fn_token: syn::token::Fn { 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/swc_visit_macros-0.3.5/src/lib.rs:2037:26 [INFO] [stdout] | [INFO] [stdout] 2037 | paren_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Paren`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Paren` [INFO] [stdout] | [INFO] [stdout] 2037 | paren_token: syn::token::Paren { 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/swc_visit_macros-0.3.5/src/lib.rs:2057:17 [INFO] [stdout] | [INFO] [stdout] 2041 | p.push_punct(def_site()); [INFO] [stdout] | - ---------- this argument has type `proc_macro2::Span`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `p` to have type `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] ... [INFO] [stdout] 2057 | p [INFO] [stdout] | ^ expected `Punctuated`, found `Punctuated<_, Span>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `syn::punctuated::Punctuated` [INFO] [stdout] found struct `syn::punctuated::Punctuated<_, proc_macro2::Span>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:2076:28 [INFO] [stdout] | [INFO] [stdout] 2076 | 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/swc_visit_macros-0.3.5/src/lib.rs:2078:47 [INFO] [stdout] | [INFO] [stdout] 2078 | mutability: if mutable { Some(def_site()) } else { None }, [INFO] [stdout] | ---- ^^^^^^^^^^ expected `Mut`, 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/swc_visit_macros-0.3.5/src/lib.rs:2078:42 [INFO] [stdout] | [INFO] [stdout] 2078 | mutability: if mutable { Some(def_site()) } else { None }, [INFO] [stdout] | ^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/option.rs:601:5 [INFO] [stdout] help: try wrapping the expression in `syn::token::Mut` [INFO] [stdout] | [INFO] [stdout] 2078 | mutability: if mutable { Some(syn::token::Mut { span: def_site() }) } else { 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/swc_visit_macros-0.3.5/src/lib.rs:2257:34 [INFO] [stdout] | [INFO] [stdout] 2257 | 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] 2257 | 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/swc_visit_macros-0.3.5/src/lib.rs:2714:26 [INFO] [stdout] | [INFO] [stdout] 2714 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:2716:28 [INFO] [stdout] | [INFO] [stdout] 2716 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 2716 | bracket_token: syn::token::Bracket { 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/swc_visit_macros-0.3.5/src/lib.rs:2721:26 [INFO] [stdout] | [INFO] [stdout] 2721 | pound_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Pound`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_visit_macros-0.3.5/src/lib.rs:2723:28 [INFO] [stdout] | [INFO] [stdout] 2723 | bracket_token: def_site(), [INFO] [stdout] | ^^^^^^^^^^ expected `Bracket`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Bracket` [INFO] [stdout] | [INFO] [stdout] 2723 | bracket_token: syn::token::Bracket { span: def_site() }, [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_visit_macros` (lib) due to 45 previous errors [INFO] running `Command { std: "docker" "inspect" "cae1ce6f1797be142b5b4add9bccd38612f1d24663e38ec73a0b80cbc6867fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cae1ce6f1797be142b5b4add9bccd38612f1d24663e38ec73a0b80cbc6867fda", kill_on_drop: false }` [INFO] [stdout] cae1ce6f1797be142b5b4add9bccd38612f1d24663e38ec73a0b80cbc6867fda