Build Information
Failed to build STTextView, reference main (f96ded
), with Swift 6.2 (beta) for Wasm on 14 Jul 2025 04:02:39 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/krzyzanowskim/STTextView.git
Reference: main
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/krzyzanowskim/STTextView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f96ded2 Add documentation for platform requirements, architecture, plugins, build, and performance
Cloned https://github.com/krzyzanowskim/STTextView.git
Revision (git rev-parse @):
f96ded23b5e7387b545ba527601809ae87c26564
SUCCESS checkout https://github.com/krzyzanowskim/STTextView.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/krzyzanowskim/STTextView.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
Fetching https://github.com/krzyzanowskim/CoreTextSwift
Fetching https://github.com/krzyzanowskim/STTextKitPlus
[1/98] Fetching coretextswift
[13/237] Fetching coretextswift, sttextkitplus
Fetched https://github.com/krzyzanowskim/STTextKitPlus from cache (0.24s)
Fetched https://github.com/krzyzanowskim/CoreTextSwift from cache (0.24s)
Computing version for https://github.com/krzyzanowskim/CoreTextSwift
Computed https://github.com/krzyzanowskim/CoreTextSwift at 0.2.0 (3.14s)
Computing version for https://github.com/krzyzanowskim/STTextKitPlus
Computed https://github.com/krzyzanowskim/STTextKitPlus at 0.1.9 (0.49s)
Creating working copy for https://github.com/krzyzanowskim/STTextKitPlus
Working copy of https://github.com/krzyzanowskim/STTextKitPlus resolved at 0.1.9
Creating working copy for https://github.com/krzyzanowskim/CoreTextSwift
Working copy of https://github.com/krzyzanowskim/CoreTextSwift resolved at 0.2.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/17] Compiling STTextKitPlus NSTextLocation+Equatable.swift
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLocation+Equatable.swift:37:18: error: cannot find type 'NSTextLocation' in scope
35 | #endif
36 |
37 | public extension NSTextLocation {
| `- error: cannot find type 'NSTextLocation' in scope
38 |
39 | static func == (lhs: Self, rhs: Self) -> Bool {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/17] Emitting module STTextViewSwiftUI
/host/spi-builder-workspace/Sources/STTextViewSwiftUI/module.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if os(macOS)
[8/17] Compiling STTextViewSwiftUI module.swift
/host/spi-builder-workspace/Sources/STTextViewSwiftUI/module.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if os(macOS)
[9/17] Compiling STTextKitPlus NSTextLineFragment.swift
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLineFragment.swift:37:11: error: cannot find type 'NSTextLineFragment' in scope
35 | #endif
36 |
37 | extension NSTextLineFragment {
| `- error: cannot find type 'NSTextLineFragment' in scope
38 |
39 | /// Whether the line fragment is for the extra line fragment at the end of a document.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLineFragment.swift:52:75: error: cannot find type 'NSTextRange' in scope
50 | /// - Parameter textLayoutFragment: Text layout fragment
51 | /// - Returns: Text range or nil
52 | public func textRange(in textLayoutFragment: NSTextLayoutFragment) -> NSTextRange? {
| `- error: cannot find type 'NSTextRange' in scope
53 |
54 | guard let textContentManager = textLayoutFragment.textLayoutManager?.textContentManager else {
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLineFragment.swift:52:50: error: cannot find type 'NSTextLayoutFragment' in scope
50 | /// - Parameter textLayoutFragment: Text layout fragment
51 | /// - Returns: Text range or nil
52 | public func textRange(in textLayoutFragment: NSTextLayoutFragment) -> NSTextRange? {
| `- error: cannot find type 'NSTextLayoutFragment' in scope
53 |
54 | guard let textContentManager = textLayoutFragment.textLayoutManager?.textContentManager else {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/17] Emitting module STTextKitPlus
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSRange.swift:37:11: error: cannot find type 'NSRange' in scope
35 | #endif
36 |
37 | extension NSRange {
| `- error: cannot find type 'NSRange' in scope
38 |
39 | /// A value indicating that a requested item couldn’t be found or doesn’t exist.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextContentManager.swift:37:18: error: cannot find type 'NSTextContentManager' in scope
35 | #endif
36 |
37 | public extension NSTextContentManager {
| `- error: cannot find type 'NSTextContentManager' in scope
38 |
39 | func location(at offset: Int) -> NSTextLocation? {
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutFragment.swift:37:11: error: cannot find type 'NSTextLayoutFragment' in scope
35 | #endif
36 |
37 | extension NSTextLayoutFragment {
| `- error: cannot find type 'NSTextLayoutFragment' in scope
38 |
39 | /// Whether the layout fragment is for the extra line fragment at the end of a document.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:37:11: error: cannot find type 'NSTextLayoutManager' in scope
35 | #endif
36 |
37 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
38 |
39 | /// Extra line layout fragment.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:73:11: error: cannot find type 'NSTextLayoutManager' in scope
71 |
72 |
73 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
74 |
75 | public func textLineFragment(at location: NSTextLocation) -> NSTextLineFragment? {
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:85:11: error: cannot find type 'NSTextLayoutManager' in scope
83 | }
84 |
85 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
86 |
87 | /// Returns a location of text produced by a tap or click at the point you specify.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:115:11: error: cannot find type 'NSTextLayoutManager' in scope
113 | }
114 |
115 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
116 |
117 | /// Typographic bounds of the range.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:162:11: error: cannot find type 'NSTextLayoutManager' in scope
160 | }
161 |
162 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
163 |
164 | /// Enumerates the text layout fragments in the specified range.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:185:11: error: cannot find type 'NSTextLayoutManager' in scope
183 | }
184 |
185 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
186 |
187 | public var insertionPointLocations: [NSTextLocation] {
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:196:50: error: cannot find type 'NSTextSelection' in scope
194 | }
195 |
196 | private let _textSelectionInsertionPointFilter: (NSTextSelection) -> Bool = { textSelection in
| `- error: cannot find type 'NSTextSelection' in scope
197 | !textSelection.isLogical && textSelection.textRanges.contains(where: \.isEmpty)
198 | }
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLineFragment.swift:37:11: error: cannot find type 'NSTextLineFragment' in scope
35 | #endif
36 |
37 | extension NSTextLineFragment {
| `- error: cannot find type 'NSTextLineFragment' in scope
38 |
39 | /// Whether the line fragment is for the extra line fragment at the end of a document.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLocation+Equatable.swift:37:18: error: cannot find type 'NSTextLocation' in scope
35 | #endif
36 |
37 | public extension NSTextLocation {
| `- error: cannot find type 'NSTextLocation' in scope
38 |
39 | static func == (lhs: Self, rhs: Self) -> Bool {
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextRange.swift:37:11: error: cannot find type 'NSTextRange' in scope
35 | #endif
36 |
37 | extension NSTextRange {
| `- error: cannot find type 'NSTextRange' in scope
38 |
39 | public convenience init?(_ nsRange: NSRange, in textContentManager: NSTextContentManager) {
[11/17] Compiling STTextKitPlus NSRange.swift
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSRange.swift:37:11: error: cannot find type 'NSRange' in scope
35 | #endif
36 |
37 | extension NSRange {
| `- error: cannot find type 'NSRange' in scope
38 |
39 | /// A value indicating that a requested item couldn’t be found or doesn’t exist.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSRange.swift:40:34: error: cannot find 'NSRange' in scope
38 |
39 | /// A value indicating that a requested item couldn’t be found or doesn’t exist.
40 | public static let notFound = NSRange(location: NSNotFound, length: 0)
| `- error: cannot find 'NSRange' in scope
41 |
42 | /// A Boolean value indicating whether the range is empty.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSRange.swift:40:52: error: cannot find 'NSNotFound' in scope
38 |
39 | /// A value indicating that a requested item couldn’t be found or doesn’t exist.
40 | public static let notFound = NSRange(location: NSNotFound, length: 0)
| `- error: cannot find 'NSNotFound' in scope
41 |
42 | /// A Boolean value indicating whether the range is empty.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSRange.swift:49:30: error: cannot find type 'NSTextRange' in scope
47 | }
48 |
49 | public init(_ textRange: NSTextRange, in textContentManager: NSTextContentManager) {
| `- error: cannot find type 'NSTextRange' in scope
50 | let offset = textContentManager.offset(from: textContentManager.documentRange.location, to: textRange.location)
51 | let length = textContentManager.offset(from: textRange.location, to: textRange.endLocation)
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSRange.swift:49:66: error: cannot find type 'NSTextContentManager' in scope
47 | }
48 |
49 | public init(_ textRange: NSTextRange, in textContentManager: NSTextContentManager) {
| `- error: cannot find type 'NSTextContentManager' in scope
50 | let offset = textContentManager.offset(from: textContentManager.documentRange.location, to: textRange.location)
51 | let length = textContentManager.offset(from: textRange.location, to: textRange.endLocation)
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSRange.swift:55:33: error: cannot find type 'NSTextLocation' in scope
53 | }
54 |
55 | public init(_ textLocation: NSTextLocation, in textContentManager: NSTextContentManager) {
| `- error: cannot find type 'NSTextLocation' in scope
56 | let offset = textContentManager.offset(from: textContentManager.documentRange.location, to: textLocation)
57 | self.init(location: offset, length: 0)
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSRange.swift:55:72: error: cannot find type 'NSTextContentManager' in scope
53 | }
54 |
55 | public init(_ textLocation: NSTextLocation, in textContentManager: NSTextContentManager) {
| `- error: cannot find type 'NSTextContentManager' in scope
56 | let offset = textContentManager.offset(from: textContentManager.documentRange.location, to: textLocation)
57 | self.init(location: offset, length: 0)
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSRange.swift:61:25: error: cannot find type 'NSValue' in scope
59 |
60 | /// Creates a new value object containing the specified Foundation range structure.
61 | public var nsValue: NSValue {
| `- error: cannot find type 'NSValue' in scope
62 | NSValue(range: self)
63 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/17] Emitting module STTextView
/host/spi-builder-workspace/Sources/STTextView/module.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if os(macOS)
[13/17] Compiling STTextView module.swift
/host/spi-builder-workspace/Sources/STTextView/module.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if os(macOS)
[14/17] Compiling STTextKitPlus NSTextRange.swift
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextRange.swift:37:11: error: cannot find type 'NSTextRange' in scope
35 | #endif
36 |
37 | extension NSTextRange {
| `- error: cannot find type 'NSTextRange' in scope
38 |
39 | public convenience init?(_ nsRange: NSRange, in textContentManager: NSTextContentManager) {
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextRange.swift:39:41: error: cannot find type 'NSRange' in scope
37 | extension NSTextRange {
38 |
39 | public convenience init?(_ nsRange: NSRange, in textContentManager: NSTextContentManager) {
| `- error: cannot find type 'NSRange' in scope
40 | guard let start = textContentManager.location(textContentManager.documentRange.location, offsetBy: nsRange.location) else {
41 | return nil
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextRange.swift:39:73: error: cannot find type 'NSTextContentManager' in scope
37 | extension NSTextRange {
38 |
39 | public convenience init?(_ nsRange: NSRange, in textContentManager: NSTextContentManager) {
| `- error: cannot find type 'NSTextContentManager' in scope
40 | guard let start = textContentManager.location(textContentManager.documentRange.location, offsetBy: nsRange.location) else {
41 | return nil
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextRange.swift:47:47: error: cannot find type 'NSTextContentManager' in scope
45 | }
46 |
47 | public func length(in textContentManager: NSTextContentManager) -> Int {
| `- error: cannot find type 'NSTextContentManager' in scope
48 | textContentManager.offset(from: location, to: endLocation)
49 | }
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextRange.swift:52:39: error: cannot find type 'NSTextRange' in scope
50 |
51 | /// Returns a copy of this range clamped to the given limiting range.
52 | public func clamped(to textRange: NSTextRange) -> Self? {
| `- error: cannot find type 'NSTextRange' in scope
53 | let beginLocation = {
54 | if self.location <= textRange.location {
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:37:11: error: cannot find type 'NSTextLayoutManager' in scope
35 | #endif
36 |
37 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
38 |
39 | /// Extra line layout fragment.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:73:11: error: cannot find type 'NSTextLayoutManager' in scope
71 |
72 |
73 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
74 |
75 | public func textLineFragment(at location: NSTextLocation) -> NSTextLineFragment? {
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:85:11: error: cannot find type 'NSTextLayoutManager' in scope
83 | }
84 |
85 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
86 |
87 | /// Returns a location of text produced by a tap or click at the point you specify.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:115:11: error: cannot find type 'NSTextLayoutManager' in scope
113 | }
114 |
115 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
116 |
117 | /// Typographic bounds of the range.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:162:11: error: cannot find type 'NSTextLayoutManager' in scope
160 | }
161 |
162 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
163 |
164 | /// Enumerates the text layout fragments in the specified range.
/host/spi-builder-workspace/.build/checkouts/STTextKitPlus/Sources/STTextKitPlus/NSTextLayoutManager.swift:185:11: error: cannot find type 'NSTextLayoutManager' in scope
183 | }
184 |
185 | extension NSTextLayoutManager {
| `- error: cannot find type 'NSTextLayoutManager' in scope
186 |
187 | public var insertionPointLocations: [NSTextLocation] {
BUILD FAILURE 6.2 wasm