[INFO] fetching crate napi-derive 2.14.2... [INFO] checking napi-derive-2.14.2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate napi-derive 2.14.2 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate napi-derive 2.14.2 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate napi-derive 2.14.2 [INFO] finished tweaking crates.io crate napi-derive 2.14.2 [INFO] tweaked toml for crates.io crate napi-derive 2.14.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded napi-derive-backend v1.0.63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4c2a8f9ea60cd44e5749fcd59fc2b928563a89cf452e602b9318b6f3d877edd [INFO] running `Command { std: "docker" "start" "-a" "e4c2a8f9ea60cd44e5749fcd59fc2b928563a89cf452e602b9318b6f3d877edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4c2a8f9ea60cd44e5749fcd59fc2b928563a89cf452e602b9318b6f3d877edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c2a8f9ea60cd44e5749fcd59fc2b928563a89cf452e602b9318b6f3d877edd", kill_on_drop: false }` [INFO] [stdout] e4c2a8f9ea60cd44e5749fcd59fc2b928563a89cf452e602b9318b6f3d877edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40c08c2bdac8b84ff9d6a88bb1a121e3332601a6da6296acdb5d3e622cebc352 [INFO] running `Command { std: "docker" "start" "-a" "40c08c2bdac8b84ff9d6a88bb1a121e3332601a6da6296acdb5d3e622cebc352", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking semver v1.0.22 [INFO] [stderr] Checking proc-macro2 v1.0.79 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking syn v2.0.57 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking napi-derive-backend v1.0.63 [INFO] [stderr] Checking napi-derive v2.14.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `napi_derive_backend::REGISTER_IDENTS` [INFO] [stdout] --> src/expand/napi.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use napi_derive_backend::{BindgenResult, TryToTokens, REGISTER_IDENTS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `REGISTER_IDENTS` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `napi_derive_backend::REGISTER_IDENTS` [INFO] [stdout] --> src/expand/napi.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use napi_derive_backend::{BindgenResult, TryToTokens, REGISTER_IDENTS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `REGISTER_IDENTS` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `napi_derive_backend::Diagnostic` [INFO] [stdout] --> src/expand/napi.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn expand(attr: TokenStream, input: TokenStream) -> BindgenResult { [INFO] [stdout] | -------------------------- expected `napi_derive_backend::Diagnostic` because of this [INFO] [stdout] ... [INFO] [stdout] 46 | let mut item = syn::parse2::(input)?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `napi_derive_backend::Diagnostic`, which is required by `Result: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, syn::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `napi_derive_backend::Diagnostic` [INFO] [stdout] = help: for that trait implementation, expected `syn::error::Error`, found `syn::Error` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `napi_derive_backend::Diagnostic` [INFO] [stdout] --> src/expand/napi.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn expand(attr: TokenStream, input: TokenStream) -> BindgenResult { [INFO] [stdout] | -------------------------- expected `napi_derive_backend::Diagnostic` because of this [INFO] [stdout] ... [INFO] [stdout] 47 | let opts: BindgenAttrs = syn::parse2(attr)?; [INFO] [stdout] | -----------------^ the trait `From` is not implemented for `napi_derive_backend::Diagnostic`, which is required by `Result: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, syn::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `napi_derive_backend::Diagnostic` [INFO] [stdout] = help: for that trait implementation, expected `syn::error::Error`, found `syn::Error` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `napi_derive_backend::Diagnostic` [INFO] [stdout] --> src/expand/napi.rs:46:44 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn expand(attr: TokenStream, input: TokenStream) -> BindgenResult { [INFO] [stdout] | -------------------------- expected `napi_derive_backend::Diagnostic` because of this [INFO] [stdout] ... [INFO] [stdout] 46 | let mut item = syn::parse2::(input)?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `napi_derive_backend::Diagnostic`, which is required by `Result: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, syn::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `napi_derive_backend::Diagnostic` [INFO] [stdout] = help: for that trait implementation, expected `syn::error::Error`, found `syn::Error` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `napi_derive_backend::Diagnostic` [INFO] [stdout] --> src/expand/napi.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn expand(attr: TokenStream, input: TokenStream) -> BindgenResult { [INFO] [stdout] | -------------------------- expected `napi_derive_backend::Diagnostic` because of this [INFO] [stdout] ... [INFO] [stdout] 47 | let opts: BindgenAttrs = syn::parse2(attr)?; [INFO] [stdout] | -----------------^ the trait `From` is not implemented for `napi_derive_backend::Diagnostic`, which is required by `Result: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, syn::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `napi_derive_backend::Diagnostic` [INFO] [stdout] = help: for that trait implementation, expected `syn::error::Error`, found `syn::Error` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `napi_derive_backend::Diagnostic` [INFO] [stdout] --> src/parser/attrs.rs:222:64 [INFO] [stdout] | [INFO] [stdout] 222 | let mut attrs: BindgenAttrs = syn::parse2(group.stream())?; [INFO] [stdout] | ^ the trait `From` is not implemented for `napi_derive_backend::Diagnostic`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `napi_derive_backend::Diagnostic` [INFO] [stdout] = help: for that trait implementation, expected `syn::error::Error`, found `syn::Error` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `napi_derive_backend::Diagnostic` [INFO] [stdout] --> src/parser/attrs.rs:222:64 [INFO] [stdout] | [INFO] [stdout] 222 | let mut attrs: BindgenAttrs = syn::parse2(group.stream())?; [INFO] [stdout] | ^ the trait `From` is not implemented for `napi_derive_backend::Diagnostic`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `napi_derive_backend::Diagnostic` [INFO] [stdout] = help: for that trait implementation, expected `syn::error::Error`, found `syn::Error` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:569:22 [INFO] [stdout] | [INFO] [stdout] 569 | pat: p.pat.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `syn::pat::Pat`, found `Pat` [INFO] [stdout] | [INFO] [stdout] = note: `Pat` and `syn::pat::Pat` have similar names, but are actually distinct types [INFO] [stdout] note: `Pat` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::pat::Pat` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/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] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:570:23 [INFO] [stdout] | [INFO] [stdout] 570 | args: fn_args, [INFO] [stdout] | ^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:571:22 [INFO] [stdout] | [INFO] [stdout] 571 | ret: fn_ret, [INFO] [stdout] | ^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:584:51 [INFO] [stdout] | [INFO] [stdout] 584 | kind: NapiFnArgKind::PatType(Box::new(p.clone())), [INFO] [stdout] | -------- ^^^^^^^^^ expected `syn::pat::PatType`, found `syn::PatType` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `syn::PatType` and `syn::pat::PatType` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::PatType` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/pat.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | / ast_struct! { [INFO] [stdout] 272 | | /// A type ascription pattern: `foo: f64`. [INFO] [stdout] 273 | | /// [INFO] [stdout] 274 | | /// *This type is available only if Syn is built with the `"full"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 281 | | } [INFO] [stdout] 282 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::pat::PatType` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/pat.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / ast_struct! { [INFO] [stdout] 205 | | /// A type ascription pattern: `foo: f64`. [INFO] [stdout] 206 | | #[cfg_attr(doc_cfg, doc(cfg(feature = "full")))] [INFO] [stdout] 207 | | pub struct PatType { [INFO] [stdout] ... | [INFO] [stdout] 212 | | } [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:216:12 [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] --> src/parser/mod.rs:678:7 [INFO] [stdout] | [INFO] [stdout] 678 | ret, [INFO] [stdout] | ^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:681:7 [INFO] [stdout] | [INFO] [stdout] 681 | vis, [INFO] [stdout] | ^^^ expected `syn::restriction::Visibility`, found `Visibility` [INFO] [stdout] | [INFO] [stdout] = note: `Visibility` and `syn::restriction::Visibility` have similar names, but are actually distinct types [INFO] [stdout] note: `Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / ast_enum_of_structs! { [INFO] [stdout] 174 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 175 | | /// `pub(restricted)`. [INFO] [stdout] 176 | | /// [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::restriction::Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/restriction.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_enum! { [INFO] [stdout] 5 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 6 | | /// `pub(restricted)`. [INFO] [stdout] 7 | | /// [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:686:7 [INFO] [stdout] | [INFO] [stdout] 686 | attrs, [INFO] [stdout] | ^^^^^ expected `syn::attr::Attribute`, found `Attribute` [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` and `syn::attr::Attribute` have similar names, but are actually distinct types [INFO] [stdout] note: `Attribute` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] 155 | | } [INFO] [stdout] 156 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::attr::Attribute` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/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] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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[E0063]: missing field `register_name` in initializer of `NapiFn` [INFO] [stdout] --> src/parser/mod.rs:674:5 [INFO] [stdout] | [INFO] [stdout] 674 | NapiFn { [INFO] [stdout] | ^^^^^^ missing `register_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:569:22 [INFO] [stdout] | [INFO] [stdout] 569 | pat: p.pat.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `syn::pat::Pat`, found `Pat` [INFO] [stdout] | [INFO] [stdout] = note: `Pat` and `syn::pat::Pat` have similar names, but are actually distinct types [INFO] [stdout] note: `Pat` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::pat::Pat` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/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] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:570:23 [INFO] [stdout] | [INFO] [stdout] 570 | args: fn_args, [INFO] [stdout] | ^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:964:9 [INFO] [stdout] | [INFO] [stdout] 964 | name, [INFO] [stdout] | ^^^^ expected `syn::expr::Member`, found `Member` [INFO] [stdout] | [INFO] [stdout] = note: `Member` and `syn::expr::Member` have similar names, but are actually distinct types [INFO] [stdout] note: `Member` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/expr.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | / ast_enum! { [INFO] [stdout] 845 | | /// A struct or tuple struct field accessed in a struct literal or field [INFO] [stdout] 846 | | /// expression. [INFO] [stdout] 847 | | /// [INFO] [stdout] ... | [INFO] [stdout] 856 | | } [INFO] [stdout] 857 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::expr::Member` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/expr.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | / ast_enum! { [INFO] [stdout] 753 | | /// A struct or tuple struct field accessed in a struct literal or field [INFO] [stdout] 754 | | /// expression. [INFO] [stdout] 755 | | #[cfg_attr(doc_cfg, doc(cfg(any(feature = "full", feature = "derive"))))] [INFO] [stdout] ... | [INFO] [stdout] 761 | | } [INFO] [stdout] 762 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:571:22 [INFO] [stdout] | [INFO] [stdout] 571 | ret: fn_ret, [INFO] [stdout] | ^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | ty: field.ty.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:584:51 [INFO] [stdout] | [INFO] [stdout] 584 | kind: NapiFnArgKind::PatType(Box::new(p.clone())), [INFO] [stdout] | -------- ^^^^^^^^^ expected `syn::pat::PatType`, found `syn::PatType` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `syn::PatType` and `syn::pat::PatType` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::PatType` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/pat.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | / ast_struct! { [INFO] [stdout] 272 | | /// A type ascription pattern: `foo: f64`. [INFO] [stdout] 273 | | /// [INFO] [stdout] 274 | | /// *This type is available only if Syn is built with the `"full"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 281 | | } [INFO] [stdout] 282 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::pat::PatType` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/pat.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / ast_struct! { [INFO] [stdout] 205 | | /// A type ascription pattern: `foo: f64`. [INFO] [stdout] 206 | | #[cfg_attr(doc_cfg, doc(cfg(feature = "full")))] [INFO] [stdout] 207 | | pub struct PatType { [INFO] [stdout] ... | [INFO] [stdout] 212 | | } [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:216:12 [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] --> src/parser/mod.rs:994:9 [INFO] [stdout] | [INFO] [stdout] 994 | vis, [INFO] [stdout] | ^^^ expected `syn::restriction::Visibility`, found `Visibility` [INFO] [stdout] | [INFO] [stdout] = note: `Visibility` and `syn::restriction::Visibility` have similar names, but are actually distinct types [INFO] [stdout] note: `Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / ast_enum_of_structs! { [INFO] [stdout] 174 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 175 | | /// `pub(restricted)`. [INFO] [stdout] 176 | | /// [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::restriction::Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/restriction.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_enum! { [INFO] [stdout] 5 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 6 | | /// `pub(restricted)`. [INFO] [stdout] 7 | | /// [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `register_name` and `use_nullable` in initializer of `NapiStruct` [INFO] [stdout] --> src/parser/mod.rs:991:30 [INFO] [stdout] | [INFO] [stdout] 991 | item: NapiItem::Struct(NapiStruct { [INFO] [stdout] | ^^^^^^^^^^ missing `register_name` and `use_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:678:7 [INFO] [stdout] | [INFO] [stdout] 678 | ret, [INFO] [stdout] | ^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:1095:9 [INFO] [stdout] | [INFO] [stdout] 1036 | task_output_type = Some(m.ty.clone()); [INFO] [stdout] | ---------------- here the type of `task_output_type` is inferred to be `Option` [INFO] [stdout] ... [INFO] [stdout] 1095 | task_output_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:681:7 [INFO] [stdout] | [INFO] [stdout] 681 | vis, [INFO] [stdout] | ^^^ expected `syn::restriction::Visibility`, found `Visibility` [INFO] [stdout] | [INFO] [stdout] = note: `Visibility` and `syn::restriction::Visibility` have similar names, but are actually distinct types [INFO] [stdout] note: `Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / ast_enum_of_structs! { [INFO] [stdout] 174 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 175 | | /// `pub(restricted)`. [INFO] [stdout] 176 | | /// [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::restriction::Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/restriction.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_enum! { [INFO] [stdout] 5 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 6 | | /// `pub(restricted)`. [INFO] [stdout] 7 | | /// [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:1096:9 [INFO] [stdout] | [INFO] [stdout] 1040 | iterator_yield_type = Some(m.ty.clone()); [INFO] [stdout] | ------------------- here the type of `iterator_yield_type` is inferred to be `Option` [INFO] [stdout] ... [INFO] [stdout] 1096 | iterator_yield_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:1097:9 [INFO] [stdout] | [INFO] [stdout] 1042 | iterator_next_type = Some(m.ty.clone()); [INFO] [stdout] | ------------------ here the type of `iterator_next_type` is inferred to be `Option` [INFO] [stdout] ... [INFO] [stdout] 1097 | iterator_next_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:686:7 [INFO] [stdout] | [INFO] [stdout] 686 | attrs, [INFO] [stdout] | ^^^^^ expected `syn::attr::Attribute`, found `Attribute` [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` and `syn::attr::Attribute` have similar names, but are actually distinct types [INFO] [stdout] note: `Attribute` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] 155 | | } [INFO] [stdout] 156 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::attr::Attribute` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/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] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:1098:9 [INFO] [stdout] | [INFO] [stdout] 1044 | iterator_return_type = Some(m.ty.clone()); [INFO] [stdout] | -------------------- here the type of `iterator_return_type` is inferred to be `Option` [INFO] [stdout] ... [INFO] [stdout] 1098 | iterator_return_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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[E0063]: missing field `register_name` in initializer of `NapiImpl` [INFO] [stdout] --> src/parser/mod.rs:1091:28 [INFO] [stdout] | [INFO] [stdout] 1091 | item: NapiItem::Impl(NapiImpl { [INFO] [stdout] | ^^^^^^^^ missing `register_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `register_name` in initializer of `NapiFn` [INFO] [stdout] --> src/parser/mod.rs:674:5 [INFO] [stdout] | [INFO] [stdout] 674 | NapiFn { [INFO] [stdout] | ^^^^^^ missing `register_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `register_name` in initializer of `NapiEnum` [INFO] [stdout] --> src/parser/mod.rs:1208:28 [INFO] [stdout] | [INFO] [stdout] 1208 | item: NapiItem::Enum(NapiEnum { [INFO] [stdout] | ^^^^^^^^ missing `register_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:1229:22 [INFO] [stdout] | [INFO] [stdout] 1229 | type_name: *self.ty.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:1230:18 [INFO] [stdout] | [INFO] [stdout] 1230 | value: *self.expr.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `syn::expr::Expr`, found `syn::Expr` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Expr` and `syn::expr::Expr` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Expr` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/expr.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / ast_enum_of_structs! { [INFO] [stdout] 15 | | /// A Rust expression. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 249 | | } [INFO] [stdout] 250 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::expr::Expr` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/expr.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / ast_enum_of_structs! { [INFO] [stdout] 30 | | /// A Rust expression. [INFO] [stdout] 31 | | /// [INFO] [stdout] 32 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 257 | | } [INFO] [stdout] 258 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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[E0063]: missing field `register_name` in initializer of `NapiConst` [INFO] [stdout] --> src/parser/mod.rs:1224:31 [INFO] [stdout] | [INFO] [stdout] 1224 | item: NapiItem::Const(NapiConst { [INFO] [stdout] | ^^^^^^^^^ missing `register_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:964:9 [INFO] [stdout] | [INFO] [stdout] 964 | name, [INFO] [stdout] | ^^^^ expected `syn::expr::Member`, found `Member` [INFO] [stdout] | [INFO] [stdout] = note: `Member` and `syn::expr::Member` have similar names, but are actually distinct types [INFO] [stdout] note: `Member` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/expr.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | / ast_enum! { [INFO] [stdout] 845 | | /// A struct or tuple struct field accessed in a struct literal or field [INFO] [stdout] 846 | | /// expression. [INFO] [stdout] 847 | | /// [INFO] [stdout] ... | [INFO] [stdout] 856 | | } [INFO] [stdout] 857 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::expr::Member` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/expr.rs:752:1 [INFO] [stdout] | [INFO] [stdout] 752 | / ast_enum! { [INFO] [stdout] 753 | | /// A struct or tuple struct field accessed in a struct literal or field [INFO] [stdout] 754 | | /// expression. [INFO] [stdout] 755 | | #[cfg_attr(doc_cfg, doc(cfg(any(feature = "full", feature = "derive"))))] [INFO] [stdout] ... | [INFO] [stdout] 761 | | } [INFO] [stdout] 762 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | ty: field.ty.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:994:9 [INFO] [stdout] | [INFO] [stdout] 994 | vis, [INFO] [stdout] | ^^^ expected `syn::restriction::Visibility`, found `Visibility` [INFO] [stdout] | [INFO] [stdout] = note: `Visibility` and `syn::restriction::Visibility` have similar names, but are actually distinct types [INFO] [stdout] note: `Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / ast_enum_of_structs! { [INFO] [stdout] 174 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 175 | | /// `pub(restricted)`. [INFO] [stdout] 176 | | /// [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::restriction::Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/restriction.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_enum! { [INFO] [stdout] 5 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 6 | | /// `pub(restricted)`. [INFO] [stdout] 7 | | /// [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `register_name` and `use_nullable` in initializer of `NapiStruct` [INFO] [stdout] --> src/parser/mod.rs:991:30 [INFO] [stdout] | [INFO] [stdout] 991 | item: NapiItem::Struct(NapiStruct { [INFO] [stdout] | ^^^^^^^^^^ missing `register_name` and `use_nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:1095:9 [INFO] [stdout] | [INFO] [stdout] 1036 | task_output_type = Some(m.ty.clone()); [INFO] [stdout] | ---------------- here the type of `task_output_type` is inferred to be `Option` [INFO] [stdout] ... [INFO] [stdout] 1095 | task_output_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:1096:9 [INFO] [stdout] | [INFO] [stdout] 1040 | iterator_yield_type = Some(m.ty.clone()); [INFO] [stdout] | ------------------- here the type of `iterator_yield_type` is inferred to be `Option` [INFO] [stdout] ... [INFO] [stdout] 1096 | iterator_yield_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:1097:9 [INFO] [stdout] | [INFO] [stdout] 1042 | iterator_next_type = Some(m.ty.clone()); [INFO] [stdout] | ------------------ here the type of `iterator_next_type` is inferred to be `Option` [INFO] [stdout] ... [INFO] [stdout] 1097 | iterator_next_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:1098:9 [INFO] [stdout] | [INFO] [stdout] 1044 | iterator_return_type = Some(m.ty.clone()); [INFO] [stdout] | -------------------- here the type of `iterator_return_type` is inferred to be `Option` [INFO] [stdout] ... [INFO] [stdout] 1098 | iterator_return_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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[E0063]: missing field `register_name` in initializer of `NapiImpl` [INFO] [stdout] --> src/parser/mod.rs:1091:28 [INFO] [stdout] | [INFO] [stdout] 1091 | item: NapiItem::Impl(NapiImpl { [INFO] [stdout] | ^^^^^^^^ missing `register_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `register_name` in initializer of `NapiEnum` [INFO] [stdout] --> src/parser/mod.rs:1208:28 [INFO] [stdout] | [INFO] [stdout] 1208 | item: NapiItem::Enum(NapiEnum { [INFO] [stdout] | ^^^^^^^^ missing `register_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/mod.rs:1229:22 [INFO] [stdout] | [INFO] [stdout] 1229 | type_name: *self.ty.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `syn::ty::Type`, found `syn::Type` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Type` and `syn::ty::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> src/parser/mod.rs:1230:18 [INFO] [stdout] | [INFO] [stdout] 1230 | value: *self.expr.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `syn::expr::Expr`, found `syn::Expr` [INFO] [stdout] | [INFO] [stdout] = note: `syn::Expr` and `syn::expr::Expr` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::Expr` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/expr.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / ast_enum_of_structs! { [INFO] [stdout] 15 | | /// A Rust expression. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 249 | | } [INFO] [stdout] 250 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::expr::Expr` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.57/src/expr.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / ast_enum_of_structs! { [INFO] [stdout] 30 | | /// A Rust expression. [INFO] [stdout] 31 | | /// [INFO] [stdout] 32 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 257 | | } [INFO] [stdout] 258 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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[E0063]: missing field `register_name` in initializer of `NapiConst` [INFO] [stdout] --> src/parser/mod.rs:1224:31 [INFO] [stdout] | [INFO] [stdout] 1224 | item: NapiItem::Const(NapiConst { [INFO] [stdout] | ^^^^^^^^^ missing `register_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `napi-derive` (lib) due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `napi-derive` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "40c08c2bdac8b84ff9d6a88bb1a121e3332601a6da6296acdb5d3e622cebc352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c08c2bdac8b84ff9d6a88bb1a121e3332601a6da6296acdb5d3e622cebc352", kill_on_drop: false }` [INFO] [stdout] 40c08c2bdac8b84ff9d6a88bb1a121e3332601a6da6296acdb5d3e622cebc352