The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ABIBridge, reference v0.12.0 (c5e350), with Swift 6.4 for Wasm on 17 Oct 2026 10:17:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/ABIBridge.git
Reference: v0.12.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/lynnswap/ABIBridge
 * tag               v0.12.0    -> FETCH_HEAD
HEAD is now at c5e3500 Merge pull request #394 from lynnswap/codex/loaded-image-metadata
Cloned https://github.com/lynnswap/ABIBridge.git
Revision (git rev-parse @):
c5e3500bf31fd1e2a8058d4fcba7332b5e8ebe8f
SUCCESS checkout https://github.com/lynnswap/ABIBridge.git at v0.12.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/lynnswap/ABIBridge.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/lynnswap/ZDLibffi.git
Fetching https://github.com/p-x9/swift-objc-dump.git
Fetching https://github.com/p-x9/MachOKit.git
[1/800] Fetching zdlibffi
[33/1283] Fetching zdlibffi, swift-objc-dump
[668/9273] Fetching zdlibffi, swift-objc-dump, machokit
Fetched https://github.com/p-x9/swift-objc-dump.git (0.39s)
[3517/8790] Fetching zdlibffi, machokit
Fetched https://github.com/lynnswap/ZDLibffi.git (0.47s)
Fetched https://github.com/p-x9/MachOKit.git (0.47s)
Computing version for https://github.com/lynnswap/ZDLibffi.git
warning: 'zdlibffi': /Package.swift:8:15: warning: 'v10' is deprecated: iOS 15.0 is the oldest supported version [#DeprecatedDeclaration]
 6 |     name: "ZDLibffi",
 7 |     platforms: [
 8 |         .iOS(.v10),
   |               `- warning: 'v10' is deprecated: iOS 15.0 is the oldest supported version [#DeprecatedDeclaration]
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
/Package.swift:9:17: warning: 'v10_12' is deprecated: macOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 7 |     platforms: [
 8 |         .iOS(.v10),
 9 |         .macOS(.v10_12),
   |                 `- warning: 'v10_12' is deprecated: macOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
10 |         .tvOS(.v10),
11 |         .watchOS(.v3),
/Package.swift:10:16: warning: 'v10' is deprecated: tvOS 15.0 is the oldest supported version [#DeprecatedDeclaration]
 8 |         .iOS(.v10),
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
   |                `- warning: 'v10' is deprecated: tvOS 15.0 is the oldest supported version [#DeprecatedDeclaration]
11 |         .watchOS(.v3),
12 |         .visionOS(.v1)
/Package.swift:11:19: warning: 'v3' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
11 |         .watchOS(.v3),
   |                   `- warning: 'v3' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
12 |         .visionOS(.v1)
13 |     ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/lynnswap/ZDLibffi.git at 0.380.1 (0.61s)
Computing version for https://github.com/p-x9/swift-objc-dump.git
Computed https://github.com/p-x9/swift-objc-dump.git at 0.9.0 (0.12s)
Computing version for https://github.com/p-x9/MachOKit.git
warning: 'machokit': /Package.swift:145:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
143 | }
144 |
145 | extension SwiftSetting: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
146 |     public static var allCases: [Self] {
147 |         [
Computed https://github.com/p-x9/MachOKit.git at 0.55.0 (0.17s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
[1/91] Fetching swift-fileio-extra
[92/350] Fetching swift-fileio-extra, objectarchivekit
[206/1040] Fetching swift-fileio-extra, objectarchivekit, swift-fileio
[959/19722] Fetching swift-fileio-extra, objectarchivekit, swift-fileio, swift-crypto
[960/19978] Fetching swift-fileio-extra, objectarchivekit, swift-fileio, swift-crypto, swift-binary-parse-support
Fetched https://github.com/p-x9/swift-binary-parse-support.git (0.38s)
Fetched https://github.com/p-x9/swift-fileio-extra.git (0.38s)
Fetched https://github.com/p-x9/swift-fileio.git (0.38s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git (0.38s)
[561/18682] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.19s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (1.35s)
Computing version for https://github.com/p-x9/swift-binary-parse-support.git
Computed https://github.com/p-x9/swift-binary-parse-support.git at 0.3.0 (0.12s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.4.0 (0.14s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.15.1 (0.12s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.89s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.24s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/p-x9/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/lynnswap/ZDLibffi.git
Working copy of https://github.com/lynnswap/ZDLibffi.git resolved at 0.380.1
Creating working copy for https://github.com/p-x9/MachOKit.git
Working copy of https://github.com/p-x9/MachOKit.git resolved at 0.55.0
Creating working copy for https://github.com/p-x9/swift-binary-parse-support.git
Working copy of https://github.com/p-x9/swift-binary-parse-support.git resolved at 0.3.0
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.15.1
Creating working copy for https://github.com/p-x9/swift-objc-dump.git
Working copy of https://github.com/p-x9/swift-objc-dump.git resolved at 0.9.0
Creating working copy for https://github.com/p-x9/swift-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.4.0
warning: 'zdlibffi': /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Package.swift:8:15: warning: 'v10' is deprecated: iOS 15.0 is the oldest supported version [#DeprecatedDeclaration]
 6 |     name: "ZDLibffi",
 7 |     platforms: [
 8 |         .iOS(.v10),
   |               `- warning: 'v10' is deprecated: iOS 15.0 is the oldest supported version [#DeprecatedDeclaration]
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Package.swift:9:17: warning: 'v10_12' is deprecated: macOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 7 |     platforms: [
 8 |         .iOS(.v10),
 9 |         .macOS(.v10_12),
   |                 `- warning: 'v10_12' is deprecated: macOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
10 |         .tvOS(.v10),
11 |         .watchOS(.v3),
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Package.swift:10:16: warning: 'v10' is deprecated: tvOS 15.0 is the oldest supported version [#DeprecatedDeclaration]
 8 |         .iOS(.v10),
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
   |                `- warning: 'v10' is deprecated: tvOS 15.0 is the oldest supported version [#DeprecatedDeclaration]
11 |         .watchOS(.v3),
12 |         .visionOS(.v1)
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Package.swift:11:19: warning: 'v3' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
11 |         .watchOS(.v3),
   |                   `- warning: 'v3' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
12 |         .visionOS(.v1)
13 |     ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:145:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
143 | }
144 |
145 | extension SwiftSetting: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
146 |     public static var allCases: [Self] {
147 |         [
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 600]
[Planning deferred tasks]
[6 / 235] FileIOBinary-product
In file included from /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/raw_api.c:30:
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:129:1: error: unknown type name 'ffi_status'
  129 | ffi_status ffi_prep_cif_machdep(ffi_cif *cif);
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:129:33: error: unknown type name 'ffi_cif'
  129 | ffi_status ffi_prep_cif_machdep(ffi_cif *cif);
      |                                 ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:130:1: error: unknown type name 'ffi_status'
  130 | ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif,
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:130:37: error: unknown type name 'ffi_cif'
  130 | ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif,
      |                                     ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:140:1: error: unknown type name 'ffi_status'
  140 | ffi_status ffi_prep_cif_core(ffi_cif *cif,
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:140:30: error: unknown type name 'ffi_cif'
  140 | ffi_status ffi_prep_cif_core(ffi_cif *cif,
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:141:9: error: unknown type name 'ffi_abi'
  141 |                              ffi_abi abi,
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:145:9: error: unknown type name 'ffi_type'
  145 |                              ffi_type *rtype,
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:146:9: error: unknown type name 'ffi_type'
  146 |                              ffi_type **atypes);
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:150:45: error: expected function body after function declarator
  150 | void *ffi_data_to_code_pointer (void *data) FFI_HIDDEN;
      |                                             ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:154:42: error: expected function body after function declarator
  154 | int ffi_tramp_is_present (void *closure) FFI_HIDDEN;
      |                                          ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:158:31: error: expected function body after function declarator
  158 | int open_temp_exec_file(void) FFI_HIDDEN;
      |                               ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:163:3: error: unknown type name 'ffi_cif'
  163 |   ffi_cif *cif;
      |   ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/raw_api.c:34:1: error: unknown type name 'size_t'
   34 | size_t
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/raw_api.c:35:15: error: unknown type name 'ffi_cif'
   35 | ffi_raw_size (ffi_cif *cif)
      |               ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/raw_api.c:37:3: error: use of undeclared identifier 'size_t'; did you mean 'sizeof'?
   37 |   size_t result = 0;
      |   ^~~~~~
      |   sizeof
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/raw_api.c:37:10: error: use of undeclared identifier 'result'
   37 |   size_t result = 0;
      |          ^~~~~~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/raw_api.c:40:3: error: use of undeclared identifier 'ffi_type'
   40 |   ffi_type **at = cif->arg_types;
      |   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/raw_api.c:40:14: error: use of undeclared identifier 'at'
   40 |   ffi_type **at = cif->arg_types;
      |              ^~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/raw_api.o /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/raw_api.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/raw_api.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/raw_api.dia -c /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/raw_api.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/raw_api.o
In file included from /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/prep_cif.c:28:
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:129:1: error: unknown type name 'ffi_status'
  129 | ffi_status ffi_prep_cif_machdep(ffi_cif *cif);
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:129:33: error: unknown type name 'ffi_cif'
  129 | ffi_status ffi_prep_cif_machdep(ffi_cif *cif);
      |                                 ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:130:1: error: unknown type name 'ffi_status'
  130 | ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif,
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:130:37: error: unknown type name 'ffi_cif'
  130 | ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif,
      |                                     ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:140:1: error: unknown type name 'ffi_status'
  140 | ffi_status ffi_prep_cif_core(ffi_cif *cif,
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:140:30: error: unknown type name 'ffi_cif'
  140 | ffi_status ffi_prep_cif_core(ffi_cif *cif,
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:141:9: error: unknown type name 'ffi_abi'
  141 |                              ffi_abi abi,
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:145:9: error: unknown type name 'ffi_type'
  145 |                              ffi_type *rtype,
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:146:9: error: unknown type name 'ffi_type'
  146 |                              ffi_type **atypes);
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:150:45: error: expected function body after function declarator
  150 | void *ffi_data_to_code_pointer (void *data) FFI_HIDDEN;
      |                                             ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:154:42: error: expected function body after function declarator
  154 | int ffi_tramp_is_present (void *closure) FFI_HIDDEN;
      |                                          ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:158:31: error: expected function body after function declarator
  158 | int open_temp_exec_file(void) FFI_HIDDEN;
      |                               ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:163:3: error: unknown type name 'ffi_cif'
  163 |   ffi_cif *cif;
      |   ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/prep_cif.c:52:8: error: unknown type name 'ffi_status'
   52 | static ffi_status
      |        ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/prep_cif.c:53:20: error: unknown type name 'ffi_type'
   53 | initialize_vector (ffi_type *arg)
      |                    ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/prep_cif.c:55:3: error: use of undeclared identifier 'ffi_type'
   55 |   ffi_type **ptr = arg->elements;
      |   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/prep_cif.c:55:14: error: use of undeclared identifier 'ptr'
   55 |   ffi_type **ptr = arg->elements;
      |              ^~~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/prep_cif.c:56:3: error: use of undeclared identifier 'ffi_type'
   56 |   ffi_type *elem;
      |   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/prep_cif.c:56:13: error: use of undeclared identifier 'elem'
   56 |   ffi_type *elem;
      |             ^~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/prep_cif.o /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/prep_cif.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/prep_cif.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/prep_cif.dia -c /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/prep_cif.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/prep_cif.o
In file included from /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/types.c:32:
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:129:1: error: unknown type name 'ffi_status'
  129 | ffi_status ffi_prep_cif_machdep(ffi_cif *cif);
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:129:33: error: unknown type name 'ffi_cif'
  129 | ffi_status ffi_prep_cif_machdep(ffi_cif *cif);
      |                                 ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:130:1: error: unknown type name 'ffi_status'
  130 | ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif,
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:130:37: error: unknown type name 'ffi_cif'
  130 | ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif,
      |                                     ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:140:1: error: unknown type name 'ffi_status'
  140 | ffi_status ffi_prep_cif_core(ffi_cif *cif,
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:140:30: error: unknown type name 'ffi_cif'
  140 | ffi_status ffi_prep_cif_core(ffi_cif *cif,
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:141:9: error: unknown type name 'ffi_abi'
  141 |                              ffi_abi abi,
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:145:9: error: unknown type name 'ffi_type'
  145 |                              ffi_type *rtype,
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:146:9: error: unknown type name 'ffi_type'
  146 |                              ffi_type **atypes);
      |                              ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:150:45: error: expected function body after function declarator
  150 | void *ffi_data_to_code_pointer (void *data) FFI_HIDDEN;
      |                                             ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:154:42: error: expected function body after function declarator
  154 | int ffi_tramp_is_present (void *closure) FFI_HIDDEN;
      |                                          ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:158:31: error: expected function body after function declarator
  158 | int open_temp_exec_file(void) FFI_HIDDEN;
      |                               ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/include/ffi_common.h:163:3: error: unknown type name 'ffi_cif'
  163 |   ffi_cif *cif;
      |   ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/types.c:37:10: error: use of undeclared identifier 'FFI_VERSION_STRING'
   37 |   return FFI_VERSION_STRING;
      |          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/types.c:43:10: error: use of undeclared identifier 'FFI_VERSION_NUMBER'
   43 |   return FFI_VERSION_NUMBER;
      |          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/types.c:48:10: error: use of undeclared identifier 'FFI_DEFAULT_ABI'
   48 |   return FFI_DEFAULT_ABI;
      |          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/types.c:51:1: error: unknown type name 'size_t'
   51 | size_t ffi_get_closure_size (void)
      | ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/types.c:53:17: error: use of undeclared identifier 'ffi_closure'
   53 |   return sizeof(ffi_closure);
      |                 ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/types.c:87:1: error: unknown type name 'FFI_EXTERN'
   87 | FFI_EXTERN const ffi_type ffi_type_void = {
      | ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/types.o /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/types.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/types.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/types.dia -c /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/types.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ZDLibffi.build/Debug-webassembly-wasm32/ZDLibffi-t.build/Objects-normal/wasm32/types.o
error: Build failed
BUILD FAILURE 6.4 wasm