The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Proton, reference 0.8.35 (2fa41f), with Swift 6.3 for Linux on 21 Apr 2026 15:52:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rajdeep/proton.git
Reference: 0.8.35
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/rajdeep/proton
 * tag               0.8.35     -> FETCH_HEAD
HEAD is now at 2fa41f7 Added clamping to textstorage.attributedSubstring to avoid out-of-bounds crashes (#305)
Cloned https://github.com/rajdeep/proton.git
Revision (git rev-parse @):
2fa41f78731461c40a1dd12bee7de1845c310c31
SUCCESS checkout https://github.com/rajdeep/proton.git at 0.8.35
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/rajdeep/proton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:31:10: warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
29 |     ],
30 |     dependencies: [
31 |         .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
   |          `- warning: 'package(name:url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
32 |     ],
33 |     targets: [
/host/spi-builder-workspace/Package.swift:31:110: warning: 'branch' is deprecated [#DeprecatedDeclaration]
29 |     ],
30 |     dependencies: [
31 |         .package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .branch("master"))
   |                                                                                                              `- warning: 'branch' is deprecated [#DeprecatedDeclaration]
32 |     ],
33 |     targets: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/16065] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.66s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at master (4579af4)
Building for debugging...
In file included from /host/spi-builder-workspace/Proton/Sources/ObjC/PRTextStorage.m:21:
/host/spi-builder-workspace/Proton/Sources/ObjC/include/PRTextStorage.h:24:9: fatal error: 'UIKit/UIKit.h' file not found
   24 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/4] Compiling ProtonCore PRTextStorage.m
/host/spi-builder-workspace/Proton/Sources/ObjC/PREditorContentName.m:21:9: fatal error: 'Foundation/Foundation.h' file not found
   21 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/4] Compiling ProtonCore PREditorContentName.m
[0/4] Write sources
[0/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 linux