[INFO] fetching crate namewise 2.6.8... [INFO] checking namewise-2.6.8 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate namewise 2.6.8 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate namewise 2.6.8 [INFO] finished tweaking crates.io crate namewise 2.6.8 [INFO] tweaked toml for crates.io crate namewise 2.6.8 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate namewise 2.6.8 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 21 packages to latest compatible versions [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 namewise-common v2.6.8 [INFO] [stderr] Downloaded namewise-derive v2.6.8 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4f551d23f53e8d06fd9aa406256da89727f04f548919013324a137758c57724 [INFO] running `Command { std: "docker" "start" "-a" "e4f551d23f53e8d06fd9aa406256da89727f04f548919013324a137758c57724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4f551d23f53e8d06fd9aa406256da89727f04f548919013324a137758c57724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f551d23f53e8d06fd9aa406256da89727f04f548919013324a137758c57724", kill_on_drop: false }` [INFO] [stdout] e4f551d23f53e8d06fd9aa406256da89727f04f548919013324a137758c57724 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d13b8710cc99b6af616b80fe3a36892d4820391807227334afdfe93a69a64a9 [INFO] running `Command { std: "docker" "start" "-a" "3d13b8710cc99b6af616b80fe3a36892d4820391807227334afdfe93a69a64a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking namewise-common v2.6.8 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling namewise-derive v2.6.8 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_from.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | let params = Params::from_derive_input(&derive_input).expect("Failed to parse inputs"); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `syn::DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_from.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use darling::{FromDeriveInput, FromField}; [INFO] [stdout] | ------- one version of crate `syn` used here, as a dependency of crate `darling_core` [INFO] [stdout] ... [INFO] [stdout] 4 | use syn::{parse_macro_input, DeriveInput, Ident, Type, Variant}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/darling_core-0.21.3/src/from_derive_input.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn from_derive_input(input: &DeriveInput) -> Result; [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[E0277]: the trait bound `syn::Type: FromMeta` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_from.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | types: Vec, [INFO] [stdout] | ^^^^^^^^^ the trait `FromMeta` is not implemented for `syn::Type` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromMeta`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] AtomicBool [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeMap [INFO] [stdout] Callable [INFO] [stdout] Flag [INFO] [stdout] HashMap [INFO] [stdout] and 99 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Variant: FromVariant` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_from.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | data: darling::ast::Data, [INFO] [stdout] | ^^^^ the trait `FromVariant` is not implemented for `syn::Variant` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromVariant`: [INFO] [stdout] () [INFO] [stdout] Ignored [INFO] [stdout] SpannedValue [INFO] [stdout] Vec [INFO] [stdout] WithOriginal [INFO] [stdout] proc_macro2::Ident [INFO] [stdout] syn::data::Variant [INFO] [stdout] note: required by a bound in `darling::ast::Data::::try_from` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/darling_core-0.21.3/src/ast/data/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | impl Data { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Data::::try_from` [INFO] [stdout] 124 | /// Attempt to convert from a `syn::Data` instance. [INFO] [stdout] 125 | pub fn try_from(body: &syn::Data) -> Result { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Variant: FromVariant` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_from.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(FromDeriveInput)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `FromVariant` is not implemented for `syn::Variant` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromVariant`: [INFO] [stdout] () [INFO] [stdout] Ignored [INFO] [stdout] SpannedValue [INFO] [stdout] Vec [INFO] [stdout] WithOriginal [INFO] [stdout] proc_macro2::Ident [INFO] [stdout] syn::data::Variant [INFO] [stdout] note: required by a bound in `darling::ast::Data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/darling_core-0.21.3/src/ast/data/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | impl Data { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Data` [INFO] [stdout] = note: this error originates in the derive macro `FromDeriveInput` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Type: FromMeta` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_from.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | mapper: Option, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `FromMeta` is not implemented for `syn::Type` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromMeta`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] AtomicBool [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeMap [INFO] [stdout] Callable [INFO] [stdout] Flag [INFO] [stdout] HashMap [INFO] [stdout] and 99 others [INFO] [stdout] = note: required for `Option` to implement `FromMeta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_into.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | let params = Params::from_derive_input(&derive_input).expect("Failed to parse inputs"); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `syn::DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_from.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use darling::{FromDeriveInput, FromField}; [INFO] [stdout] | ------- one version of crate `syn` used here, as a dependency of crate `darling_core` [INFO] [stdout] ... [INFO] [stdout] 4 | use syn::{parse_macro_input, DeriveInput, Ident, Type, Variant}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/darling_core-0.21.3/src/from_derive_input.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn from_derive_input(input: &DeriveInput) -> Result; [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[E0277]: the trait bound `syn::Type: FromMeta` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_into.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | types: Vec, [INFO] [stdout] | ^^^^^^^^^ the trait `FromMeta` is not implemented for `syn::Type` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromMeta`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] AtomicBool [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeMap [INFO] [stdout] Callable [INFO] [stdout] Flag [INFO] [stdout] HashMap [INFO] [stdout] and 99 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Variant: FromVariant` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_into.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | data: darling::ast::Data, [INFO] [stdout] | ^^^^ the trait `FromVariant` is not implemented for `syn::Variant` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromVariant`: [INFO] [stdout] () [INFO] [stdout] Ignored [INFO] [stdout] SpannedValue [INFO] [stdout] Vec [INFO] [stdout] WithOriginal [INFO] [stdout] proc_macro2::Ident [INFO] [stdout] syn::data::Variant [INFO] [stdout] note: required by a bound in `darling::ast::Data::::try_from` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/darling_core-0.21.3/src/ast/data/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | impl Data { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Data::::try_from` [INFO] [stdout] 124 | /// Attempt to convert from a `syn::Data` instance. [INFO] [stdout] 125 | pub fn try_from(body: &syn::Data) -> Result { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Variant: FromVariant` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_into.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(FromDeriveInput)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `FromVariant` is not implemented for `syn::Variant` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromVariant`: [INFO] [stdout] () [INFO] [stdout] Ignored [INFO] [stdout] SpannedValue [INFO] [stdout] Vec [INFO] [stdout] WithOriginal [INFO] [stdout] proc_macro2::Ident [INFO] [stdout] syn::data::Variant [INFO] [stdout] note: required by a bound in `darling::ast::Data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/darling_core-0.21.3/src/ast/data/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | impl Data { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Data` [INFO] [stdout] = note: this error originates in the derive macro `FromDeriveInput` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Type: FromMeta` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_into.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | mapper: Option, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `FromMeta` is not implemented for `syn::Type` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromMeta`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] AtomicBool [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeMap [INFO] [stdout] Callable [INFO] [stdout] Flag [INFO] [stdout] HashMap [INFO] [stdout] and 99 others [INFO] [stdout] = note: required for `Option` to implement `FromMeta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_try_from.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | let params = Params::from_derive_input(&derive_input).expect("Failed to parse inputs"); [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^ expected `syn::derive::DeriveInput`, found `syn::DeriveInput` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `syn` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` feature.* [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |__^ this is the found type `syn::DeriveInput` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_from.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use darling::{FromDeriveInput, FromField}; [INFO] [stdout] | ------- one version of crate `syn` used here, as a dependency of crate `darling_core` [INFO] [stdout] ... [INFO] [stdout] 4 | use syn::{parse_macro_input, DeriveInput, Ident, Type, Variant}; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.106/src/derive.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / ast_struct! { [INFO] [stdout] 10 | | /// Data structure sent to a `proc_macro_derive` macro. [INFO] [stdout] 11 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))] [INFO] [stdout] 12 | | pub struct DeriveInput { [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ this is the expected type `syn::derive::DeriveInput` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/darling_core-0.21.3/src/from_derive_input.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn from_derive_input(input: &DeriveInput) -> Result; [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[E0277]: the trait bound `syn::Type: FromMeta` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_try_from.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | types: Vec, [INFO] [stdout] | ^^^^^^^^^ the trait `FromMeta` is not implemented for `syn::Type` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromMeta`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] AtomicBool [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeMap [INFO] [stdout] Callable [INFO] [stdout] Flag [INFO] [stdout] HashMap [INFO] [stdout] and 99 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Variant: FromVariant` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_try_from.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | data: darling::ast::Data, [INFO] [stdout] | ^^^^ the trait `FromVariant` is not implemented for `syn::Variant` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromVariant`: [INFO] [stdout] () [INFO] [stdout] Ignored [INFO] [stdout] SpannedValue [INFO] [stdout] Vec [INFO] [stdout] WithOriginal [INFO] [stdout] proc_macro2::Ident [INFO] [stdout] syn::data::Variant [INFO] [stdout] note: required by a bound in `darling::ast::Data::::try_from` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/darling_core-0.21.3/src/ast/data/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | impl Data { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Data::::try_from` [INFO] [stdout] 124 | /// Attempt to convert from a `syn::Data` instance. [INFO] [stdout] 125 | pub fn try_from(body: &syn::Data) -> Result { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Variant: FromVariant` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_try_from.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(FromDeriveInput)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `FromVariant` is not implemented for `syn::Variant` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromVariant`: [INFO] [stdout] () [INFO] [stdout] Ignored [INFO] [stdout] SpannedValue [INFO] [stdout] Vec [INFO] [stdout] WithOriginal [INFO] [stdout] proc_macro2::Ident [INFO] [stdout] syn::data::Variant [INFO] [stdout] note: required by a bound in `darling::ast::Data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/darling_core-0.21.3/src/ast/data/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | impl Data { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Data` [INFO] [stdout] = note: this error originates in the derive macro `FromDeriveInput` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Type: FromMeta` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_try_from.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | mapper: Option, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `FromMeta` is not implemented for `syn::Type` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromMeta`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] AtomicBool [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeMap [INFO] [stdout] Callable [INFO] [stdout] Flag [INFO] [stdout] HashMap [INFO] [stdout] and 99 others [INFO] [stdout] = note: required for `Option` to implement `FromMeta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Expr: FromMeta` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/namewise-derive-2.6.8/src/derive_try_from.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | default_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `FromMeta` is not implemented for `syn::Expr` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromMeta`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] AtomicBool [INFO] [stdout] BTreeMap [INFO] [stdout] BTreeMap [INFO] [stdout] Callable [INFO] [stdout] Flag [INFO] [stdout] HashMap [INFO] [stdout] and 99 others [INFO] [stdout] = note: required for `Option` to implement `FromMeta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `namewise-derive` (lib) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "3d13b8710cc99b6af616b80fe3a36892d4820391807227334afdfe93a69a64a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d13b8710cc99b6af616b80fe3a36892d4820391807227334afdfe93a69a64a9", kill_on_drop: false }` [INFO] [stdout] 3d13b8710cc99b6af616b80fe3a36892d4820391807227334afdfe93a69a64a9