The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UIHostingMenu, reference v0.5.9 (a0249a), with Swift 6.3 for Wasm on 28 Oct 2026 19:27:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/UIHostingMenu.git
Reference: v0.5.9
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/UIHostingMenu
 * tag               v0.5.9     -> FETCH_HEAD
HEAD is now at a0249ae Adopt ABIBridge 0.13.2 runtime fixes (#34)
Cloned https://github.com/lynnswap/UIHostingMenu.git
Revision (git rev-parse @):
a0249aea0072ac43776316454c3c2d9361fcc9ff
SUCCESS checkout https://github.com/lynnswap/UIHostingMenu.git at v0.5.9
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/lynnswap/UIHostingMenu.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/lynnswap/ABIBridge.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/14420] Fetching abibridge
[2/16765] Fetching abibridge, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.54s)
[9806/14420] Fetching abibridge
Fetched https://github.com/lynnswap/ABIBridge.git from cache (0.87s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.75s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3849] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.68s)
Computing version for https://github.com/lynnswap/ABIBridge.git
Computed https://github.com/lynnswap/ABIBridge.git at 0.13.2 (0.84s)
Fetching https://github.com/p-x9/MachOKit.git
Fetching https://github.com/p-x9/swift-objc-dump.git
Fetching https://github.com/lynnswap/ZDLibffi.git
[1/800] Fetching zdlibffi
[801/1283] Fetching zdlibffi, swift-objc-dump
Fetched https://github.com/lynnswap/ZDLibffi.git from cache (0.43s)
[411/483] Fetching swift-objc-dump
[484/8571] Fetching swift-objc-dump, machokit
Fetched https://github.com/p-x9/swift-objc-dump.git from cache (0.74s)
Fetched https://github.com/p-x9/MachOKit.git from cache (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.93s)
Computing version for https://github.com/lynnswap/ZDLibffi.git
warning: 'zdlibffi': /Package.swift:8:15: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 6 |     name: "ZDLibffi",
 7 |     platforms: [
 8 |         .iOS(.v10),
   |               `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
/Package.swift:9:17: warning: 'v10_12' is deprecated: macOS 10.13 is the oldest supported version [#DeprecatedDeclaration]
 7 |     platforms: [
 8 |         .iOS(.v10),
 9 |         .macOS(.v10_12),
   |                 `- warning: 'v10_12' is deprecated: macOS 10.13 is the oldest supported version [#DeprecatedDeclaration]
10 |         .tvOS(.v10),
11 |         .watchOS(.v3),
/Package.swift:10:16: warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 8 |         .iOS(.v10),
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
   |                `- warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 |         .watchOS(.v3),
12 |         .visionOS(.v1)
/Package.swift:11:19: warning: 'v3' is deprecated: watchOS 4.0 is the oldest supported version [#DeprecatedDeclaration]
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
11 |         .watchOS(.v3),
   |                   `- warning: 'v3' is deprecated: watchOS 4.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.13s)
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.13s)
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.18s)
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
[1/256] Fetching swift-binary-parse-support
[183/347] Fetching swift-binary-parse-support, swift-fileio-extra
[348/606] Fetching swift-binary-parse-support, swift-fileio-extra, objectarchivekit
[607/1296] Fetching swift-binary-parse-support, swift-fileio-extra, objectarchivekit, swift-fileio
[1146/20155] Fetching swift-binary-parse-support, swift-fileio-extra, objectarchivekit, swift-fileio, swift-crypto
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (1.40s)
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (1.40s)
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (1.40s)
Fetched https://github.com/p-x9/swift-fileio.git from cache (1.40s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.42s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (1.58s)
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.13s)
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.16s)
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.13s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.21s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.48s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.37s)
Creating working copy for https://github.com/lynnswap/ABIBridge.git
Working copy of https://github.com/lynnswap/ABIBridge.git resolved at 0.13.2
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/lynnswap/ZDLibffi.git
Working copy of https://github.com/lynnswap/ZDLibffi.git resolved at 0.380.1
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/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/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/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-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.4.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
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
warning: 'zdlibffi': /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Package.swift:8:15: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 6 |     name: "ZDLibffi",
 7 |     platforms: [
 8 |         .iOS(.v10),
   |               `- warning: 'v10' is deprecated: iOS 12.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 10.13 is the oldest supported version [#DeprecatedDeclaration]
 7 |     platforms: [
 8 |         .iOS(.v10),
 9 |         .macOS(.v10_12),
   |                 `- warning: 'v10_12' is deprecated: macOS 10.13 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 12.0 is the oldest supported version [#DeprecatedDeclaration]
 8 |         .iOS(.v10),
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
   |                `- warning: 'v10' is deprecated: tvOS 12.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 4.0 is the oldest supported version [#DeprecatedDeclaration]
 9 |         .macOS(.v10_12),
10 |         .tvOS(.v10),
11 |         .watchOS(.v3),
   |                   `- warning: 'v3' is deprecated: watchOS 4.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 |         [
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
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.
[2/59] Compiling raw_api.c
[2/59] Compiling tramp.c
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;
      |   ^
[2/59] Compiling prep_cif.c
[2/59] Compiling unix64_x86_64.S
[2/59] Compiling win64_x86_64.S
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.
[2/59] Compiling types.c
In file included from /host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/java_raw_api.c:39:
/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/java_raw_api.c:45:20: error: unknown type name 'ffi_cif'
   45 | ffi_java_raw_size (ffi_cif *cif)
      |                    ^
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/java_raw_api.c:50:3: error: use of undeclared identifier 'ffi_type'
   50 |   ffi_type **at = cif->arg_types;
      |   ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/java_raw_api.c:50:14: error: use of undeclared identifier 'at'
   50 |   ffi_type **at = cif->arg_types;
      |              ^~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/java_raw_api.c:52:39: error: use of undeclared identifier 'at'
   52 |   for (i = cif->nargs-1; i >= 0; i--, at++)
      |                                       ^~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/java_raw_api.c:54:16: error: use of undeclared identifier 'at'
   54 |       switch((*at) -> type) {
      |                ^~
/host/spi-builder-workspace/.build/checkouts/ZDLibffi/Source/src/common/java_raw_api.c:55:7: error: use of undeclared identifier 'FFI_TYPE_UINT64'
   55 |         case FFI_TYPE_UINT64:
      |              ^~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[2/59] Compiling java_raw_api.c
[2/59] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm