Build #1554311 2024-11-18T03:51:13.545716+00:00
# rustc version
rustc 1.84.0-nightly (5ec7d6eee 2024-11-17)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/swc_stylis-0.99.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/swc_stylis-0.99.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241117-1.84.0-nightly-5ec7d6eee\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 300beb3f53bddc2cd7f0632cc2ed8918a1de175337fd38d5943aa8b3d3d3b7bd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "300beb3f53bddc2cd7f0632cc2ed8918a1de175337fd38d5943aa8b3d3d3b7bd", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Checking icu_provider v1.5.0
[INFO] [stderr] Compiling swc_visit_macros v0.3.5
[INFO] [stderr] Compiling ast_node v0.7.7
[INFO] [stderr] Compiling is-macro v0.2.2
[INFO] [stderr] Compiling string_enum v0.3.4
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:89:16
[INFO] [stderr] |
[INFO] [stderr] 89 | Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:106:10
[INFO] [stderr] |
[INFO] [stderr] 89 | / Quote::new(def_site::<Span>())
[INFO] [stderr] 90 | | .quote_with(smart_quote!(
[INFO] [stderr] 91 | | Vars {
[INFO] [stderr] 92 | | Trait: trait_path,
[INFO] [stderr] ... |
[INFO] [stderr] 105 | | .parse::<ItemImpl>()
[INFO] [stderr] 106 | | .with_generics(i.generics.clone())
[INFO] [stderr] | | -^^^^^^^^^^^^^ method not found in `ItemImpl`
[INFO] [stderr] | |_________|
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0631]: type mismatch in function arguments
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:111:48
[INFO] [stderr] |
[INFO] [stderr] 111 | let docs: Vec<_> = attrs.iter().filter_map(doc_str).collect();
[INFO] [stderr] | ---------- ^^^^^^^
[INFO] [stderr] | | |
[INFO] [stderr] | | expected due to this
[INFO] [stderr] | | found signature defined here
[INFO] [stderr] | required by a bound introduced by this call
[INFO] [stderr] |
[INFO] [stderr] = note: expected function signature `fn(&syn::Attribute) -> _`
[INFO] [stderr] found function signature `fn(&syn::attr::Attribute) -> _`
[INFO] [stderr] note: required by a bound in `filter_map`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:914:12
[INFO] [stderr] |
[INFO] [stderr] 911 | fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
[INFO] [stderr] | ---------- required by a bound in this associated function
[INFO] [stderr] ...
[INFO] [stderr] 914 | F: FnMut(Self::Item) -> Option<B>,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Iterator::filter_map`
[INFO] [stderr] help: consider wrapping the function in a closure
[INFO] [stderr] |
[INFO] [stderr] 111 | let docs: Vec<_> = attrs.iter().filter_map(|arg0: &syn::Attribute| doc_str(/* &syn::attr::Attribute */)).collect();
[INFO] [stderr] | +++++++++++++++++++++++ +++++++++++++++++++++++++++++
[INFO] [stderr]
[INFO] [stderr] error[E0599]: the method `collect` exists for struct `FilterMap<Iter<'_, Attribute>, fn(&Attribute) -> ... {doc_str}>`, but its trait bounds were not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:111:57
[INFO] [stderr] |
[INFO] [stderr] 111 | let docs: Vec<_> = attrs.iter().filter_map(doc_str).collect();
[INFO] [stderr] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/filter_map.rs:18:1
[INFO] [stderr] |
[INFO] [stderr] 18 | pub struct FilterMap<I, F> {
[INFO] [stderr] | -------------------------- doesn't satisfy `_: Iterator`
[INFO] [stderr] |
[INFO] [stderr] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/string_enum-9f3a4b8c5c2baf6a.long-type-1315188570676131703.txt'
[INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stderr] = note: the following trait bounds were not satisfied:
[INFO] [stderr] `<for<'a> fn(&'a syn::attr::Attribute) -> Option<std::string::String> {swc_macros_common::doc_str} as FnOnce<(&syn::Attribute,)>>::Output = Option<_>`
[INFO] [stderr] which is required by `FilterMap<std::slice::Iter<'_, syn::Attribute>, for<'a> fn(&'a syn::attr::Attribute) -> Option<std::string::String> {swc_macros_common::doc_str}>: Iterator`
[INFO] [stderr] `for<'a> fn(&'a syn::attr::Attribute) -> Option<std::string::String> {swc_macros_common::doc_str}: FnMut<(&syn::Attribute,)>`
[INFO] [stderr] which is required by `FilterMap<std::slice::Iter<'_, syn::Attribute>, for<'a> fn(&'a syn::attr::Attribute) -> Option<std::string::String> {swc_macros_common::doc_str}>: Iterator`
[INFO] [stderr] `FilterMap<std::slice::Iter<'_, syn::Attribute>, for<'a> fn(&'a syn::attr::Attribute) -> Option<std::string::String> {swc_macros_common::doc_str}>: Iterator`
[INFO] [stderr] which is required by `&mut FilterMap<std::slice::Iter<'_, syn::Attribute>, for<'a> fn(&'a syn::attr::Attribute) -> Option<std::string::String> {swc_macros_common::doc_str}>: Iterator`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:126:33
[INFO] [stderr] |
[INFO] [stderr] 126 | let arms = Binder::new_from(i)
[INFO] [stderr] | ---------------- ^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::DeriveInput` and `syn::derive::DeriveInput` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::DeriveInput` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/derive.rs:4:1
[INFO] [stderr] |
[INFO] [stderr] 4 | / ast_struct! {
[INFO] [stderr] 5 | | /// Data structure sent to a `proc_macro_derive` macro.
[INFO] [stderr] 6 | | ///
[INFO] [stderr] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.*
[INFO] [stderr] ... |
[INFO] [stderr] 24 | | }
[INFO] [stderr] 25 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::derive::DeriveInput` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/derive.rs:9:1
[INFO] [stderr] |
[INFO] [stderr] 9 | / ast_struct! {
[INFO] [stderr] 10 | | /// Data structure sent to a `proc_macro_derive` macro.
[INFO] [stderr] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
[INFO] [stderr] 12 | | pub struct DeriveInput {
[INFO] [stderr] ... |
[INFO] [stderr] 18 | | }
[INFO] [stderr] 19 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] note: associated function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/binder.rs:60:12
[INFO] [stderr] |
[INFO] [stderr] 60 | pub fn new_from(input: &'a DeriveInput) -> Self {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr] = 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] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:133:43
[INFO] [stderr] |
[INFO] [stderr] 133 | let str_value = get_str_value(v.attrs());
[INFO] [stderr] | ------------- ^^^^^^^^^ expected `syn::Attribute`, found `syn::attr::Attribute`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::attr::Attribute` and `syn::Attribute` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::attr::Attribute` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/attr.rs:19:1
[INFO] [stderr] |
[INFO] [stderr] 19 | / ast_struct! {
[INFO] [stderr] 20 | | /// An attribute, like `#[repr(transparent)]`.
[INFO] [stderr] 21 | | ///
[INFO] [stderr] 22 | | /// <br>
[INFO] [stderr] ... |
[INFO] [stderr] 178 | | }
[INFO] [stderr] 179 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::Attribute` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/attr.rs:12:1
[INFO] [stderr] |
[INFO] [stderr] 12 | / ast_struct! {
[INFO] [stderr] 13 | | /// An attribute like `#[repr(transparent)]`.
[INFO] [stderr] 14 | | ///
[INFO] [stderr] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stderr] ... |
[INFO] [stderr] 155 | | }
[INFO] [stderr] 156 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] note: function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:109:4
[INFO] [stderr] |
[INFO] [stderr] 109 | fn get_str_value(attrs: &[Attribute]) -> String {
[INFO] [stderr] | ^^^^^^^^^^^^^ -------------------
[INFO] [stderr] = note: this error originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:135:43
[INFO] [stderr] |
[INFO] [stderr] 135 | let mut pat: Pat = Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `parse_meta` found for reference `&syn::attr::Attribute` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:145:33
[INFO] [stderr] |
[INFO] [stderr] 145 | let meta = attr.parse_meta().expect("failed to parse meta");
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] help: there is a method `parse_nested_meta` with a similar name, but with different arguments
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/attr.rs:391:5
[INFO] [stderr] |
[INFO] [stderr] 391 | / pub fn parse_nested_meta(
[INFO] [stderr] 392 | | &self,
[INFO] [stderr] 393 | | logic: impl FnMut(ParseNestedMeta) -> Result<()>,
[INFO] [stderr] 394 | | ) -> Result<()> {
[INFO] [stderr] | |___________________^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:171:37
[INFO] [stderr] |
[INFO] [stderr] 171 | ... cases,
[INFO] [stderr] | ^^^^^ expected `Punctuated<Pat, Or>`, found `Punctuated<Pat, _>`
[INFO] [stderr] |
[INFO] [stderr] = note: `Punctuated<Pat, _>` and `Punctuated<Pat, Or>` have similar names, but are actually distinct types
[INFO] [stderr] note: `Punctuated<Pat, _>` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/punctuated.rs:47:1
[INFO] [stderr] |
[INFO] [stderr] 47 | pub struct Punctuated<T, P> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: `Punctuated<Pat, Or>` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/punctuated.rs:47:1
[INFO] [stderr] |
[INFO] [stderr] 47 | pub struct Punctuated<T, P> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:184:17
[INFO] [stderr] |
[INFO] [stderr] 183 | let body = match *v.data() {
[INFO] [stderr] | --------- this expression has type `syn::data::Fields`
[INFO] [stderr] 184 | Fields::Unit => Box::new(
[INFO] [stderr] | ^^^^^^^^^^^^ expected `syn::data::Fields`, found `syn::Fields`
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::Fields` and `syn::data::Fields` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::Fields` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:25:1
[INFO] [stderr] |
[INFO] [stderr] 25 | / ast_enum_of_structs! {
[INFO] [stderr] 26 | | /// Data stored within an enum variant or struct.
[INFO] [stderr] 27 | | ///
[INFO] [stderr] 28 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stderr] ... |
[INFO] [stderr] 47 | | }
[INFO] [stderr] 48 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::data::Fields` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/data.rs:26:1
[INFO] [stderr] |
[INFO] [stderr] 26 | / ast_enum_of_structs! {
[INFO] [stderr] 27 | | /// Data stored within an enum variant or struct.
[INFO] [stderr] 28 | | ///
[INFO] [stderr] 29 | | /// # Syntax tree enum
[INFO] [stderr] ... |
[INFO] [stderr] 45 | | }
[INFO] [stderr] 46 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] = 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] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:185:32
[INFO] [stderr] |
[INFO] [stderr] 185 | Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0277]: a value of type `Vec<syn::Attribute>` cannot be built from an iterator over elements of type `syn::attr::Attribute`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:199:22
[INFO] [stderr] |
[INFO] [stderr] 199 | .collect(),
[INFO] [stderr] | ^^^^^^^ value of type `Vec<syn::Attribute>` cannot be built from `std::iter::Iterator<Item=syn::attr::Attribute>`
[INFO] [stderr] |
[INFO] [stderr] = help: the trait `FromIterator<syn::attr::Attribute>` is not implemented for `Vec<syn::Attribute>`
[INFO] [stderr] but trait `FromIterator<syn::Attribute>` is implemented for it
[INFO] [stderr] = help: for that trait implementation, expected `syn::Attribute`, found `syn::attr::Attribute`
[INFO] [stderr] note: the method call chain might not have had the expected associated types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:198:22
[INFO] [stderr] |
[INFO] [stderr] 194 | attrs: v
[INFO] [stderr] | - this expression has type `VariantBinder<'_>`
[INFO] [stderr] 195 | .attrs()
[INFO] [stderr] 196 | .iter()
[INFO] [stderr] | ------ `Iterator::Item` is `&Attribute` here
[INFO] [stderr] 197 | .filter(|attr| is_attr_name(attr, "cfg"))
[INFO] [stderr] | ---------------------------------------- `Iterator::Item` remains `&Attribute` here
[INFO] [stderr] 198 | .cloned()
[INFO] [stderr] | ^^^^^^^^ `Iterator::Item` changed to `Attribute` here
[INFO] [stderr] note: required by a bound in `collect`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:1967:19
[INFO] [stderr] |
[INFO] [stderr] 1967 | fn collect<B: FromIterator<Self::Item>>(self) -> B
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Iterator::collect`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:202:34
[INFO] [stderr] |
[INFO] [stderr] 202 | fat_arrow_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `FatArrow`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:203:29
[INFO] [stderr] |
[INFO] [stderr] 203 | comma: Some(def_site()),
[INFO] [stderr] | ---- ^^^^^^^^^^ expected `Comma`, found `Span`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this enum variant are incorrect
[INFO] [stderr] |
[INFO] [stderr] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:203:24
[INFO] [stderr] |
[INFO] [stderr] 203 | comma: Some(def_site()),
[INFO] [stderr] | ^^^^^----------^
[INFO] [stderr] | |
[INFO] [stderr] | this argument influences the type of `Some`
[INFO] [stderr] note: tuple variant defined here
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:580:5
[INFO] [stderr] |
[INFO] [stderr] 580 | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
[INFO] [stderr] | ^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:217:22
[INFO] [stderr] |
[INFO] [stderr] 217 | match_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Match`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Match`
[INFO] [stderr] |
[INFO] [stderr] 217 | match_token: syn::token::Match { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/ast_node_macro.rs:39:14
[INFO] [stderr] |
[INFO] [stderr] 26 | / Quote::new_call_site()
[INFO] [stderr] 27 | | .quote_with(smart_quote!(
[INFO] [stderr] 28 | | Vars {
[INFO] [stderr] 29 | | Type: i.ident.clone(),
[INFO] [stderr] ... |
[INFO] [stderr] 38 | | .parse::<ItemImpl>()
[INFO] [stderr] 39 | | .with_generics(generics),
[INFO] [stderr] | | -^^^^^^^^^^^^^ method not found in `ItemImpl`
[INFO] [stderr] | |_____________|
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:218:22
[INFO] [stderr] |
[INFO] [stderr] 218 | brace_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 218 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: `?` operator has incompatible types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:20:19
[INFO] [stderr] |
[INFO] [stderr] 20 | tags: content.parse_terminated(Lit::parse)?,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Punctuated<Lit, Comma>`, found `Punctuated<Lit, _>`
[INFO] [stderr] |
[INFO] [stderr] = note: `?` operator cannot convert from `syn::punctuated::Punctuated<syn::Lit, _>` to `swc_macros_common::prelude::Punctuated<syn::Lit, syn::token::Comma>`
[INFO] [stderr] = note: `Punctuated<Lit, _>` and `Punctuated<Lit, Comma>` have similar names, but are actually distinct types
[INFO] [stderr] note: `Punctuated<Lit, _>` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/punctuated.rs:47:1
[INFO] [stderr] |
[INFO] [stderr] 47 | pub struct Punctuated<T, P> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: `Punctuated<Lit, Comma>` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/punctuated.rs:47:1
[INFO] [stderr] |
[INFO] [stderr] 47 | pub struct Punctuated<T, P> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:244:10
[INFO] [stderr] |
[INFO] [stderr] 227 | / Quote::new_call_site()
[INFO] [stderr] 228 | | .quote_with(smart_quote!(
[INFO] [stderr] 229 | | Vars {
[INFO] [stderr] 230 | | Type: &i.ident,
[INFO] [stderr] ... |
[INFO] [stderr] 243 | | .parse::<ItemImpl>()
[INFO] [stderr] 244 | | .with_generics(i.generics.clone())
[INFO] [stderr] | | -^^^^^^^^^^^^^ method not found in `ItemImpl`
[INFO] [stderr] | |_________|
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:64:42
[INFO] [stderr] |
[INFO] [stderr] 64 | if !is_attr_name(attr, "tag") {
[INFO] [stderr] | ------------ ^^^^ expected `syn::attr::Attribute`, found `syn::Attribute`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::Attribute` and `syn::attr::Attribute` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::Attribute` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/attr.rs:12:1
[INFO] [stderr] |
[INFO] [stderr] 12 | / ast_struct! {
[INFO] [stderr] 13 | | /// An attribute like `#[repr(transparent)]`.
[INFO] [stderr] 14 | | ///
[INFO] [stderr] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stderr] ... |
[INFO] [stderr] 155 | | }
[INFO] [stderr] 156 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::attr::Attribute` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/attr.rs:19:1
[INFO] [stderr] |
[INFO] [stderr] 19 | / ast_struct! {
[INFO] [stderr] 20 | | /// An attribute, like `#[repr(transparent)]`.
[INFO] [stderr] 21 | | ///
[INFO] [stderr] 22 | | /// <br>
[INFO] [stderr] ... |
[INFO] [stderr] 178 | | }
[INFO] [stderr] 179 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] note: function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:35:8
[INFO] [stderr] |
[INFO] [stderr] 35 | pub fn is_attr_name(attr: &Attribute, name: &str) -> bool {
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] = 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] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:248:33
[INFO] [stderr] |
[INFO] [stderr] 248 | let arms = Binder::new_from(i)
[INFO] [stderr] | ---------------- ^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::DeriveInput` and `syn::derive::DeriveInput` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::DeriveInput` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/derive.rs:4:1
[INFO] [stderr] |
[INFO] [stderr] 4 | / ast_struct! {
[INFO] [stderr] 5 | | /// Data structure sent to a `proc_macro_derive` macro.
[INFO] [stderr] 6 | | ///
[INFO] [stderr] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.*
[INFO] [stderr] ... |
[INFO] [stderr] 24 | | }
[INFO] [stderr] 25 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::derive::DeriveInput` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/derive.rs:9:1
[INFO] [stderr] |
[INFO] [stderr] 9 | / ast_struct! {
[INFO] [stderr] 10 | | /// Data structure sent to a `proc_macro_derive` macro.
[INFO] [stderr] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
[INFO] [stderr] 12 | | pub struct DeriveInput {
[INFO] [stderr] ... |
[INFO] [stderr] 18 | | }
[INFO] [stderr] 19 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] note: associated function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/binder.rs:60:12
[INFO] [stderr] |
[INFO] [stderr] 60 | pub fn new_from(input: &'a DeriveInput) -> Self {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr] = 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] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:255:43
[INFO] [stderr] |
[INFO] [stderr] 255 | let str_value = get_str_value(v.attrs());
[INFO] [stderr] | ------------- ^^^^^^^^^ expected `syn::Attribute`, found `syn::attr::Attribute`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::attr::Attribute` and `syn::Attribute` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::attr::Attribute` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/attr.rs:19:1
[INFO] [stderr] |
[INFO] [stderr] 19 | / ast_struct! {
[INFO] [stderr] 20 | | /// An attribute, like `#[repr(transparent)]`.
[INFO] [stderr] 21 | | ///
[INFO] [stderr] 22 | | /// <br>
[INFO] [stderr] ... |
[INFO] [stderr] 178 | | }
[INFO] [stderr] 179 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::Attribute` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/attr.rs:12:1
[INFO] [stderr] |
[INFO] [stderr] 12 | / ast_struct! {
[INFO] [stderr] 13 | | /// An attribute like `#[repr(transparent)]`.
[INFO] [stderr] 14 | | ///
[INFO] [stderr] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stderr] ... |
[INFO] [stderr] 155 | | }
[INFO] [stderr] 156 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] note: function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:109:4
[INFO] [stderr] |
[INFO] [stderr] 109 | fn get_str_value(attrs: &[Attribute]) -> String {
[INFO] [stderr] | ^^^^^^^^^^^^^ -------------------
[INFO] [stderr] = note: this error originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:258:28
[INFO] [stderr] |
[INFO] [stderr] 258 | Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:264:17
[INFO] [stderr] |
[INFO] [stderr] 263 | let pat = match *v.data() {
[INFO] [stderr] | --------- this expression has type `syn::data::Fields`
[INFO] [stderr] 264 | Fields::Unit => Box::new(Pat::Path(PatPath {
[INFO] [stderr] | ^^^^^^^^^^^^ expected `syn::data::Fields`, found `syn::Fields`
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::Fields` and `syn::data::Fields` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::Fields` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:25:1
[INFO] [stderr] |
[INFO] [stderr] 25 | / ast_enum_of_structs! {
[INFO] [stderr] 26 | | /// Data stored within an enum variant or struct.
[INFO] [stderr] 27 | | ///
[INFO] [stderr] 28 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stderr] ... |
[INFO] [stderr] 47 | | }
[INFO] [stderr] 48 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::data::Fields` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/data.rs:26:1
[INFO] [stderr] |
[INFO] [stderr] 26 | / ast_enum_of_structs! {
[INFO] [stderr] 27 | | /// Data stored within an enum variant or struct.
[INFO] [stderr] 28 | | ///
[INFO] [stderr] 29 | | /// # Syntax tree enum
[INFO] [stderr] ... |
[INFO] [stderr] 45 | | }
[INFO] [stderr] 46 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] = 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] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:266:27
[INFO] [stderr] |
[INFO] [stderr] 266 | path: qual_name,
[INFO] [stderr] | ^^^^^^^^^ expected `syn::Path`, found `syn::path::Path`
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::path::Path` and `syn::Path` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::path::Path` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/path.rs:11:1
[INFO] [stderr] |
[INFO] [stderr] 11 | / ast_struct! {
[INFO] [stderr] 12 | | /// A path at which a named item is exported (e.g. `std::collections::HashMap`).
[INFO] [stderr] 13 | | #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))]
[INFO] [stderr] 14 | | pub struct Path {
[INFO] [stderr] ... |
[INFO] [stderr] 17 | | }
[INFO] [stderr] 18 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::Path` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/path.rs:4:1
[INFO] [stderr] |
[INFO] [stderr] 4 | / ast_struct! {
[INFO] [stderr] 5 | | /// A path at which a named item is exported (e.g. `std::collections::HashMap`).
[INFO] [stderr] 6 | | ///
[INFO] [stderr] 7 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stderr] ... |
[INFO] [stderr] 13 | | }
[INFO] [stderr] 14 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] = note: this error originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:270:32
[INFO] [stderr] |
[INFO] [stderr] 270 | Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:136:42
[INFO] [stderr] |
[INFO] [stderr] 136 | if !is_attr_name(attr, "tag") {
[INFO] [stderr] | ------------ ^^^^ expected `syn::attr::Attribute`, found `syn::Attribute`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::Attribute` and `syn::attr::Attribute` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::Attribute` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/attr.rs:12:1
[INFO] [stderr] |
[INFO] [stderr] 12 | / ast_struct! {
[INFO] [stderr] 13 | | /// An attribute like `#[repr(transparent)]`.
[INFO] [stderr] 14 | | ///
[INFO] [stderr] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stderr] ... |
[INFO] [stderr] 155 | | }
[INFO] [stderr] 156 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::attr::Attribute` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/attr.rs:19:1
[INFO] [stderr] |
[INFO] [stderr] 19 | / ast_struct! {
[INFO] [stderr] 20 | | /// An attribute, like `#[repr(transparent)]`.
[INFO] [stderr] 21 | | ///
[INFO] [stderr] 22 | | /// <br>
[INFO] [stderr] ... |
[INFO] [stderr] 178 | | }
[INFO] [stderr] 179 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] note: function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:35:8
[INFO] [stderr] |
[INFO] [stderr] 35 | pub fn is_attr_name(attr: &Attribute, name: &str) -> bool {
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] = 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] [stderr]
[INFO] [stderr] error[E0277]: a value of type `Vec<syn::Attribute>` cannot be built from an iterator over elements of type `syn::attr::Attribute`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:283:22
[INFO] [stderr] |
[INFO] [stderr] 283 | .collect(),
[INFO] [stderr] | ^^^^^^^ value of type `Vec<syn::Attribute>` cannot be built from `std::iter::Iterator<Item=syn::attr::Attribute>`
[INFO] [stderr] |
[INFO] [stderr] = help: the trait `FromIterator<syn::attr::Attribute>` is not implemented for `Vec<syn::Attribute>`
[INFO] [stderr] but trait `FromIterator<syn::Attribute>` is implemented for it
[INFO] [stderr] = help: for that trait implementation, expected `syn::Attribute`, found `syn::attr::Attribute`
[INFO] [stderr] note: the method call chain might not have had the expected associated types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:282:22
[INFO] [stderr] |
[INFO] [stderr] 278 | attrs: v
[INFO] [stderr] | - this expression has type `VariantBinder<'_>`
[INFO] [stderr] 279 | .attrs()
[INFO] [stderr] 280 | .iter()
[INFO] [stderr] | ------ `Iterator::Item` is `&Attribute` here
[INFO] [stderr] 281 | .filter(|attr| is_attr_name(attr, "cfg"))
[INFO] [stderr] | ---------------------------------------- `Iterator::Item` remains `&Attribute` here
[INFO] [stderr] 282 | .cloned()
[INFO] [stderr] | ^^^^^^^^ `Iterator::Item` changed to `Attribute` here
[INFO] [stderr] note: required by a bound in `collect`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:1967:19
[INFO] [stderr] |
[INFO] [stderr] 1967 | fn collect<B: FromIterator<Self::Item>>(self) -> B
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Iterator::collect`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:285:32
[INFO] [stderr] |
[INFO] [stderr] 285 | and_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `And`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:291:34
[INFO] [stderr] |
[INFO] [stderr] 291 | fat_arrow_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `FatArrow`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:212:44
[INFO] [stderr] |
[INFO] [stderr] 212 | ... cases: str_cases,
[INFO] [stderr] | ^^^^^^^^^ expected `Punctuated<Pat, Or>`, found `Punctuated<Pat, _>`
[INFO] [stderr] |
[INFO] [stderr] = note: `Punctuated<Pat, _>` and `Punctuated<Pat, Or>` have similar names, but are actually distinct types
[INFO] [stderr] note: `Punctuated<Pat, _>` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/punctuated.rs:47:1
[INFO] [stderr] |
[INFO] [stderr] 47 | pub struct Punctuated<T, P> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: `Punctuated<Pat, Or>` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/punctuated.rs:47:1
[INFO] [stderr] |
[INFO] [stderr] 47 | pub struct Punctuated<T, P> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:292:29
[INFO] [stderr] |
[INFO] [stderr] 292 | comma: Some(def_site()),
[INFO] [stderr] | ---- ^^^^^^^^^^ expected `Comma`, found `Span`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this enum variant are incorrect
[INFO] [stderr] |
[INFO] [stderr] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:292:24
[INFO] [stderr] |
[INFO] [stderr] 292 | comma: Some(def_site()),
[INFO] [stderr] | ^^^^^----------^
[INFO] [stderr] | |
[INFO] [stderr] | this argument influences the type of `Some`
[INFO] [stderr] note: tuple variant defined here
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:580:5
[INFO] [stderr] |
[INFO] [stderr] 580 | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
[INFO] [stderr] | ^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:217:44
[INFO] [stderr] |
[INFO] [stderr] 217 | ... cases: bytes_cases,
[INFO] [stderr] | ^^^^^^^^^^^ expected `Punctuated<Pat, Or>`, found `Punctuated<Pat, _>`
[INFO] [stderr] |
[INFO] [stderr] = note: `Punctuated<Pat, _>` and `Punctuated<Pat, Or>` have similar names, but are actually distinct types
[INFO] [stderr] note: `Punctuated<Pat, _>` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/punctuated.rs:47:1
[INFO] [stderr] |
[INFO] [stderr] 47 | pub struct Punctuated<T, P> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: `Punctuated<Pat, Or>` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/punctuated.rs:47:1
[INFO] [stderr] |
[INFO] [stderr] 47 | pub struct Punctuated<T, P> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:299:22
[INFO] [stderr] |
[INFO] [stderr] 299 | match_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Match`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Match`
[INFO] [stderr] |
[INFO] [stderr] 299 | match_token: syn::token::Match { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:300:22
[INFO] [stderr] |
[INFO] [stderr] 300 | brace_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 300 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:302:24
[INFO] [stderr] |
[INFO] [stderr] 302 | Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:309:16
[INFO] [stderr] |
[INFO] [stderr] 309 | Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:293:30
[INFO] [stderr] |
[INFO] [stderr] 293 | match_token: call_site(),
[INFO] [stderr] | ^^^^^^^^^^^ expected `Match`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Match`
[INFO] [stderr] |
[INFO] [stderr] 293 | match_token: syn::token::Match { span: call_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:295:30
[INFO] [stderr] |
[INFO] [stderr] 295 | brace_token: call_site(),
[INFO] [stderr] | ^^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 295 | brace_token: syn::token::Brace { span: call_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:300:30
[INFO] [stderr] |
[INFO] [stderr] 300 | match_token: call_site(),
[INFO] [stderr] | ^^^^^^^^^^^ expected `Match`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Match`
[INFO] [stderr] |
[INFO] [stderr] 300 | match_token: syn::token::Match { span: call_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:302:30
[INFO] [stderr] |
[INFO] [stderr] 302 | brace_token: call_site(),
[INFO] [stderr] | ^^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 302 | brace_token: syn::token::Brace { span: call_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:325:10
[INFO] [stderr] |
[INFO] [stderr] 309 | / Quote::new(def_site::<Span>())
[INFO] [stderr] 310 | | .quote_with(smart_quote!(
[INFO] [stderr] 311 | | Vars {
[INFO] [stderr] 312 | | Type: &i.ident,
[INFO] [stderr] ... |
[INFO] [stderr] 324 | | .parse::<ItemImpl>()
[INFO] [stderr] 325 | | .with_generics(i.generics.clone())
[INFO] [stderr] | | -^^^^^^^^^^^^^ method not found in `ItemImpl`
[INFO] [stderr] | |_________|
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:388:26
[INFO] [stderr] |
[INFO] [stderr] 388 | match_token: call_site(),
[INFO] [stderr] | ^^^^^^^^^^^ expected `Match`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Match`
[INFO] [stderr] |
[INFO] [stderr] 388 | match_token: syn::token::Match { span: call_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:390:26
[INFO] [stderr] |
[INFO] [stderr] 390 | brace_token: call_site(),
[INFO] [stderr] | ^^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 390 | brace_token: syn::token::Brace { span: call_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:345:10
[INFO] [stderr] |
[INFO] [stderr] 333 | / Quote::new_call_site()
[INFO] [stderr] 334 | | .quote_with(smart_quote!(Vars { Type: &i.ident }, {
[INFO] [stderr] 335 | | impl ::serde::Serialize for Type {
[INFO] [stderr] 336 | | fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stderr] ... |
[INFO] [stderr] 344 | | .parse::<ItemImpl>()
[INFO] [stderr] 345 | | .with_generics(i.generics.clone())
[INFO] [stderr] | | -^^^^^^^^^^^^^ method not found in `ItemImpl`
[INFO] [stderr] | |_________|
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/string_enum-0.3.4/src/lib.rs:380:10
[INFO] [stderr] |
[INFO] [stderr] 349 | / Quote::new_call_site()
[INFO] [stderr] 350 | | .quote_with(smart_quote!(Vars { Type: &i.ident }, {
[INFO] [stderr] 351 | | impl<'de> ::serde::Deserialize<'de> for Type {
[INFO] [stderr] 352 | | fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
[INFO] [stderr] ... |
[INFO] [stderr] 379 | | .parse::<ItemImpl>()
[INFO] [stderr] 380 | | .with_generics(i.generics.clone())
[INFO] [stderr] | | -^^^^^^^^^^^^^ method not found in `ItemImpl`
[INFO] [stderr] | |_________|
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/enum_deserialize.rs:438:14
[INFO] [stderr] |
[INFO] [stderr] 405 | / Quote::new_call_site()
[INFO] [stderr] 406 | | .quote_with(smart_quote!(
[INFO] [stderr] 407 | | Vars {
[INFO] [stderr] 408 | | match_type_expr,
[INFO] [stderr] ... |
[INFO] [stderr] 437 | | .parse::<ItemImpl>()
[INFO] [stderr] 438 | | .with_generics(generics)
[INFO] [stderr] | | -^^^^^^^^^^^^^ method not found in `ItemImpl`
[INFO] [stderr] | |_____________|
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0107, E0277, E0308, E0599, E0631.
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:25:33
[INFO] [stderr] |
[INFO] [stderr] 25 | let arms = Binder::new_from(&input)
[INFO] [stderr] | ---------------- ^^^^^^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::DeriveInput` and `syn::derive::DeriveInput` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::DeriveInput` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/derive.rs:4:1
[INFO] [stderr] |
[INFO] [stderr] 4 | / ast_struct! {
[INFO] [stderr] 5 | | /// Data structure sent to a `proc_macro_derive` macro.
[INFO] [stderr] 6 | | ///
[INFO] [stderr] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.*
[INFO] [stderr] ... |
[INFO] [stderr] 24 | | }
[INFO] [stderr] 25 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::derive::DeriveInput` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/derive.rs:9:1
[INFO] [stderr] |
[INFO] [stderr] 9 | / ast_struct! {
[INFO] [stderr] 10 | | /// Data structure sent to a `proc_macro_derive` macro.
[INFO] [stderr] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
[INFO] [stderr] 12 | | pub struct DeriveInput {
[INFO] [stderr] ... |
[INFO] [stderr] 18 | | }
[INFO] [stderr] 19 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] note: associated function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/binder.rs:60:12
[INFO] [stderr] |
[INFO] [stderr] 60 | pub fn new_from(input: &'a DeriveInput) -> Self {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr] = 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] [stderr]
[INFO] [stderr] error: could not compile `string_enum` (lib) due to 34 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:29:52
[INFO] [stderr] |
[INFO] [stderr] 29 | let (pat, bindings) = v.bind("_", Some(def_site()), None);
[INFO] [stderr] | ---- ^^^^^^^^^^ expected `Ref`, found `Span`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this enum variant are incorrect
[INFO] [stderr] |
[INFO] [stderr] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:29:47
[INFO] [stderr] |
[INFO] [stderr] 29 | let (pat, bindings) = v.bind("_", Some(def_site()), None);
[INFO] [stderr] | ^^^^^----------^
[INFO] [stderr] | |
[INFO] [stderr] | this argument influences the type of `Some`
[INFO] [stderr] note: tuple variant defined here
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:580:5
[INFO] [stderr] |
[INFO] [stderr] 580 | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
[INFO] [stderr] | ^^^^
[INFO] [stderr] help: try wrapping the expression in `syn::token::Ref`
[INFO] [stderr] |
[INFO] [stderr] 29 | let (pat, bindings) = v.bind("_", Some(syn::token::Ref { span: def_site() }), None);
[INFO] [stderr] | +++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:41:17
[INFO] [stderr] |
[INFO] [stderr] 41 | pat,
[INFO] [stderr] | ^^^ expected `syn::Pat`, found `syn::pat::Pat`
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::pat::Pat` and `syn::Pat` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::pat::Pat` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/pat.rs:15:1
[INFO] [stderr] |
[INFO] [stderr] 15 | / ast_enum_of_structs! {
[INFO] [stderr] 16 | | /// A pattern in a local binding, function signature, match expression, or
[INFO] [stderr] 17 | | /// various other places.
[INFO] [stderr] 18 | | ///
[INFO] [stderr] ... |
[INFO] [stderr] 101 | | }
[INFO] [stderr] 102 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::Pat` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/pat.rs:5:1
[INFO] [stderr] |
[INFO] [stderr] 5 | / ast_enum_of_structs! {
[INFO] [stderr] 6 | | /// A pattern in a local binding, function signature, match expression, or
[INFO] [stderr] 7 | | /// various other places.
[INFO] [stderr] 8 | | ///
[INFO] [stderr] ... |
[INFO] [stderr] 97 | | }
[INFO] [stderr] 98 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] = note: this error originates in the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0277]: a value of type `Vec<syn::Attribute>` cannot be built from an iterator over elements of type `syn::attr::Attribute`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:40:22
[INFO] [stderr] |
[INFO] [stderr] 40 | .collect(),
[INFO] [stderr] | ^^^^^^^ value of type `Vec<syn::Attribute>` cannot be built from `std::iter::Iterator<Item=syn::attr::Attribute>`
[INFO] [stderr] |
[INFO] [stderr] = help: the trait `FromIterator<syn::attr::Attribute>` is not implemented for `Vec<syn::Attribute>`
[INFO] [stderr] but trait `FromIterator<syn::Attribute>` is implemented for it
[INFO] [stderr] = help: for that trait implementation, expected `syn::Attribute`, found `syn::attr::Attribute`
[INFO] [stderr] note: the method call chain might not have had the expected associated types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:39:22
[INFO] [stderr] |
[INFO] [stderr] 35 | attrs: v
[INFO] [stderr] | - this expression has type `VariantBinder<'_>`
[INFO] [stderr] 36 | .attrs()
[INFO] [stderr] 37 | .iter()
[INFO] [stderr] | ------ `Iterator::Item` is `&Attribute` here
[INFO] [stderr] 38 | .filter(|attr| is_attr_name(attr, "cfg"))
[INFO] [stderr] | ---------------------------------------- `Iterator::Item` remains `&Attribute` here
[INFO] [stderr] 39 | .cloned()
[INFO] [stderr] | ^^^^^^^^ `Iterator::Item` changed to `Attribute` here
[INFO] [stderr] note: required by a bound in `collect`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs:1967:19
[INFO] [stderr] |
[INFO] [stderr] 1967 | fn collect<B: FromIterator<Self::Item>>(self) -> B
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Iterator::collect`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:43:34
[INFO] [stderr] |
[INFO] [stderr] 43 | fat_arrow_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `FatArrow`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:44:29
[INFO] [stderr] |
[INFO] [stderr] 44 | comma: Some(def_site()),
[INFO] [stderr] | ---- ^^^^^^^^^^ expected `Comma`, found `Span`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this enum variant are incorrect
[INFO] [stderr] |
[INFO] [stderr] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:44:24
[INFO] [stderr] |
[INFO] [stderr] 44 | comma: Some(def_site()),
[INFO] [stderr] | ^^^^^----------^
[INFO] [stderr] | |
[INFO] [stderr] | this argument influences the type of `Some`
[INFO] [stderr] note: tuple variant defined here
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:580:5
[INFO] [stderr] |
[INFO] [stderr] 580 | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
[INFO] [stderr] | ^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:51:22
[INFO] [stderr] |
[INFO] [stderr] 51 | match_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Match`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Match`
[INFO] [stderr] |
[INFO] [stderr] 51 | match_token: syn::token::Match { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:52:22
[INFO] [stderr] |
[INFO] [stderr] 52 | brace_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 52 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:54:24
[INFO] [stderr] |
[INFO] [stderr] 54 | Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:61:16
[INFO] [stderr] |
[INFO] [stderr] 61 | Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:77:10
[INFO] [stderr] |
[INFO] [stderr] 61 | / Quote::new(def_site::<Span>())
[INFO] [stderr] 62 | | .quote_with(smart_quote!(
[INFO] [stderr] 63 | | Vars {
[INFO] [stderr] 64 | | Type: &input.ident,
[INFO] [stderr] ... |
[INFO] [stderr] 76 | | .parse::<ItemImpl>()
[INFO] [stderr] 77 | | .with_generics(input.generics)
[INFO] [stderr] | | -^^^^^^^^^^^^^ method not found in `ItemImpl`
[INFO] [stderr] | |_________|
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:97:16
[INFO] [stderr] |
[INFO] [stderr] 97 | if let Fields::Unnamed(..) = *v.data() {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ --------- this expression has type `syn::data::Fields`
[INFO] [stderr] | |
[INFO] [stderr] | expected `syn::data::Fields`, found `syn::Fields`
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::Fields` and `syn::data::Fields` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::Fields` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:25:1
[INFO] [stderr] |
[INFO] [stderr] 25 | / ast_enum_of_structs! {
[INFO] [stderr] 26 | | /// Data stored within an enum variant or struct.
[INFO] [stderr] 27 | | ///
[INFO] [stderr] 28 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stderr] ... |
[INFO] [stderr] 47 | | }
[INFO] [stderr] 48 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::data::Fields` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/data.rs:26:1
[INFO] [stderr] |
[INFO] [stderr] 26 | / ast_enum_of_structs! {
[INFO] [stderr] 27 | | /// Data stored within an enum variant or struct.
[INFO] [stderr] 28 | | ///
[INFO] [stderr] 29 | | /// # Syntax tree enum
[INFO] [stderr] ... |
[INFO] [stderr] 45 | | }
[INFO] [stderr] 46 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] = 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] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:106:39
[INFO] [stderr] |
[INFO] [stderr] 106 | .find(|b| has_empty_span_attr(&b.field().attrs))
[INFO] [stderr] | ------------------- ^^^^^^^^^^^^^^^^ expected `&[Attribute]`, found `&Vec<Attribute>`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] = note: expected reference `&[syn::Attribute]`
[INFO] [stderr] found reference `&Vec<syn::attr::Attribute>`
[INFO] [stderr] note: function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:168:4
[INFO] [stderr] |
[INFO] [stderr] 168 | fn has_empty_span_attr(attrs: &[Attribute]) -> bool {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ -------------------
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:144:42
[INFO] [stderr] |
[INFO] [stderr] 144 | .map(|b| (b, MyField::from_field(b.field()).unwrap()))
[INFO] [stderr] | ------------------- ^^^^^^^^^ expected `syn::Field`, found `syn::data::Field`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::data::Field` and `syn::Field` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::data::Field` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/data.rs:181:1
[INFO] [stderr] |
[INFO] [stderr] 181 | / ast_struct! {
[INFO] [stderr] 182 | | /// A field of a struct or enum variant.
[INFO] [stderr] 183 | | #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))]
[INFO] [stderr] 184 | | pub struct Field {
[INFO] [stderr] ... |
[INFO] [stderr] 199 | | }
[INFO] [stderr] 200 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::Field` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:148:1
[INFO] [stderr] |
[INFO] [stderr] 148 | / ast_struct! {
[INFO] [stderr] 149 | | /// A field of a struct or enum variant.
[INFO] [stderr] 150 | | ///
[INFO] [stderr] 151 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stderr] ... |
[INFO] [stderr] 170 | | }
[INFO] [stderr] 171 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] note: associated function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/darling_core-0.10.2/src/from_field.rs:7:8
[INFO] [stderr] |
[INFO] [stderr] 7 | fn from_field(field: &Field) -> Result<Self>;
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] = note: this error originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:155:28
[INFO] [stderr] |
[INFO] [stderr] 155 | Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:84:24
[INFO] [stderr] |
[INFO] [stderr] 84 | Quote::new(def_site::<Span>())
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/spanned.rs:170:26
[INFO] [stderr] |
[INFO] [stderr] 170 | if !is_attr_name(attr, "span") {
[INFO] [stderr] | ------------ ^^^^ expected `syn::attr::Attribute`, found `syn::Attribute`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] = note: `syn::Attribute` and `syn::attr::Attribute` have similar names, but are actually distinct types
[INFO] [stderr] note: `syn::Attribute` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/attr.rs:12:1
[INFO] [stderr] |
[INFO] [stderr] 12 | / ast_struct! {
[INFO] [stderr] 13 | | /// An attribute like `#[repr(transparent)]`.
[INFO] [stderr] 14 | | ///
[INFO] [stderr] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stderr] ... |
[INFO] [stderr] 155 | | }
[INFO] [stderr] 156 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] note: `syn::attr::Attribute` is defined in crate `syn`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.87/src/attr.rs:19:1
[INFO] [stderr] |
[INFO] [stderr] 19 | / ast_struct! {
[INFO] [stderr] 20 | | /// An attribute, like `#[repr(transparent)]`.
[INFO] [stderr] 21 | | ///
[INFO] [stderr] 22 | | /// <br>
[INFO] [stderr] ... |
[INFO] [stderr] 178 | | }
[INFO] [stderr] 179 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] = note: perhaps two different versions of crate `syn` are being used?
[INFO] [stderr] note: function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:35:8
[INFO] [stderr] |
[INFO] [stderr] 35 | pub fn is_attr_name(attr: &Attribute, name: &str) -> bool {
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] = 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] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/lib.rs:142:24
[INFO] [stderr] |
[INFO] [stderr] 142 | print("ast_serde", item)
[INFO] [stderr] | ----- ^^^^ expected `TokenStream`, found `Quote`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] note: function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:23:8
[INFO] [stderr] |
[INFO] [stderr] 23 | pub fn print(attr: &'static str, tokens: proc_macro2::TokenStream) -> proc_macro::TokenStream {
[INFO] [stderr] | ^^^^^
[INFO] [stderr] help: call `Into::into` on this expression to convert `Quote` into `TokenStream2`
[INFO] [stderr] |
[INFO] [stderr] 142 | print("ast_serde", item.into())
[INFO] [stderr] | +++++++
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/lib.rs:285:23
[INFO] [stderr] |
[INFO] [stderr] 285 | print("ast_node", item)
[INFO] [stderr] | ----- ^^^^ expected `TokenStream`, found `Quote`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] note: function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:23:8
[INFO] [stderr] |
[INFO] [stderr] 23 | pub fn print(attr: &'static str, tokens: proc_macro2::TokenStream) -> proc_macro::TokenStream {
[INFO] [stderr] | ^^^^^
[INFO] [stderr] help: call `Into::into` on this expression to convert `Quote` into `TokenStream2`
[INFO] [stderr] |
[INFO] [stderr] 285 | print("ast_node", item.into())
[INFO] [stderr] | +++++++
[INFO] [stderr]
[INFO] [stderr] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/lib.rs:294:27
[INFO] [stderr] |
[INFO] [stderr] 294 | let item = Quote::new(def_site::<Span>()).quote_with(smart_quote!(
[INFO] [stderr] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stderr] | |
[INFO] [stderr] | expected 0 generic arguments
[INFO] [stderr] |
[INFO] [stderr] note: function defined here, with 0 generic parameters
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stderr] |
[INFO] [stderr] 18 | pub fn def_site() -> Span {
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ast_node-0.7.7/src/lib.rs:303:17
[INFO] [stderr] |
[INFO] [stderr] 303 | print(name, item)
[INFO] [stderr] | ----- ^^^^ expected `TokenStream`, found `Quote`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] note: function defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_macros_common-0.3.14/src/lib.rs:23:8
[INFO] [stderr] |
[INFO] [stderr] 23 | pub fn print(attr: &'static str, tokens: proc_macro2::TokenStream) -> proc_macro::TokenStream {
[INFO] [stderr] | ^^^^^
[INFO] [stderr] help: call `Into::into` on this expression to convert `Quote` into `TokenStream2`
[INFO] [stderr] |
[INFO] [stderr] 303 | print(name, item.into())
[INFO] [stderr] | +++++++
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0107, E0277, E0308, E0599.
[INFO] [stderr] error: could not compile `ast_node` (lib) due to 34 previous errors
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:296:30
[INFO] [stderr] |
[INFO] [stderr] 296 | paren_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Paren`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Paren`
[INFO] [stderr] |
[INFO] [stderr] 296 | paren_token: syn::token::Paren { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:311:22
[INFO] [stderr] |
[INFO] [stderr] 311 | pound_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Pound`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:313:24
[INFO] [stderr] |
[INFO] [stderr] 313 | bracket_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Bracket`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Bracket`
[INFO] [stderr] |
[INFO] [stderr] 313 | bracket_token: syn::token::Bracket { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:319:26
[INFO] [stderr] |
[INFO] [stderr] 319 | pound_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Pound`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:321:28
[INFO] [stderr] |
[INFO] [stderr] 321 | bracket_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Bracket`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Bracket`
[INFO] [stderr] |
[INFO] [stderr] 321 | bracket_token: syn::token::Bracket { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:327:22
[INFO] [stderr] |
[INFO] [stderr] 327 | pound_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Pound`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:329:24
[INFO] [stderr] |
[INFO] [stderr] 329 | bracket_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Bracket`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Bracket`
[INFO] [stderr] |
[INFO] [stderr] 329 | bracket_token: syn::token::Bracket { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:337:24
[INFO] [stderr] |
[INFO] [stderr] 337 | pub_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Pub`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Pub`
[INFO] [stderr] |
[INFO] [stderr] 337 | pub_token: syn::token::Pub { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:339:21
[INFO] [stderr] |
[INFO] [stderr] 339 | enum_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Enum`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Enum`
[INFO] [stderr] |
[INFO] [stderr] 339 | enum_token: syn::token::Enum { span: def_site() },
[INFO] [stderr] | ++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:358:32
[INFO] [stderr] |
[INFO] [stderr] 358 | lt_token: Some(def_site()),
[INFO] [stderr] | ---- ^^^^^^^^^^ expected `Lt`, found `Span`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this enum variant are incorrect
[INFO] [stderr] |
[INFO] [stderr] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:358:27
[INFO] [stderr] |
[INFO] [stderr] 358 | lt_token: Some(def_site()),
[INFO] [stderr] | ^^^^^----------^
[INFO] [stderr] | |
[INFO] [stderr] | this argument influences the type of `Some`
[INFO] [stderr] note: tuple variant defined here
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:580:5
[INFO] [stderr] |
[INFO] [stderr] 580 | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
[INFO] [stderr] | ^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:360:32
[INFO] [stderr] |
[INFO] [stderr] 360 | gt_token: Some(def_site()),
[INFO] [stderr] | ---- ^^^^^^^^^^ expected `Gt`, found `Span`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this enum variant are incorrect
[INFO] [stderr] |
[INFO] [stderr] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:360:27
[INFO] [stderr] |
[INFO] [stderr] 360 | gt_token: Some(def_site()),
[INFO] [stderr] | ^^^^^----------^
[INFO] [stderr] | |
[INFO] [stderr] | this argument influences the type of `Some`
[INFO] [stderr] note: tuple variant defined here
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:580:5
[INFO] [stderr] |
[INFO] [stderr] 580 | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
[INFO] [stderr] | ^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:366:22
[INFO] [stderr] |
[INFO] [stderr] 366 | brace_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 366 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:588:26
[INFO] [stderr] |
[INFO] [stderr] 588 | pound_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Pound`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:590:28
[INFO] [stderr] |
[INFO] [stderr] 590 | bracket_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Bracket`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Bracket`
[INFO] [stderr] |
[INFO] [stderr] 590 | bracket_token: syn::token::Bracket { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:623:34
[INFO] [stderr] |
[INFO] [stderr] 623 | brace_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 623 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:869:24
[INFO] [stderr] |
[INFO] [stderr] 869 | pub_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Pub`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Pub`
[INFO] [stderr] |
[INFO] [stderr] 869 | pub_token: syn::token::Pub { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:873:22
[INFO] [stderr] |
[INFO] [stderr] 873 | trait_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Trait`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Trait`
[INFO] [stderr] |
[INFO] [stderr] 873 | trait_token: syn::token::Trait { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:878:22
[INFO] [stderr] |
[INFO] [stderr] 878 | brace_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 878 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1743:38
[INFO] [stderr] |
[INFO] [stderr] 1743 | Stmt::Semi(expr, call_site())
[INFO] [stderr] | ---------- ^^^^^^^^^^^ expected `Semi`, found `Span`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this enum variant are incorrect
[INFO] [stderr] |
[INFO] [stderr] note: tuple variant defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/stmt.rs:31:9
[INFO] [stderr] |
[INFO] [stderr] 31 | Semi(Expr, Token![;]),
[INFO] [stderr] | ^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1775:35
[INFO] [stderr] |
[INFO] [stderr] 1775 | colon_token: Some(def_site()),
[INFO] [stderr] | ---- ^^^^^^^^^^ expected `Colon`, found `Span`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this enum variant are incorrect
[INFO] [stderr] |
[INFO] [stderr] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1775:30
[INFO] [stderr] |
[INFO] [stderr] 1775 | colon_token: Some(def_site()),
[INFO] [stderr] | ^^^^^----------^
[INFO] [stderr] | |
[INFO] [stderr] | this argument influences the type of `Some`
[INFO] [stderr] note: tuple variant defined here
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:580:5
[INFO] [stderr] |
[INFO] [stderr] 580 | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
[INFO] [stderr] | ^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1802:22
[INFO] [stderr] |
[INFO] [stderr] 1802 | brace_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 1802 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1810:26
[INFO] [stderr] |
[INFO] [stderr] 1810 | fat_arrow_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `FatArrow`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1826:19
[INFO] [stderr] |
[INFO] [stderr] 1826 | fn_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Fn`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Fn`
[INFO] [stderr] |
[INFO] [stderr] 1826 | fn_token: syn::token::Fn { span: def_site() },
[INFO] [stderr] | ++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1833:22
[INFO] [stderr] |
[INFO] [stderr] 1833 | paren_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Paren`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Paren`
[INFO] [stderr] |
[INFO] [stderr] 1833 | paren_token: syn::token::Paren { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1862:13
[INFO] [stderr] |
[INFO] [stderr] 1837 | p.push_punct(def_site());
[INFO] [stderr] | - ---------- this argument has type `proc_macro2::Span`...
[INFO] [stderr] | |
[INFO] [stderr] | ... which causes `p` to have type `syn::punctuated::Punctuated<_, proc_macro2::Span>`
[INFO] [stderr] ...
[INFO] [stderr] 1862 | p
[INFO] [stderr] | ^ expected `Punctuated<FnArg, Comma>`, found `Punctuated<_, Span>`
[INFO] [stderr] |
[INFO] [stderr] = note: expected struct `syn::punctuated::Punctuated<FnArg, syn::token::Comma>`
[INFO] [stderr] found struct `syn::punctuated::Punctuated<_, proc_macro2::Span>`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1889:26
[INFO] [stderr] |
[INFO] [stderr] 1889 | pound_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Pound`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1891:28
[INFO] [stderr] |
[INFO] [stderr] 1891 | bracket_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Bracket`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Bracket`
[INFO] [stderr] |
[INFO] [stderr] 1891 | bracket_token: syn::token::Bracket { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1896:26
[INFO] [stderr] |
[INFO] [stderr] 1896 | pound_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Pound`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1898:28
[INFO] [stderr] |
[INFO] [stderr] 1898 | bracket_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Bracket`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Bracket`
[INFO] [stderr] |
[INFO] [stderr] 1898 | bracket_token: syn::token::Bracket { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1912:26
[INFO] [stderr] |
[INFO] [stderr] 1912 | pound_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Pound`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1914:28
[INFO] [stderr] |
[INFO] [stderr] 1914 | bracket_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Bracket`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Bracket`
[INFO] [stderr] |
[INFO] [stderr] 1914 | bracket_token: syn::token::Bracket { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1942:34
[INFO] [stderr] |
[INFO] [stderr] 1942 | brace_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 1942 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:1997:34
[INFO] [stderr] |
[INFO] [stderr] 1997 | brace_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 1997 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:2000:38
[INFO] [stderr] |
[INFO] [stderr] 2000 | match_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Match`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Match`
[INFO] [stderr] |
[INFO] [stderr] 2000 | match_token: syn::token::Match { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:2002:38
[INFO] [stderr] |
[INFO] [stderr] 2002 | brace_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stderr] |
[INFO] [stderr] 2002 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:2030:23
[INFO] [stderr] |
[INFO] [stderr] 2030 | fn_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Fn`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Fn`
[INFO] [stderr] |
[INFO] [stderr] 2030 | fn_token: syn::token::Fn { span: def_site() },
[INFO] [stderr] | ++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:2037:26
[INFO] [stderr] |
[INFO] [stderr] 2037 | paren_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `Paren`, found `Span`
[INFO] [stderr] |
[INFO] [stderr] help: try wrapping the expression in `syn::token::Paren`
[INFO] [stderr] |
[INFO] [stderr] 2037 | paren_token: syn::token::Paren { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:2057:17
[INFO] [stderr] |
[INFO] [stderr] 2041 | p.push_punct(def_site());
[INFO] [stderr] | - ---------- this argument has type `proc_macro2::Span`...
[INFO] [stderr] | |
[INFO] [stderr] | ... which causes `p` to have type `syn::punctuated::Punctuated<_, proc_macro2::Span>`
[INFO] [stderr] ...
[INFO] [stderr] 2057 | p
[INFO] [stderr] | ^ expected `Punctuated<FnArg, Comma>`, found `Punctuated<_, Span>`
[INFO] [stderr] |
[INFO] [stderr] = note: expected struct `syn::punctuated::Punctuated<FnArg, syn::token::Comma>`
[INFO] [stderr] found struct `syn::punctuated::Punctuated<_, proc_macro2::Span>`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:2076:28
[INFO] [stderr] |
[INFO] [stderr] 2076 | and_token: def_site(),
[INFO] [stderr] | ^^^^^^^^^^ expected `And`, found `Span`
[INFO] [stderr]
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:2078:47
[INFO] [stderr] |
[INFO] [stderr] 2078 | mutability: if mutable { Some(def_site()) } else { None },
[INFO] [stderr] | ---- ^^^^^^^^^^ expected `Mut`, found `Span`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this enum variant are incorrect
[INFO] [stderr] |
[INFO] [stderr] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.3.5/src/lib.rs:2078:42
[INFO] [stderr] |
[INFO] [stderr] 2078 | mutability: if mutable { Some(def_site()) } else { None },
[INFO] [stderr] | ^^^^^----------^
[INFO] [stderr] | |
[INFO] [stderr] | this argument influences the type of `Some`
[INFO] [stderr] note: tuple variant defined here
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:580:5
[INFO] [stderr] |
[INFO] [stderr] 580 | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
[INFO] [stderr] | ^^^^
[INFO] [stderr] help: try wrapping the expression in `syn::token::Mut`
[INFO] [stderr] |
[WARN] too much data in the log, truncating it