Build Information
Failed to build Proton, reference 0.8.35 (2fa41f
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 09:11:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
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 /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: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/rajdeep/proton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-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/13674] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.08s)
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...
[0/4] Write sources
/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.
[1/4] Compiling ProtonCore PREditorContentName.m
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/4] Compiling ProtonCore PRTextStorage.m
[1/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm