The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NSAttributedStringBuilder, reference master (873f3e), with Swift 6.1 for Android on 27 May 2025 23:33:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ethanhuang13/NSAttributedStringBuilder.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 873f3e3 Update indentation for conditional code
Cloned https://github.com/ethanhuang13/NSAttributedStringBuilder.git
Revision (git rev-parse @):
873f3e3b27cceac11c84e269dde9c610ddb2a018
SUCCESS checkout https://github.com/ethanhuang13/NSAttributedStringBuilder.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ethanhuang13/NSAttributedStringBuilder.git
https://github.com/ethanhuang13/NSAttributedStringBuilder.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NSAttributedStringBuilder",
  "name" : "NSAttributedStringBuilder",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "NSAttributedStringBuilder",
      "targets" : [
        "NSAttributedStringBuilder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NSAttributedStringBuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "NSAttributedStringBuilderTests",
      "path" : "Tests/NSAttributedStringBuilderTests",
      "sources" : [
        "ComponentBasicModifierTests.swift",
        "ComponentParagraphSylteModifierTests.swift",
        "NSAttributedStringBuilderTests.swift",
        "StaticComponentsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "NSAttributedStringBuilder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NSAttributedStringBuilder",
      "module_type" : "SwiftTarget",
      "name" : "NSAttributedStringBuilder",
      "path" : "Sources/NSAttributedStringBuilder",
      "product_memberships" : [
        "NSAttributedStringBuilder"
      ],
      "sources" : [
        "Components/AText.swift",
        "Components/Component.swift",
        "Components/ImageAttachment.swift",
        "Components/Link.swift",
        "Components/StaticComponents.swift",
        "NSAttributedStringBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Compiling NSAttributedStringBuilder ImageAttachment.swift
[4/9] Emitting module NSAttributedStringBuilder
/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:153:33: error: cannot find type 'NSTextAlignment' in scope
151 |     }
152 |
153 |     func alignment(_ alignment: NSTextAlignment) -> Component {
    |                                 `- error: cannot find type 'NSTextAlignment' in scope
154 |         let paragraphStyle = getMutableParagraphStyle()
155 |         paragraphStyle.alignment = alignment
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:159:40: error: cannot find type 'CGFloat' in scope
157 |     }
158 |
159 |     func firstLineHeadIndent(_ indent: CGFloat) -> Component {
    |                                        `- error: cannot find type 'CGFloat' in scope
160 |         let paragraphStyle = getMutableParagraphStyle()
161 |         paragraphStyle.firstLineHeadIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:165:31: error: cannot find type 'CGFloat' in scope
163 |     }
164 |
165 |     func headIndent(_ indent: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
166 |         let paragraphStyle = getMutableParagraphStyle()
167 |         paragraphStyle.headIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:171:31: error: cannot find type 'CGFloat' in scope
169 |     }
170 |
171 |     func tailIndent(_ indent: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
172 |         let paragraphStyle = getMutableParagraphStyle()
173 |         paragraphStyle.tailIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:177:42: error: cannot find type 'NSLineBreakMode' in scope
175 |     }
176 |
177 |     func lineBreakeMode(_ lineBreakMode: NSLineBreakMode) -> Component {
    |                                          `- error: cannot find type 'NSLineBreakMode' in scope
178 |         let paragraphStyle = getMutableParagraphStyle()
179 |         paragraphStyle.lineBreakMode = lineBreakMode
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:31: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:53: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                                                     `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:75: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                                                                           `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:191:33: error: cannot find type 'CGFloat' in scope
189 |     }
190 |
191 |     func lineSpacing(_ spacing: CGFloat) -> Component {
    |                                 `- error: cannot find type 'CGFloat' in scope
192 |         let paragraphStyle = getMutableParagraphStyle()
193 |         paragraphStyle.lineSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:197:38: error: cannot find type 'CGFloat' in scope
195 |     }
196 |
197 |     func paragraphSpacing(_ spacing: CGFloat, before: CGFloat = 0) -> Component {
    |                                      `- error: cannot find type 'CGFloat' in scope
198 |         let paragraphStyle = getMutableParagraphStyle()
199 |         paragraphStyle.paragraphSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:197:55: error: cannot find type 'CGFloat' in scope
195 |     }
196 |
197 |     func paragraphSpacing(_ spacing: CGFloat, before: CGFloat = 0) -> Component {
    |                                                       `- error: cannot find type 'CGFloat' in scope
198 |         let paragraphStyle = getMutableParagraphStyle()
199 |         paragraphStyle.paragraphSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:204:55: error: cannot find type 'NSWritingDirection' in scope
202 |     }
203 |
204 |     func baseWritingDirection(_ baseWritingDirection: NSWritingDirection) -> Component {
    |                                                       `- error: cannot find type 'NSWritingDirection' in scope
205 |         let paragraphStyle = getMutableParagraphStyle()
206 |         paragraphStyle.baseWritingDirection = baseWritingDirection
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:223:33: error: cannot find type 'NSTextTab' in scope
221 |     }
222 |
223 |     func tabsStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Component {
    |                                 `- error: cannot find type 'NSTextTab' in scope
224 |         let paragraphStyle = getMutableParagraphStyle()
225 |         paragraphStyle.tabStops = tabStops
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:223:62: error: cannot find type 'CGFloat' in scope
221 |     }
222 |
223 |     func tabsStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Component {
    |                                                              `- error: cannot find type 'CGFloat' in scope
224 |         let paragraphStyle = getMutableParagraphStyle()
225 |         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())
[5/9] Compiling NSAttributedStringBuilder Component.swift
/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:153:33: error: cannot find type 'NSTextAlignment' in scope
151 |     }
152 |
153 |     func alignment(_ alignment: NSTextAlignment) -> Component {
    |                                 `- error: cannot find type 'NSTextAlignment' in scope
154 |         let paragraphStyle = getMutableParagraphStyle()
155 |         paragraphStyle.alignment = alignment
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:159:40: error: cannot find type 'CGFloat' in scope
157 |     }
158 |
159 |     func firstLineHeadIndent(_ indent: CGFloat) -> Component {
    |                                        `- error: cannot find type 'CGFloat' in scope
160 |         let paragraphStyle = getMutableParagraphStyle()
161 |         paragraphStyle.firstLineHeadIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:165:31: error: cannot find type 'CGFloat' in scope
163 |     }
164 |
165 |     func headIndent(_ indent: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
166 |         let paragraphStyle = getMutableParagraphStyle()
167 |         paragraphStyle.headIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:171:31: error: cannot find type 'CGFloat' in scope
169 |     }
170 |
171 |     func tailIndent(_ indent: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
172 |         let paragraphStyle = getMutableParagraphStyle()
173 |         paragraphStyle.tailIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:177:42: error: cannot find type 'NSLineBreakMode' in scope
175 |     }
176 |
177 |     func lineBreakeMode(_ lineBreakMode: NSLineBreakMode) -> Component {
    |                                          `- error: cannot find type 'NSLineBreakMode' in scope
178 |         let paragraphStyle = getMutableParagraphStyle()
179 |         paragraphStyle.lineBreakMode = lineBreakMode
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:31: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:53: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                                                     `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:75: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                                                                           `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:191:33: error: cannot find type 'CGFloat' in scope
189 |     }
190 |
191 |     func lineSpacing(_ spacing: CGFloat) -> Component {
    |                                 `- error: cannot find type 'CGFloat' in scope
192 |         let paragraphStyle = getMutableParagraphStyle()
193 |         paragraphStyle.lineSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:197:38: error: cannot find type 'CGFloat' in scope
195 |     }
196 |
197 |     func paragraphSpacing(_ spacing: CGFloat, before: CGFloat = 0) -> Component {
    |                                      `- error: cannot find type 'CGFloat' in scope
198 |         let paragraphStyle = getMutableParagraphStyle()
199 |         paragraphStyle.paragraphSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:197:55: error: cannot find type 'CGFloat' in scope
195 |     }
196 |
197 |     func paragraphSpacing(_ spacing: CGFloat, before: CGFloat = 0) -> Component {
    |                                                       `- error: cannot find type 'CGFloat' in scope
198 |         let paragraphStyle = getMutableParagraphStyle()
199 |         paragraphStyle.paragraphSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:204:55: error: cannot find type 'NSWritingDirection' in scope
202 |     }
203 |
204 |     func baseWritingDirection(_ baseWritingDirection: NSWritingDirection) -> Component {
    |                                                       `- error: cannot find type 'NSWritingDirection' in scope
205 |         let paragraphStyle = getMutableParagraphStyle()
206 |         paragraphStyle.baseWritingDirection = baseWritingDirection
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:223:33: error: cannot find type 'NSTextTab' in scope
221 |     }
222 |
223 |     func tabsStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Component {
    |                                 `- error: cannot find type 'NSTextTab' in scope
224 |         let paragraphStyle = getMutableParagraphStyle()
225 |         paragraphStyle.tabStops = tabStops
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:223:62: error: cannot find type 'CGFloat' in scope
221 |     }
222 |
223 |     func tabsStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Component {
    |                                                              `- error: cannot find type 'CGFloat' in scope
224 |         let paragraphStyle = getMutableParagraphStyle()
225 |         paragraphStyle.tabStops = tabStops
/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/Component.swift:50:22: error: reference to member 'backgroundColor' cannot be resolved without a contextual type
 48 | public extension Component {
 49 |     func backgroundColor(_ color: Color) -> Component {
 50 |         attributes([.backgroundColor: color])
    |                      `- error: reference to member 'backgroundColor' cannot be resolved without a contextual type
 51 |     }
 52 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:54:22: error: reference to member 'baselineOffset' cannot be resolved without a contextual type
 52 |
 53 |     func baselineOffset(_ baselineOffset: CGFloat) -> Component {
 54 |         attributes([.baselineOffset: baselineOffset])
    |                      `- error: reference to member 'baselineOffset' cannot be resolved without a contextual type
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:58:22: error: reference to member 'font' cannot be resolved without a contextual type
 56 |
 57 |     func font(_ font: Font) -> Component {
 58 |         attributes([.font: font])
    |                      `- error: reference to member 'font' cannot be resolved without a contextual type
 59 |     }
 60 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:62:22: error: reference to member 'foregroundColor' cannot be resolved without a contextual type
 60 |
 61 |     func foregroundColor(_ color: Color) -> Component {
 62 |         attributes([.foregroundColor: color])
    |                      `- error: reference to member 'foregroundColor' cannot be resolved without a contextual type
 63 |     }
 64 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:66:22: error: reference to member 'expansion' cannot be resolved without a contextual type
 64 |
 65 |     func expansion(_ expansion: CGFloat) -> Component {
 66 |         attributes([.expansion: expansion])
    |                      `- error: reference to member 'expansion' cannot be resolved without a contextual type
 67 |     }
 68 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:70:22: error: reference to member 'kern' cannot be resolved without a contextual type
 68 |
 69 |     func kerning(_ kern: CGFloat) -> Component {
 70 |         attributes([.kern: kern])
    |                      `- error: reference to member 'kern' cannot be resolved without a contextual type
 71 |     }
 72 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:74:22: error: reference to member 'ligature' cannot be resolved without a contextual type
 72 |
 73 |     func ligature(_ ligature: Ligature) -> Component {
 74 |         attributes([.ligature: ligature.rawValue])
    |                      `- error: reference to member 'ligature' cannot be resolved without a contextual type
 75 |     }
 76 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:78:22: error: reference to member 'obliqueness' cannot be resolved without a contextual type
 76 |
 77 |     func obliqueness(_ obliqueness: Float) -> Component {
 78 |         attributes([.obliqueness: obliqueness])
    |                      `- error: reference to member 'obliqueness' cannot be resolved without a contextual type
 79 |     }
 80 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:82:22: error: cannot find 'NSShadow' in scope
 80 |
 81 |     func shadow(color: Color? = nil, radius: CGFloat, x: CGFloat, y: CGFloat) -> Component {
 82 |         let shadow = NSShadow()
    |                      `- error: cannot find 'NSShadow' in scope
 83 |         shadow.shadowColor = color
 84 |         shadow.shadowBlurRadius = radius
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:85:32: error: cannot infer contextual base in reference to member 'init'
 83 |         shadow.shadowColor = color
 84 |         shadow.shadowBlurRadius = radius
 85 |         shadow.shadowOffset = .init(width: x, height: y)
    |                                `- error: cannot infer contextual base in reference to member 'init'
 86 |         return attributes([.shadow: shadow])
 87 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:86:29: error: reference to member 'shadow' cannot be resolved without a contextual type
 84 |         shadow.shadowBlurRadius = radius
 85 |         shadow.shadowOffset = .init(width: x, height: y)
 86 |         return attributes([.shadow: shadow])
    |                             `- error: reference to member 'shadow' cannot be resolved without a contextual type
 87 |     }
 88 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:91:33: error: reference to member 'strikethroughStyle' cannot be resolved without a contextual type
 89 |     func strikethrough(style: NSUnderlineStyle, color: Color? = nil) -> Component {
 90 |         if let color = color {
 91 |             return attributes([.strikethroughStyle: style.rawValue,
    |                                 `- error: reference to member 'strikethroughStyle' cannot be resolved without a contextual type
 92 |                                .strikethroughColor: color])
 93 |         } else {
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:92:33: error: reference to member 'strikethroughColor' cannot be resolved without a contextual type
 90 |         if let color = color {
 91 |             return attributes([.strikethroughStyle: style.rawValue,
 92 |                                .strikethroughColor: color])
    |                                 `- error: reference to member 'strikethroughColor' cannot be resolved without a contextual type
 93 |         } else {
 94 |             return attributes([.strikethroughStyle: style.rawValue])
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:94:33: error: reference to member 'strikethroughStyle' cannot be resolved without a contextual type
 92 |                                .strikethroughColor: color])
 93 |         } else {
 94 |             return attributes([.strikethroughStyle: style.rawValue])
    |                                 `- error: reference to member 'strikethroughStyle' cannot be resolved without a contextual type
 95 |         }
 96 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:100:33: error: reference to member 'strokeWidth' cannot be resolved without a contextual type
 98 |     func stroke(width: CGFloat, color: Color? = nil) -> Component {
 99 |         if let color = color {
100 |             return attributes([.strokeWidth: width,
    |                                 `- error: reference to member 'strokeWidth' cannot be resolved without a contextual type
101 |                                .strokeColor: color])
102 |         } else {
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:101:33: error: reference to member 'strokeColor' cannot be resolved without a contextual type
 99 |         if let color = color {
100 |             return attributes([.strokeWidth: width,
101 |                                .strokeColor: color])
    |                                 `- error: reference to member 'strokeColor' cannot be resolved without a contextual type
102 |         } else {
103 |             return attributes([.strokeWidth: width])
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:103:33: error: reference to member 'strokeWidth' cannot be resolved without a contextual type
101 |                                .strokeColor: color])
102 |         } else {
103 |             return attributes([.strokeWidth: width])
    |                                 `- error: reference to member 'strokeWidth' cannot be resolved without a contextual type
104 |         }
105 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:108:22: error: reference to member 'textEffect' cannot be resolved without a contextual type
106 |
107 |     func textEffect(_ textEffect: NSAttributedString.TextEffectStyle) -> Component {
108 |         attributes([.textEffect: textEffect])
    |                      `- error: reference to member 'textEffect' cannot be resolved without a contextual type
109 |     }
110 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:113:33: error: reference to member 'underlineStyle' cannot be resolved without a contextual type
111 |     func underline(_ style: NSUnderlineStyle, color: Color? = nil) -> Component {
112 |         if let color = color {
113 |             return attributes([.underlineStyle: style.rawValue,
    |                                 `- error: reference to member 'underlineStyle' cannot be resolved without a contextual type
114 |                                .underlineColor: color])
115 |         } else {
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:114:33: error: reference to member 'underlineColor' cannot be resolved without a contextual type
112 |         if let color = color {
113 |             return attributes([.underlineStyle: style.rawValue,
114 |                                .underlineColor: color])
    |                                 `- error: reference to member 'underlineColor' cannot be resolved without a contextual type
115 |         } else {
116 |             return attributes([.underlineStyle: style.rawValue])
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:116:33: error: reference to member 'underlineStyle' cannot be resolved without a contextual type
114 |                                .underlineColor: color])
115 |         } else {
116 |             return attributes([.underlineStyle: style.rawValue])
    |                                 `- error: reference to member 'underlineStyle' cannot be resolved without a contextual type
117 |         }
118 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:121:22: error: reference to member 'writingDirection' cannot be resolved without a contextual type
119 |
120 |     func writingDirection(_ writingDirection: NSWritingDirection) -> Component {
121 |         attributes([.writingDirection: writingDirection.rawValue])
    |                      `- error: reference to member 'writingDirection' cannot be resolved without a contextual type
122 |     }
123 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:135:22: error: reference to member 'paragraphStyle' cannot be resolved without a contextual type
133 | public extension Component {
134 |     func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> Component {
135 |         attributes([.paragraphStyle: paragraphStyle])
    |                      `- error: reference to member 'paragraphStyle' cannot be resolved without a contextual type
136 |     }
137 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:139:22: error: reference to member 'paragraphStyle' cannot be resolved without a contextual type
137 |
138 |     func paragraphStyle(_ paragraphStyle: NSMutableParagraphStyle) -> Component {
139 |         attributes([.paragraphStyle: paragraphStyle])
    |                      `- error: reference to member 'paragraphStyle' cannot be resolved without a contextual type
140 |     }
141 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:143:54: error: cannot find type 'NSMutableParagraphStyle' in scope
141 |
142 |     private func getMutableParagraphStyle() -> NSMutableParagraphStyle {
143 |         if let mps = attributes[.paragraphStyle] as? NSMutableParagraphStyle {
    |                                                      `- error: cannot find type 'NSMutableParagraphStyle' in scope
144 |             return mps
145 |         } else if let ps = attributes[.paragraphStyle] as? NSParagraphStyle,
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:143:34: error: cannot infer contextual base in reference to member 'paragraphStyle'
141 |
142 |     private func getMutableParagraphStyle() -> NSMutableParagraphStyle {
143 |         if let mps = attributes[.paragraphStyle] as? NSMutableParagraphStyle {
    |                                  `- error: cannot infer contextual base in reference to member 'paragraphStyle'
144 |             return mps
145 |         } else if let ps = attributes[.paragraphStyle] as? NSParagraphStyle,
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:145:60: error: cannot find type 'NSParagraphStyle' in scope
143 |         if let mps = attributes[.paragraphStyle] as? NSMutableParagraphStyle {
144 |             return mps
145 |         } else if let ps = attributes[.paragraphStyle] as? NSParagraphStyle,
    |                                                            `- error: cannot find type 'NSParagraphStyle' in scope
146 |                   let mps = ps.mutableCopy() as? NSMutableParagraphStyle {
147 |             return mps
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:145:40: error: cannot infer contextual base in reference to member 'paragraphStyle'
143 |         if let mps = attributes[.paragraphStyle] as? NSMutableParagraphStyle {
144 |             return mps
145 |         } else if let ps = attributes[.paragraphStyle] as? NSParagraphStyle,
    |                                        `- error: cannot infer contextual base in reference to member 'paragraphStyle'
146 |                   let mps = ps.mutableCopy() as? NSMutableParagraphStyle {
147 |             return mps
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:146:50: error: cannot find type 'NSMutableParagraphStyle' in scope
144 |             return mps
145 |         } else if let ps = attributes[.paragraphStyle] as? NSParagraphStyle,
146 |                   let mps = ps.mutableCopy() as? NSMutableParagraphStyle {
    |                                                  `- error: cannot find type 'NSMutableParagraphStyle' in scope
147 |             return mps
148 |         } else {
[6/9] Compiling NSAttributedStringBuilder Link.swift
/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: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/Link.swift:13:44: error: cannot find type 'URL' in scope
11 |         // MARK: Lifecycle
12 |
13 |         public init(_ string: String, url: URL, attributes: Attributes = [:]) {
   |                                            `- error: cannot find type 'URL' in scope
14 |             self.string = string
15 |             self.url = url
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Link.swift:25:25: error: cannot find type 'URL' in scope
23 |
24 |         public let string: String
25 |         public let url: URL
   |                         `- error: cannot find type 'URL' in scope
26 |         public let attributes: Attributes
27 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Link.swift:28:38: error: cannot find type 'NSAttributedString' in scope
26 |         public let attributes: Attributes
27 |
28 |         public var attributedString: NSAttributedString {
   |                                      `- error: cannot find type 'NSAttributedString' in scope
29 |             NSAttributedString(string: string, attributes: attributes)
30 |         }
[7/9] Compiling NSAttributedStringBuilder NSAttributedStringBuilder.swift
/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/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())
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:17:19: error: cannot find 'NSMutableAttributedString' in scope
15 | public enum NSAttributedStringBuilder {
16 |     public static func buildBlock(_ components: Component...) -> NSAttributedString {
17 |         let mas = NSMutableAttributedString(string: "")
   |                   `- error: cannot find 'NSMutableAttributedString' in scope
18 |         for component in components {
19 |             mas.append(component.attributedString)
/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/NSAttributedStringBuilder.swift:26:66: error: cannot find type 'NSAttributedString' in scope
24 |
25 | public extension NSAttributedString {
26 |     convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
   |                                                                  `- error: cannot find type 'NSAttributedString' in scope
27 |         self.init(attributedString: builder())
28 |     }
[8/9] Compiling NSAttributedStringBuilder StaticComponents.swift
/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 |
[9/9] Compiling NSAttributedStringBuilder AText.swift
/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling NSAttributedStringBuilder NSAttributedStringBuilder.swift
/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/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())
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:17:19: error: cannot find 'NSMutableAttributedString' in scope
15 | public enum NSAttributedStringBuilder {
16 |     public static func buildBlock(_ components: Component...) -> NSAttributedString {
17 |         let mas = NSMutableAttributedString(string: "")
   |                   `- error: cannot find 'NSMutableAttributedString' in scope
18 |         for component in components {
19 |             mas.append(component.attributedString)
/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/NSAttributedStringBuilder.swift:26:66: error: cannot find type 'NSAttributedString' in scope
24 |
25 | public extension NSAttributedString {
26 |     convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
   |                                                                  `- error: cannot find type 'NSAttributedString' in scope
27 |         self.init(attributedString: builder())
28 |     }
[3/8] Compiling NSAttributedStringBuilder ImageAttachment.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module NSAttributedStringBuilder
/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:153:33: error: cannot find type 'NSTextAlignment' in scope
151 |     }
152 |
153 |     func alignment(_ alignment: NSTextAlignment) -> Component {
    |                                 `- error: cannot find type 'NSTextAlignment' in scope
154 |         let paragraphStyle = getMutableParagraphStyle()
155 |         paragraphStyle.alignment = alignment
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:159:40: error: cannot find type 'CGFloat' in scope
157 |     }
158 |
159 |     func firstLineHeadIndent(_ indent: CGFloat) -> Component {
    |                                        `- error: cannot find type 'CGFloat' in scope
160 |         let paragraphStyle = getMutableParagraphStyle()
161 |         paragraphStyle.firstLineHeadIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:165:31: error: cannot find type 'CGFloat' in scope
163 |     }
164 |
165 |     func headIndent(_ indent: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
166 |         let paragraphStyle = getMutableParagraphStyle()
167 |         paragraphStyle.headIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:171:31: error: cannot find type 'CGFloat' in scope
169 |     }
170 |
171 |     func tailIndent(_ indent: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
172 |         let paragraphStyle = getMutableParagraphStyle()
173 |         paragraphStyle.tailIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:177:42: error: cannot find type 'NSLineBreakMode' in scope
175 |     }
176 |
177 |     func lineBreakeMode(_ lineBreakMode: NSLineBreakMode) -> Component {
    |                                          `- error: cannot find type 'NSLineBreakMode' in scope
178 |         let paragraphStyle = getMutableParagraphStyle()
179 |         paragraphStyle.lineBreakMode = lineBreakMode
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:31: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:53: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                                                     `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:75: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                                                                           `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:191:33: error: cannot find type 'CGFloat' in scope
189 |     }
190 |
191 |     func lineSpacing(_ spacing: CGFloat) -> Component {
    |                                 `- error: cannot find type 'CGFloat' in scope
192 |         let paragraphStyle = getMutableParagraphStyle()
193 |         paragraphStyle.lineSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:197:38: error: cannot find type 'CGFloat' in scope
195 |     }
196 |
197 |     func paragraphSpacing(_ spacing: CGFloat, before: CGFloat = 0) -> Component {
    |                                      `- error: cannot find type 'CGFloat' in scope
198 |         let paragraphStyle = getMutableParagraphStyle()
199 |         paragraphStyle.paragraphSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:197:55: error: cannot find type 'CGFloat' in scope
195 |     }
196 |
197 |     func paragraphSpacing(_ spacing: CGFloat, before: CGFloat = 0) -> Component {
    |                                                       `- error: cannot find type 'CGFloat' in scope
198 |         let paragraphStyle = getMutableParagraphStyle()
199 |         paragraphStyle.paragraphSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:204:55: error: cannot find type 'NSWritingDirection' in scope
202 |     }
203 |
204 |     func baseWritingDirection(_ baseWritingDirection: NSWritingDirection) -> Component {
    |                                                       `- error: cannot find type 'NSWritingDirection' in scope
205 |         let paragraphStyle = getMutableParagraphStyle()
206 |         paragraphStyle.baseWritingDirection = baseWritingDirection
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:223:33: error: cannot find type 'NSTextTab' in scope
221 |     }
222 |
223 |     func tabsStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Component {
    |                                 `- error: cannot find type 'NSTextTab' in scope
224 |         let paragraphStyle = getMutableParagraphStyle()
225 |         paragraphStyle.tabStops = tabStops
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:223:62: error: cannot find type 'CGFloat' in scope
221 |     }
222 |
223 |     func tabsStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Component {
    |                                                              `- error: cannot find type 'CGFloat' in scope
224 |         let paragraphStyle = getMutableParagraphStyle()
225 |         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())
[5/8] Compiling NSAttributedStringBuilder Component.swift
/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:153:33: error: cannot find type 'NSTextAlignment' in scope
151 |     }
152 |
153 |     func alignment(_ alignment: NSTextAlignment) -> Component {
    |                                 `- error: cannot find type 'NSTextAlignment' in scope
154 |         let paragraphStyle = getMutableParagraphStyle()
155 |         paragraphStyle.alignment = alignment
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:159:40: error: cannot find type 'CGFloat' in scope
157 |     }
158 |
159 |     func firstLineHeadIndent(_ indent: CGFloat) -> Component {
    |                                        `- error: cannot find type 'CGFloat' in scope
160 |         let paragraphStyle = getMutableParagraphStyle()
161 |         paragraphStyle.firstLineHeadIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:165:31: error: cannot find type 'CGFloat' in scope
163 |     }
164 |
165 |     func headIndent(_ indent: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
166 |         let paragraphStyle = getMutableParagraphStyle()
167 |         paragraphStyle.headIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:171:31: error: cannot find type 'CGFloat' in scope
169 |     }
170 |
171 |     func tailIndent(_ indent: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
172 |         let paragraphStyle = getMutableParagraphStyle()
173 |         paragraphStyle.tailIndent = indent
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:177:42: error: cannot find type 'NSLineBreakMode' in scope
175 |     }
176 |
177 |     func lineBreakeMode(_ lineBreakMode: NSLineBreakMode) -> Component {
    |                                          `- error: cannot find type 'NSLineBreakMode' in scope
178 |         let paragraphStyle = getMutableParagraphStyle()
179 |         paragraphStyle.lineBreakMode = lineBreakMode
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:31: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                               `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:53: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                                                     `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:183:75: error: cannot find type 'CGFloat' in scope
181 |     }
182 |
183 |     func lineHeight(multiple: CGFloat = 0, maximum: CGFloat = 0, minimum: CGFloat) -> Component {
    |                                                                           `- error: cannot find type 'CGFloat' in scope
184 |         let paragraphStyle = getMutableParagraphStyle()
185 |         paragraphStyle.lineHeightMultiple = multiple
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:191:33: error: cannot find type 'CGFloat' in scope
189 |     }
190 |
191 |     func lineSpacing(_ spacing: CGFloat) -> Component {
    |                                 `- error: cannot find type 'CGFloat' in scope
192 |         let paragraphStyle = getMutableParagraphStyle()
193 |         paragraphStyle.lineSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:197:38: error: cannot find type 'CGFloat' in scope
195 |     }
196 |
197 |     func paragraphSpacing(_ spacing: CGFloat, before: CGFloat = 0) -> Component {
    |                                      `- error: cannot find type 'CGFloat' in scope
198 |         let paragraphStyle = getMutableParagraphStyle()
199 |         paragraphStyle.paragraphSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:197:55: error: cannot find type 'CGFloat' in scope
195 |     }
196 |
197 |     func paragraphSpacing(_ spacing: CGFloat, before: CGFloat = 0) -> Component {
    |                                                       `- error: cannot find type 'CGFloat' in scope
198 |         let paragraphStyle = getMutableParagraphStyle()
199 |         paragraphStyle.paragraphSpacing = spacing
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:204:55: error: cannot find type 'NSWritingDirection' in scope
202 |     }
203 |
204 |     func baseWritingDirection(_ baseWritingDirection: NSWritingDirection) -> Component {
    |                                                       `- error: cannot find type 'NSWritingDirection' in scope
205 |         let paragraphStyle = getMutableParagraphStyle()
206 |         paragraphStyle.baseWritingDirection = baseWritingDirection
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:223:33: error: cannot find type 'NSTextTab' in scope
221 |     }
222 |
223 |     func tabsStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Component {
    |                                 `- error: cannot find type 'NSTextTab' in scope
224 |         let paragraphStyle = getMutableParagraphStyle()
225 |         paragraphStyle.tabStops = tabStops
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:223:62: error: cannot find type 'CGFloat' in scope
221 |     }
222 |
223 |     func tabsStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Component {
    |                                                              `- error: cannot find type 'CGFloat' in scope
224 |         let paragraphStyle = getMutableParagraphStyle()
225 |         paragraphStyle.tabStops = tabStops
/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/Component.swift:50:22: error: reference to member 'backgroundColor' cannot be resolved without a contextual type
 48 | public extension Component {
 49 |     func backgroundColor(_ color: Color) -> Component {
 50 |         attributes([.backgroundColor: color])
    |                      `- error: reference to member 'backgroundColor' cannot be resolved without a contextual type
 51 |     }
 52 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:54:22: error: reference to member 'baselineOffset' cannot be resolved without a contextual type
 52 |
 53 |     func baselineOffset(_ baselineOffset: CGFloat) -> Component {
 54 |         attributes([.baselineOffset: baselineOffset])
    |                      `- error: reference to member 'baselineOffset' cannot be resolved without a contextual type
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:58:22: error: reference to member 'font' cannot be resolved without a contextual type
 56 |
 57 |     func font(_ font: Font) -> Component {
 58 |         attributes([.font: font])
    |                      `- error: reference to member 'font' cannot be resolved without a contextual type
 59 |     }
 60 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:62:22: error: reference to member 'foregroundColor' cannot be resolved without a contextual type
 60 |
 61 |     func foregroundColor(_ color: Color) -> Component {
 62 |         attributes([.foregroundColor: color])
    |                      `- error: reference to member 'foregroundColor' cannot be resolved without a contextual type
 63 |     }
 64 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:66:22: error: reference to member 'expansion' cannot be resolved without a contextual type
 64 |
 65 |     func expansion(_ expansion: CGFloat) -> Component {
 66 |         attributes([.expansion: expansion])
    |                      `- error: reference to member 'expansion' cannot be resolved without a contextual type
 67 |     }
 68 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:70:22: error: reference to member 'kern' cannot be resolved without a contextual type
 68 |
 69 |     func kerning(_ kern: CGFloat) -> Component {
 70 |         attributes([.kern: kern])
    |                      `- error: reference to member 'kern' cannot be resolved without a contextual type
 71 |     }
 72 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:74:22: error: reference to member 'ligature' cannot be resolved without a contextual type
 72 |
 73 |     func ligature(_ ligature: Ligature) -> Component {
 74 |         attributes([.ligature: ligature.rawValue])
    |                      `- error: reference to member 'ligature' cannot be resolved without a contextual type
 75 |     }
 76 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:78:22: error: reference to member 'obliqueness' cannot be resolved without a contextual type
 76 |
 77 |     func obliqueness(_ obliqueness: Float) -> Component {
 78 |         attributes([.obliqueness: obliqueness])
    |                      `- error: reference to member 'obliqueness' cannot be resolved without a contextual type
 79 |     }
 80 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:82:22: error: cannot find 'NSShadow' in scope
 80 |
 81 |     func shadow(color: Color? = nil, radius: CGFloat, x: CGFloat, y: CGFloat) -> Component {
 82 |         let shadow = NSShadow()
    |                      `- error: cannot find 'NSShadow' in scope
 83 |         shadow.shadowColor = color
 84 |         shadow.shadowBlurRadius = radius
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:85:32: error: cannot infer contextual base in reference to member 'init'
 83 |         shadow.shadowColor = color
 84 |         shadow.shadowBlurRadius = radius
 85 |         shadow.shadowOffset = .init(width: x, height: y)
    |                                `- error: cannot infer contextual base in reference to member 'init'
 86 |         return attributes([.shadow: shadow])
 87 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:86:29: error: reference to member 'shadow' cannot be resolved without a contextual type
 84 |         shadow.shadowBlurRadius = radius
 85 |         shadow.shadowOffset = .init(width: x, height: y)
 86 |         return attributes([.shadow: shadow])
    |                             `- error: reference to member 'shadow' cannot be resolved without a contextual type
 87 |     }
 88 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:91:33: error: reference to member 'strikethroughStyle' cannot be resolved without a contextual type
 89 |     func strikethrough(style: NSUnderlineStyle, color: Color? = nil) -> Component {
 90 |         if let color = color {
 91 |             return attributes([.strikethroughStyle: style.rawValue,
    |                                 `- error: reference to member 'strikethroughStyle' cannot be resolved without a contextual type
 92 |                                .strikethroughColor: color])
 93 |         } else {
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:92:33: error: reference to member 'strikethroughColor' cannot be resolved without a contextual type
 90 |         if let color = color {
 91 |             return attributes([.strikethroughStyle: style.rawValue,
 92 |                                .strikethroughColor: color])
    |                                 `- error: reference to member 'strikethroughColor' cannot be resolved without a contextual type
 93 |         } else {
 94 |             return attributes([.strikethroughStyle: style.rawValue])
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:94:33: error: reference to member 'strikethroughStyle' cannot be resolved without a contextual type
 92 |                                .strikethroughColor: color])
 93 |         } else {
 94 |             return attributes([.strikethroughStyle: style.rawValue])
    |                                 `- error: reference to member 'strikethroughStyle' cannot be resolved without a contextual type
 95 |         }
 96 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:100:33: error: reference to member 'strokeWidth' cannot be resolved without a contextual type
 98 |     func stroke(width: CGFloat, color: Color? = nil) -> Component {
 99 |         if let color = color {
100 |             return attributes([.strokeWidth: width,
    |                                 `- error: reference to member 'strokeWidth' cannot be resolved without a contextual type
101 |                                .strokeColor: color])
102 |         } else {
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:101:33: error: reference to member 'strokeColor' cannot be resolved without a contextual type
 99 |         if let color = color {
100 |             return attributes([.strokeWidth: width,
101 |                                .strokeColor: color])
    |                                 `- error: reference to member 'strokeColor' cannot be resolved without a contextual type
102 |         } else {
103 |             return attributes([.strokeWidth: width])
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:103:33: error: reference to member 'strokeWidth' cannot be resolved without a contextual type
101 |                                .strokeColor: color])
102 |         } else {
103 |             return attributes([.strokeWidth: width])
    |                                 `- error: reference to member 'strokeWidth' cannot be resolved without a contextual type
104 |         }
105 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:108:22: error: reference to member 'textEffect' cannot be resolved without a contextual type
106 |
107 |     func textEffect(_ textEffect: NSAttributedString.TextEffectStyle) -> Component {
108 |         attributes([.textEffect: textEffect])
    |                      `- error: reference to member 'textEffect' cannot be resolved without a contextual type
109 |     }
110 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:113:33: error: reference to member 'underlineStyle' cannot be resolved without a contextual type
111 |     func underline(_ style: NSUnderlineStyle, color: Color? = nil) -> Component {
112 |         if let color = color {
113 |             return attributes([.underlineStyle: style.rawValue,
    |                                 `- error: reference to member 'underlineStyle' cannot be resolved without a contextual type
114 |                                .underlineColor: color])
115 |         } else {
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:114:33: error: reference to member 'underlineColor' cannot be resolved without a contextual type
112 |         if let color = color {
113 |             return attributes([.underlineStyle: style.rawValue,
114 |                                .underlineColor: color])
    |                                 `- error: reference to member 'underlineColor' cannot be resolved without a contextual type
115 |         } else {
116 |             return attributes([.underlineStyle: style.rawValue])
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:116:33: error: reference to member 'underlineStyle' cannot be resolved without a contextual type
114 |                                .underlineColor: color])
115 |         } else {
116 |             return attributes([.underlineStyle: style.rawValue])
    |                                 `- error: reference to member 'underlineStyle' cannot be resolved without a contextual type
117 |         }
118 |     }
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:121:22: error: reference to member 'writingDirection' cannot be resolved without a contextual type
119 |
120 |     func writingDirection(_ writingDirection: NSWritingDirection) -> Component {
121 |         attributes([.writingDirection: writingDirection.rawValue])
    |                      `- error: reference to member 'writingDirection' cannot be resolved without a contextual type
122 |     }
123 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:135:22: error: reference to member 'paragraphStyle' cannot be resolved without a contextual type
133 | public extension Component {
134 |     func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> Component {
135 |         attributes([.paragraphStyle: paragraphStyle])
    |                      `- error: reference to member 'paragraphStyle' cannot be resolved without a contextual type
136 |     }
137 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:139:22: error: reference to member 'paragraphStyle' cannot be resolved without a contextual type
137 |
138 |     func paragraphStyle(_ paragraphStyle: NSMutableParagraphStyle) -> Component {
139 |         attributes([.paragraphStyle: paragraphStyle])
    |                      `- error: reference to member 'paragraphStyle' cannot be resolved without a contextual type
140 |     }
141 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:143:54: error: cannot find type 'NSMutableParagraphStyle' in scope
141 |
142 |     private func getMutableParagraphStyle() -> NSMutableParagraphStyle {
143 |         if let mps = attributes[.paragraphStyle] as? NSMutableParagraphStyle {
    |                                                      `- error: cannot find type 'NSMutableParagraphStyle' in scope
144 |             return mps
145 |         } else if let ps = attributes[.paragraphStyle] as? NSParagraphStyle,
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:143:34: error: cannot infer contextual base in reference to member 'paragraphStyle'
141 |
142 |     private func getMutableParagraphStyle() -> NSMutableParagraphStyle {
143 |         if let mps = attributes[.paragraphStyle] as? NSMutableParagraphStyle {
    |                                  `- error: cannot infer contextual base in reference to member 'paragraphStyle'
144 |             return mps
145 |         } else if let ps = attributes[.paragraphStyle] as? NSParagraphStyle,
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:145:60: error: cannot find type 'NSParagraphStyle' in scope
143 |         if let mps = attributes[.paragraphStyle] as? NSMutableParagraphStyle {
144 |             return mps
145 |         } else if let ps = attributes[.paragraphStyle] as? NSParagraphStyle,
    |                                                            `- error: cannot find type 'NSParagraphStyle' in scope
146 |                   let mps = ps.mutableCopy() as? NSMutableParagraphStyle {
147 |             return mps
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:145:40: error: cannot infer contextual base in reference to member 'paragraphStyle'
143 |         if let mps = attributes[.paragraphStyle] as? NSMutableParagraphStyle {
144 |             return mps
145 |         } else if let ps = attributes[.paragraphStyle] as? NSParagraphStyle,
    |                                        `- error: cannot infer contextual base in reference to member 'paragraphStyle'
146 |                   let mps = ps.mutableCopy() as? NSMutableParagraphStyle {
147 |             return mps
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Component.swift:146:50: error: cannot find type 'NSMutableParagraphStyle' in scope
144 |             return mps
145 |         } else if let ps = attributes[.paragraphStyle] as? NSParagraphStyle,
146 |                   let mps = ps.mutableCopy() as? NSMutableParagraphStyle {
    |                                                  `- error: cannot find type 'NSMutableParagraphStyle' in scope
147 |             return mps
148 |         } else {
[6/8] Compiling NSAttributedStringBuilder AText.swift
/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 |
[7/8] Compiling NSAttributedStringBuilder StaticComponents.swift
/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 |
[8/8] Compiling NSAttributedStringBuilder Link.swift
/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: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/Link.swift:13:44: error: cannot find type 'URL' in scope
11 |         // MARK: Lifecycle
12 |
13 |         public init(_ string: String, url: URL, attributes: Attributes = [:]) {
   |                                            `- error: cannot find type 'URL' in scope
14 |             self.string = string
15 |             self.url = url
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Link.swift:25:25: error: cannot find type 'URL' in scope
23 |
24 |         public let string: String
25 |         public let url: URL
   |                         `- error: cannot find type 'URL' in scope
26 |         public let attributes: Attributes
27 |
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Components/Link.swift:28:38: error: cannot find type 'NSAttributedString' in scope
26 |         public let attributes: Attributes
27 |
28 |         public var attributedString: NSAttributedString {
   |                                      `- error: cannot find type 'NSAttributedString' in scope
29 |             NSAttributedString(string: string, attributes: attributes)
30 |         }
BUILD FAILURE 6.1 android