Build Information
Failed to build Proton, reference 0.8.35 (2fa41f
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 09:08:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rajdeep/proton.git
Reference: 0.8.35
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/rajdeep/proton.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-1EA4D86E10B52AF.txt
[2/4] Compiling ProtonCore PREditorContentName.m
In file included from /Users/admin/builder/spi-builder-workspace/Proton/Sources/ObjC/PRTextStorage.m:21:
/Users/admin/builder/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.
[3/4] Compiling ProtonCore PRTextStorage.m
warning: 'spi-builder-workspace': /Users/admin/builder/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: [
/Users/admin/builder/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/13674] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.27s)
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)
BUILD FAILURE 6.2 macosSpm