[INFO] fetching crate ffishim 0.1.2... [INFO] testing ffishim-0.1.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ffishim 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate ffishim 0.1.2 [INFO] finished tweaking crates.io crate ffishim 0.1.2 [INFO] tweaked toml for crates.io crate ffishim 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ffishim 0.1.2 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 18 packages to latest compatible versions [INFO] [stderr] Adding paste v0.1.18 (available: v1.0.15) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4973340e776cd89e30bbbe356b060eee5976bfdee05848832b3c58f1d961e0bb [INFO] running `Command { std: "docker" "start" "-a" "4973340e776cd89e30bbbe356b060eee5976bfdee05848832b3c58f1d961e0bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4973340e776cd89e30bbbe356b060eee5976bfdee05848832b3c58f1d961e0bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4973340e776cd89e30bbbe356b060eee5976bfdee05848832b3c58f1d961e0bb", kill_on_drop: false }` [INFO] [stdout] 4973340e776cd89e30bbbe356b060eee5976bfdee05848832b3c58f1d961e0bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e2a9ad17c5d06c6067c6fd618ea4851d2b6efc6734252893824453463c7a23bc [INFO] running `Command { std: "docker" "start" "-a" "e2a9ad17c5d06c6067c6fd618ea4851d2b6efc6734252893824453463c7a23bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ffishim v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `heck::SnakeCase` [INFO] [stdout] --> src/new.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ::heck::SnakeCase; [INFO] [stdout] | ^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AsSnakeCase` [INFO] [stdout] | no `SnakeCase` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `heck::SnakeCase` [INFO] [stdout] --> src/free.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ::heck::SnakeCase; [INFO] [stdout] | ^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AsSnakeCase` [INFO] [stdout] | no `SnakeCase` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FnArg` in `syn` [INFO] [stdout] --> src/function.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | ::syn::FnArg::Receiver(_) => panic!("self receiver not handled in functions"), [INFO] [stdout] | ^^^^^ could not find `FnArg` in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | FnArg, ForeignItem, ForeignItemFn, ForeignItemMacro, ForeignItemStatic, ForeignItemType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FnArg` in `syn` [INFO] [stdout] --> src/function.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | ::syn::FnArg::Typed(patty) => ::syn::FnArg::Typed(::syn::PatType{ [INFO] [stdout] | ^^^^^ could not find `FnArg` in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | FnArg, ForeignItem, ForeignItemFn, ForeignItemMacro, ForeignItemStatic, ForeignItemType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FnArg` in `syn` [INFO] [stdout] --> src/function.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | ::syn::FnArg::Typed(patty) => ::syn::FnArg::Typed(::syn::PatType{ [INFO] [stdout] | ^^^^^ could not find `FnArg` in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | FnArg, ForeignItem, ForeignItemFn, ForeignItemMacro, ForeignItemStatic, ForeignItemType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `FnArg` in `syn` [INFO] [stdout] --> src/function.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | if let ::syn::FnArg::Typed(pat) = arg { [INFO] [stdout] | ^^^^^ could not find `FnArg` in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | FnArg, ForeignItem, ForeignItemFn, ForeignItemMacro, ForeignItemStatic, ForeignItemType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnArg` in crate `syn` [INFO] [stdout] --> src/lib.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | pub ffi_args: Vec<::syn::FnArg>, [INFO] [stdout] | ^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | FnArg, ForeignItem, ForeignItemFn, ForeignItemMacro, ForeignItemStatic, ForeignItemType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemFn` in crate `syn` [INFO] [stdout] --> src/function.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn from_item_fn(ifn: &::syn::ItemFn) -> Self { [INFO] [stdout] | ^^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnArg` in crate `syn` [INFO] [stdout] --> src/function.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | fn arg_to_ffi_arg(arg: &::syn::FnArg) -> ::syn::FnArg { [INFO] [stdout] | ^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | FnArg, ForeignItem, ForeignItemFn, ForeignItemMacro, ForeignItemStatic, ForeignItemType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnArg` in crate `syn` [INFO] [stdout] --> src/function.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | fn arg_to_ffi_arg(arg: &::syn::FnArg) -> ::syn::FnArg { [INFO] [stdout] | ^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | FnArg, ForeignItem, ForeignItemFn, ForeignItemMacro, ForeignItemStatic, ForeignItemType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PatType` in crate `syn` [INFO] [stdout] --> src/function.rs:38:66 [INFO] [stdout] | [INFO] [stdout] 38 | ::syn::FnArg::Typed(patty) => ::syn::FnArg::Typed(::syn::PatType{ [INFO] [stdout] | ^^^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:418:61 [INFO] [stdout] | [INFO] [stdout] 418 | PatRest, PatSlice, PatStruct, PatTuple, PatTupleStruct, PatType, PatWild, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:415:7 [INFO] [stdout] | [INFO] [stdout] 415 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemFn` in crate `syn` [INFO] [stdout] --> src/function.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | fn call_expr_from_item_fn(ifn: &::syn::ItemFn) -> ::syn::Expr { [INFO] [stdout] | ^^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arm` in crate `syn` [INFO] [stdout] --> src/from.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | let arms: Vec<::syn::Arm> = variants.iter().map(|v| { [INFO] [stdout] | ^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | Arm, FieldValue, GenericMethodArgument, Label, MethodTurbofish, RangeLimits, [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:335:7 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldValue` in crate `syn` [INFO] [stdout] --> src/from.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | let field_inits: Vec<::syn::FieldValue> = fields.iter().zip(exprs).map(|(field, expr)| { [INFO] [stdout] | ^^^^^^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:337:10 [INFO] [stdout] | [INFO] [stdout] 337 | Arm, FieldValue, GenericMethodArgument, Label, MethodTurbofish, RangeLimits, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:335:7 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arm` in crate `syn` [INFO] [stdout] --> src/try_into.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let arms: Vec<::syn::Arm> = variants.iter().map(|v| { [INFO] [stdout] | ^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | Arm, FieldValue, GenericMethodArgument, Label, MethodTurbofish, RangeLimits, [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:335:7 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldValue` in crate `syn` [INFO] [stdout] --> src/try_into.rs:102:37 [INFO] [stdout] | [INFO] [stdout] 102 | let field_inits: Vec<::syn::FieldValue> = fields.iter().zip(exprs).map(|(field, expr)| { [INFO] [stdout] | ^^^^^^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:337:10 [INFO] [stdout] | [INFO] [stdout] 337 | Arm, FieldValue, GenericMethodArgument, Label, MethodTurbofish, RangeLimits, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:335:7 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemFn` in crate `syn` [INFO] [stdout] --> src/lib.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct News(Vec<::syn::ItemFn>); [INFO] [stdout] | ^^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemFn` in crate `syn` [INFO] [stdout] --> src/new.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | ) -> Vec<::syn::ItemFn> { [INFO] [stdout] | ^^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemFn` in crate `syn` [INFO] [stdout] --> src/new.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> Option<::syn::ItemFn> { [INFO] [stdout] | ^^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnArg` in crate `syn` [INFO] [stdout] --> src/new.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | let field_decls: Vec<::syn::FnArg> = fields.iter().enumerate().map(|(idx, field)| { [INFO] [stdout] | ^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | FnArg, ForeignItem, ForeignItemFn, ForeignItemMacro, ForeignItemStatic, ForeignItemType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arm` in crate `syn` [INFO] [stdout] --> src/free.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | let arms: Vec<::syn::Arm> = variants.iter().map(|v| { [INFO] [stdout] | ^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | Arm, FieldValue, GenericMethodArgument, Label, MethodTurbofish, RangeLimits, [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:335:7 [INFO] [stdout] | [INFO] [stdout] 335 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemFn` in crate `syn` [INFO] [stdout] --> src/library/result.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn free_result_function() -> ::syn::ItemFn { [INFO] [stdout] | ^^^^^^ not found in `syn` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `full` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lib.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[cfg(feature = "full")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PatType` in this scope [INFO] [stdout] --> src/helpers.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | PatType => fn unwrap_ident_as_expr(&self) -> Expr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Path` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, FromDeriveInput)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 33 | pub constructor: Option<::syn::Path>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `syn::Path` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Path` [INFO] [stdout] = help: the trait `Debug` is implemented for `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub constructor: Option<::syn::Path>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected fn pointer, found fn item [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'a> fn(&'a syn::Meta) -> Result<_, _>` [INFO] [stdout] found fn item `for<'a> fn(&'a syn::attr::Meta) -> Result<_, _> {<_ as FromMeta>::from_meta}` [INFO] [stdout] help: the return type of this call is `for<'a> fn(&'a syn::attr::Meta) -> Result<_, darling::Error> {<_ as FromMeta>::from_meta}` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub constructor: Option<::syn::Path>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `identity` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:105:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub constructor: Option<::syn::Path>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `syn::Meta`, found `syn::attr::Meta` [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/attr.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | / ast_enum_of_structs! { [INFO] [stdout] 337 | | /// Content of a compile-time structured attribute. [INFO] [stdout] 338 | | /// [INFO] [stdout] 339 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 370 | | } [INFO] [stdout] | |_^ this is the expected type `syn::Meta` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate darling; [INFO] [stdout] | --------------------- one version of crate `syn` used here, as a dependency of crate `darling_core` [INFO] [stdout] | [INFO] [stdout] ::: src/types/scalars.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.104/src/attr.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 451 | / ast_enum! { [INFO] [stdout] 452 | | /// Content of a compile-time structured attribute. [INFO] [stdout] 453 | | /// [INFO] [stdout] 454 | | /// ## Path [INFO] [stdout] ... | [INFO] [stdout] 482 | | } [INFO] [stdout] | |_^ this is the found type `syn::attr::Meta` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub opaque: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected fn pointer, found fn item [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'a> fn(&'a syn::Meta) -> Result<_, _>` [INFO] [stdout] found fn item `for<'a> fn(&'a syn::attr::Meta) -> Result<_, _> {<_ as FromMeta>::from_meta}` [INFO] [stdout] help: the return type of this call is `for<'a> fn(&'a syn::attr::Meta) -> Result<_, darling::Error> {<_ as FromMeta>::from_meta}` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub opaque: bool, [INFO] [stdout] | ^^^^ this argument influences the return type of `identity` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:105:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub opaque: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `syn::Meta`, found `syn::attr::Meta` [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/attr.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | / ast_enum_of_structs! { [INFO] [stdout] 337 | | /// Content of a compile-time structured attribute. [INFO] [stdout] 338 | | /// [INFO] [stdout] 339 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 370 | | } [INFO] [stdout] | |_^ this is the expected type `syn::Meta` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate darling; [INFO] [stdout] | --------------------- one version of crate `syn` used here, as a dependency of crate `darling_core` [INFO] [stdout] | [INFO] [stdout] ::: src/types/scalars.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.104/src/attr.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 451 | / ast_enum! { [INFO] [stdout] 452 | | /// Content of a compile-time structured attribute. [INFO] [stdout] 453 | | /// [INFO] [stdout] 454 | | /// ## Path [INFO] [stdout] ... | [INFO] [stdout] 482 | | } [INFO] [stdout] | |_^ this is the found type `syn::attr::Meta` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Visibility` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, FromField)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 65 | pub vis: ::syn::Visibility, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `syn::Visibility` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Visibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, FromField)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 67 | pub ty: ::syn::Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub opaque: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected fn pointer, found fn item [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'a> fn(&'a syn::Meta) -> Result<_, _>` [INFO] [stdout] found fn item `for<'a> fn(&'a syn::attr::Meta) -> Result<_, _> {<_ as FromMeta>::from_meta}` [INFO] [stdout] help: the return type of this call is `for<'a> fn(&'a syn::attr::Meta) -> Result<_, darling::Error> {<_ as FromMeta>::from_meta}` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub opaque: bool, [INFO] [stdout] | ^^^^ this argument influences the return type of `identity` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:105:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | pub opaque: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `syn::Meta`, found `syn::attr::Meta` [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/attr.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | / ast_enum_of_structs! { [INFO] [stdout] 337 | | /// Content of a compile-time structured attribute. [INFO] [stdout] 338 | | /// [INFO] [stdout] 339 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 370 | | } [INFO] [stdout] | |_^ this is the expected type `syn::Meta` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate darling; [INFO] [stdout] | --------------------- one version of crate `syn` used here, as a dependency of crate `darling_core` [INFO] [stdout] | [INFO] [stdout] ::: src/types/scalars.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.104/src/attr.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 451 | / ast_enum! { [INFO] [stdout] 452 | | /// Content of a compile-time structured attribute. [INFO] [stdout] 453 | | /// [INFO] [stdout] 454 | | /// ## Path [INFO] [stdout] ... | [INFO] [stdout] 482 | | } [INFO] [stdout] | |_^ this is the found type `syn::attr::Meta` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, FromField)] [INFO] [stdout] | ^^^^^^^^^ expected `syn::Type`, found `syn::ty::Type` [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/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] | |__^ this is the expected type `syn::Type` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate darling; [INFO] [stdout] | --------------------- one version of crate `syn` used here, as a dependency of crate `darling_core` [INFO] [stdout] | [INFO] [stdout] ::: src/types/scalars.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.104/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ this is the found type `syn::ty::Type` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the derive macro `FromField` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, FromField)] [INFO] [stdout] | ^^^^^^^^^ expected `syn::Visibility`, found `syn::restriction::Visibility` [INFO] [stdout] | [INFO] [stdout] = note: `syn::restriction::Visibility` and `syn::Visibility` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::restriction::Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.104/src/restriction.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_enum! { [INFO] [stdout] 5 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 6 | | /// `pub(restricted)`. [INFO] [stdout] 7 | | /// [INFO] [stdout] ... | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/data.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / ast_enum_of_structs! { [INFO] [stdout] 174 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 175 | | /// `pub(restricted)`. [INFO] [stdout] 176 | | /// [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the derive macro `FromField` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Path` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, FromVariant)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 80 | pub constructor: Option<::syn::Path>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `syn::Path` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Path` [INFO] [stdout] = help: the trait `Debug` is implemented for `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub constructor: Option<::syn::Path>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected fn pointer, found fn item [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'a> fn(&'a syn::Meta) -> Result<_, _>` [INFO] [stdout] found fn item `for<'a> fn(&'a syn::attr::Meta) -> Result<_, _> {<_ as FromMeta>::from_meta}` [INFO] [stdout] help: the return type of this call is `for<'a> fn(&'a syn::attr::Meta) -> Result<_, darling::Error> {<_ as FromMeta>::from_meta}` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub constructor: Option<::syn::Path>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `identity` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/convert/mod.rs:105:14 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub constructor: Option<::syn::Path>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `syn::Meta`, found `syn::attr::Meta` [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/attr.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | / ast_enum_of_structs! { [INFO] [stdout] 337 | | /// Content of a compile-time structured attribute. [INFO] [stdout] 338 | | /// [INFO] [stdout] 339 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 370 | | } [INFO] [stdout] | |_^ this is the expected type `syn::Meta` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate darling; [INFO] [stdout] | --------------------- one version of crate `syn` used here, as a dependency of crate `darling_core` [INFO] [stdout] | [INFO] [stdout] ::: src/types/scalars.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::syn::*; [INFO] [stdout] | --- one version of crate `syn` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.104/src/attr.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 451 | / ast_enum! { [INFO] [stdout] 452 | | /// Content of a compile-time structured attribute. [INFO] [stdout] 453 | | /// [INFO] [stdout] 454 | | /// ## Path [INFO] [stdout] ... | [INFO] [stdout] 482 | | } [INFO] [stdout] | |_^ this is the found type `syn::attr::Meta` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::ReturnType` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 98 | pub ffi_output: ::syn::ReturnType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `syn::ReturnType` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::ReturnType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Expr` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 99 | pub call_expr: ::syn::Expr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `syn::Expr` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/function.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | crate::types::Result.from(sty, call_expr) [INFO] [stdout] | ---- ^^^ expected `&Type`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&syn::Type` [INFO] [stdout] found struct `std::boxed::Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/types/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn from(&self, sty: &::syn::Type, name: ::syn::Expr) -> ::syn::Expr; [INFO] [stdout] | ^^^^ --- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 76 | crate::types::Result.from(&sty, call_expr) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/function.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | crate::types::Result.wrap_success(sty, call_expr) [INFO] [stdout] | ------------ ^^^ expected `&Type`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&syn::Type` [INFO] [stdout] found struct `std::boxed::Box` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/types/result.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn wrap_success(&self, sty: &Type, expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^ ---------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 78 | crate::types::Result.wrap_success(&sty, call_expr) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_snake_case` found for struct `String` in the current scope [INFO] [stdout] --> src/new.rs:64:76 [INFO] [stdout] | [INFO] [stdout] 64 | let func_name = new_ident(&format!("new_{}", orig_name.to_string().to_snake_case())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToSnakeCase` which provides `to_snake_case` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use heck::ToSnakeCase; [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_shouty_snake_case` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | let func_name = new_ident(&format!("new_{}", orig_name.to_string().to_shouty_snake_case())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_snake_case` found for struct `String` in the current scope [INFO] [stdout] --> src/free.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | let func_name = new_ident(&format!("free_{}", data.ident.to_string().to_snake_case())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToSnakeCase` which provides `to_snake_case` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use heck::ToSnakeCase; [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_shouty_snake_case` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 | let func_name = new_ident(&format!("free_{}", data.ident.to_string().to_shouty_snake_case())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `syn::Path` [INFO] [stdout] --> src/types/scalars.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | ::syn::parse_str::<::syn::Path>(t).unwrap() == tp.path [INFO] [stdout] | ------------------------------------------- ^^ ------- syn::Path [INFO] [stdout] | | [INFO] [stdout] | syn::Path [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `syn::Path` doesn't implement `PartialEq` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/path.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_struct! { [INFO] [stdout] 5 | | /// A path at which a named item is exported (e.g. `std::collections::HashMap`). [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ not implement `PartialEq` [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[E0433]: failed to resolve: use of undeclared type `Pat` [INFO] [stdout] --> src/helpers.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | Pat::Ident(patid) => { let id = patid.ident.clone(); parse_quote!{ #id } }, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Pat` [INFO] [stdout] | help: a struct with a similar name exists: `Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0412, E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ffishim` (lib) due to 45 previous errors [INFO] running `Command { std: "docker" "inspect" "e2a9ad17c5d06c6067c6fd618ea4851d2b6efc6734252893824453463c7a23bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2a9ad17c5d06c6067c6fd618ea4851d2b6efc6734252893824453463c7a23bc", kill_on_drop: false }` [INFO] [stdout] e2a9ad17c5d06c6067c6fd618ea4851d2b6efc6734252893824453463c7a23bc