The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NSAttributedStringBuilder, reference 0.4.1 (18662b), with Swift 6.4 for Wasm on 17 Sep 2026 16:04:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ethanhuang13/NSAttributedStringBuilder.git
Reference: 0.4.1
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/ethanhuang13/NSAttributedStringBuilder
 * tag               0.4.1      -> FETCH_HEAD
HEAD is now at 18662b3 Version bump to 0.4.1
Cloned https://github.com/ethanhuang13/NSAttributedStringBuilder.git
Revision (git rev-parse @):
18662b33975c9ec8c80a1bd9b4e30d09612ee7ee
SUCCESS checkout https://github.com/ethanhuang13/NSAttributedStringBuilder.git at 0.4.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ethanhuang13/NSAttributedStringBuilder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/AText.swift:7:26: error: cannot find type 'NSAttributedString' in scope
 5 | #endif
 6 |
 7 | public typealias AText = NSAttributedString.AttrText
   |                          `- error: cannot find type 'NSAttributedString' in scope
 8 |
 9 | public extension NSAttributedString {
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/AText.swift:9:18: error: cannot find type 'NSAttributedString' in scope
 7 | public typealias AText = NSAttributedString.AttrText
 8 |
 9 | public extension NSAttributedString {
   |                  `- error: cannot find type 'NSAttributedString' in scope
