Build Information
Failed to build MattermostSwift, reference 0.1.0 (ec9b42), with Swift 6.2 for macOS (SPM) on 11 Jul 2026 17:12:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.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.2
Building package at path: $PWD
https://github.com/randomsnowflake/MattermostSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write MattermostSwiftCLI-entitlement.plist
[3/7] Write swift-version--3CB7CFEC50E0D141.txt
[5/41] Compiling MattermostSwift Models+Server.swift
[6/41] Compiling MattermostSwift Models+Sidebar.swift
[7/41] Compiling MattermostSwift Models+Team.swift
[8/44] Emitting module MattermostSwift
[9/44] Compiling MattermostSwift MattermostClient+Files.swift
[10/44] Compiling MattermostSwift MattermostClient+Posts.swift
[11/44] Compiling MattermostSwift MattermostClient+Preferences.swift
[12/44] Compiling MattermostSwift MattermostClient+Reactions.swift
[13/44] Compiling MattermostSwift MattermostUserAgent.swift
[14/44] Compiling MattermostSwift Models+Channel.swift
[15/44] Compiling MattermostSwift Models+Files.swift
[16/44] Compiling MattermostSwift MattermostClient+Timeline.swift
[17/44] Compiling MattermostSwift MattermostClient+Users.swift
[18/44] Compiling MattermostSwift MattermostClient.swift
[19/44] Compiling MattermostSwift MattermostConfiguration.swift
[20/44] Compiling MattermostSwift MattermostClient+Server.swift
[21/44] Compiling MattermostSwift MattermostClient+Sidebar.swift
[22/44] Compiling MattermostSwift MattermostClient+Teams.swift
[23/44] Compiling MattermostSwift MattermostClient+Threads.swift
[24/44] Compiling MattermostSwift Models+Post.swift
[25/44] Compiling MattermostSwift Models+Preferences.swift
[26/44] Compiling MattermostSwift Models+Requests.swift
[27/44] Compiling MattermostSwift MattermostCachedModels.swift
[28/44] Compiling MattermostSwift MattermostClient+ChannelMembers.swift
[29/44] Compiling MattermostSwift MattermostClient+Channels.swift
[30/44] Compiling MattermostSwift MattermostClient+Emoji.swift
[31/44] Compiling MattermostSwift Models+Thread.swift
[32/44] Compiling MattermostSwift Models+Timeline.swift
[33/44] Compiling MattermostSwift Models+User.swift
[34/44] Compiling MattermostSwift MattermostLiveSyncService.swift
[35/44] Compiling MattermostSwift MattermostStore.swift
[36/44] Compiling MattermostSwift MattermostStringUtilities.swift
[37/44] Compiling MattermostSwift MattermostSyncService.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
BUILD FAILURE 6.2 macosSpm