[INFO] fetching crate ffishim_derive 0.1.2... [INFO] checking ffishim_derive-0.1.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ffishim_derive 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate ffishim_derive 0.1.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ffishim_derive 0.1.2 [INFO] finished tweaking crates.io crate ffishim_derive 0.1.2 [INFO] tweaked toml for crates.io crate ffishim_derive 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 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.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ffishim v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 425311070df697b377c83d53b087d3f1a21c497729ee36757a8ffde8cdabfee6 [INFO] running `Command { std: "docker" "start" "-a" "425311070df697b377c83d53b087d3f1a21c497729ee36757a8ffde8cdabfee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "425311070df697b377c83d53b087d3f1a21c497729ee36757a8ffde8cdabfee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "425311070df697b377c83d53b087d3f1a21c497729ee36757a8ffde8cdabfee6", kill_on_drop: false }` [INFO] [stdout] 425311070df697b377c83d53b087d3f1a21c497729ee36757a8ffde8cdabfee6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7ffcb09f54fbe916a90798aedbdbb2593834d8620073b1ff21c94681fdfa3a3 [INFO] running `Command { std: "docker" "start" "-a" "d7ffcb09f54fbe916a90798aedbdbb2593834d8620073b1ff21c94681fdfa3a3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking darling v0.20.10 [INFO] [stderr] Checking ffishim v0.1.2 [INFO] [stdout] error[E0432]: unresolved import `heck::SnakeCase` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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-6f17d22bba15001f/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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`, which is required by `Option: Debug` [INFO] [stdout] = help: the trait `Debug` is implemented for `Option` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Path: FromMeta` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/src/lib.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub constructor: Option<::syn::Path>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `FromMeta` is not implemented for `syn::Path`, which is required by `Option: FromMeta` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromMeta`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] AtomicBool [INFO] [stdout] Flag [INFO] [stdout] HashMap [INFO] [stdout] HashMap [INFO] [stdout] HashMap [INFO] [stdout] IdentString [INFO] [stdout] and 94 others [INFO] [stdout] = note: required for `Option` to implement `FromMeta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Visibility` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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`, which is required by `&syn::Type: Debug` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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: `syn::ty::Type` and `syn::Type` have similar names, but are actually distinct types [INFO] [stdout] note: `syn::ty::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.77/src/ty.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / ast_enum_of_structs! { [INFO] [stdout] 14 | | /// The possible types that a Rust value could have. [INFO] [stdout] 15 | | /// [INFO] [stdout] 16 | | /// # Syntax tree enum [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::Type` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `syn` are being used? [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/syn-2.0.77/src/restriction.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / ast_enum! { [INFO] [stdout] 5 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 6 | | /// `pub(restricted)`. [INFO] [stdout] 7 | | /// [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `syn::Visibility` is defined in crate `syn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/data.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / ast_enum_of_structs! { [INFO] [stdout] 174 | | /// The visibility level of an item: inherited or `pub` or [INFO] [stdout] 175 | | /// `pub(restricted)`. [INFO] [stdout] 176 | | /// [INFO] [stdout] ... | [INFO] [stdout] 199 | | } [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: 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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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`, which is required by `Option: Debug` [INFO] [stdout] = help: the trait `Debug` is implemented for `Option` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Path: FromMeta` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub constructor: Option<::syn::Path>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `FromMeta` is not implemented for `syn::Path`, which is required by `Option: FromMeta` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromMeta`: [INFO] [stdout] () [INFO] [stdout] Arc [INFO] [stdout] AtomicBool [INFO] [stdout] Flag [INFO] [stdout] HashMap [INFO] [stdout] HashMap [INFO] [stdout] HashMap [INFO] [stdout] IdentString [INFO] [stdout] and 94 others [INFO] [stdout] = note: required for `Option` to implement `FromMeta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::ReturnType` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Expr` doesn't implement `Debug` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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`, which is required by `&syn::Expr: Debug` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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-6f17d22bba15001f/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] 13 | | } [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffishim-0.1.2/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] error: aborting due to 39 previous errors [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 40 previous errors [INFO] running `Command { std: "docker" "inspect" "d7ffcb09f54fbe916a90798aedbdbb2593834d8620073b1ff21c94681fdfa3a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ffcb09f54fbe916a90798aedbdbb2593834d8620073b1ff21c94681fdfa3a3", kill_on_drop: false }` [INFO] [stdout] d7ffcb09f54fbe916a90798aedbdbb2593834d8620073b1ff21c94681fdfa3a3