The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IMessage, reference main (68cbfa), with Swift 6.2 for Wasm on 25 Nov 2026 08:52:11 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/beeper/platform-imessage.git
Reference: main
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/beeper/platform-imessage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 68cbfa0 Move Dock suppression off the main thread (#174)
Updating files:  57% (1049/1840)
Updating files:  58% (1068/1840)
Updating files:  59% (1086/1840)
Updating files:  60% (1104/1840)
Updating files:  61% (1123/1840)
Updating files:  62% (1141/1840)
Updating files:  63% (1160/1840)
Updating files:  64% (1178/1840)
Updating files:  65% (1196/1840)
Updating files:  66% (1215/1840)
Updating files:  67% (1233/1840)
Updating files:  68% (1252/1840)
Updating files:  69% (1270/1840)
Updating files:  70% (1288/1840)
Updating files:  71% (1307/1840)
Updating files:  72% (1325/1840)
Updating files:  73% (1344/1840)
Updating files:  74% (1362/1840)
Updating files:  75% (1380/1840)
Updating files:  76% (1399/1840)
Updating files:  77% (1417/1840)
Updating files:  78% (1436/1840)
Updating files:  79% (1454/1840)
Updating files:  80% (1472/1840)
Updating files:  81% (1491/1840)
Updating files:  82% (1509/1840)
Updating files:  83% (1528/1840)
Updating files:  84% (1546/1840)
Updating files:  85% (1564/1840)
Updating files:  86% (1583/1840)
Updating files:  87% (1601/1840)
Updating files:  88% (1620/1840)
Updating files:  89% (1638/1840)
Updating files:  90% (1656/1840)
Updating files:  91% (1675/1840)
Updating files:  92% (1693/1840)
Updating files:  93% (1712/1840)
Updating files:  94% (1730/1840)
Updating files:  95% (1748/1840)
Updating files:  96% (1767/1840)
Updating files:  97% (1785/1840)
Updating files:  98% (1804/1840)
Updating files:  99% (1822/1840)
Updating files: 100% (1840/1840)
Updating files: 100% (1840/1840), done.
Cloned https://github.com/beeper/platform-imessage.git
Revision (git rev-parse @):
68cbfa0d88aacc3d746052136f47fb3e71711dce
SUCCESS checkout https://github.com/beeper/platform-imessage.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/beeper/platform-imessage.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-async-algorithms
[1/11910] Fetching yams
[2/18921] Fetching yams, swift-async-algorithms
[5133/27505] Fetching yams, swift-async-algorithms, swift-log
Fetched https://github.com/apple/swift-async-algorithms from cache (0.59s)
[13271/20494] Fetching yams, swift-log
Fetching https://github.com/beeper/BetterSwiftAX.git
[14540/51005] Fetching yams, swift-log, swift-collections
[14899/133382] Fetching yams, swift-log, swift-collections, swift-syntax
[82524/134110] Fetching yams, swift-log, swift-collections, swift-syntax, betterswiftax
Fetched https://github.com/beeper/BetterSwiftAX.git from cache (0.56s)
Fetching https://github.com/sindresorhus/ExceptionCatcher
[87251/133382] Fetching yams, swift-log, swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
[87220/102871] Fetching yams, swift-log, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.43s)
[76134/90961] Fetching swift-log, swift-syntax
[81901/91065] Fetching swift-log, swift-syntax, exceptioncatcher
Fetched https://github.com/sindresorhus/ExceptionCatcher from cache (0.33s)
[83548/90961] Fetching swift-log, swift-syntax
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (4.05s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.07s)
[1/19452] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.05s)
Computing version for https://github.com/beeper/BetterSwiftAX.git
Computed https://github.com/beeper/BetterSwiftAX.git at 0.3.0 (5.31s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.2 (0.19s)
Computing version for https://github.com/sindresorhus/ExceptionCatcher
Computed https://github.com/sindresorhus/ExceptionCatcher at 2.2.1 (0.15s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.7 (0.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.15s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.0-prerelease-2025-10-30 (0.96s)
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.0-prerelease-2025-10-30
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/beeper/BetterSwiftAX.git
Working copy of https://github.com/beeper/BetterSwiftAX.git resolved at 0.3.0
Creating working copy for https://github.com/sindresorhus/ExceptionCatcher
Working copy of https://github.com/sindresorhus/ExceptionCatcher resolved at 2.2.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.2
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/7] Emitting module GenerateIMessageCLIVersion
[4/7] Compiling GenerateIMessageCLIVersion GenerateIMessageCLIVersion.swift
[5/8] Wrapping AST for GenerateIMessageCLIVersion for debugging
[6/8] Write Objects.LinkFileList
[7/8] Linking GenerateIMessageCLIVersion-tool
/host/spi-builder-workspace/src/IMessage/Plugins/GenerateIMessageCLIVersionPlugin/Plugin.swift:7:43: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
 5 |     func createBuildCommands(context: PluginContext, target: Target) async throws -> [Command] {
 6 |         let tool = try context.tool(named: "GenerateIMessageCLIVersion")
 7 |         let packageJSON = context.package.directory.appending("package.json")
   |                                           |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
   |                                           `- note: use 'directoryURL' instead
 8 |         let output = context.pluginWorkDirectory.appending("IMessageCLIVersion.swift")
 9 |
/host/spi-builder-workspace/src/IMessage/Plugins/GenerateIMessageCLIVersionPlugin/Plugin.swift:7:53: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 5 |     func createBuildCommands(context: PluginContext, target: Target) async throws -> [Command] {
 6 |         let tool = try context.tool(named: "GenerateIMessageCLIVersion")
 7 |         let packageJSON = context.package.directory.appending("package.json")
   |                                                     `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 8 |         let output = context.pluginWorkDirectory.appending("IMessageCLIVersion.swift")
 9 |
/host/spi-builder-workspace/src/IMessage/Plugins/GenerateIMessageCLIVersionPlugin/Plugin.swift:8:30: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
 6 |         let tool = try context.tool(named: "GenerateIMessageCLIVersion")
 7 |         let packageJSON = context.package.directory.appending("package.json")
 8 |         let output = context.pluginWorkDirectory.appending("IMessageCLIVersion.swift")
   |                              |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
   |                              `- note: use 'pluginWorkDirectoryURL' instead
 9 |
10 |         return [
/host/spi-builder-workspace/src/IMessage/Plugins/GenerateIMessageCLIVersionPlugin/Plugin.swift:8:50: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 6 |         let tool = try context.tool(named: "GenerateIMessageCLIVersion")
 7 |         let packageJSON = context.package.directory.appending("package.json")
 8 |         let output = context.pluginWorkDirectory.appending("IMessageCLIVersion.swift")
   |                                                  `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 9 |
10 |         return [
/host/spi-builder-workspace/src/IMessage/Plugins/GenerateIMessageCLIVersionPlugin/Plugin.swift:11:14: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 9 |
10 |         return [
11 |             .buildCommand(
   |              `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
12 |                 displayName: "Generate iMessage CLI version source",
13 |                 executable: tool.path,
/host/spi-builder-workspace/src/IMessage/Plugins/GenerateIMessageCLIVersionPlugin/Plugin.swift:13:34: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
11 |             .buildCommand(
12 |                 displayName: "Generate iMessage CLI version source",
13 |                 executable: tool.path,
   |                                  |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
   |                                  `- note: use 'url' instead
14 |                 arguments: [packageJSON.string, output.string],
15 |                 inputFiles: [packageJSON],
/host/spi-builder-workspace/src/IMessage/Plugins/GenerateIMessageCLIVersionPlugin/Plugin.swift:14:41: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
12 |                 displayName: "Generate iMessage CLI version source",
13 |                 executable: tool.path,
14 |                 arguments: [packageJSON.string, output.string],
   |                                         `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
15 |                 inputFiles: [packageJSON],
16 |                 outputFiles: [output]
/host/spi-builder-workspace/src/IMessage/Plugins/GenerateIMessageCLIVersionPlugin/Plugin.swift:14:56: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
12 |                 displayName: "Generate iMessage CLI version source",
13 |                 executable: tool.path,
14 |                 arguments: [packageJSON.string, output.string],
   |                                                        `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
15 |                 inputFiles: [packageJSON],
16 |                 outputFiles: [output]
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin GenerateIMessageCLIVersionPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/121] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/ExceptionCatcher/Sources/ExceptionCatcherInternal/ExceptionCatcher.m:1:
/host/spi-builder-workspace/.build/checkouts/ExceptionCatcher/Sources/ExceptionCatcherInternal/include/ExceptionCatcher.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[43/121] Compiling ExceptionCatcherInternal ExceptionCatcher.m
[43/121] Compiling EmojiSPIObjc EmojiSPIObjc.m
[43/121] Compiling writer.c
[43/121] Compiling _SwiftSyntaxCShims PlatformMutex.c
[43/121] Compiling scanner.c
[43/121] Compiling reader.c
In file included from /host/spi-builder-workspace/src/IMessage/Sources/IMessagePrivateSPI/IMessagePrivateSPI.m:1:
/host/spi-builder-workspace/src/IMessage/Sources/IMessagePrivateSPI/include/IMessagePrivateSPI.h:1:9: fatal error: 'AppKit/AppKit.h' file not found
    1 | #import <AppKit/AppKit.h>
      |         ^~~~~~~~~~~~~~~~~
[43/121] Compiling IMessagePrivateSPI IMessagePrivateSPI.m
[43/121] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm