[INFO] fetching crate mrml-parse-macros 0.1.0... [INFO] testing mrml-parse-macros-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate mrml-parse-macros 0.1.0 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mrml-parse-macros 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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.20.11) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ef9d3ccf901bd57934c04a9b90fd0a0f516e4d0c319a238598da94eb4e8253e [INFO] running `Command { std: "docker" "start" "-a" "5ef9d3ccf901bd57934c04a9b90fd0a0f516e4d0c319a238598da94eb4e8253e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ef9d3ccf901bd57934c04a9b90fd0a0f516e4d0c319a238598da94eb4e8253e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef9d3ccf901bd57934c04a9b90fd0a0f516e4d0c319a238598da94eb4e8253e", kill_on_drop: false }` [INFO] [stdout] 5ef9d3ccf901bd57934c04a9b90fd0a0f516e4d0c319a238598da94eb4e8253e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 974342f3078c2e9de92c5b8be954aabf7a9ac8741c1010de00f2bea9bb43a3db [INFO] running `Command { std: "docker" "start" "-a" "974342f3078c2e9de92c5b8be954aabf7a9ac8741c1010de00f2bea9bb43a3db", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling mrml-common-macros v0.1.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling 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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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-2.0.104/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] | [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] = 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 `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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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-2.0.104/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] | [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] = 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 `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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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_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: 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_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: 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_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: 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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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-2.0.104/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] | [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] = 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 `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" "974342f3078c2e9de92c5b8be954aabf7a9ac8741c1010de00f2bea9bb43a3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974342f3078c2e9de92c5b8be954aabf7a9ac8741c1010de00f2bea9bb43a3db", kill_on_drop: false }` [INFO] [stdout] 974342f3078c2e9de92c5b8be954aabf7a9ac8741c1010de00f2bea9bb43a3db