Build Information
Failed to build AttributedTextUI, reference main (2ffc80
), with Swift 6.1 for Wasm on 28 May 2025 14:35:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Everything-as-UI/AttributedTextUI.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/Everything-as-UI/AttributedTextUI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2ffc808 Last changes.
Cloned https://github.com/Everything-as-UI/AttributedTextUI.git
Revision (git rev-parse @):
2ffc808e262861d7716083ddadca67a03e610950
SUCCESS checkout https://github.com/Everything-as-UI/AttributedTextUI.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Everything-as-UI/AttributedTextUI.git
https://github.com/Everything-as-UI/AttributedTextUI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "documentui",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Everything-as-UI/DocumentUI.git"
}
],
"manifest_display_name" : "AttributedTextUI",
"name" : "AttributedTextUI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "AttributedTextUI",
"targets" : [
"AttributedTextUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AttributedTextUITests",
"module_type" : "SwiftTarget",
"name" : "AttributedTextUITests",
"path" : "Tests/AttributedTextUITests",
"sources" : [
"AttributedTextUITests.swift"
],
"target_dependencies" : [
"AttributedTextUI"
],
"type" : "test"
},
{
"c99name" : "AttributedTextUI",
"module_type" : "SwiftTarget",
"name" : "AttributedTextUI",
"path" : "Sources/AttributedTextUI",
"product_dependencies" : [
"DocumentUI"
],
"product_memberships" : [
"AttributedTextUI"
],
"sources" : [
"AttributedText.swift",
"AttributedTextBuilders.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Everything-as-UI/DocumentUI.git
[1/67] Fetching documentui
Fetched https://github.com/Everything-as-UI/DocumentUI.git from cache (0.79s)
Fetching https://github.com/Everything-as-UI/CoreUI.git
[1/36] Fetching coreui
Fetched https://github.com/Everything-as-UI/CoreUI.git from cache (0.40s)
Creating working copy for https://github.com/Everything-as-UI/CoreUI.git
Working copy of https://github.com/Everything-as-UI/CoreUI.git resolved at main (637ad95)
Creating working copy for https://github.com/Everything-as-UI/DocumentUI.git
Working copy of https://github.com/Everything-as-UI/DocumentUI.git resolved at main (6df65f8)
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/7] Emitting module CoreUI
[7/7] Compiling CoreUI CoreUI.swift
[9/10] Emitting module CommonUI
[10/10] Compiling CommonUI CommonUI.swift
[12/19] Compiling DocumentUI TextDocument.swift
[13/20] Compiling DocumentUI TupleDocument.swift
[14/20] Compiling DocumentUI TextDocumentVisitor.swift
[15/20] Compiling DocumentUI TextDocumentBuilders.swift
[16/20] Emitting module DocumentUI
[17/20] Compiling DocumentUI Joined.swift
[18/20] Compiling DocumentUI DocumentUI.swift
[19/20] Compiling DocumentUI AnyTextDocument.swift
[20/20] Compiling DocumentUI Modifiers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/24] Emitting module AttributedTextUI
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:500:77: error: cannot find type 'NSMutableParagraphStyle' in scope
498 | #endif
499 |
500 | extension AttributedText where AttributedTextInterpolation.ModifyContent == NSMutableParagraphStyle {
| `- error: cannot find type 'NSMutableParagraphStyle' in scope
501 | public func modifier<M>(_ modifier: M) -> _ModifiedDocument<AttributedTextProxy<Self>, M> where M: ViewModifier, M.Modifiable == StringAttributesContainer {
502 | _ModifiedDocument(AttributedTextProxy(_body: self), modifier: modifier)
[23/24] Compiling AttributedTextUI AttributedText.swift
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:500:77: error: cannot find type 'NSMutableParagraphStyle' in scope
498 | #endif
499 |
500 | extension AttributedText where AttributedTextInterpolation.ModifyContent == NSMutableParagraphStyle {
| `- error: cannot find type 'NSMutableParagraphStyle' in scope
501 | public func modifier<M>(_ modifier: M) -> _ModifiedDocument<AttributedTextProxy<Self>, M> where M: ViewModifier, M.Modifiable == StringAttributesContainer {
502 | _ModifiedDocument(AttributedTextProxy(_body: self), modifier: modifier)
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:295:49: error: missing argument for parameter 'string' in call
293 | extension AttributedContent {
294 | public func nsAttributedString() -> NSAttributedString {
295 | let aString = NSMutableAttributedString()
| `- error: missing argument for parameter 'string' in call
296 | aString.append(self)
297 | return aString
Foundation.NSMutableAttributedString.init:2:17: note: 'init(string:)' declared here
1 | class NSMutableAttributedString {
2 | override public init(string: String)}
| `- note: 'init(string:)' declared here
3 |
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:324:19: error: type 'AttributedContent.NestedContent' has no member 'image'
322 | append(parentAttrs)
323 | }
324 | case .image: continue
| `- error: type 'AttributedContent.NestedContent' has no member 'image'
325 | }
326 | }
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:332:19: error: type 'NSAttributedString.Key' has no member 'backgroundColor'
330 | for (key, _) in attrs {
331 | switch key {
332 | case .backgroundColor: append("\\u{1b}[41m")
| `- error: type 'NSAttributedString.Key' has no member 'backgroundColor'
333 | case .foregroundColor: append("\\u{1b}[33m")
334 | case .underlineStyle: append("\\u{1b}[4m")
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:333:19: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
331 | switch key {
332 | case .backgroundColor: append("\\u{1b}[41m")
333 | case .foregroundColor: append("\\u{1b}[33m")
| `- error: type 'NSAttributedString.Key' has no member 'foregroundColor'
334 | case .underlineStyle: append("\\u{1b}[4m")
335 | case .strikethroughStyle: append("\\u{1b}[9m")
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:334:19: error: type 'NSAttributedString.Key' has no member 'underlineStyle'
332 | case .backgroundColor: append("\\u{1b}[41m")
333 | case .foregroundColor: append("\\u{1b}[33m")
334 | case .underlineStyle: append("\\u{1b}[4m")
| `- error: type 'NSAttributedString.Key' has no member 'underlineStyle'
335 | case .strikethroughStyle: append("\\u{1b}[9m")
336 | case .font: append("\\u{1b}[1m")
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:335:19: error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
333 | case .foregroundColor: append("\\u{1b}[33m")
334 | case .underlineStyle: append("\\u{1b}[4m")
335 | case .strikethroughStyle: append("\\u{1b}[9m")
| `- error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
336 | case .font: append("\\u{1b}[1m")
337 | case .textEffect: append("\\u{1b}[5m")
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:336:19: error: type 'NSAttributedString.Key' has no member 'font'
334 | case .underlineStyle: append("\\u{1b}[4m")
335 | case .strikethroughStyle: append("\\u{1b}[9m")
336 | case .font: append("\\u{1b}[1m")
| `- error: type 'NSAttributedString.Key' has no member 'font'
337 | case .textEffect: append("\\u{1b}[5m")
338 | case .shadow: append("\\u{1b}[2m")
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:337:19: error: type 'NSAttributedString.Key' has no member 'textEffect'
335 | case .strikethroughStyle: append("\\u{1b}[9m")
336 | case .font: append("\\u{1b}[1m")
337 | case .textEffect: append("\\u{1b}[5m")
| `- error: type 'NSAttributedString.Key' has no member 'textEffect'
338 | case .shadow: append("\\u{1b}[2m")
339 | default: continue
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:338:19: error: type 'NSAttributedString.Key' has no member 'shadow'
336 | case .font: append("\\u{1b}[1m")
337 | case .textEffect: append("\\u{1b}[5m")
338 | case .shadow: append("\\u{1b}[2m")
| `- error: type 'NSAttributedString.Key' has no member 'shadow'
339 | default: continue
340 | }
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:388:81: error: argument passed to call that takes no arguments
386 | }
387 | }
388 | self[location ..< endIndex].mergeAttributes(AttributeContainer(aContent.attributes), mergePolicy: .keepNew)
| `- error: argument passed to call that takes no arguments
389 | }
390 | }
[24/24] Compiling AttributedTextUI AttributedTextBuilders.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module CoreUI
[3/3] Compiling CoreUI CoreUI.swift
[5/6] Emitting module CommonUI
[6/6] Compiling CommonUI CommonUI.swift
[8/15] Compiling DocumentUI TextDocumentVisitor.swift
[9/16] Compiling DocumentUI TextDocumentBuilders.swift
[10/16] Compiling DocumentUI TextDocument.swift
[11/16] Compiling DocumentUI Joined.swift
[12/16] Compiling DocumentUI Modifiers.swift
[13/16] Emitting module DocumentUI
[14/16] Compiling DocumentUI DocumentUI.swift
[15/16] Compiling DocumentUI AnyTextDocument.swift
[16/16] Compiling DocumentUI TupleDocument.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/20] Compiling AttributedTextUI AttributedTextBuilders.swift
[19/20] Emitting module AttributedTextUI
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:500:77: error: cannot find type 'NSMutableParagraphStyle' in scope
498 | #endif
499 |
500 | extension AttributedText where AttributedTextInterpolation.ModifyContent == NSMutableParagraphStyle {
| `- error: cannot find type 'NSMutableParagraphStyle' in scope
501 | public func modifier<M>(_ modifier: M) -> _ModifiedDocument<AttributedTextProxy<Self>, M> where M: ViewModifier, M.Modifiable == StringAttributesContainer {
502 | _ModifiedDocument(AttributedTextProxy(_body: self), modifier: modifier)
[20/20] Compiling AttributedTextUI AttributedText.swift
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:500:77: error: cannot find type 'NSMutableParagraphStyle' in scope
498 | #endif
499 |
500 | extension AttributedText where AttributedTextInterpolation.ModifyContent == NSMutableParagraphStyle {
| `- error: cannot find type 'NSMutableParagraphStyle' in scope
501 | public func modifier<M>(_ modifier: M) -> _ModifiedDocument<AttributedTextProxy<Self>, M> where M: ViewModifier, M.Modifiable == StringAttributesContainer {
502 | _ModifiedDocument(AttributedTextProxy(_body: self), modifier: modifier)
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:295:49: error: missing argument for parameter 'string' in call
293 | extension AttributedContent {
294 | public func nsAttributedString() -> NSAttributedString {
295 | let aString = NSMutableAttributedString()
| `- error: missing argument for parameter 'string' in call
296 | aString.append(self)
297 | return aString
Foundation.NSMutableAttributedString.init:2:17: note: 'init(string:)' declared here
1 | class NSMutableAttributedString {
2 | override public init(string: String)}
| `- note: 'init(string:)' declared here
3 |
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:324:19: error: type 'AttributedContent.NestedContent' has no member 'image'
322 | append(parentAttrs)
323 | }
324 | case .image: continue
| `- error: type 'AttributedContent.NestedContent' has no member 'image'
325 | }
326 | }
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:332:19: error: type 'NSAttributedString.Key' has no member 'backgroundColor'
330 | for (key, _) in attrs {
331 | switch key {
332 | case .backgroundColor: append("\\u{1b}[41m")
| `- error: type 'NSAttributedString.Key' has no member 'backgroundColor'
333 | case .foregroundColor: append("\\u{1b}[33m")
334 | case .underlineStyle: append("\\u{1b}[4m")
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:333:19: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
331 | switch key {
332 | case .backgroundColor: append("\\u{1b}[41m")
333 | case .foregroundColor: append("\\u{1b}[33m")
| `- error: type 'NSAttributedString.Key' has no member 'foregroundColor'
334 | case .underlineStyle: append("\\u{1b}[4m")
335 | case .strikethroughStyle: append("\\u{1b}[9m")
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:334:19: error: type 'NSAttributedString.Key' has no member 'underlineStyle'
332 | case .backgroundColor: append("\\u{1b}[41m")
333 | case .foregroundColor: append("\\u{1b}[33m")
334 | case .underlineStyle: append("\\u{1b}[4m")
| `- error: type 'NSAttributedString.Key' has no member 'underlineStyle'
335 | case .strikethroughStyle: append("\\u{1b}[9m")
336 | case .font: append("\\u{1b}[1m")
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:335:19: error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
333 | case .foregroundColor: append("\\u{1b}[33m")
334 | case .underlineStyle: append("\\u{1b}[4m")
335 | case .strikethroughStyle: append("\\u{1b}[9m")
| `- error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
336 | case .font: append("\\u{1b}[1m")
337 | case .textEffect: append("\\u{1b}[5m")
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:336:19: error: type 'NSAttributedString.Key' has no member 'font'
334 | case .underlineStyle: append("\\u{1b}[4m")
335 | case .strikethroughStyle: append("\\u{1b}[9m")
336 | case .font: append("\\u{1b}[1m")
| `- error: type 'NSAttributedString.Key' has no member 'font'
337 | case .textEffect: append("\\u{1b}[5m")
338 | case .shadow: append("\\u{1b}[2m")
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:337:19: error: type 'NSAttributedString.Key' has no member 'textEffect'
335 | case .strikethroughStyle: append("\\u{1b}[9m")
336 | case .font: append("\\u{1b}[1m")
337 | case .textEffect: append("\\u{1b}[5m")
| `- error: type 'NSAttributedString.Key' has no member 'textEffect'
338 | case .shadow: append("\\u{1b}[2m")
339 | default: continue
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:338:19: error: type 'NSAttributedString.Key' has no member 'shadow'
336 | case .font: append("\\u{1b}[1m")
337 | case .textEffect: append("\\u{1b}[5m")
338 | case .shadow: append("\\u{1b}[2m")
| `- error: type 'NSAttributedString.Key' has no member 'shadow'
339 | default: continue
340 | }
/host/spi-builder-workspace/Sources/AttributedTextUI/AttributedText.swift:388:81: error: argument passed to call that takes no arguments
386 | }
387 | }
388 | self[location ..< endIndex].mergeAttributes(AttributeContainer(aContent.attributes), mergePolicy: .keepNew)
| `- error: argument passed to call that takes no arguments
389 | }
390 | }
BUILD FAILURE 6.1 wasm