Build #1547757 2024-11-16T21:30:56.289950+00:00
# rustc version
rustc 1.84.0-nightly (917a50a03 2024-11-15)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_babel_ast-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_babel_ast-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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\", \"-20241115-1.84.0-nightly-917a50a03\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 05fff60dd5b8b2674e8531e67423f9c796239edefce0d55258941c464fce3885
[INFO] running `Command { std: "docker" "start" "-a" "05fff60dd5b8b2674e8531e67423f9c796239edefce0d55258941c464fce3885", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Checking icu_provider v1.5.0
[INFO] [stderr] Compiling phf_generator v0.10.0
[INFO] [stderr] Compiling swc_visit_macros v0.2.3
[INFO] [stderr] Compiling ast_node v0.7.7
[INFO] [stderr] Checking swc_node_base v0.5.9
[INFO] [stderr] Checking serde_json v1.0.132
[INFO] [stderr] Compiling string_cache_codegen v0.5.2
[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]: `?` 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[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/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[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/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/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[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[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.2.3/src/lib.rs:244:26
[INFO] [stderr] |
[INFO] [stderr] 244 | 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.2.3/src/lib.rs:246:28
[INFO] [stderr] |
[INFO] [stderr] 246 | 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] 246 | 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.2.3/src/lib.rs:268:34
[INFO] [stderr] |
[INFO] [stderr] 268 | 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] 268 | brace_token: syn::token::Brace { 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/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] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.2.3/src/lib.rs:344:24
[INFO] [stderr] |
[INFO] [stderr] 344 | 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] 344 | 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.2.3/src/lib.rs:348:22
[INFO] [stderr] |
[INFO] [stderr] 348 | 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] 348 | 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.2.3/src/lib.rs:353:22
[INFO] [stderr] |
[INFO] [stderr] 353 | 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] 353 | 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/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[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] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc_visit_macros-0.2.3/src/lib.rs:807:83
[INFO] [stderr] |
[INFO] [stderr] 807 | Mode::VisitAll | Mode::Visit | Mode::VisitMut => 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.2.3/src/lib.rs:838:35
[INFO] [stderr] |
[INFO] [stderr] 838 | 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.2.3/src/lib.rs:838:30
[INFO] [stderr] |
[INFO] [stderr] 838 | 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.2.3/src/lib.rs:865:22
[INFO] [stderr] |
[INFO] [stderr] 865 | 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] 865 | 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.2.3/src/lib.rs:873:26
[INFO] [stderr] |
[INFO] [stderr] 873 | 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.2.3/src/lib.rs:889:19
[INFO] [stderr] |
[INFO] [stderr] 889 | 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] 889 | 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.2.3/src/lib.rs:892:22
[INFO] [stderr] |
[INFO] [stderr] 892 | 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] 892 | paren_token: syn::token::Paren { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0107, E0277, E0308, E0599.
[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/swc_visit_macros-0.2.3/src/lib.rs:921:13
[INFO] [stderr] |
[INFO] [stderr] 896 | 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] 921 | 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.2.3/src/lib.rs:965:34
[INFO] [stderr] |
[INFO] [stderr] 965 | 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] 965 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] error: could not compile `ast_node` (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/swc_visit_macros-0.2.3/src/lib.rs:1020:34
[INFO] [stderr] |
[INFO] [stderr] 1020 | 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] 1020 | 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.2.3/src/lib.rs:1023:38
[INFO] [stderr] |
[INFO] [stderr] 1023 | 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] 1023 | 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.2.3/src/lib.rs:1025:38
[INFO] [stderr] |
[INFO] [stderr] 1025 | 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] 1025 | 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.2.3/src/lib.rs:1053:23
[INFO] [stderr] |
[INFO] [stderr] 1053 | 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] 1053 | 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.2.3/src/lib.rs:1056:26
[INFO] [stderr] |
[INFO] [stderr] 1056 | 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] 1056 | 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.2.3/src/lib.rs:1070:17
[INFO] [stderr] |
[INFO] [stderr] 1060 | 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] 1070 | 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.2.3/src/lib.rs:1085:28
[INFO] [stderr] |
[INFO] [stderr] 1085 | 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.2.3/src/lib.rs:1087:47
[INFO] [stderr] |
[INFO] [stderr] 1087 | 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.2.3/src/lib.rs:1087:42
[INFO] [stderr] |
[INFO] [stderr] 1087 | 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] |
[INFO] [stderr] 1087 | mutability: if mutable { Some(syn::token::Mut { span: def_site() }) } else { None },
[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.2.3/src/lib.rs:1253:34
[INFO] [stderr] |
[INFO] [stderr] 1253 | 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] 1253 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stderr] | +++++++++++++++++++++++++ +
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `swc_visit_macros` (lib) due to 23 previous errors
[INFO] running `Command { std: "docker" "inspect" "05fff60dd5b8b2674e8531e67423f9c796239edefce0d55258941c464fce3885", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05fff60dd5b8b2674e8531e67423f9c796239edefce0d55258941c464fce3885", kill_on_drop: false }`
[INFO] [stdout] 05fff60dd5b8b2674e8531e67423f9c796239edefce0d55258941c464fce3885