[INFO] fetching crate bright_swc_html_ast 0.24.0-alpha.1...
[INFO] checking bright_swc_html_ast-0.24.0-alpha.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1
[INFO] extracting crate bright_swc_html_ast 0.24.0-alpha.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate bright_swc_html_ast 0.24.0-alpha.1
[INFO] finished tweaking crates.io crate bright_swc_html_ast 0.24.0-alpha.1
[INFO] tweaked toml for crates.io crate bright_swc_html_ast 0.24.0-alpha.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bright_swc_html_ast 0.24.0-alpha.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 136 packages to latest compatible versions
[INFO] [stderr] Adding bytecheck v0.6.12 (available: v0.8.1)
[INFO] [stderr] Adding is-macro v0.2.2 (available: v0.3.7)
[INFO] [stderr] Adding rkyv v0.7.45 (available: v0.8.11)
[INFO] [stderr] Adding string_enum v0.3.4 (available: v1.0.2)
[INFO] [stderr] Adding swc_atoms v0.4.6 (available: v0.4.43)
[INFO] [stderr] Adding swc_common v0.27.9 (available: v0.27.16)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa7320d33c1ee6f897c483b68f846d78850422bd39a56d1b7bc68267e722be65
[INFO] running `Command { std: "docker" "start" "-a" "aa7320d33c1ee6f897c483b68f846d78850422bd39a56d1b7bc68267e722be65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa7320d33c1ee6f897c483b68f846d78850422bd39a56d1b7bc68267e722be65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa7320d33c1ee6f897c483b68f846d78850422bd39a56d1b7bc68267e722be65", kill_on_drop: false }`
[INFO] [stdout] aa7320d33c1ee6f897c483b68f846d78850422bd39a56d1b7bc68267e722be65
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a6dcf6ec806e7699fbd84bf57b3cc7d252d8979e3a2e25a83c0af7d701aee70
[INFO] running `Command { std: "docker" "start" "-a" "2a6dcf6ec806e7699fbd84bf57b3cc7d252d8979e3a2e25a83c0af7d701aee70", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.101
[INFO] [stderr] Compiling unicode-ident v1.0.18
[INFO] [stderr] Checking stable_deref_trait v1.2.0
[INFO] [stderr] Compiling autocfg v1.5.0
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Checking smallvec v1.15.1
[INFO] [stderr] Compiling libc v0.2.175
[INFO] [stderr] Compiling siphasher v1.0.1
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Checking cfg-if v1.0.3
[INFO] [stderr] Checking writeable v0.6.1
[INFO] [stderr] Checking litemap v0.8.0
[INFO] [stderr] Compiling memchr v2.7.5
[INFO] [stderr] Compiling regex-syntax v0.8.6
[INFO] [stderr] Compiling parking_lot_core v0.9.11
[INFO] [stderr] Compiling icu_properties_data v2.0.1
[INFO] [stderr] Compiling icu_normalizer_data v2.0.0
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Checking scopeguard v1.2.0
[INFO] [stderr] Checking once_cell v1.21.3
[INFO] [stderr] Compiling ident_case v1.0.1
[INFO] [stderr] Compiling phf_shared v0.11.3
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling strsim v0.10.0
[INFO] [stderr] Compiling version_check v0.9.5
[INFO] [stderr] Checking new_debug_unreachable v1.0.6
[INFO] [stderr] Checking precomputed-hash v0.1.1
[INFO] [stderr] Checking rustc-hash v1.1.0
[INFO] [stderr] Checking utf8_iter v1.0.4
[INFO] [stderr] Checking percent-encoding v2.3.2
[INFO] [stderr] Checking void v1.0.2
[INFO] [stderr] Checking scoped-tls v1.0.1
[INFO] [stderr] Checking tracing-core v0.1.34
[INFO] [stderr] Checking pin-project-lite v0.2.16
[INFO] [stderr] Checking either v1.15.0
[INFO] [stderr] Checking unreachable v0.1.1
[INFO] [stderr] Checking better_scoped_tls v0.1.2
[INFO] [stderr] Checking siphasher v0.3.11
[INFO] [stderr] Checking unicode-width v0.1.14
[INFO] [stderr] Checking debug_unreachable v0.1.1
[INFO] [stderr] Compiling ahash v0.7.8
[INFO] [stderr] Checking form_urlencoded v1.2.2
[INFO] [stderr] Compiling lock_api v0.4.13
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling quote v1.0.40
[INFO] [stderr] Compiling syn v2.0.106
[INFO] [stderr] Checking getrandom v0.2.16
[INFO] [stderr] Compiling aho-corasick v1.1.3
[INFO] [stderr] Checking parking_lot v0.12.4
[INFO] [stderr] Compiling phf_generator v0.11.3
[INFO] [stderr] Compiling string_cache_codegen v0.5.4
[INFO] [stderr] Checking num-integer v0.1.46
[INFO] [stderr] Compiling swc_atoms v0.4.6
[INFO] [stderr] Compiling bright_swc_atoms v0.4.0
[INFO] [stderr] Checking num-bigint v0.4.6
[INFO] [stderr] Compiling regex-automata v0.4.10
[INFO] [stderr] Compiling regex v1.11.2
[INFO] [stderr] Compiling Inflector v0.11.4
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Compiling swc_macros_common v0.3.14
[INFO] [stderr] Compiling pmutil v0.5.3
[INFO] [stderr] Compiling darling_core v0.13.4
[INFO] [stderr] Compiling zerofrom-derive v0.1.6
[INFO] [stderr] Compiling yoke-derive v0.8.0
[INFO] [stderr] Compiling zerovec-derive v0.11.1
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling serde_derive v1.0.219
[INFO] [stderr] Compiling tracing-attributes v0.1.30
[INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4
[INFO] [stderr] Compiling swc_visit_macros v0.5.13
[INFO] [stderr] Compiling from_variant v0.1.9
[INFO] [stderr] Compiling is-macro v0.2.2
[INFO] [stderr] Compiling string_enum v0.3.4
[INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:89:16
[INFO] [stdout] |
[INFO] [stdout] 89 | Quote::new(def_site::())
[INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stdout] | |
[INFO] [stdout] | expected 0 generic arguments
[INFO] [stdout] |
[INFO] [stdout] note: function defined here, with 0 generic parameters
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 18 | pub fn def_site() -> Span {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:106:10
[INFO] [stdout] |
[INFO] [stdout] 89 | / Quote::new(def_site::())
[INFO] [stdout] 90 | | .quote_with(smart_quote!(
[INFO] [stdout] 91 | | Vars {
[INFO] [stdout] 92 | | Trait: trait_path,
[INFO] [stdout] ... |
[INFO] [stdout] 105 | | .parse::()
[INFO] [stdout] 106 | | .with_generics(i.generics.clone())
[INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl`
[INFO] [stdout] | |_________|
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0631]: type mismatch in function arguments
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:111:48
[INFO] [stdout] |
[INFO] [stdout] 111 | let docs: Vec<_> = attrs.iter().filter_map(doc_str).collect();
[INFO] [stdout] | ---------- ^^^^^^^
[INFO] [stdout] | | |
[INFO] [stdout] | | expected due to this
[INFO] [stdout] | | found signature defined here
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = note: expected function signature `fn(&syn::Attribute) -> _`
[INFO] [stdout] found function signature `fn(&syn::attr::Attribute) -> _`
[INFO] [stdout] note: required by a bound in `filter_map`
[INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/iter/traits/iterator.rs:937:5
[INFO] [stdout] help: consider wrapping the function in a closure
[INFO] [stdout] |
[INFO] [stdout] 111 | let docs: Vec<_> = attrs.iter().filter_map(|arg0: &syn::Attribute| doc_str(/* &syn::attr::Attribute */)).collect();
[INFO] [stdout] | +++++++++++++++++++++++ +++++++++++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: the method `collect` exists for struct `FilterMap, fn(&Attribute) -> ... {doc_str}>`, but its trait bounds were not satisfied
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:111:57
[INFO] [stdout] |
[INFO] [stdout] 111 | let docs: Vec<_> = attrs.iter().filter_map(doc_str).collect();
[INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout] |
[INFO] [stdout] = note: the following trait bounds were not satisfied:
[INFO] [stdout] ` fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str} as FnOnce<(&syn::Attribute,)>>::Output = Option<_>`
[INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str}>: Iterator`
[INFO] [stdout] `for<'a> fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str}: FnMut<(&syn::Attribute,)>`
[INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str}>: Iterator`
[INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str}>: Iterator`
[INFO] [stdout] which is required by `&mut FilterMap, for<'a> fn(&'a syn::attr::Attribute) -> Option {swc_macros_common::doc_str}>: Iterator`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/string_enum-452d40d59af55a29.long-type-2290603563335696384.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:126:33
[INFO] [stdout] |
[INFO] [stdout] 126 | let arms = Binder::new_from(i)
[INFO] [stdout] | ---------------- ^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput`
[INFO] [stdout] | |
[INFO] [stdout] | arguments to this function are incorrect
[INFO] [stdout] |
[INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1
[INFO] [stdout] |
[INFO] [stdout] 4 | / ast_struct! {
[INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro.
[INFO] [stdout] 6 | | ///
[INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.*
[INFO] [stdout] ... |
[INFO] [stdout] 25 | | }
[INFO] [stdout] | |__^ this is the found type `syn::DeriveInput`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use swc_macros_common::prelude::*;
[INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common`
[INFO] [stdout] 8 | use syn::{self, *};
[INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / ast_struct! {
[INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro.
[INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
[INFO] [stdout] 12 | | pub struct DeriveInput {
[INFO] [stdout] ... |
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput`
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/binder.rs:60:12
[INFO] [stdout] |
[INFO] [stdout] 60 | pub fn new_from(input: &'a DeriveInput) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:133:43
[INFO] [stdout] |
[INFO] [stdout] 133 | let str_value = get_str_value(v.attrs());
[INFO] [stdout] | ------------- ^^^^^^^^^ expected `syn::Attribute`, found `syn::attr::Attribute`
[INFO] [stdout] | |
[INFO] [stdout] | arguments to this function are incorrect
[INFO] [stdout] |
[INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/attr.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | / ast_struct! {
[INFO] [stdout] 13 | | /// An attribute like `#[repr(transparent)]`.
[INFO] [stdout] 14 | | ///
[INFO] [stdout] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stdout] ... |
[INFO] [stdout] 156 | | }
[INFO] [stdout] | |__^ this is the expected type `syn::Attribute`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use swc_macros_common::prelude::*;
[INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common`
[INFO] [stdout] 8 | use syn::{self, *};
[INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/attr.rs:19:1
[INFO] [stdout] |
[INFO] [stdout] 19 | / ast_struct! {
[INFO] [stdout] 20 | | /// An attribute, like `#[repr(transparent)]`.
[INFO] [stdout] 21 | | ///
[INFO] [stdout] 22 | | ///
[INFO] [stdout] ... |
[INFO] [stdout] 179 | | }
[INFO] [stdout] | |_^ this is the found type `syn::attr::Attribute`
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: function defined here
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:109:4
[INFO] [stdout] |
[INFO] [stdout] 109 | fn get_str_value(attrs: &[Attribute]) -> String {
[INFO] [stdout] | ^^^^^^^^^^^^^ -------------------
[INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:135:43
[INFO] [stdout] |
[INFO] [stdout] 135 | let mut pat: Pat = Quote::new(def_site::())
[INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stdout] | |
[INFO] [stdout] | expected 0 generic arguments
[INFO] [stdout] |
[INFO] [stdout] note: function defined here, with 0 generic parameters
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 18 | pub fn def_site() -> Span {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `parse_meta` found for reference `&syn::attr::Attribute` in the current scope
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:145:33
[INFO] [stdout] |
[INFO] [stdout] 145 | let meta = attr.parse_meta().expect("failed to parse meta");
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] help: there is a method `parse_nested_meta` with a similar name, but with different arguments
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/attr.rs:391:5
[INFO] [stdout] |
[INFO] [stdout] 391 | / pub fn parse_nested_meta(
[INFO] [stdout] 392 | | &self,
[INFO] [stdout] 393 | | logic: impl FnMut(ParseNestedMeta) -> Result<()>,
[INFO] [stdout] 394 | | ) -> Result<()> {
[INFO] [stdout] | |___________________^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:171:37
[INFO] [stdout] |
[INFO] [stdout] 171 | ... cases,
[INFO] [stdout] | ^^^^^ expected `Punctuated`, found `Punctuated`
[INFO] [stdout] |
[INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/punctuated.rs:47:1
[INFO] [stdout] |
[INFO] [stdout] 47 | pub struct Punctuated {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `syn::punctuated::Punctuated`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/punctuated.rs:47:1
[INFO] [stdout] |
[INFO] [stdout] 47 | pub struct Punctuated {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `swc_macros_common::prelude::Punctuated`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use swc_macros_common::prelude::*;
[INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common`
[INFO] [stdout] 8 | use syn::{self, *};
[INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:184:17
[INFO] [stdout] |
[INFO] [stdout] 184 | Fields::Unit => Box::new(
[INFO] [stdout] | ^^^^^^^^^^^^ expected `syn::data::Fields`, found `syn::Fields`
[INFO] [stdout] |
[INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/data.rs:25:1
[INFO] [stdout] |
[INFO] [stdout] 25 | / ast_enum_of_structs! {
[INFO] [stdout] 26 | | /// Data stored within an enum variant or struct.
[INFO] [stdout] 27 | | ///
[INFO] [stdout] 28 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stdout] ... |
[INFO] [stdout] 48 | | }
[INFO] [stdout] | |__^ this is the found type `syn::Fields`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use swc_macros_common::prelude::*;
[INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common`
[INFO] [stdout] 8 | use syn::{self, *};
[INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/data.rs:26:1
[INFO] [stdout] |
[INFO] [stdout] 26 | / ast_enum_of_structs! {
[INFO] [stdout] 27 | | /// Data stored within an enum variant or struct.
[INFO] [stdout] 28 | | ///
[INFO] [stdout] 29 | | /// # Syntax tree enum
[INFO] [stdout] ... |
[INFO] [stdout] 46 | | }
[INFO] [stdout] | |_^ this is the expected type `syn::data::Fields`
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:185:32
[INFO] [stdout] |
[INFO] [stdout] 185 | Quote::new(def_site::())
[INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stdout] | |
[INFO] [stdout] | expected 0 generic arguments
[INFO] [stdout] |
[INFO] [stdout] note: function defined here, with 0 generic parameters
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 18 | pub fn def_site() -> Span {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `syn::attr::Attribute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:199:22
[INFO] [stdout] |
[INFO] [stdout] 199 | .collect(),
[INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator- `
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec`
[INFO] [stdout] but trait `FromIterator` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `syn::Attribute`, found `syn::attr::Attribute`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:198:22
[INFO] [stdout] |
[INFO] [stdout] 194 | attrs: v
[INFO] [stdout] | - this expression has type `VariantBinder<'_>`
[INFO] [stdout] 195 | .attrs()
[INFO] [stdout] 196 | .iter()
[INFO] [stdout] | ------ `Iterator::Item` is `&Attribute` here
[INFO] [stdout] 197 | .filter(|attr| is_attr_name(attr, "cfg"))
[INFO] [stdout] | ---------------------------------------- `Iterator::Item` remains `&Attribute` here
[INFO] [stdout] 198 | .cloned()
[INFO] [stdout] | ^^^^^^^^ `Iterator::Item` changed to `Attribute` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/iter/traits/iterator.rs:2014:5
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:202:34
[INFO] [stdout] |
[INFO] [stdout] 202 | fat_arrow_token: def_site(),
[INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:203:29
[INFO] [stdout] |
[INFO] [stdout] 203 | comma: Some(def_site()),
[INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span`
[INFO] [stdout] | |
[INFO] [stdout] | arguments to this enum variant are incorrect
[INFO] [stdout] |
[INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:203:24
[INFO] [stdout] |
[INFO] [stdout] 203 | comma: Some(def_site()),
[INFO] [stdout] | ^^^^^----------^
[INFO] [stdout] | |
[INFO] [stdout] | this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/option.rs:601:5
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:217:22
[INFO] [stdout] |
[INFO] [stdout] 217 | match_token: def_site(),
[INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span`
[INFO] [stdout] |
[INFO] [stdout] help: try wrapping the expression in `syn::token::Match`
[INFO] [stdout] |
[INFO] [stdout] 217 | match_token: syn::token::Match { span: def_site() },
[INFO] [stdout] | +++++++++++++++++++++++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:218:22
[INFO] [stdout] |
[INFO] [stdout] 218 | brace_token: def_site(),
[INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stdout] |
[INFO] [stdout] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stdout] |
[INFO] [stdout] 218 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stdout] | +++++++++++++++++++++++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:244:10
[INFO] [stdout] |
[INFO] [stdout] 227 | / Quote::new_call_site()
[INFO] [stdout] 228 | | .quote_with(smart_quote!(
[INFO] [stdout] 229 | | Vars {
[INFO] [stdout] 230 | | Type: &i.ident,
[INFO] [stdout] ... |
[INFO] [stdout] 243 | | .parse::()
[INFO] [stdout] 244 | | .with_generics(i.generics.clone())
[INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl`
[INFO] [stdout] | |_________|
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:248:33
[INFO] [stdout] |
[INFO] [stdout] 248 | let arms = Binder::new_from(i)
[INFO] [stdout] | ---------------- ^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput`
[INFO] [stdout] | |
[INFO] [stdout] | arguments to this function are incorrect
[INFO] [stdout] |
[INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1
[INFO] [stdout] |
[INFO] [stdout] 4 | / ast_struct! {
[INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro.
[INFO] [stdout] 6 | | ///
[INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.*
[INFO] [stdout] ... |
[INFO] [stdout] 25 | | }
[INFO] [stdout] | |__^ this is the found type `syn::DeriveInput`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use swc_macros_common::prelude::*;
[INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common`
[INFO] [stdout] 8 | use syn::{self, *};
[INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1
[INFO] [stdout] |
[INFO] [stdout] 9 | / ast_struct! {
[INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro.
[INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
[INFO] [stdout] 12 | | pub struct DeriveInput {
[INFO] [stdout] ... |
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput`
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/binder.rs:60:12
[INFO] [stdout] |
[INFO] [stdout] 60 | pub fn new_from(input: &'a DeriveInput) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:255:43
[INFO] [stdout] |
[INFO] [stdout] 255 | let str_value = get_str_value(v.attrs());
[INFO] [stdout] | ------------- ^^^^^^^^^ expected `syn::Attribute`, found `syn::attr::Attribute`
[INFO] [stdout] | |
[INFO] [stdout] | arguments to this function are incorrect
[INFO] [stdout] |
[INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/attr.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | / ast_struct! {
[INFO] [stdout] 13 | | /// An attribute like `#[repr(transparent)]`.
[INFO] [stdout] 14 | | ///
[INFO] [stdout] 15 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stdout] ... |
[INFO] [stdout] 156 | | }
[INFO] [stdout] | |__^ this is the expected type `syn::Attribute`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use swc_macros_common::prelude::*;
[INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common`
[INFO] [stdout] 8 | use syn::{self, *};
[INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/attr.rs:19:1
[INFO] [stdout] |
[INFO] [stdout] 19 | / ast_struct! {
[INFO] [stdout] 20 | | /// An attribute, like `#[repr(transparent)]`.
[INFO] [stdout] 21 | | ///
[INFO] [stdout] 22 | | ///
[INFO] [stdout] ... |
[INFO] [stdout] 179 | | }
[INFO] [stdout] | |_^ this is the found type `syn::attr::Attribute`
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] note: function defined here
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:109:4
[INFO] [stdout] |
[INFO] [stdout] 109 | fn get_str_value(attrs: &[Attribute]) -> String {
[INFO] [stdout] | ^^^^^^^^^^^^^ -------------------
[INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:258:28
[INFO] [stdout] |
[INFO] [stdout] 258 | Quote::new(def_site::())
[INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stdout] | |
[INFO] [stdout] | expected 0 generic arguments
[INFO] [stdout] |
[INFO] [stdout] note: function defined here, with 0 generic parameters
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 18 | pub fn def_site() -> Span {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:264:17
[INFO] [stdout] |
[INFO] [stdout] 264 | Fields::Unit => Box::new(Pat::Path(PatPath {
[INFO] [stdout] | ^^^^^^^^^^^^ expected `syn::data::Fields`, found `syn::Fields`
[INFO] [stdout] |
[INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/data.rs:25:1
[INFO] [stdout] |
[INFO] [stdout] 25 | / ast_enum_of_structs! {
[INFO] [stdout] 26 | | /// Data stored within an enum variant or struct.
[INFO] [stdout] 27 | | ///
[INFO] [stdout] 28 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stdout] ... |
[INFO] [stdout] 48 | | }
[INFO] [stdout] | |__^ this is the found type `syn::Fields`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use swc_macros_common::prelude::*;
[INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common`
[INFO] [stdout] 8 | use syn::{self, *};
[INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/data.rs:26:1
[INFO] [stdout] |
[INFO] [stdout] 26 | / ast_enum_of_structs! {
[INFO] [stdout] 27 | | /// Data stored within an enum variant or struct.
[INFO] [stdout] 28 | | ///
[INFO] [stdout] 29 | | /// # Syntax tree enum
[INFO] [stdout] ... |
[INFO] [stdout] 46 | | }
[INFO] [stdout] | |_^ this is the expected type `syn::data::Fields`
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:266:27
[INFO] [stdout] |
[INFO] [stdout] 266 | path: qual_name,
[INFO] [stdout] | ^^^^^^^^^ expected `syn::Path`, found `syn::path::Path`
[INFO] [stdout] |
[INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/path.rs:4:1
[INFO] [stdout] |
[INFO] [stdout] 4 | / ast_struct! {
[INFO] [stdout] 5 | | /// A path at which a named item is exported (e.g. `std::collections::HashMap`).
[INFO] [stdout] 6 | | ///
[INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"`
[INFO] [stdout] ... |
[INFO] [stdout] 14 | | }
[INFO] [stdout] | |__^ this is the expected type `syn::Path`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use swc_macros_common::prelude::*;
[INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common`
[INFO] [stdout] 8 | use syn::{self, *};
[INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/path.rs:11:1
[INFO] [stdout] |
[INFO] [stdout] 11 | / ast_struct! {
[INFO] [stdout] 12 | | /// A path at which a named item is exported (e.g. `std::collections::HashMap`).
[INFO] [stdout] 13 | | #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))]
[INFO] [stdout] 14 | | pub struct Path {
[INFO] [stdout] ... |
[INFO] [stdout] 18 | | }
[INFO] [stdout] | |_^ this is the found type `syn::path::Path`
[INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:270:32
[INFO] [stdout] |
[INFO] [stdout] 270 | Quote::new(def_site::())
[INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stdout] | |
[INFO] [stdout] | expected 0 generic arguments
[INFO] [stdout] |
[INFO] [stdout] note: function defined here, with 0 generic parameters
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 18 | pub fn def_site() -> Span {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `syn::attr::Attribute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:283:22
[INFO] [stdout] |
[INFO] [stdout] 283 | .collect(),
[INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator- `
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec`
[INFO] [stdout] but trait `FromIterator` is implemented for it
[INFO] [stdout] = help: for that trait implementation, expected `syn::Attribute`, found `syn::attr::Attribute`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:282:22
[INFO] [stdout] |
[INFO] [stdout] 278 | attrs: v
[INFO] [stdout] | - this expression has type `VariantBinder<'_>`
[INFO] [stdout] 279 | .attrs()
[INFO] [stdout] 280 | .iter()
[INFO] [stdout] | ------ `Iterator::Item` is `&Attribute` here
[INFO] [stdout] 281 | .filter(|attr| is_attr_name(attr, "cfg"))
[INFO] [stdout] | ---------------------------------------- `Iterator::Item` remains `&Attribute` here
[INFO] [stdout] 282 | .cloned()
[INFO] [stdout] | ^^^^^^^^ `Iterator::Item` changed to `Attribute` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/iter/traits/iterator.rs:2014:5
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:285:32
[INFO] [stdout] |
[INFO] [stdout] 285 | and_token: def_site(),
[INFO] [stdout] | ^^^^^^^^^^ expected `And`, found `Span`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:291:34
[INFO] [stdout] |
[INFO] [stdout] 291 | fat_arrow_token: def_site(),
[INFO] [stdout] | ^^^^^^^^^^ expected `FatArrow`, found `Span`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:292:29
[INFO] [stdout] |
[INFO] [stdout] 292 | comma: Some(def_site()),
[INFO] [stdout] | ---- ^^^^^^^^^^ expected `Comma`, found `Span`
[INFO] [stdout] | |
[INFO] [stdout] | arguments to this enum variant are incorrect
[INFO] [stdout] |
[INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:292:24
[INFO] [stdout] |
[INFO] [stdout] 292 | comma: Some(def_site()),
[INFO] [stdout] | ^^^^^----------^
[INFO] [stdout] | |
[INFO] [stdout] | this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/option.rs:601:5
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:299:22
[INFO] [stdout] |
[INFO] [stdout] 299 | match_token: def_site(),
[INFO] [stdout] | ^^^^^^^^^^ expected `Match`, found `Span`
[INFO] [stdout] |
[INFO] [stdout] help: try wrapping the expression in `syn::token::Match`
[INFO] [stdout] |
[INFO] [stdout] 299 | match_token: syn::token::Match { span: def_site() },
[INFO] [stdout] | +++++++++++++++++++++++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:300:22
[INFO] [stdout] |
[INFO] [stdout] 300 | brace_token: def_site(),
[INFO] [stdout] | ^^^^^^^^^^ expected `Brace`, found `Span`
[INFO] [stdout] |
[INFO] [stdout] help: try wrapping the expression in `syn::token::Brace`
[INFO] [stdout] |
[INFO] [stdout] 300 | brace_token: syn::token::Brace { span: def_site() },
[INFO] [stdout] | +++++++++++++++++++++++++ +
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:302:24
[INFO] [stdout] |
[INFO] [stdout] 302 | Quote::new(def_site::())
[INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stdout] | |
[INFO] [stdout] | expected 0 generic arguments
[INFO] [stdout] |
[INFO] [stdout] note: function defined here, with 0 generic parameters
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 18 | pub fn def_site() -> Span {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0107]: function takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:309:16
[INFO] [stdout] |
[INFO] [stdout] 309 | Quote::new(def_site::())
[INFO] [stdout] | ^^^^^^^^-------- help: remove the unnecessary generics
[INFO] [stdout] | |
[INFO] [stdout] | expected 0 generic arguments
[INFO] [stdout] |
[INFO] [stdout] note: function defined here, with 0 generic parameters
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/lib.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 18 | pub fn def_site() -> Span {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:325:10
[INFO] [stdout] |
[INFO] [stdout] 309 | / Quote::new(def_site::())
[INFO] [stdout] 310 | | .quote_with(smart_quote!(
[INFO] [stdout] 311 | | Vars {
[INFO] [stdout] 312 | | Type: &i.ident,
[INFO] [stdout] ... |
[INFO] [stdout] 324 | | .parse::()
[INFO] [stdout] 325 | | .with_generics(i.generics.clone())
[INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl`
[INFO] [stdout] | |_________|
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:345:10
[INFO] [stdout] |
[INFO] [stdout] 333 | / Quote::new_call_site()
[INFO] [stdout] 334 | | .quote_with(smart_quote!(Vars { Type: &i.ident }, {
[INFO] [stdout] 335 | | impl ::serde::Serialize for Type {
[INFO] [stdout] 336 | | fn serialize
(&self, serializer: S) -> Result
[INFO] [stdout] ... |
[INFO] [stdout] 344 | | .parse::()
[INFO] [stdout] 345 | | .with_generics(i.generics.clone())
[INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl`
[INFO] [stdout] | |_________|
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no method named `with_generics` found for struct `syn::ItemImpl` in the current scope
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/string_enum-0.3.4/src/lib.rs:380:10
[INFO] [stdout] |
[INFO] [stdout] 349 | / Quote::new_call_site()
[INFO] [stdout] 350 | | .quote_with(smart_quote!(Vars { Type: &i.ident }, {
[INFO] [stdout] 351 | | impl<'de> ::serde::Deserialize<'de> for Type {
[INFO] [stdout] 352 | | fn deserialize(deserializer: D) -> Result
[INFO] [stdout] ... |
[INFO] [stdout] 379 | | .parse::()
[INFO] [stdout] 380 | | .with_generics(i.generics.clone())
[INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `syn::ItemImpl`
[INFO] [stdout] | |_________|
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0599, E0631.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `string_enum` (lib) due to 34 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "2a6dcf6ec806e7699fbd84bf57b3cc7d252d8979e3a2e25a83c0af7d701aee70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a6dcf6ec806e7699fbd84bf57b3cc7d252d8979e3a2e25a83c0af7d701aee70", kill_on_drop: false }`
[INFO] [stdout] 2a6dcf6ec806e7699fbd84bf57b3cc7d252d8979e3a2e25a83c0af7d701aee70