Build Information
Failed to build NSAttributedStringBuilder, reference main (b111e5
), with Swift 5.10 for Linux on 25 Apr 2025 19:39:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaeilers/NSAttributedStringBuilder.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jaeilers/NSAttributedStringBuilder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b111e52 Merge pull request #68 from jaeilers/dependabot/bundler/fastlane-2.227.1
Cloned https://github.com/jaeilers/NSAttributedStringBuilder.git
Revision (git rev-parse @):
b111e527abe6867f6a7a5f8a10d2e82e69417158
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jaeilers/NSAttributedStringBuilder.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/jaeilers/NSAttributedStringBuilder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/25] Emitting module NSAttributedStringBuilder
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:54:39: error: cannot find type 'NSMutableAttributedString' in scope
func mutableAttributedString() -> NSMutableAttributedString
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:62:59: error: cannot find type 'NSAttributedString' in scope
func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:69: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:46: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:8:11: error: cannot find type 'AImage' in scope
extension AImage: AttributedStringBuilding {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:13:30: error: cannot find type 'NSAttributedString' in scope
func attribute<T>(_ key: NSAttributedString.Key) -> T? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:22:32: error: cannot find type 'NSAttributedString' in scope
func attributedString() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:31:73: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ name: NSAttributedString.Key, value: Any) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:31:34: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ name: NSAttributedString.Key, value: Any) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:37:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:46:47: error: cannot find type 'NSAttributedString' in scope
func addingString(_ newString: String) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:56:39: error: cannot find type 'NSAttributedString' in scope
func text(_ newString: String) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:64:40: error: cannot find type 'NSAttributedString' in scope
func kerning(_ kerning: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:72:51: error: cannot find type 'NSAttributedString' in scope
func space(_ spacing: Spacing = .standard) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:95:32: error: cannot find type 'NSAttributedString' in scope
func nonBreakingSpace() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:101:23: error: cannot find type 'NSAttributedString' in scope
func newline() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:109:30: error: cannot find type 'NSAttributedString' in scope
func link(_ url: URL) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:109:22: error: cannot find type 'URL' in scope
func link(_ url: URL) -> NSAttributedString {
^~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:117:46: error: cannot find type 'NSAttributedString' in scope
func baselineOffset(_ offset: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:125:42: error: cannot find type 'NSAttributedString' in scope
func ligature(_ option: Ligature) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:133:69: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:133:30: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:141:87: error: cannot find type 'NSAttributedString' in scope
func writingDirection(_ direction: NSAttributedStringBuilder.WritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:153:78: error: cannot find type 'NSAttributedString' in scope
func language(_ languageCode: NSAttributedStringBuilder.LanguageCode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:164:69: error: cannot find type 'NSAttributedString' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:164:45: error: cannot find type 'Locale' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:177:42: error: cannot find type 'NSAttributedString' in scope
func tracking(_ tracking: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:190:33: error: cannot find type 'NSAttributedString' in scope
func font(_ font: AFont) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:190:23: error: cannot find type 'AFont' in scope
func font(_ font: AFont) -> NSAttributedString {
^~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:198:46: error: cannot find type 'NSAttributedString' in scope
func foregroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:198:35: error: cannot find type 'AColor' in scope
func foregroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:206:46: error: cannot find type 'NSAttributedString' in scope
func backgroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:206:35: error: cannot find type 'AColor' in scope
func backgroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:82: error: cannot find type 'NSAttributedString' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:29: error: cannot find type 'NSUnderlineStyle' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:64: error: cannot find type 'AColor' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:86: error: cannot find type 'NSAttributedString' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:33: error: cannot find type 'NSUnderlineStyle' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:68: error: cannot find type 'AColor' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:245:10: error: cannot find type 'NSAttributedString' in scope
) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:242:17: error: cannot find type 'CGSize' in scope
offset: CGSize = .init(width: 1, height: 1),
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:244:16: error: cannot find type 'AColor' in scope
color: AColor? = nil
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:261:63: error: cannot find type 'NSAttributedString' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:261:45: error: cannot find type 'AColor' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:309:56: error: cannot find type 'NSAttributedString' in scope
func attachment(_ attachment: NSTextAttachment) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:309:35: error: cannot find type 'NSTextAttachment' in scope
func attachment(_ attachment: NSTextAttachment) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:16:64: error: cannot find type 'NSAttributedString' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:16:43: error: cannot find type 'NSParagraphStyle' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:24:53: error: cannot find type 'NSAttributedString' in scope
func alignment(_ alignment: NSTextAlignment) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:24:33: error: cannot find type 'NSTextAlignment' in scope
func alignment(_ alignment: NSTextAlignment) -> NSAttributedString {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:32:52: error: cannot find type 'NSAttributedString' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:32:40: error: cannot find type 'CGFloat' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:40:47: error: cannot find type 'NSAttributedString' in scope
func headIndent(_ headIndent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:40:35: error: cannot find type 'CGFloat' in scope
func headIndent(_ headIndent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:48:47: error: cannot find type 'NSAttributedString' in scope
func tailIndent(_ tailIndent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:48:35: error: cannot find type 'CGFloat' in scope
func tailIndent(_ tailIndent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:56:51: error: cannot find type 'NSAttributedString' in scope
func lineHeightMultiple(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:56:39: error: cannot find type 'CGFloat' in scope
func lineHeightMultiple(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:64:50: error: cannot find type 'NSAttributedString' in scope
func minimumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:64:38: error: cannot find type 'CGFloat' in scope
func minimumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:72:50: error: cannot find type 'NSAttributedString' in scope
func maximumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:72:38: error: cannot find type 'CGFloat' in scope
func maximumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:80:45: error: cannot find type 'NSAttributedString' in scope
func lineSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:80:33: error: cannot find type 'CGFloat' in scope
func lineSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:88:50: error: cannot find type 'NSAttributedString' in scope
func paragraphSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:88:38: error: cannot find type 'CGFloat' in scope
func paragraphSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:96:56: error: cannot find type 'NSAttributedString' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:96:44: error: cannot find type 'CGFloat' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:104:61: error: cannot find type 'NSAttributedString' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:104:41: error: cannot find type 'NSLineBreakMode' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> NSAttributedString {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:112:79: error: cannot find type 'NSAttributedString' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:112:40: error: cannot find type 'NSParagraphStyle' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:120:48: error: cannot find type 'NSAttributedString' in scope
func hyphenationFactor(_ factor: Float) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:129:68: error: cannot find type 'NSAttributedString' in scope
func usesDefaultHyphenation(_ usesDefaultHyphenation: Bool) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:138:69: error: cannot find type 'NSAttributedString' in scope
func allowsDefaultTighteningForTruncation(_ isAllowed: Bool) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:146:67: error: cannot find type 'NSAttributedString' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:146:44: error: cannot find type 'NSWritingDirection' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:77: error: cannot find type 'NSAttributedString' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:32: error: cannot find type 'NSTextTab' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:61: error: cannot find type 'CGFloat' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:13:30: error: cannot find type 'NSAttributedString' in scope
func attribute<T>(_ key: NSAttributedString.Key) -> T? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:31:33: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ key: NSAttributedString.Key, value: Any) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:39:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:59:22: error: cannot find type 'URL' in scope
func link(_ url: URL) -> Attributes {
^~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:83:30: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:114:45: error: cannot find type 'Locale' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:140:23: error: cannot find type 'AFont' in scope
func font(_ font: AFont) -> Attributes {
^~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:148:35: error: cannot find type 'AColor' in scope
func foregroundColor(_ color: AColor) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:156:35: error: cannot find type 'AColor' in scope
func backgroundColor(_ color: AColor) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:165:29: error: cannot find type 'NSUnderlineStyle' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:165:64: error: cannot find type 'AColor' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:179:33: error: cannot find type 'NSUnderlineStyle' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:179:68: error: cannot find type 'AColor' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:196:17: error: cannot find type 'CGSize' in scope
offset: CGSize = .init(width: 1, height: 1),
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:198:16: error: cannot find type 'AColor' in scope
color: AColor? = nil
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:219:45: error: cannot find type 'AColor' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:237:35: error: cannot find type 'NSTextAttachment' in scope
func attachment(_ attachment: NSTextAttachment) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:15:43: error: cannot find type 'NSParagraphStyle' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:23:33: error: cannot find type 'NSTextAlignment' in scope
func alignment(_ alignment: NSTextAlignment) -> Attributes {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:31:40: error: cannot find type 'CGFloat' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:39:35: error: cannot find type 'CGFloat' in scope
func headIndent(_ headIndent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:47:35: error: cannot find type 'CGFloat' in scope
func tailIndent(_ tailIndent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:55:39: error: cannot find type 'CGFloat' in scope
func lineHeightMultiple(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:63:38: error: cannot find type 'CGFloat' in scope
func minimumLineHeight(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:71:38: error: cannot find type 'CGFloat' in scope
func maximumLineHeight(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:79:33: error: cannot find type 'CGFloat' in scope
func lineSpacing(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:87:38: error: cannot find type 'CGFloat' in scope
func paragraphSpacing(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:95:44: error: cannot find type 'CGFloat' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:103:41: error: cannot find type 'NSLineBreakMode' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> Attributes {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:111:40: error: cannot find type 'NSParagraphStyle' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:145:44: error: cannot find type 'NSWritingDirection' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:154:32: error: cannot find type 'NSTextTab' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Attributes {
^~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:154:61: error: cannot find type 'CGFloat' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:168:43: error: cannot find type 'NSMutableParagraphStyle' in scope
keyPath: ReferenceWritableKeyPath<NSMutableParagraphStyle, T>
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:7:11: error: cannot find type 'NSAttributedString' in scope
extension NSAttributedString: AttributedStringBuilding {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:17:46: error: cannot find type 'NSMutableAttributedString' in scope
public func mutableAttributedString() -> NSMutableAttributedString {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:25:66: error: cannot find type 'NSAttributedString' in scope
public func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:33:76: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:33:53: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
[5/27] Compiling NSAttributedStringBuilder Attributes+iOS.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:13:30: error: cannot find type 'NSAttributedString' in scope
func attribute<T>(_ key: NSAttributedString.Key) -> T? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:31:33: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ key: NSAttributedString.Key, value: Any) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:39:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:59:22: error: cannot find type 'URL' in scope
func link(_ url: URL) -> Attributes {
^~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:83:30: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:114:45: error: cannot find type 'Locale' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:140:23: error: cannot find type 'AFont' in scope
func font(_ font: AFont) -> Attributes {
^~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:148:35: error: cannot find type 'AColor' in scope
func foregroundColor(_ color: AColor) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:156:35: error: cannot find type 'AColor' in scope
func backgroundColor(_ color: AColor) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:165:29: error: cannot find type 'NSUnderlineStyle' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:165:64: error: cannot find type 'AColor' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:179:33: error: cannot find type 'NSUnderlineStyle' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:179:68: error: cannot find type 'AColor' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:196:17: error: cannot find type 'CGSize' in scope
offset: CGSize = .init(width: 1, height: 1),
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:198:16: error: cannot find type 'AColor' in scope
color: AColor? = nil
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:219:45: error: cannot find type 'AColor' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:237:35: error: cannot find type 'NSTextAttachment' in scope
func attachment(_ attachment: NSTextAttachment) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:33:30: error: cannot assign value of type 'Any' to subscript of type 'Value'
newAttributes[key] = value
^~~~~
as! Value
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:40:35: error: cannot find type 'NSParagraphStyle' in scope
guard let paragraphStyle: NSParagraphStyle = attribute(.paragraphStyle) else {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:40:54: error: type of expression is ambiguous without a type annotation
guard let paragraphStyle: NSParagraphStyle = attribute(.paragraphStyle) else {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:167:42: error: cannot find 'NSNumber' in scope
newAttributes[.underlineStyle] = NSNumber(value: style.rawValue)
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:167:24: error: type 'Key' has no member 'underlineStyle'
newAttributes[.underlineStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:168:24: error: type 'Key' has no member 'underlineColor'
newAttributes[.underlineColor] = color
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:181:46: error: cannot find 'NSNumber' in scope
newAttributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:181:24: error: type 'Key' has no member 'strikethroughStyle'
newAttributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:182:24: error: type 'Key' has no member 'strikethroughColor'
newAttributes[.strikethroughColor] = color
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:200:22: error: cannot find 'NSShadow' in scope
let shadow = NSShadow()
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:202:35: error: cannot find 'CGFloat' in scope
shadow.shadowBlurRadius = CGFloat(blurRadius)
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:221:39: error: cannot find 'NSNumber' in scope
newAttributes[.strokeWidth] = NSNumber(value: width)
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:221:24: error: type 'Key' has no member 'strokeWidth'
newAttributes[.strokeWidth] = NSNumber(value: width)
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:222:24: error: type 'Key' has no member 'strokeColor'
newAttributes[.strokeColor] = color
~^~~~~~~~~~~
[6/27] Compiling NSAttributedStringBuilder Attributes+macOS.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:13:30: error: cannot find type 'NSAttributedString' in scope
func attribute<T>(_ key: NSAttributedString.Key) -> T? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:31:33: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ key: NSAttributedString.Key, value: Any) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:39:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:59:22: error: cannot find type 'URL' in scope
func link(_ url: URL) -> Attributes {
^~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:83:30: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:114:45: error: cannot find type 'Locale' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:140:23: error: cannot find type 'AFont' in scope
func font(_ font: AFont) -> Attributes {
^~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:148:35: error: cannot find type 'AColor' in scope
func foregroundColor(_ color: AColor) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:156:35: error: cannot find type 'AColor' in scope
func backgroundColor(_ color: AColor) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:165:29: error: cannot find type 'NSUnderlineStyle' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:165:64: error: cannot find type 'AColor' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:179:33: error: cannot find type 'NSUnderlineStyle' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:179:68: error: cannot find type 'AColor' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:196:17: error: cannot find type 'CGSize' in scope
offset: CGSize = .init(width: 1, height: 1),
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:198:16: error: cannot find type 'AColor' in scope
color: AColor? = nil
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:219:45: error: cannot find type 'AColor' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:237:35: error: cannot find type 'NSTextAttachment' in scope
func attachment(_ attachment: NSTextAttachment) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:33:30: error: cannot assign value of type 'Any' to subscript of type 'Value'
newAttributes[key] = value
^~~~~
as! Value
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:40:35: error: cannot find type 'NSParagraphStyle' in scope
guard let paragraphStyle: NSParagraphStyle = attribute(.paragraphStyle) else {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:40:54: error: type of expression is ambiguous without a type annotation
guard let paragraphStyle: NSParagraphStyle = attribute(.paragraphStyle) else {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:167:42: error: cannot find 'NSNumber' in scope
newAttributes[.underlineStyle] = NSNumber(value: style.rawValue)
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:167:24: error: type 'Key' has no member 'underlineStyle'
newAttributes[.underlineStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:168:24: error: type 'Key' has no member 'underlineColor'
newAttributes[.underlineColor] = color
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:181:46: error: cannot find 'NSNumber' in scope
newAttributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:181:24: error: type 'Key' has no member 'strikethroughStyle'
newAttributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:182:24: error: type 'Key' has no member 'strikethroughColor'
newAttributes[.strikethroughColor] = color
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:200:22: error: cannot find 'NSShadow' in scope
let shadow = NSShadow()
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:202:35: error: cannot find 'CGFloat' in scope
shadow.shadowBlurRadius = CGFloat(blurRadius)
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:221:39: error: cannot find 'NSNumber' in scope
newAttributes[.strokeWidth] = NSNumber(value: width)
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:221:24: error: type 'Key' has no member 'strokeWidth'
newAttributes[.strokeWidth] = NSNumber(value: width)
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:222:24: error: type 'Key' has no member 'strokeColor'
newAttributes[.strokeColor] = color
~^~~~~~~~~~~
[7/27] Compiling NSAttributedStringBuilder Attributes+multiPlatform.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:13:30: error: cannot find type 'NSAttributedString' in scope
func attribute<T>(_ key: NSAttributedString.Key) -> T? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:31:33: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ key: NSAttributedString.Key, value: Any) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:39:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:59:22: error: cannot find type 'URL' in scope
func link(_ url: URL) -> Attributes {
^~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:83:30: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:114:45: error: cannot find type 'Locale' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:140:23: error: cannot find type 'AFont' in scope
func font(_ font: AFont) -> Attributes {
^~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:148:35: error: cannot find type 'AColor' in scope
func foregroundColor(_ color: AColor) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:156:35: error: cannot find type 'AColor' in scope
func backgroundColor(_ color: AColor) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:165:29: error: cannot find type 'NSUnderlineStyle' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:165:64: error: cannot find type 'AColor' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:179:33: error: cannot find type 'NSUnderlineStyle' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:179:68: error: cannot find type 'AColor' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:196:17: error: cannot find type 'CGSize' in scope
offset: CGSize = .init(width: 1, height: 1),
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:198:16: error: cannot find type 'AColor' in scope
color: AColor? = nil
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:219:45: error: cannot find type 'AColor' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> Attributes {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:237:35: error: cannot find type 'NSTextAttachment' in scope
func attachment(_ attachment: NSTextAttachment) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:33:30: error: cannot assign value of type 'Any' to subscript of type 'Value'
newAttributes[key] = value
^~~~~
as! Value
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:40:35: error: cannot find type 'NSParagraphStyle' in scope
guard let paragraphStyle: NSParagraphStyle = attribute(.paragraphStyle) else {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:40:54: error: type of expression is ambiguous without a type annotation
guard let paragraphStyle: NSParagraphStyle = attribute(.paragraphStyle) else {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:167:42: error: cannot find 'NSNumber' in scope
newAttributes[.underlineStyle] = NSNumber(value: style.rawValue)
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:167:24: error: type 'Key' has no member 'underlineStyle'
newAttributes[.underlineStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:168:24: error: type 'Key' has no member 'underlineColor'
newAttributes[.underlineColor] = color
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:181:46: error: cannot find 'NSNumber' in scope
newAttributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:181:24: error: type 'Key' has no member 'strikethroughStyle'
newAttributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:182:24: error: type 'Key' has no member 'strikethroughColor'
newAttributes[.strikethroughColor] = color
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:200:22: error: cannot find 'NSShadow' in scope
let shadow = NSShadow()
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:202:35: error: cannot find 'CGFloat' in scope
shadow.shadowBlurRadius = CGFloat(blurRadius)
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:221:39: error: cannot find 'NSNumber' in scope
newAttributes[.strokeWidth] = NSNumber(value: width)
^~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:221:24: error: type 'Key' has no member 'strokeWidth'
newAttributes[.strokeWidth] = NSNumber(value: width)
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:222:24: error: type 'Key' has no member 'strokeColor'
newAttributes[.strokeColor] = color
~^~~~~~~~~~~
[8/27] Compiling NSAttributedStringBuilder Attributes+multiPlatformParagraphStyles.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:15:43: error: cannot find type 'NSParagraphStyle' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:23:33: error: cannot find type 'NSTextAlignment' in scope
func alignment(_ alignment: NSTextAlignment) -> Attributes {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:31:40: error: cannot find type 'CGFloat' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:39:35: error: cannot find type 'CGFloat' in scope
func headIndent(_ headIndent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:47:35: error: cannot find type 'CGFloat' in scope
func tailIndent(_ tailIndent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:55:39: error: cannot find type 'CGFloat' in scope
func lineHeightMultiple(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:63:38: error: cannot find type 'CGFloat' in scope
func minimumLineHeight(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:71:38: error: cannot find type 'CGFloat' in scope
func maximumLineHeight(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:79:33: error: cannot find type 'CGFloat' in scope
func lineSpacing(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:87:38: error: cannot find type 'CGFloat' in scope
func paragraphSpacing(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:95:44: error: cannot find type 'CGFloat' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:103:41: error: cannot find type 'NSLineBreakMode' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> Attributes {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:111:40: error: cannot find type 'NSParagraphStyle' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:145:44: error: cannot find type 'NSWritingDirection' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:154:32: error: cannot find type 'NSTextTab' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Attributes {
^~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:154:61: error: cannot find type 'CGFloat' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:168:43: error: cannot find type 'NSMutableParagraphStyle' in scope
keyPath: ReferenceWritableKeyPath<NSMutableParagraphStyle, T>
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:39:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:7:11: error: cannot find type 'NSAttributedString' in scope
extension NSAttributedString: AttributedStringBuilding {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:19:46: error: cannot find type 'NSMutableAttributedString' in scope
public func mutableAttributedString() -> NSMutableAttributedString {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:23:66: error: cannot find type 'NSAttributedString' in scope
public func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:35:76: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:35:53: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
[9/27] Compiling NSAttributedStringBuilder NSAttributedString+AttributedStringBuilding.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:15:43: error: cannot find type 'NSParagraphStyle' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:23:33: error: cannot find type 'NSTextAlignment' in scope
func alignment(_ alignment: NSTextAlignment) -> Attributes {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:31:40: error: cannot find type 'CGFloat' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:39:35: error: cannot find type 'CGFloat' in scope
func headIndent(_ headIndent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:47:35: error: cannot find type 'CGFloat' in scope
func tailIndent(_ tailIndent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:55:39: error: cannot find type 'CGFloat' in scope
func lineHeightMultiple(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:63:38: error: cannot find type 'CGFloat' in scope
func minimumLineHeight(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:71:38: error: cannot find type 'CGFloat' in scope
func maximumLineHeight(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:79:33: error: cannot find type 'CGFloat' in scope
func lineSpacing(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:87:38: error: cannot find type 'CGFloat' in scope
func paragraphSpacing(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:95:44: error: cannot find type 'CGFloat' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:103:41: error: cannot find type 'NSLineBreakMode' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> Attributes {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:111:40: error: cannot find type 'NSParagraphStyle' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:145:44: error: cannot find type 'NSWritingDirection' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:154:32: error: cannot find type 'NSTextTab' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Attributes {
^~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:154:61: error: cannot find type 'CGFloat' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:168:43: error: cannot find type 'NSMutableParagraphStyle' in scope
keyPath: ReferenceWritableKeyPath<NSMutableParagraphStyle, T>
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:39:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:7:11: error: cannot find type 'NSAttributedString' in scope
extension NSAttributedString: AttributedStringBuilding {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:19:46: error: cannot find type 'NSMutableAttributedString' in scope
public func mutableAttributedString() -> NSMutableAttributedString {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:23:66: error: cannot find type 'NSAttributedString' in scope
public func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:35:76: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:35:53: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
[10/27] Compiling NSAttributedStringBuilder NSAttributedString+append.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:15:43: error: cannot find type 'NSParagraphStyle' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:23:33: error: cannot find type 'NSTextAlignment' in scope
func alignment(_ alignment: NSTextAlignment) -> Attributes {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:31:40: error: cannot find type 'CGFloat' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:39:35: error: cannot find type 'CGFloat' in scope
func headIndent(_ headIndent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:47:35: error: cannot find type 'CGFloat' in scope
func tailIndent(_ tailIndent: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:55:39: error: cannot find type 'CGFloat' in scope
func lineHeightMultiple(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:63:38: error: cannot find type 'CGFloat' in scope
func minimumLineHeight(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:71:38: error: cannot find type 'CGFloat' in scope
func maximumLineHeight(_ height: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:79:33: error: cannot find type 'CGFloat' in scope
func lineSpacing(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:87:38: error: cannot find type 'CGFloat' in scope
func paragraphSpacing(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:95:44: error: cannot find type 'CGFloat' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:103:41: error: cannot find type 'NSLineBreakMode' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> Attributes {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:111:40: error: cannot find type 'NSParagraphStyle' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> Attributes {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:145:44: error: cannot find type 'NSWritingDirection' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> Attributes {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:154:32: error: cannot find type 'NSTextTab' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Attributes {
^~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:154:61: error: cannot find type 'CGFloat' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> Attributes {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatformParagraphStyles.swift:168:43: error: cannot find type 'NSMutableParagraphStyle' in scope
keyPath: ReferenceWritableKeyPath<NSMutableParagraphStyle, T>
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/Attributes+multiPlatform.swift:39:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:7:11: error: cannot find type 'NSAttributedString' in scope
extension NSAttributedString: AttributedStringBuilding {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:19:46: error: cannot find type 'NSMutableAttributedString' in scope
public func mutableAttributedString() -> NSMutableAttributedString {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:23:66: error: cannot find type 'NSAttributedString' in scope
public func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:35:76: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/NSAttributedString+AttributedStringBuilding.swift:35:53: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
[11/27] Compiling NSAttributedStringBuilder WritingDirection.swift
[12/27] Compiling NSAttributedStringBuilder resource_bundle_accessor.swift
[13/27] Compiling NSAttributedStringBuilder String+AttributedStringBuilding.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:17:46: error: cannot find type 'NSMutableAttributedString' in scope
public func mutableAttributedString() -> NSMutableAttributedString {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:25:66: error: cannot find type 'NSAttributedString' in scope
public func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:33:76: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:33:53: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:54:39: error: cannot find type 'NSMutableAttributedString' in scope
func mutableAttributedString() -> NSMutableAttributedString
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:62:59: error: cannot find type 'NSAttributedString' in scope
func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:69: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:46: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
[14/27] Compiling NSAttributedStringBuilder LanguageCode.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:17:46: error: cannot find type 'NSMutableAttributedString' in scope
public func mutableAttributedString() -> NSMutableAttributedString {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:25:66: error: cannot find type 'NSAttributedString' in scope
public func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:33:76: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:33:53: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:54:39: error: cannot find type 'NSMutableAttributedString' in scope
func mutableAttributedString() -> NSMutableAttributedString
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:62:59: error: cannot find type 'NSAttributedString' in scope
func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:69: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:46: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
[15/27] Compiling NSAttributedStringBuilder Ligature.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:17:46: error: cannot find type 'NSMutableAttributedString' in scope
public func mutableAttributedString() -> NSMutableAttributedString {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:25:66: error: cannot find type 'NSAttributedString' in scope
public func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:33:76: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/String+AttributedStringBuilding.swift:33:53: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:54:39: error: cannot find type 'NSMutableAttributedString' in scope
func mutableAttributedString() -> NSMutableAttributedString
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:62:59: error: cannot find type 'NSAttributedString' in scope
func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:69: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:46: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
[16/27] Compiling NSAttributedStringBuilder NSAttributedStringBuilder.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:10:59: error: missing argument for parameter 'string' in call
components.reduce(into: NSMutableAttributedString()) { result, element in
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:16:41: error: missing argument for parameter #1 in call
component ?? NSAttributedString()
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Newline.swift:8:24: error: missing argument for parameter #1 in call
NSAttributedString().newline()
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Newline.swift:8:26: error: reference to member 'newline' cannot be resolved without a contextual type
NSAttributedString().newline()
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NonBreakingSpace.swift:8:24: error: missing argument for parameter #1 in call
NSAttributedString().nonBreakingSpace()
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NonBreakingSpace.swift:8:26: error: reference to member 'nonBreakingSpace' cannot be resolved without a contextual type
NSAttributedString().nonBreakingSpace()
^
[17/27] Compiling NSAttributedStringBuilder Newline.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:10:59: error: missing argument for parameter 'string' in call
components.reduce(into: NSMutableAttributedString()) { result, element in
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:16:41: error: missing argument for parameter #1 in call
component ?? NSAttributedString()
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Newline.swift:8:24: error: missing argument for parameter #1 in call
NSAttributedString().newline()
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Newline.swift:8:26: error: reference to member 'newline' cannot be resolved without a contextual type
NSAttributedString().newline()
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NonBreakingSpace.swift:8:24: error: missing argument for parameter #1 in call
NSAttributedString().nonBreakingSpace()
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NonBreakingSpace.swift:8:26: error: reference to member 'nonBreakingSpace' cannot be resolved without a contextual type
NSAttributedString().nonBreakingSpace()
^
[18/27] Compiling NSAttributedStringBuilder NonBreakingSpace.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:10:59: error: missing argument for parameter 'string' in call
components.reduce(into: NSMutableAttributedString()) { result, element in
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:16:41: error: missing argument for parameter #1 in call
component ?? NSAttributedString()
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Newline.swift:8:24: error: missing argument for parameter #1 in call
NSAttributedString().newline()
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Newline.swift:8:26: error: reference to member 'newline' cannot be resolved without a contextual type
NSAttributedString().newline()
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NonBreakingSpace.swift:8:24: error: missing argument for parameter #1 in call
NSAttributedString().nonBreakingSpace()
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NonBreakingSpace.swift:8:26: error: reference to member 'nonBreakingSpace' cannot be resolved without a contextual type
NSAttributedString().nonBreakingSpace()
^
[19/27] Compiling NSAttributedStringBuilder AttributedStringBuilding.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:54:39: error: cannot find type 'NSMutableAttributedString' in scope
func mutableAttributedString() -> NSMutableAttributedString
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:62:59: error: cannot find type 'NSAttributedString' in scope
func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:69: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:46: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:8:11: error: cannot find type 'AImage' in scope
extension AImage: AttributedStringBuilding {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:14:46: error: cannot find type 'NSMutableAttributedString' in scope
public func mutableAttributedString() -> NSMutableAttributedString {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:18:66: error: cannot find type 'NSAttributedString' in scope
public func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:24:76: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:24:53: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
[20/27] Compiling NSAttributedStringBuilder AImage+AttributedStringBuilding.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:54:39: error: cannot find type 'NSMutableAttributedString' in scope
func mutableAttributedString() -> NSMutableAttributedString
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:62:59: error: cannot find type 'NSAttributedString' in scope
func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:69: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:46: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:8:11: error: cannot find type 'AImage' in scope
extension AImage: AttributedStringBuilding {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:14:46: error: cannot find type 'NSMutableAttributedString' in scope
public func mutableAttributedString() -> NSMutableAttributedString {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:18:66: error: cannot find type 'NSAttributedString' in scope
public func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:24:76: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:24:53: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
[21/27] Compiling NSAttributedStringBuilder AttributedStringBuilding+iOS.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:54:39: error: cannot find type 'NSMutableAttributedString' in scope
func mutableAttributedString() -> NSMutableAttributedString
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:62:59: error: cannot find type 'NSAttributedString' in scope
func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:69: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:71:46: error: cannot find type 'NSAttributedString' in scope
func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:8:11: error: cannot find type 'AImage' in scope
extension AImage: AttributedStringBuilding {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:14:46: error: cannot find type 'NSMutableAttributedString' in scope
public func mutableAttributedString() -> NSMutableAttributedString {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:18:66: error: cannot find type 'NSAttributedString' in scope
public func addingAttributes(_ newAttributes: Attributes) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:24:76: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AImage+AttributedStringBuilding.swift:24:53: error: cannot find type 'NSAttributedString' in scope
public func addingAttributedString(_ newString: NSAttributedString) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
[22/27] Compiling NSAttributedStringBuilder AttributedStringBuilding+macOS.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:13:30: error: cannot find type 'NSAttributedString' in scope
func attribute<T>(_ key: NSAttributedString.Key) -> T? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:22:32: error: cannot find type 'NSAttributedString' in scope
func attributedString() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:31:73: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ name: NSAttributedString.Key, value: Any) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:31:34: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ name: NSAttributedString.Key, value: Any) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:37:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:46:47: error: cannot find type 'NSAttributedString' in scope
func addingString(_ newString: String) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:56:39: error: cannot find type 'NSAttributedString' in scope
func text(_ newString: String) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:64:40: error: cannot find type 'NSAttributedString' in scope
func kerning(_ kerning: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:72:51: error: cannot find type 'NSAttributedString' in scope
func space(_ spacing: Spacing = .standard) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:95:32: error: cannot find type 'NSAttributedString' in scope
func nonBreakingSpace() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:101:23: error: cannot find type 'NSAttributedString' in scope
func newline() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:109:30: error: cannot find type 'NSAttributedString' in scope
func link(_ url: URL) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:109:22: error: cannot find type 'URL' in scope
func link(_ url: URL) -> NSAttributedString {
^~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:117:46: error: cannot find type 'NSAttributedString' in scope
func baselineOffset(_ offset: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:125:42: error: cannot find type 'NSAttributedString' in scope
func ligature(_ option: Ligature) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:133:69: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:133:30: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:141:87: error: cannot find type 'NSAttributedString' in scope
func writingDirection(_ direction: NSAttributedStringBuilder.WritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:153:78: error: cannot find type 'NSAttributedString' in scope
func language(_ languageCode: NSAttributedStringBuilder.LanguageCode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:164:69: error: cannot find type 'NSAttributedString' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:164:45: error: cannot find type 'Locale' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:177:42: error: cannot find type 'NSAttributedString' in scope
func tracking(_ tracking: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:190:33: error: cannot find type 'NSAttributedString' in scope
func font(_ font: AFont) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:190:23: error: cannot find type 'AFont' in scope
func font(_ font: AFont) -> NSAttributedString {
^~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:198:46: error: cannot find type 'NSAttributedString' in scope
func foregroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:198:35: error: cannot find type 'AColor' in scope
func foregroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:206:46: error: cannot find type 'NSAttributedString' in scope
func backgroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:206:35: error: cannot find type 'AColor' in scope
func backgroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:82: error: cannot find type 'NSAttributedString' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:29: error: cannot find type 'NSUnderlineStyle' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:64: error: cannot find type 'AColor' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:86: error: cannot find type 'NSAttributedString' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:33: error: cannot find type 'NSUnderlineStyle' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:68: error: cannot find type 'AColor' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:245:10: error: cannot find type 'NSAttributedString' in scope
) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:242:17: error: cannot find type 'CGSize' in scope
offset: CGSize = .init(width: 1, height: 1),
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:244:16: error: cannot find type 'AColor' in scope
color: AColor? = nil
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:261:63: error: cannot find type 'NSAttributedString' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:261:45: error: cannot find type 'AColor' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:309:56: error: cannot find type 'NSAttributedString' in scope
func attachment(_ attachment: NSTextAttachment) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:309:35: error: cannot find type 'NSTextAttachment' in scope
func attachment(_ attachment: NSTextAttachment) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:86:30: error: cannot find 'NSTextAttachment' in scope
let attachment = NSTextAttachment()
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:87:34: error: cannot infer contextual base in reference to member 'init'
attachment.bounds = .init(origin: .zero, size: .init(width: width, height: 0.001))
~^~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:87:48: error: cannot infer contextual base in reference to member 'zero'
attachment.bounds = .init(origin: .zero, size: .init(width: width, height: 0.001))
~^~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:87:61: error: cannot infer contextual base in reference to member 'init'
attachment.bounds = .init(origin: .zero, size: .init(width: width, height: 0.001))
~^~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:16:64: error: cannot find type 'NSAttributedString' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:16:43: error: cannot find type 'NSParagraphStyle' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:24:53: error: cannot find type 'NSAttributedString' in scope
func alignment(_ alignment: NSTextAlignment) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:24:33: error: cannot find type 'NSTextAlignment' in scope
func alignment(_ alignment: NSTextAlignment) -> NSAttributedString {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:32:52: error: cannot find type 'NSAttributedString' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:32:40: error: cannot find type 'CGFloat' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:40:47: error: cannot find type 'NSAttributedString' in scope
func headIndent(_ headIndent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:40:35: error: cannot find type 'CGFloat' in scope
func headIndent(_ headIndent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:48:47: error: cannot find type 'NSAttributedString' in scope
func tailIndent(_ tailIndent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:48:35: error: cannot find type 'CGFloat' in scope
func tailIndent(_ tailIndent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:56:51: error: cannot find type 'NSAttributedString' in scope
func lineHeightMultiple(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:56:39: error: cannot find type 'CGFloat' in scope
func lineHeightMultiple(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:64:50: error: cannot find type 'NSAttributedString' in scope
func minimumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:64:38: error: cannot find type 'CGFloat' in scope
func minimumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:72:50: error: cannot find type 'NSAttributedString' in scope
func maximumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:72:38: error: cannot find type 'CGFloat' in scope
func maximumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:80:45: error: cannot find type 'NSAttributedString' in scope
func lineSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:80:33: error: cannot find type 'CGFloat' in scope
func lineSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:88:50: error: cannot find type 'NSAttributedString' in scope
func paragraphSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:88:38: error: cannot find type 'CGFloat' in scope
func paragraphSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:96:56: error: cannot find type 'NSAttributedString' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:96:44: error: cannot find type 'CGFloat' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:104:61: error: cannot find type 'NSAttributedString' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:104:41: error: cannot find type 'NSLineBreakMode' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> NSAttributedString {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:112:79: error: cannot find type 'NSAttributedString' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:112:40: error: cannot find type 'NSParagraphStyle' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:120:48: error: cannot find type 'NSAttributedString' in scope
func hyphenationFactor(_ factor: Float) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:129:68: error: cannot find type 'NSAttributedString' in scope
func usesDefaultHyphenation(_ usesDefaultHyphenation: Bool) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:138:69: error: cannot find type 'NSAttributedString' in scope
func allowsDefaultTighteningForTruncation(_ isAllowed: Bool) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:146:67: error: cannot find type 'NSAttributedString' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:146:44: error: cannot find type 'NSWritingDirection' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:77: error: cannot find type 'NSAttributedString' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:32: error: cannot find type 'NSTextTab' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:61: error: cannot find type 'CGFloat' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~
[23/27] Compiling NSAttributedStringBuilder AttributedStringBuilding+multiPlatform.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:13:30: error: cannot find type 'NSAttributedString' in scope
func attribute<T>(_ key: NSAttributedString.Key) -> T? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:22:32: error: cannot find type 'NSAttributedString' in scope
func attributedString() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:31:73: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ name: NSAttributedString.Key, value: Any) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:31:34: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ name: NSAttributedString.Key, value: Any) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:37:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:46:47: error: cannot find type 'NSAttributedString' in scope
func addingString(_ newString: String) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:56:39: error: cannot find type 'NSAttributedString' in scope
func text(_ newString: String) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:64:40: error: cannot find type 'NSAttributedString' in scope
func kerning(_ kerning: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:72:51: error: cannot find type 'NSAttributedString' in scope
func space(_ spacing: Spacing = .standard) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:95:32: error: cannot find type 'NSAttributedString' in scope
func nonBreakingSpace() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:101:23: error: cannot find type 'NSAttributedString' in scope
func newline() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:109:30: error: cannot find type 'NSAttributedString' in scope
func link(_ url: URL) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:109:22: error: cannot find type 'URL' in scope
func link(_ url: URL) -> NSAttributedString {
^~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:117:46: error: cannot find type 'NSAttributedString' in scope
func baselineOffset(_ offset: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:125:42: error: cannot find type 'NSAttributedString' in scope
func ligature(_ option: Ligature) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:133:69: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:133:30: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:141:87: error: cannot find type 'NSAttributedString' in scope
func writingDirection(_ direction: NSAttributedStringBuilder.WritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:153:78: error: cannot find type 'NSAttributedString' in scope
func language(_ languageCode: NSAttributedStringBuilder.LanguageCode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:164:69: error: cannot find type 'NSAttributedString' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:164:45: error: cannot find type 'Locale' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:177:42: error: cannot find type 'NSAttributedString' in scope
func tracking(_ tracking: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:190:33: error: cannot find type 'NSAttributedString' in scope
func font(_ font: AFont) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:190:23: error: cannot find type 'AFont' in scope
func font(_ font: AFont) -> NSAttributedString {
^~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:198:46: error: cannot find type 'NSAttributedString' in scope
func foregroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:198:35: error: cannot find type 'AColor' in scope
func foregroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:206:46: error: cannot find type 'NSAttributedString' in scope
func backgroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:206:35: error: cannot find type 'AColor' in scope
func backgroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:82: error: cannot find type 'NSAttributedString' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:29: error: cannot find type 'NSUnderlineStyle' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:64: error: cannot find type 'AColor' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:86: error: cannot find type 'NSAttributedString' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:33: error: cannot find type 'NSUnderlineStyle' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:68: error: cannot find type 'AColor' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:245:10: error: cannot find type 'NSAttributedString' in scope
) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:242:17: error: cannot find type 'CGSize' in scope
offset: CGSize = .init(width: 1, height: 1),
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:244:16: error: cannot find type 'AColor' in scope
color: AColor? = nil
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:261:63: error: cannot find type 'NSAttributedString' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:261:45: error: cannot find type 'AColor' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:309:56: error: cannot find type 'NSAttributedString' in scope
func attachment(_ attachment: NSTextAttachment) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:309:35: error: cannot find type 'NSTextAttachment' in scope
func attachment(_ attachment: NSTextAttachment) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:86:30: error: cannot find 'NSTextAttachment' in scope
let attachment = NSTextAttachment()
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:87:34: error: cannot infer contextual base in reference to member 'init'
attachment.bounds = .init(origin: .zero, size: .init(width: width, height: 0.001))
~^~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:87:48: error: cannot infer contextual base in reference to member 'zero'
attachment.bounds = .init(origin: .zero, size: .init(width: width, height: 0.001))
~^~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:87:61: error: cannot infer contextual base in reference to member 'init'
attachment.bounds = .init(origin: .zero, size: .init(width: width, height: 0.001))
~^~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:16:64: error: cannot find type 'NSAttributedString' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:16:43: error: cannot find type 'NSParagraphStyle' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:24:53: error: cannot find type 'NSAttributedString' in scope
func alignment(_ alignment: NSTextAlignment) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:24:33: error: cannot find type 'NSTextAlignment' in scope
func alignment(_ alignment: NSTextAlignment) -> NSAttributedString {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:32:52: error: cannot find type 'NSAttributedString' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:32:40: error: cannot find type 'CGFloat' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:40:47: error: cannot find type 'NSAttributedString' in scope
func headIndent(_ headIndent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:40:35: error: cannot find type 'CGFloat' in scope
func headIndent(_ headIndent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:48:47: error: cannot find type 'NSAttributedString' in scope
func tailIndent(_ tailIndent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:48:35: error: cannot find type 'CGFloat' in scope
func tailIndent(_ tailIndent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:56:51: error: cannot find type 'NSAttributedString' in scope
func lineHeightMultiple(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:56:39: error: cannot find type 'CGFloat' in scope
func lineHeightMultiple(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:64:50: error: cannot find type 'NSAttributedString' in scope
func minimumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:64:38: error: cannot find type 'CGFloat' in scope
func minimumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:72:50: error: cannot find type 'NSAttributedString' in scope
func maximumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:72:38: error: cannot find type 'CGFloat' in scope
func maximumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:80:45: error: cannot find type 'NSAttributedString' in scope
func lineSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:80:33: error: cannot find type 'CGFloat' in scope
func lineSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:88:50: error: cannot find type 'NSAttributedString' in scope
func paragraphSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:88:38: error: cannot find type 'CGFloat' in scope
func paragraphSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:96:56: error: cannot find type 'NSAttributedString' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:96:44: error: cannot find type 'CGFloat' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:104:61: error: cannot find type 'NSAttributedString' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:104:41: error: cannot find type 'NSLineBreakMode' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> NSAttributedString {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:112:79: error: cannot find type 'NSAttributedString' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:112:40: error: cannot find type 'NSParagraphStyle' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:120:48: error: cannot find type 'NSAttributedString' in scope
func hyphenationFactor(_ factor: Float) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:129:68: error: cannot find type 'NSAttributedString' in scope
func usesDefaultHyphenation(_ usesDefaultHyphenation: Bool) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:138:69: error: cannot find type 'NSAttributedString' in scope
func allowsDefaultTighteningForTruncation(_ isAllowed: Bool) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:146:67: error: cannot find type 'NSAttributedString' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:146:44: error: cannot find type 'NSWritingDirection' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:77: error: cannot find type 'NSAttributedString' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:32: error: cannot find type 'NSTextTab' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:61: error: cannot find type 'CGFloat' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~
[24/27] Compiling NSAttributedStringBuilder AttributedStringBuilding+multiPlatformParagraphStyles.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:13:30: error: cannot find type 'NSAttributedString' in scope
func attribute<T>(_ key: NSAttributedString.Key) -> T? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:22:32: error: cannot find type 'NSAttributedString' in scope
func attributedString() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:31:73: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ name: NSAttributedString.Key, value: Any) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:31:34: error: cannot find type 'NSAttributedString' in scope
func addingAttribute(_ name: NSAttributedString.Key, value: Any) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:37:37: error: cannot find type 'NSMutableParagraphStyle' in scope
func mutableParagraphStyle() -> NSMutableParagraphStyle {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:46:47: error: cannot find type 'NSAttributedString' in scope
func addingString(_ newString: String) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:56:39: error: cannot find type 'NSAttributedString' in scope
func text(_ newString: String) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:64:40: error: cannot find type 'NSAttributedString' in scope
func kerning(_ kerning: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:72:51: error: cannot find type 'NSAttributedString' in scope
func space(_ spacing: Spacing = .standard) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:95:32: error: cannot find type 'NSAttributedString' in scope
func nonBreakingSpace() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:101:23: error: cannot find type 'NSAttributedString' in scope
func newline() -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:109:30: error: cannot find type 'NSAttributedString' in scope
func link(_ url: URL) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:109:22: error: cannot find type 'URL' in scope
func link(_ url: URL) -> NSAttributedString {
^~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:117:46: error: cannot find type 'NSAttributedString' in scope
func baselineOffset(_ offset: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:125:42: error: cannot find type 'NSAttributedString' in scope
func ligature(_ option: Ligature) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:133:69: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:133:30: error: cannot find type 'NSAttributedString' in scope
func textEffect(_ style: NSAttributedString.TextEffectStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:141:87: error: cannot find type 'NSAttributedString' in scope
func writingDirection(_ direction: NSAttributedStringBuilder.WritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:153:78: error: cannot find type 'NSAttributedString' in scope
func language(_ languageCode: NSAttributedStringBuilder.LanguageCode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:164:69: error: cannot find type 'NSAttributedString' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:164:45: error: cannot find type 'Locale' in scope
func languageIdentifier(_ languageCode: Locale.LanguageCode) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:177:42: error: cannot find type 'NSAttributedString' in scope
func tracking(_ tracking: Double) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:190:33: error: cannot find type 'NSAttributedString' in scope
func font(_ font: AFont) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:190:23: error: cannot find type 'AFont' in scope
func font(_ font: AFont) -> NSAttributedString {
^~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:198:46: error: cannot find type 'NSAttributedString' in scope
func foregroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:198:35: error: cannot find type 'AColor' in scope
func foregroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:206:46: error: cannot find type 'NSAttributedString' in scope
func backgroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:206:35: error: cannot find type 'AColor' in scope
func backgroundColor(_ color: AColor) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:82: error: cannot find type 'NSAttributedString' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:29: error: cannot find type 'NSUnderlineStyle' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:215:64: error: cannot find type 'AColor' in scope
func underline(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:86: error: cannot find type 'NSAttributedString' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:33: error: cannot find type 'NSUnderlineStyle' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:228:68: error: cannot find type 'AColor' in scope
func strikethrough(_ style: NSUnderlineStyle = .single, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:245:10: error: cannot find type 'NSAttributedString' in scope
) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:242:17: error: cannot find type 'CGSize' in scope
offset: CGSize = .init(width: 1, height: 1),
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:244:16: error: cannot find type 'AColor' in scope
color: AColor? = nil
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:261:63: error: cannot find type 'NSAttributedString' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:261:45: error: cannot find type 'AColor' in scope
func stroke(width: Double = 2.0, color: AColor? = nil) -> NSAttributedString {
^~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:309:56: error: cannot find type 'NSAttributedString' in scope
func attachment(_ attachment: NSTextAttachment) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:309:35: error: cannot find type 'NSTextAttachment' in scope
func attachment(_ attachment: NSTextAttachment) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/AttributedStringBuilding.swift:43:32: error: cannot find type 'NSAttributedString' in scope
public typealias Attributes = [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:86:30: error: cannot find 'NSTextAttachment' in scope
let attachment = NSTextAttachment()
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:87:34: error: cannot infer contextual base in reference to member 'init'
attachment.bounds = .init(origin: .zero, size: .init(width: width, height: 0.001))
~^~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:87:48: error: cannot infer contextual base in reference to member 'zero'
attachment.bounds = .init(origin: .zero, size: .init(width: width, height: 0.001))
~^~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatform.swift:87:61: error: cannot infer contextual base in reference to member 'init'
attachment.bounds = .init(origin: .zero, size: .init(width: width, height: 0.001))
~^~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:16:64: error: cannot find type 'NSAttributedString' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:16:43: error: cannot find type 'NSParagraphStyle' in scope
func paragraphStyle(_ paragraphStyle: NSParagraphStyle) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:24:53: error: cannot find type 'NSAttributedString' in scope
func alignment(_ alignment: NSTextAlignment) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:24:33: error: cannot find type 'NSTextAlignment' in scope
func alignment(_ alignment: NSTextAlignment) -> NSAttributedString {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:32:52: error: cannot find type 'NSAttributedString' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:32:40: error: cannot find type 'CGFloat' in scope
func firstLineHeadIndent(_ indent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:40:47: error: cannot find type 'NSAttributedString' in scope
func headIndent(_ headIndent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:40:35: error: cannot find type 'CGFloat' in scope
func headIndent(_ headIndent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:48:47: error: cannot find type 'NSAttributedString' in scope
func tailIndent(_ tailIndent: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:48:35: error: cannot find type 'CGFloat' in scope
func tailIndent(_ tailIndent: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:56:51: error: cannot find type 'NSAttributedString' in scope
func lineHeightMultiple(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:56:39: error: cannot find type 'CGFloat' in scope
func lineHeightMultiple(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:64:50: error: cannot find type 'NSAttributedString' in scope
func minimumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:64:38: error: cannot find type 'CGFloat' in scope
func minimumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:72:50: error: cannot find type 'NSAttributedString' in scope
func maximumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:72:38: error: cannot find type 'CGFloat' in scope
func maximumLineHeight(_ height: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:80:45: error: cannot find type 'NSAttributedString' in scope
func lineSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:80:33: error: cannot find type 'CGFloat' in scope
func lineSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:88:50: error: cannot find type 'NSAttributedString' in scope
func paragraphSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:88:38: error: cannot find type 'CGFloat' in scope
func paragraphSpacing(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:96:56: error: cannot find type 'NSAttributedString' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:96:44: error: cannot find type 'CGFloat' in scope
func paragraphSpacingBefore(_ spacing: CGFloat) -> NSAttributedString {
^~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:104:61: error: cannot find type 'NSAttributedString' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:104:41: error: cannot find type 'NSLineBreakMode' in scope
func lineBreakMode(_ lineBreakMode: NSLineBreakMode) -> NSAttributedString {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:112:79: error: cannot find type 'NSAttributedString' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:112:40: error: cannot find type 'NSParagraphStyle' in scope
func lineBreakStrategy(_ strategy: NSParagraphStyle.LineBreakStrategy) -> NSAttributedString {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:120:48: error: cannot find type 'NSAttributedString' in scope
func hyphenationFactor(_ factor: Float) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:129:68: error: cannot find type 'NSAttributedString' in scope
func usesDefaultHyphenation(_ usesDefaultHyphenation: Bool) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:138:69: error: cannot find type 'NSAttributedString' in scope
func allowsDefaultTighteningForTruncation(_ isAllowed: Bool) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:146:67: error: cannot find type 'NSAttributedString' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:146:44: error: cannot find type 'NSWritingDirection' in scope
func baseWritingDirection(_ direction: NSWritingDirection) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:77: error: cannot find type 'NSAttributedString' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:32: error: cannot find type 'NSTextTab' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~~~
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Extensions/AttributedStringBuilding+multiPlatformParagraphStyles.swift:155:61: error: cannot find type 'CGFloat' in scope
func tabStops(_ tabStops: [NSTextTab], defaultInterval: CGFloat = 0) -> NSAttributedString {
^~~~~~~
[25/27] Compiling NSAttributedStringBuilder Space.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Space.swift:10:24: error: missing argument for parameter #1 in call
NSAttributedString().space(spacing)
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Space.swift:10:26: error: reference to member 'space' cannot be resolved without a contextual type
NSAttributedString().space(spacing)
^
[26/27] Compiling NSAttributedStringBuilder Spacing.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Space.swift:10:24: error: missing argument for parameter #1 in call
NSAttributedString().space(spacing)
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Space.swift:10:26: error: reference to member 'space' cannot be resolved without a contextual type
NSAttributedString().space(spacing)
^
[27/27] Compiling NSAttributedStringBuilder SpellingState.swift
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Space.swift:10:24: error: missing argument for parameter #1 in call
NSAttributedString().space(spacing)
^
<#() -> NSAttributedString#>
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/NSAttributedStringBuilder.swift:35:17: note: 'init(_:)' declared here
convenience init(@NSAttributedStringBuilder _ builder: () -> NSAttributedString) {
^
/host/spi-builder-workspace/Sources/NSAttributedStringBuilder/Space.swift:10:26: error: reference to member 'space' cannot be resolved without a contextual type
NSAttributedString().space(spacing)
^
error: fatalError
BUILD FAILURE 5.10 linux