10 |     struct AttrText: Component {
11 |         // MARK: Lifecycle
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:12:32: error: cannot find type 'NSAttributedString' in scope
10 | #endif
11 |
12 | public typealias Attributes = [NSAttributedString.Key: Any]
   |                                `- error: cannot find type 'NSAttributedString' in scope
13 |
14 | @resultBuilder
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:12:27: error: cannot find type 'NSAttributedString' in scope
 10 |     var string: String { get }
 11 |     var attributes: Attributes { get }
 12 |     var attributedString: NSAttributedString { get }
    |                           `- error: cannot find type 'NSAttributedString' in scope
 13 | }
 14 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:29:27: error: cannot find type 'NSAttributedString' in scope
 27 |     }
 28 |
 29 |     var attributedString: NSAttributedString {
    |                           `- error: cannot find type 'NSAttributedString' in scope
 30 |         NSAttributedString(string: string, attributes: attributes)
 31 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:33:36: error: cannot find type 'NSAttributedString' in scope
 31 |     }
 32 |
 33 |     func attribute(_ newAttribute: NSAttributedString.Key, value: Any) -> Component {
    |                                    `- error: cannot find type 'NSAttributedString' in scope
 34 |         attributes([newAttribute: value])
 35 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:49:35: error: cannot find type 'Color' in scope
 47 |
 48 | public extension Component {
 49 |     func backgroundColor(_ color: Color) -> Component {
    |                                   `- error: cannot find type 'Color' in scope
 50 |         attributes([.backgroundColor: color])
 51 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:53:43: error: cannot find type 'CGFloat' in scope
 51 |     }
 52 |
 53 |     func baselineOffset(_ baselineOffset: CGFloat) -> Component {
    |                                           `- error: cannot find type 'CGFloat' in scope
 54 |         attributes([.baselineOffset: baselineOffset])
 55 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:57:23: error: cannot find type 'Font' in scope
 55 |     }
 56 |
 57 |     func font(_ font: Font) -> Component {
    |                       `- error: cannot find type 'Font' in scope
 58 |         attributes([.font: font])
 59 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:61:35: error: cannot find type 'Color' in scope
 59 |     }
 60 |
 61 |     func foregroundColor(_ color: Color) -> Component {
    |                                   `- error: cannot find type 'Color' in scope
 62 |         attributes([.foregroundColor: color])
 63 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:65:33: error: cannot find type 'CGFloat' in scope
 63 |     }
 64 |
 65 |     func expansion(_ expansion: CGFloat) -> Component {
    |                                 `- error: cannot find type 'CGFloat' in scope
 66 |         attributes([.expansion: expansion])
 67 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:69:26: error: cannot find type 'CGFloat' in scope
 67 |     }
 68 |
 69 |     func kerning(_ kern: CGFloat) -> Component {
    |                          `- error: cannot find type 'CGFloat' in scope
 70 |         attributes([.kern: kern])
 71 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:81:24: error: cannot find type 'Color' in scope
 79 |     }
 80 |
 81 |     func shadow(color: Color? = nil, radius: CGFloat, x: CGFloat, y: CGFloat) -> Component {
    |                        `- error: cannot find type 'Color' in scope
 82 |         let shadow = NSShadow()
 83 |         shadow.shadowColor = color
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:81:46: error: cannot find type 'CGFloat' in scope
 79 |     }
 80 |
 81 |     func shadow(color: Color? = nil, radius: CGFloat, x: CGFloat, y: CGFloat) -> Component {
    |                                              `- error: cannot find type 'CGFloat' in scope
 82 |         let shadow = NSShadow()
 83 |         shadow.shadowColor = color
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:81:58: error: cannot find type 'CGFloat' in scope
 79 |     }
 80 |
 81 |     func shadow(color: Color? = nil, radius: CGFloat, x: CGFloat, y: CGFloat) -> Component {
    |                                                          `- error: cannot find type 'CGFloat' in scope
 82 |         let shadow = NSShadow()
 83 |         shadow.shadowColor = color
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:81:70: error: cannot find type 'CGFloat' in scope
 79 |     }
 80 |
 81 |     func shadow(color: Color? = nil, radius: CGFloat, x: CGFloat, y: CGFloat) -> Component {
    |                                                                      `- error: cannot find type 'CGFloat' in scope
 82 |         let shadow = NSShadow()
 83 |         shadow.shadowColor = color
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:89:31: error: cannot find type 'NSUnderlineStyle' in scope
 87 |     }
 88 |
 89 |     func strikethrough(style: NSUnderlineStyle, color: Color? = nil) -> Component {
    |                               `- error: cannot find type 'NSUnderlineStyle' in scope
 90 |         if let color = color {
 91 |             return attributes([.strikethroughStyle: style.rawValue,
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:89:56: error: cannot find type 'Color' in scope
 87 |     }
 88 |
 89 |     func strikethrough(style: NSUnderlineStyle, color: Color? = nil) -> Component {
    |                                                        `- error: cannot find type 'Color' in scope
 90 |         if let color = color {
 91 |             return attributes([.strikethroughStyle: style.rawValue,
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:98:24: error: cannot find type 'CGFloat' in scope
 96 |     }
 97 |
 98 |     func stroke(width: CGFloat, color: Color? = nil) -> Component {
    |                        `- error: cannot find type 'CGFloat' in scope
 99 |         if let color = color {
100 |             return attributes([.strokeWidth: width,
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:98:40: error: cannot find type 'Color' in scope
 96 |     }
 97 |
 98 |     func stroke(width: CGFloat, color: Color? = nil) -> Component {
    |                                        `- error: cannot find type 'Color' in scope
 99 |         if let color = color {
100 |             return attributes([.strokeWidth: width,
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:107:35: error: cannot find type 'NSAttributedString' in scope
105 |     }
106 |
107 |     func textEffect(_ textEffect: NSAttributedString.TextEffectStyle) -> Component {
    |                                   `- error: cannot find type 'NSAttributedString' in scope
108 |         attributes([.textEffect: textEffect])
109 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:111:29: error: cannot find type 'NSUnderlineStyle' in scope
109 |     }
110 |
111 |     func underline(_ style: NSUnderlineStyle, color: Color? = nil) -> Component {
    |                             `- error: cannot find type 'NSUnderlineStyle' in scope
112 |         if let color = color {
113 |             return attributes([.underlineStyle: style.rawValue,
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:111:54: error: cannot find type 'Color' in scope
109 |     }
110 |
111 |     func underline(_ style: NSUnderlineStyle, color: Color? = nil) -> Component {
    |                                                      `- error: cannot find type 'Color' in scope
112 |         if let color = color {
113 |             return attributes([.underlineStyle: style.rawValue,
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:120:47: error: cannot find type 'NSWritingDirection' in scope
118 |     }
119 |
120 |     func writingDirection(_ writingDirection: NSWritingDirection) -> Component {
    |                                               `- error: cannot find type 'NSWritingDirection' in scope
121 |         attributes([.writingDirection: writingDirection.rawValue])
122 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:134:43: error: cannot find type 'NSParagraphStyle' in scope
132 |
133 | public extension Component {
134 |     func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> Component {
    |                                           `- error: cannot find type 'NSParagraphStyle' in scope
135 |         attributes([.paragraphStyle: paragraphStyle])
136 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:138:43: error: cannot find type 'NSMutableParagraphStyle' in scope
136 |     }
137 |
138 |     func paragraphStyle(_ paragraphStyle: NSMutableParagraphStyle) -> Component {
    |                                           `- error: cannot find type 'NSMutableParagraphStyle' in scope
139 |         attributes([.paragraphStyle: paragraphStyle])
140 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:142:48: error: cannot find type 'NSMutableParagraphStyle' in scope
140 |     }
141 |
142 |     private func getMutableParagraphStyle() -> NSMutableParagraphStyle {
    |                                                `- error: cannot find type 'NSMutableParagraphStyle' in scope
143 |         if let mps = attributes[.paragraphStyle] as? NSMutableParagraphStyle {
144 |             return mps
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:154:33: error: cannot find type 'NSTextAlignment' in scope
152 |     }
153 |
154 |     func alignment(_ alignment: NSTextAlignment) -> Component {
    |                                 `- error: cannot find type 'NSTextAlignment' in scope
155 |         let paragraphStyle = getMutableParagraphStyle()
156 |         paragraphStyle.alignment = alignment
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:160:40: error: cannot find type 'CGFloat' in scope
158 |     }
159 |
160 |     func firstLineHeadIndent(_ indent: CGFloat) -> Component {
    |                                        `- error: cannot find type 'CGFloat' in scope
161 |         let paragraphStyle = getMutableParagraphStyle()
162 |         paragraphStyle.firstLineHeadIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:166:31: error: cannot find type 'CGFloat' in scope
164 |     }
165 |
166 |     func headIndent(_ indent: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
167 |         let paragraphStyle = getMutableParagraphStyle()
168 |         paragraphStyle.headIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:172:31: error: cannot find type 'CGFloat' in scope
170 |     }
171 |
172 |     func tailIndent(_ indent: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
173 |         let paragraphStyle = getMutableParagraphStyle()
174 |         paragraphStyle.tailIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:178:42: error: cannot find type 'NSLineBreakMode' in scope
176 |     }
177 |
178 |     func lineBreakeMode(_ lineBreakMode: NSLineBreakMode) -> Component {
    |                                          `- error: cannot find type 'NSLineBreakMode' in scope
179 |         let paragraphStyle = getMutableParagraphStyle()
180 |         paragraphStyle.lineBreakMode = lineBreakMode
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:184:31: error: cannot find type 'CGFloat' in scope
182 |     }
183 |
184 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
185 |         let paragraphStyle = getMutableParagraphStyle()
186 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:184:53: error: cannot find type 'CGFloat' in scope
182 |     }
183 |
184 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                                                     `- error: cannot find type 'CGFloat' in scope
185 |         let paragraphStyle = getMutableParagraphStyle()
186 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:184:75: error: cannot find type 'CGFloat' in scope
182 |     }
183 |
184 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                                                                           `- error: cannot find type 'CGFloat' in scope
185 |         let paragraphStyle = getMutableParagraphStyle()
186 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:192:33: error: cannot find type 'CGFloat' in scope
190 |     }
191 |
192 |     func lineSpacing(_ spacing: CGFloat) -> Component {
    |                                 `- error: cannot find type 'CGFloat' in scope
193 |         let paragraphStyle = getMutableParagraphStyle()
194 |         paragraphStyle.lineSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:198:38: error: cannot find type 'CGFloat' in scope
196 |     }
197 |
198 |     func paragraphSpacing(_ spacing: CGFloat, before: CGFloat = 0) -> Component {
    |                                      `- error: cannot find type 'CGFloat' in scope
199 |         let paragraphStyle = getMutableParagraphStyle()
200 |         paragraphStyle.paragraphSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:198:55: error: cannot find type 'CGFloat' in scope
196 |     }
197 |
198 |     func paragraphSpacing(_ spacing: CGFloat, before: CGFloat = 0) -> Component {
    |                                                       `- error: cannot find type 'CGFloat' in scope
199 |         let paragraphStyle = getMutableParagraphStyle()
200 |         paragraphStyle.paragraphSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:205:55: error: cannot find type 'NSWritingDirection' in scope
203 |     }
204 |
205 |     func baseWritingDirection(_ baseWritingDirection: NSWritingDirection) -> Component {
    |                                                       `- error: cannot find type 'NSWritingDirection' in scope
206 |         let paragraphStyle = getMutableParagraphStyle()
207 |         paragraphStyle.baseWritingDirection = baseWritingDirection
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:224:33: error: cannot find type 'NSTextTab' in scope
222 |     }
223 |
224 |     func tabsStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Component {
    |                                 `- error: cannot find type 'NSTextTab' in scope
225 |         let paragraphStyle = getMutableParagraphStyle()
226 |         paragraphStyle.tabStops = tabStops
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:224:62: error: cannot find type 'CGFloat' in scope
222 |     }
223 |
224 |     func tabsStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Component {
    |                                                              `- error: cannot find type 'CGFloat' in scope
225 |         let paragraphStyle = getMutableParagraphStyle()
226 |         paragraphStyle.tabStops = tabStops
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Link.swift:7:25: error: cannot find type 'NSAttributedString' in scope
 5 | #endif
 6 |
 7 | public typealias Link = NSAttributedString.Link
   |                         `- error: cannot find type 'NSAttributedString' in scope
 8 |
 9 | public extension NSAttributedString {
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Link.swift:9:18: error: cannot find type 'NSAttributedString' in scope
 7 | public typealias Link = NSAttributedString.Link
 8 |
 9 | public extension NSAttributedString {
   |                  `- error: cannot find type 'NSAttributedString' in scope
10 |     struct Link: Component {
11 |         // MARK: Lifecycle
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:16:66: error: cannot find type 'NSAttributedString' in scope
14 | @resultBuilder
15 | public enum NSAttributedStringBuilder {
16 |     public static func buildBlock(_ components: Component...) -> NSAttributedString {
   |                                                                  `- error: cannot find type 'NSAttributedString' in scope
17 |         let mas = NSMutableAttributedString(string: "")
18 |         for component in components {
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:25:18: error: cannot find type 'NSAttributedString' in scope
23 | }
24 |
25 | public extension NSAttributedString {
   |                  `- error: cannot find type 'NSAttributedString' in scope
26 |     convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
27 |         self.init(attributedString: builder())
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/AText.swift /host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift /host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/ImageAttachment.swift /host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Link.swift /host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/StaticComponents.swift /host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NSAttributedStringBuilder.build/Debug-webassembly-wasm32/NSAttributedStringBuilder-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NSAttributedStringBuilder.build/Debug-webassembly-wasm32/NSAttributedStringBuilder-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NSAttributedStringBuilder.build/Debug-webassembly-wasm32/NSAttributedStringBuilder-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NSAttributedStringBuilder -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/NSAttributedStringBuilder.build/Debug-webassembly-wasm32/NSAttributedStringBuilder-t.build/Objects-normal/wasm32/NSAttributedStringBuilder_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NSAttributedStringBuilder.build/Debug-webassembly-wasm32/NSAttributedStringBuilder-t.build/Objects-normal/wasm32/Modules/NSAttributedStringBuilder.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NSAttributedStringBuilder.build/Debug-webassembly-wasm32/NSAttributedStringBuilder-t.build/Objects-normal/wasm32/Modules/NSAttributedStringBuilder.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NSAttributedStringBuilder.build/Debug-webassembly-wasm32/NSAttributedStringBuilder-t.build/Objects-normal/wasm32/NSAttributedStringBuilder-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NSAttributedStringBuilder.build/Debug-webassembly-wasm32/NSAttributedStringBuilder-t.build/Objects-normal/wasm32/NSAttributedStringBuilder-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NSAttributedStringBuilder.build/Debug-webassembly-wasm32/NSAttributedStringBuilder-t.build/Objects-normal/wasm32/NSAttributedStringBuilder-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NSAttributedStringBuilder.build/Debug-webassembly-wasm32/NSAttributedStringBuilder-t.build/Objects-normal/wasm32/Modules/NSAttributedStringBuilder.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm