Build Information
Failed to build MattermostSwift, reference 0.1.0 (ec9b42), with Swift 6.1 for macOS (SPM) on 11 Jul 2026 16:08:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/randomsnowflake/MattermostSwift.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/randomsnowflake/MattermostSwift
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at ec9b428 Prepare package compatibility and license
Cloned https://github.com/randomsnowflake/MattermostSwift.git
Revision (git rev-parse @):
ec9b42869b662fc24af6bbc39d6147db05cfeff3
SUCCESS checkout https://github.com/randomsnowflake/MattermostSwift.git at 0.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/randomsnowflake/MattermostSwift.git
https://github.com/randomsnowflake/MattermostSwift.git
{
"dependencies" : [
],
"manifest_display_name" : "MattermostSwift",
"name" : "MattermostSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "MattermostSwift",
"targets" : [
"MattermostSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MattermostSwiftCLI",
"targets" : [
"MattermostSwiftCLI"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "MattermostSwiftTests",
"module_type" : "SwiftTarget",
"name" : "MattermostSwiftTests",
"path" : "Tests/MattermostSwiftTests",
"sources" : [
"CLIHelpersTests.swift",
"MattermostCachedModelsTests.swift",
"MattermostClientRequestTests.swift",
"MattermostConfigurationTests.swift",
"MattermostHTTPClientErrorTests.swift",
"MattermostLiveEventsDecodingTests.swift",
"MattermostLiveSyncServiceTests.swift",
"MattermostStoreTests.swift",
"MattermostStringUtilitiesTests.swift",
"MattermostSyncServiceTests.swift",
"ModelsDecodingTests.swift",
"TestSupport.swift"
],
"target_dependencies" : [
"MattermostSwift",
"MattermostSwiftCLI"
],
"type" : "test"
},
{
"c99name" : "MattermostSwiftCLI",
"module_type" : "SwiftTarget",
"name" : "MattermostSwiftCLI",
"path" : "Sourcecode/MattermostSwiftCLI",
"product_memberships" : [
"MattermostSwiftCLI"
],
"sources" : [
"CLICommands.swift",
"CLIDispatch.swift",
"CLIEntry.swift",
"CLIOutput.swift",
"CLIResolvers.swift",
"CLIScenarios.swift",
"Command.swift"
],
"target_dependencies" : [
"MattermostSwift"
],
"type" : "executable"
},
{
"c99name" : "MattermostSwift",
"module_type" : "SwiftTarget",
"name" : "MattermostSwift",
"path" : "Sourcecode/MattermostSwift",
"product_memberships" : [
"MattermostSwift",
"MattermostSwiftCLI"
],
"sources" : [
"MattermostCachedModels.swift",
"MattermostClient+ChannelMembers.swift",
"MattermostClient+Channels.swift",
"MattermostClient+Emoji.swift",
"MattermostClient+Files.swift",
"MattermostClient+Posts.swift",
"MattermostClient+Preferences.swift",
"MattermostClient+Reactions.swift",
"MattermostClient+Server.swift",
"MattermostClient+Sidebar.swift",
"MattermostClient+Teams.swift",
"MattermostClient+Threads.swift",
"MattermostClient+Timeline.swift",
"MattermostClient+Users.swift",
"MattermostClient.swift",
"MattermostConfiguration.swift",
"MattermostError.swift",
"MattermostHTTPClient.swift",
"MattermostLiveEventStream.swift",
"MattermostLiveEvents.swift",
"MattermostLiveSyncService.swift",
"MattermostStore.swift",
"MattermostStringUtilities.swift",
"MattermostSyncService.swift",
"MattermostUserAgent.swift",
"Models+Channel.swift",
"Models+Files.swift",
"Models+Post.swift",
"Models+Preferences.swift",
"Models+Requests.swift",
"Models+Server.swift",
"Models+Sidebar.swift",
"Models+Team.swift",
"Models+Thread.swift",
"Models+Timeline.swift",
"Models+User.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/7] Write sources
[2/7] Write MattermostSwiftCLI-entitlement.plist
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[5/41] Emitting module MattermostSwift
[6/44] Compiling MattermostSwift MattermostClient+Server.swift
[7/44] Compiling MattermostSwift MattermostClient+Sidebar.swift
[8/44] Compiling MattermostSwift MattermostClient+Teams.swift
[9/44] Compiling MattermostSwift MattermostClient+Threads.swift
[10/44] Compiling MattermostSwift Models+Server.swift
[11/44] Compiling MattermostSwift Models+Sidebar.swift
[12/44] Compiling MattermostSwift Models+Team.swift
[13/44] Compiling MattermostSwift Models+Post.swift
[14/44] Compiling MattermostSwift Models+Preferences.swift
[15/44] Compiling MattermostSwift Models+Requests.swift
[16/44] Compiling MattermostSwift MattermostClient+Files.swift
[17/44] Compiling MattermostSwift MattermostClient+Posts.swift
[18/44] Compiling MattermostSwift MattermostClient+Preferences.swift
[19/44] Compiling MattermostSwift MattermostClient+Reactions.swift
[20/44] Compiling MattermostSwift MattermostClient+Timeline.swift
[21/44] Compiling MattermostSwift MattermostClient+Users.swift
[22/44] Compiling MattermostSwift MattermostClient.swift
[23/44] Compiling MattermostSwift MattermostConfiguration.swift
[24/44] Compiling MattermostSwift MattermostCachedModels.swift
[25/44] Compiling MattermostSwift MattermostClient+ChannelMembers.swift
[26/44] Compiling MattermostSwift MattermostClient+Channels.swift
[27/44] Compiling MattermostSwift MattermostClient+Emoji.swift
[28/44] Compiling MattermostSwift MattermostLiveSyncService.swift
[29/44] Compiling MattermostSwift MattermostStore.swift
[30/44] Compiling MattermostSwift MattermostStringUtilities.swift
[31/44] Compiling MattermostSwift MattermostSyncService.swift
[32/44] Compiling MattermostSwift Models+Thread.swift
[33/44] Compiling MattermostSwift Models+Timeline.swift
[34/44] Compiling MattermostSwift Models+User.swift
[35/44] Compiling MattermostSwift MattermostUserAgent.swift
[36/44] Compiling MattermostSwift Models+Channel.swift
[37/44] Compiling MattermostSwift Models+Files.swift
[38/44] Compiling MattermostSwift MattermostError.swift
/Users/admin/builder/spi-builder-workspace/Sourcecode/MattermostSwift/MattermostHTTPClient.swift:251:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
249 | func makeMultipartBody(parts: [MattermostMultipartPart], boundary: String) -> Data {
250 | var body = Data()
251 | let estimatedCapacity = parts.reduce(0) { total, part in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
252 | total + part.contentDisposition.utf8.count + (part.contentType?.utf8.count ?? 0) + part.data.count + 64
253 | } + boundary.utf8.count + 8
[39/44] Compiling MattermostSwift MattermostHTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sourcecode/MattermostSwift/MattermostHTTPClient.swift:251:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
249 | func makeMultipartBody(parts: [MattermostMultipartPart], boundary: String) -> Data {
250 | var body = Data()
251 | let estimatedCapacity = parts.reduce(0) { total, part in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
252 | total + part.contentDisposition.utf8.count + (part.contentType?.utf8.count ?? 0) + part.data.count + 64
253 | } + boundary.utf8.count + 8
[40/44] Compiling MattermostSwift MattermostLiveEventStream.swift
/Users/admin/builder/spi-builder-workspace/Sourcecode/MattermostSwift/MattermostHTTPClient.swift:251:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
249 | func makeMultipartBody(parts: [MattermostMultipartPart], boundary: String) -> Data {
250 | var body = Data()
251 | let estimatedCapacity = parts.reduce(0) { total, part in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
252 | total + part.contentDisposition.utf8.count + (part.contentType?.utf8.count ?? 0) + part.data.count + 64
253 | } + boundary.utf8.count + 8
[41/44] Compiling MattermostSwift MattermostLiveEvents.swift
/Users/admin/builder/spi-builder-workspace/Sourcecode/MattermostSwift/MattermostHTTPClient.swift:251:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
249 | func makeMultipartBody(parts: [MattermostMultipartPart], boundary: String) -> Data {
250 | var body = Data()
251 | let estimatedCapacity = parts.reduce(0) { total, part in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
252 | total + part.contentDisposition.utf8.count + (part.contentType?.utf8.count ?? 0) + part.data.count + 64
253 | } + boundary.utf8.count + 8
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/38] Compiling MattermostSwift Models+Server.swift
[3/38] Compiling MattermostSwift Models+Sidebar.swift
[4/38] Compiling MattermostSwift Models+Team.swift
[5/41] Compiling MattermostSwift MattermostClient+Files.swift
[6/41] Compiling MattermostSwift MattermostClient+Posts.swift
[7/41] Compiling MattermostSwift MattermostClient+Preferences.swift
[8/41] Compiling MattermostSwift MattermostClient+Reactions.swift
[9/41] Emitting module MattermostSwift
[10/41] Compiling MattermostSwift Models+Thread.swift
[11/41] Compiling MattermostSwift Models+Timeline.swift
[12/41] Compiling MattermostSwift Models+User.swift
[13/41] Compiling MattermostSwift MattermostClient+Timeline.swift
[14/41] Compiling MattermostSwift MattermostClient+Users.swift
[15/41] Compiling MattermostSwift MattermostClient.swift
[16/41] Compiling MattermostSwift MattermostConfiguration.swift
[17/41] Compiling MattermostSwift MattermostClient+Server.swift
[18/41] Compiling MattermostSwift MattermostClient+Sidebar.swift
[19/41] Compiling MattermostSwift MattermostClient+Teams.swift
[20/41] Compiling MattermostSwift MattermostClient+Threads.swift
[21/41] Compiling MattermostSwift MattermostCachedModels.swift
[22/41] Compiling MattermostSwift MattermostClient+ChannelMembers.swift
[23/41] Compiling MattermostSwift MattermostClient+Channels.swift
[24/41] Compiling MattermostSwift MattermostClient+Emoji.swift
[25/41] Compiling MattermostSwift MattermostLiveSyncService.swift
[26/41] Compiling MattermostSwift MattermostStore.swift
[27/41] Compiling MattermostSwift MattermostStringUtilities.swift
[28/41] Compiling MattermostSwift MattermostSyncService.swift
[29/41] Compiling MattermostSwift Models+Post.swift
[30/41] Compiling MattermostSwift Models+Preferences.swift
[31/41] Compiling MattermostSwift Models+Requests.swift
[32/41] Compiling MattermostSwift MattermostUserAgent.swift
[33/41] Compiling MattermostSwift Models+Channel.swift
[34/41] Compiling MattermostSwift Models+Files.swift
[35/41] Compiling MattermostSwift MattermostError.swift
/Users/admin/builder/spi-builder-workspace/Sourcecode/MattermostSwift/MattermostHTTPClient.swift:251:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
249 | func makeMultipartBody(parts: [MattermostMultipartPart], boundary: String) -> Data {
250 | var body = Data()
251 | let estimatedCapacity = parts.reduce(0) { total, part in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
252 | total + part.contentDisposition.utf8.count + (part.contentType?.utf8.count ?? 0) + part.data.count + 64
253 | } + boundary.utf8.count + 8
[36/41] Compiling MattermostSwift MattermostHTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sourcecode/MattermostSwift/MattermostHTTPClient.swift:251:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
249 | func makeMultipartBody(parts: [MattermostMultipartPart], boundary: String) -> Data {
250 | var body = Data()
251 | let estimatedCapacity = parts.reduce(0) { total, part in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
252 | total + part.contentDisposition.utf8.count + (part.contentType?.utf8.count ?? 0) + part.data.count + 64
253 | } + boundary.utf8.count + 8
[37/41] Compiling MattermostSwift MattermostLiveEventStream.swift
/Users/admin/builder/spi-builder-workspace/Sourcecode/MattermostSwift/MattermostHTTPClient.swift:251:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
249 | func makeMultipartBody(parts: [MattermostMultipartPart], boundary: String) -> Data {
250 | var body = Data()
251 | let estimatedCapacity = parts.reduce(0) { total, part in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
252 | total + part.contentDisposition.utf8.count + (part.contentType?.utf8.count ?? 0) + part.data.count + 64
253 | } + boundary.utf8.count + 8
[38/41] Compiling MattermostSwift MattermostLiveEvents.swift
/Users/admin/builder/spi-builder-workspace/Sourcecode/MattermostSwift/MattermostHTTPClient.swift:251:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
249 | func makeMultipartBody(parts: [MattermostMultipartPart], boundary: String) -> Data {
250 | var body = Data()
251 | let estimatedCapacity = parts.reduce(0) { total, part in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
252 | total + part.contentDisposition.utf8.count + (part.contentType?.utf8.count ?? 0) + part.data.count + 64
253 | } + boundary.utf8.count + 8
BUILD FAILURE 6.1 macosSpm