[INFO] fetching crate mrml-parse-macros 0.1.0... [INFO] checking mrml-parse-macros-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate mrml-parse-macros 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate mrml-parse-macros 0.1.0 [INFO] finished tweaking crates.io crate mrml-parse-macros 0.1.0 [INFO] tweaked toml for crates.io crate mrml-parse-macros 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mrml-parse-macros 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding darling v0.14.4 (available: v0.21.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mrml-common-macros v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a14533c7d43670b115352008f0790a91c5482cb1c3f09f1a843b5b047f2d47b [INFO] running `Command { std: "docker" "start" "-a" "1a14533c7d43670b115352008f0790a91c5482cb1c3f09f1a843b5b047f2d47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a14533c7d43670b115352008f0790a91c5482cb1c3f09f1a843b5b047f2d47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a14533c7d43670b115352008f0790a91c5482cb1c3f09f1a843b5b047f2d47b", kill_on_drop: false }` [INFO] [stdout] 1a14533c7d43670b115352008f0790a91c5482cb1c3f09f1a843b5b047f2d47b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1959f3426606042bf53418756671bab157367406e67859c0e8b06b49760cad9 [INFO] running `Command { std: "docker" "start" "-a" "c1959f3426606042bf53418756671bab157367406e67859c0e8b06b49760cad9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking mrml-common-macros v0.1.4 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking darling v0.14.4 [INFO] [stderr] Checking mrml-parse-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attributes.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | if as_path(field).map(is_option).unwrap_or(false) { [INFO] [stdout] | ------- ^^^^^ expected `syn::data::Field`, found `syn::Field` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/data.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / ast_struct! { [INFO] [stdout] 149 | | /// A field of a struct or enum variant. [INFO] [stdout] 150 | | /// [INFO] [stdout] 151 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ this is the found type `syn::Field` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [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:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | / ast_struct! { [INFO] [stdout] 182 | | /// A field of a struct or enum variant. [INFO] [stdout] 183 | | #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] [INFO] [stdout] 184 | | pub struct Field { [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ this is the expected type `syn::data::Field` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_path(field: &Field) -> Option<&Path> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attributes.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | if as_path(field).map(is_option).unwrap_or(false) { [INFO] [stdout] | ------- ^^^^^ expected `syn::data::Field`, found `syn::Field` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/data.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / ast_struct! { [INFO] [stdout] 149 | | /// A field of a struct or enum variant. [INFO] [stdout] 150 | | /// [INFO] [stdout] 151 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ this is the found type `syn::Field` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [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:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | / ast_struct! { [INFO] [stdout] 182 | | /// A field of a struct or enum variant. [INFO] [stdout] 183 | | #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] [INFO] [stdout] 184 | | pub struct Field { [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ this is the expected type `syn::data::Field` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_path(field: &Field) -> Option<&Path> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attributes.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | let struct_fields = get_fields(ast) [INFO] [stdout] | ---------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_fields(ast: &DeriveInput) -> &Punctuated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/attributes.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_builder_struct_field(field: &Field) -> Option { [INFO] [stdout] | --------------------------------------------------------------------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 67 | .filter_map(create_builder_struct_field); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&syn::data::Field) -> _` [INFO] [stdout] found function signature `fn(&syn::Field) -> _` [INFO] [stdout] note: required by a bound in `filter_map` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:937:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 67 | .filter_map(|arg0: &syn::data::Field| create_builder_struct_field(/* &syn::Field */)); [INFO] [stdout] | +++++++++++++++++++++++++ +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attributes.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | let build_fields = get_fields(ast) [INFO] [stdout] | ---------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_fields(ast: &DeriveInput) -> &Punctuated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/attributes.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn create_builder_build_field(field: &Field) -> Option { [INFO] [stdout] | -------------------------------------------------------------------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 71 | .filter_map(create_builder_build_field); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&syn::data::Field) -> _` [INFO] [stdout] found function signature `fn(&syn::Field) -> _` [INFO] [stdout] note: required by a bound in `filter_map` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:937:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 71 | .filter_map(|arg0: &syn::data::Field| create_builder_build_field(/* &syn::Field */)); [INFO] [stdout] | +++++++++++++++++++++++++ +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attributes.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 73 | let insert_fields = get_fields(ast) [INFO] [stdout] | ---------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_fields(ast: &DeriveInput) -> &Punctuated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/attributes.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 42 | fn create_builder_insert_field(field: &Field) -> Option { [INFO] [stdout] | --------------------------------------------------------------------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 75 | .filter_map(create_builder_insert_field); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&syn::data::Field) -> _` [INFO] [stdout] found function signature `fn(&syn::Field) -> _` [INFO] [stdout] note: required by a bound in `filter_map` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:937:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 75 | .filter_map(|arg0: &syn::data::Field| create_builder_insert_field(/* &syn::Field */)); [INFO] [stdout] | +++++++++++++++++++++++++ +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attributes.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | if as_path(field).map(is_option).unwrap_or(false) { [INFO] [stdout] | ------- ^^^^^ expected `syn::data::Field`, found `syn::Field` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/data.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / ast_struct! { [INFO] [stdout] 149 | | /// A field of a struct or enum variant. [INFO] [stdout] 150 | | /// [INFO] [stdout] 151 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ this is the found type `syn::Field` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [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:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | / ast_struct! { [INFO] [stdout] 182 | | /// A field of a struct or enum variant. [INFO] [stdout] 183 | | #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] [INFO] [stdout] 184 | | pub struct Field { [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ this is the expected type `syn::data::Field` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_path(field: &Field) -> Option<&Path> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `quote_into_iter` exists for struct `FilterMap, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/attributes.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / quote! { [INFO] [stdout] 78 | | #[derive(Debug, Default)] [INFO] [stdout] 79 | | struct #builder_ident { [INFO] [stdout] 80 | | #(#struct_fields)* [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ method cannot be called on `FilterMap, ...>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: Iterator` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: Iterator` [INFO] [stdout] which is required by `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: quote::ToTokens` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: quote::__private::ext::RepToTokensExt` [INFO] [stdout] `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: Iterator` [INFO] [stdout] which is required by `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mrml_parse_macros-ebe9c732f0163d4e.long-type-13421222082342466198.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_into_iter` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attributes.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | if as_path(field).map(is_option).unwrap_or(false) { [INFO] [stdout] | ------- ^^^^^ expected `syn::data::Field`, found `syn::Field` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/data.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / ast_struct! { [INFO] [stdout] 149 | | /// A field of a struct or enum variant. [INFO] [stdout] 150 | | /// [INFO] [stdout] 151 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ this is the found type `syn::Field` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [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:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | / ast_struct! { [INFO] [stdout] 182 | | /// A field of a struct or enum variant. [INFO] [stdout] 183 | | #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] [INFO] [stdout] 184 | | pub struct Field { [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ this is the expected type `syn::data::Field` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_path(field: &Field) -> Option<&Path> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attributes.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | let struct_fields = get_fields(ast) [INFO] [stdout] | ---------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_fields(ast: &DeriveInput) -> &Punctuated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `quote_into_iter` exists for struct `FilterMap, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/attributes.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / quote! { [INFO] [stdout] 78 | | #[derive(Debug, Default)] [INFO] [stdout] 79 | | struct #builder_ident { [INFO] [stdout] 80 | | #(#struct_fields)* [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ method cannot be called on `FilterMap, ...>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: Iterator` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: Iterator` [INFO] [stdout] which is required by `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: quote::ToTokens` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: quote::__private::ext::RepToTokensExt` [INFO] [stdout] `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: Iterator` [INFO] [stdout] which is required by `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mrml_parse_macros-ebe9c732f0163d4e.long-type-9092310802258565640.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_into_iter` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/attributes.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_builder_struct_field(field: &Field) -> Option { [INFO] [stdout] | --------------------------------------------------------------------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 67 | .filter_map(create_builder_struct_field); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&syn::data::Field) -> _` [INFO] [stdout] found function signature `fn(&syn::Field) -> _` [INFO] [stdout] note: required by a bound in `filter_map` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:937:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 67 | .filter_map(|arg0: &syn::data::Field| create_builder_struct_field(/* &syn::Field */)); [INFO] [stdout] | +++++++++++++++++++++++++ +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attributes.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | let build_fields = get_fields(ast) [INFO] [stdout] | ---------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_fields(ast: &DeriveInput) -> &Punctuated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/attributes.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn create_builder_build_field(field: &Field) -> Option { [INFO] [stdout] | -------------------------------------------------------------------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 71 | .filter_map(create_builder_build_field); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&syn::data::Field) -> _` [INFO] [stdout] found function signature `fn(&syn::Field) -> _` [INFO] [stdout] note: required by a bound in `filter_map` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:937:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 71 | .filter_map(|arg0: &syn::data::Field| create_builder_build_field(/* &syn::Field */)); [INFO] [stdout] | +++++++++++++++++++++++++ +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/attributes.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 73 | let insert_fields = get_fields(ast) [INFO] [stdout] | ---------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_fields(ast: &DeriveInput) -> &Punctuated { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/attributes.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 42 | fn create_builder_insert_field(field: &Field) -> Option { [INFO] [stdout] | --------------------------------------------------------------------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 75 | .filter_map(create_builder_insert_field); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&syn::data::Field) -> _` [INFO] [stdout] found function signature `fn(&syn::Field) -> _` [INFO] [stdout] note: required by a bound in `filter_map` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:937:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 75 | .filter_map(|arg0: &syn::data::Field| create_builder_insert_field(/* &syn::Field */)); [INFO] [stdout] | +++++++++++++++++++++++++ +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `quote_into_iter` exists for struct `FilterMap, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/attributes.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / quote! { [INFO] [stdout] 78 | | #[derive(Debug, Default)] [INFO] [stdout] 79 | | struct #builder_ident { [INFO] [stdout] 80 | | #(#struct_fields)* [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ method cannot be called on `FilterMap, ...>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: Iterator` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: Iterator` [INFO] [stdout] which is required by `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: quote::ToTokens` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: quote::__private::ext::RepToTokensExt` [INFO] [stdout] `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: Iterator` [INFO] [stdout] which is required by `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mrml_parse_macros-ebe9c732f0163d4e.long-type-17442911518887832748.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_into_iter` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `quote_into_iter` exists for struct `FilterMap, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/attributes.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / quote! { [INFO] [stdout] 78 | | #[derive(Debug, Default)] [INFO] [stdout] 79 | | struct #builder_ident { [INFO] [stdout] 80 | | #(#struct_fields)* [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ method cannot be called on `FilterMap, ...>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: Iterator` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: Iterator` [INFO] [stdout] which is required by `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: quote::ToTokens` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: quote::__private::ext::RepToTokensExt` [INFO] [stdout] `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: Iterator` [INFO] [stdout] which is required by `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_struct_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mrml_parse_macros-9307182ade6978b2.long-type-13837059467870685547.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_into_iter` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | match get_attributes_kind(ast) { [INFO] [stdout] | ------------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_attributes_kind(ast: &DeriveInput) -> AttributesKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | match get_attributes_kind(ast) { [INFO] [stdout] | ------------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_attributes_kind(ast: &DeriveInput) -> AttributesKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | match get_attributes_kind(ast) { [INFO] [stdout] | ------------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_attributes_kind(ast: &DeriveInput) -> AttributesKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `quote_into_iter` exists for struct `FilterMap, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/attributes.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / quote! { [INFO] [stdout] 78 | | #[derive(Debug, Default)] [INFO] [stdout] 79 | | struct #builder_ident { [INFO] [stdout] 80 | | #(#struct_fields)* [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ method cannot be called on `FilterMap, ...>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: Iterator` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: Iterator` [INFO] [stdout] which is required by `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: quote::ToTokens` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: quote::__private::ext::RepToTokensExt` [INFO] [stdout] `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: Iterator` [INFO] [stdout] which is required by `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_build_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mrml_parse_macros-9307182ade6978b2.long-type-711501270214788311.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_into_iter` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | match get_attributes_kind(ast) { [INFO] [stdout] | ------------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_attributes_kind(ast: &DeriveInput) -> AttributesKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `quote_into_iter` exists for struct `FilterMap, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/attributes.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / quote! { [INFO] [stdout] 78 | | #[derive(Debug, Default)] [INFO] [stdout] 79 | | struct #builder_ident { [INFO] [stdout] 80 | | #(#struct_fields)* [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ method cannot be called on `FilterMap, ...>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: Iterator` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: Iterator` [INFO] [stdout] which is required by `&FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: quote::ToTokens` [INFO] [stdout] which is required by `FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: quote::__private::ext::RepToTokensExt` [INFO] [stdout] `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: Iterator` [INFO] [stdout] which is required by `&mut FilterMap, for<'a> fn(&'a syn::Field) -> Option {create_builder_insert_field}>: quote::__private::ext::RepIteratorExt` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mrml_parse_macros-9307182ade6978b2.long-type-12392365864456556320.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_into_iter` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mrml-parse-macros` (lib test) due to 21 previous errors [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0631. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | match get_attributes_kind(ast) { [INFO] [stdout] | ------------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_attributes_kind(ast: &DeriveInput) -> AttributesKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | match get_attributes_kind(ast) { [INFO] [stdout] | ------------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_attributes_kind(ast: &DeriveInput) -> AttributesKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | match get_attributes_kind(ast) { [INFO] [stdout] | ------------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_attributes_kind(ast: &DeriveInput) -> AttributesKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | match get_attributes_kind(ast) { [INFO] [stdout] | ------------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_attributes_kind(ast: &DeriveInput) -> AttributesKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/element.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | match get_children_kind(ast) { [INFO] [stdout] | ----------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: src/attributes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mrml_common_macros::{as_path, get_fields, is_option}; [INFO] [stdout] | ------------------ one version of crate `syn` used here, as a dependency of crate `mrml_common_macros` [INFO] [stdout] ... [INFO] [stdout] 5 | use syn::{parse_macro_input, DeriveInput, Field, Ident}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mrml-common-macros-0.1.4/src/lib.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_children_kind(ast: &DeriveInput) -> ChildrenKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mrml-parse-macros` (lib) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "c1959f3426606042bf53418756671bab157367406e67859c0e8b06b49760cad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1959f3426606042bf53418756671bab157367406e67859c0e8b06b49760cad9", kill_on_drop: false }` [INFO] [stdout] c1959f3426606042bf53418756671bab157367406e67859c0e8b06b49760cad9