The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Proton, reference 0.8.35 (2fa41f), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 16:05:18 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

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 /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
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/16065] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.81s)
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)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "proton",
      "name": "Proton",
      "url": "https://github.com/rajdeep/proton.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/proton",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rajdeep/proton.git
[1/17236] Fetching proton
Fetched https://github.com/rajdeep/proton.git from cache (6.13s)
warning: 'proton': /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: [
/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>
Creating working copy for https://github.com/rajdeep/proton.git
Working copy of https://github.com/rajdeep/proton.git resolved at 0.8.35 (2fa41f7)
warning: 'proton': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/proton/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/.resolve-product-dependencies/.build/checkouts/proton/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>
warning: '.resolve-product-dependencies': dependency 'proton' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/rajdeep/proton.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version--6988338F2F200930.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>
BUILD FAILURE 6.3 macosSpm