[INFO] fetching crate rplugin 0.3.0... [INFO] testing rplugin-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rplugin 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rplugin 0.3.0 [INFO] finished tweaking crates.io crate rplugin 0.3.0 [INFO] tweaked toml for crates.io crate rplugin 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rplugin 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 134 packages to latest compatible versions [INFO] [stderr] Adding abi_stable v0.10.4 (available: v0.10.5) [INFO] [stderr] Adding string_cache v0.8.9 (available: v0.9.0) [INFO] [stderr] Adding swc_common v0.15.3 (available: v14.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01ec430e7a07e60043b84340c730f54a9eee1ffa019f0dfd4fef3b626a16dc6e [INFO] running `Command { std: "docker" "start" "-a" "01ec430e7a07e60043b84340c730f54a9eee1ffa019f0dfd4fef3b626a16dc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01ec430e7a07e60043b84340c730f54a9eee1ffa019f0dfd4fef3b626a16dc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01ec430e7a07e60043b84340c730f54a9eee1ffa019f0dfd4fef3b626a16dc6e", kill_on_drop: false }` [INFO] [stdout] 01ec430e7a07e60043b84340c730f54a9eee1ffa019f0dfd4fef3b626a16dc6e [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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1e8dbbacc13c639f36bc01b7fb85b203e1a4a50882cdd25a07eceffbd520231 [INFO] running `Command { std: "docker" "start" "-a" "c1e8dbbacc13c639f36bc01b7fb85b203e1a4a50882cdd25a07eceffbd520231", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling core_extensions_proc_macros v1.5.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling tstr_proc_macros v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tstr v0.2.4 [INFO] [stderr] Compiling repr_offset v0.2.2 [INFO] [stderr] Compiling core_extensions v1.5.4 [INFO] [stderr] Compiling abi_stable_shared v0.10.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex-automata v0.4.10 [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.10.2 [INFO] [stderr] Compiling as_derive_utils v0.10.3 [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 from_variant v0.1.9 [INFO] [stderr] Compiling abi_stable_derive v0.10.3 [INFO] [stderr] Compiling rplugin_macros v0.1.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | content: Some((call_site(), mod_items)), [INFO] [stdout] | ^^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 58 | content: Some((syn::token::Brace { span: call_site() }, mod_items)), [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let binder = [VariantBinder::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | &src.fields, [INFO] [stdout] | ----------- expected `syn::data::Fields`, found `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 `Fields` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swc_macros_common::{ [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] ... [INFO] [stdout] 8 | use syn::{ [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/data.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / ast_enum_of_structs! { [INFO] [stdout] 27 | | /// Data stored within an enum variant or struct. [INFO] [stdout] 28 | | /// [INFO] [stdout] 29 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ this is the expected type `syn::data::Fields` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[Attribute]`, found `&Vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | &src.attrs, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[syn::attr::Attribute]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/binder.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | .map(|v| VariantBinder::new(Some(&src.ident), &v.ident, &v.fields, &v.attrs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ --------- expected `syn::data::Fields`, found `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 `Fields` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swc_macros_common::{ [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] ... [INFO] [stdout] 8 | use syn::{ [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/data.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / ast_enum_of_structs! { [INFO] [stdout] 27 | | /// Data stored within an enum variant or struct. [INFO] [stdout] 28 | | /// [INFO] [stdout] 29 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ this is the expected type `syn::data::Fields` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[Attribute]`, found `&Vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:202:76 [INFO] [stdout] | [INFO] [stdout] 202 | .map(|v| VariantBinder::new(Some(&src.ident), &v.ident, &v.fields, &v.attrs)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: expected reference `&[syn::attr::Attribute]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_macros_common-0.3.14/src/binder.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:245:35 [INFO] [stdout] | [INFO] [stdout] 245 | colon_token: Some(call_site()), [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `Colon`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:245:30 [INFO] [stdout] | [INFO] [stdout] 245 | colon_token: Some(call_site()), [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/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/rplugin_macros-0.1.1/src/lib.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | fat_arrow_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:281:23 [INFO] [stdout] | [INFO] [stdout] 281 | path: v.qual_path(), [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/rplugin_macros-0.1.1/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swc_macros_common::{ [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] ... [INFO] [stdout] 8 | use syn::{ [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/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[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | brace_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 284 | brace_token: syn::token::Brace { span: call_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | comma: Some(call_site()), [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 287 | comma: Some(call_site()), [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/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/rplugin_macros-0.1.1/src/lib.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | match_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 293 | match_token: syn::token::Match { span: call_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | brace_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 295 | brace_token: syn::token::Brace { span: call_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | pat, [INFO] [stdout] | ^^^ expected `Pat`, found `syn::pat::Pat` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/pat.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// A pattern in a local binding, function signature, match expression, or [INFO] [stdout] 7 | | /// various other places. [INFO] [stdout] 8 | | /// [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] | |__^ this is the expected type `Pat` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swc_macros_common::{ [INFO] [stdout] | ----------------- one version of crate `syn` used here, as a dependency of crate `swc_macros_common` [INFO] [stdout] ... [INFO] [stdout] 8 | use syn::{ [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/pat.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / ast_enum_of_structs! { [INFO] [stdout] 16 | | /// A pattern in a local binding, function signature, match expression, or [INFO] [stdout] 17 | | /// various other places. [INFO] [stdout] 18 | | /// [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ this is the found type `syn::pat::Pat` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:317:30 [INFO] [stdout] | [INFO] [stdout] 317 | fat_arrow_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `FatArrow`, found `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | brace_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 330 | brace_token: syn::token::Brace { span: call_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 333 | comma: Some(call_site()), [INFO] [stdout] | ---- ^^^^^^^^^^^ expected `Comma`, found `Span` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `proc_macro2::Span` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | comma: Some(call_site()), [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/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/rplugin_macros-0.1.1/src/lib.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | match_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `Match`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Match` [INFO] [stdout] | [INFO] [stdout] 339 | match_token: syn::token::Match { span: call_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rplugin_macros-0.1.1/src/lib.rs:341:22 [INFO] [stdout] | [INFO] [stdout] 341 | brace_token: call_site(), [INFO] [stdout] | ^^^^^^^^^^^ expected `Brace`, found `Span` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `syn::token::Brace` [INFO] [stdout] | [INFO] [stdout] 341 | brace_token: syn::token::Brace { span: call_site() }, [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rplugin_macros` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c1e8dbbacc13c639f36bc01b7fb85b203e1a4a50882cdd25a07eceffbd520231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1e8dbbacc13c639f36bc01b7fb85b203e1a4a50882cdd25a07eceffbd520231", kill_on_drop: false }` [INFO] [stdout] c1e8dbbacc13c639f36bc01b7fb85b203e1a4a50882cdd25a07eceffbd520231