Build Information
Successful build of CoreTextSwift, reference 0.0.2 (604473
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 22:25:05 UTC.
Swift 6 data race errors: 17
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krzyzanowskim/CoreTextSwift.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/krzyzanowskim/CoreTextSwift
* tag 0.0.2 -> FETCH_HEAD
HEAD is now at 6044735 cleanup
Cloned https://github.com/krzyzanowskim/CoreTextSwift.git
Revision (git rev-parse @):
6044735c56e872ed1aab7d5605b002ee63da338a
SUCCESS checkout https://github.com/krzyzanowskim/CoreTextSwift.git at 0.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "coretextswift",
"name": "CoreTextSwift",
"url": "https://github.com/krzyzanowskim/CoreTextSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CoreTextSwift",
"dependencies": [
]
}
]
}
Fetching https://github.com/krzyzanowskim/CoreTextSwift.git
[1/98] Fetching coretextswift
Fetched https://github.com/krzyzanowskim/CoreTextSwift.git from cache (0.71s)
Creating working copy for https://github.com/krzyzanowskim/CoreTextSwift.git
Working copy of https://github.com/krzyzanowskim/CoreTextSwift.git resolved at 0.0.2 (6044735)
warning: '.resolve-product-dependencies': dependency 'coretextswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/krzyzanowskim/CoreTextSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/13] Compiling CoreTextSwift FontManager+Swift.swift
[4/14] Compiling CoreTextSwift CTRun+Swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:18:21: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
16 | @available(iOS, introduced: 3.2, deprecated: 9.0, message: "Use feature type kCharacterShapeType with the appropriate selector")
17 | public static let characterShape = CTStringAttributeName(rawValue: kCTCharacterShapeAttributeName as String)!
18 | public static let font = CTStringAttributeName(rawValue: kCTFontAttributeName as String)!
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'font' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:21:21: warning: static property 'foregroundColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
| |- warning: static property 'foregroundColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'foregroundColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:31:21: warning: static property 'runDelegate' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
| |- warning: static property 'runDelegate' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'runDelegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let baselineOffset = CTStringAttributeName(rawValue: kCTBaselineOffsetAttributeName as String)!
33 | public static let trackingAttributeName = CTStringAttributeName(rawValue: kCTTrackingAttributeName as String)!
[5/14] Compiling CoreTextSwift CTStringAttribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:17:21: warning: static property 'characterShape' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
15 | @available(OSX, introduced: 10.5, deprecated: 10.11, message: "Use feature type kCharacterShapeType with the appropriate selector")
16 | @available(iOS, introduced: 3.2, deprecated: 9.0, message: "Use feature type kCharacterShapeType with the appropriate selector")
17 | public static let characterShape = CTStringAttributeName(rawValue: kCTCharacterShapeAttributeName as String)!
| |- warning: static property 'characterShape' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'characterShape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let font = CTStringAttributeName(rawValue: kCTFontAttributeName as String)!
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:18:21: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
16 | @available(iOS, introduced: 3.2, deprecated: 9.0, message: "Use feature type kCharacterShapeType with the appropriate selector")
17 | public static let characterShape = CTStringAttributeName(rawValue: kCTCharacterShapeAttributeName as String)!
18 | public static let font = CTStringAttributeName(rawValue: kCTFontAttributeName as String)!
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'font' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:19:21: warning: static property 'kern' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
17 | public static let characterShape = CTStringAttributeName(rawValue: kCTCharacterShapeAttributeName as String)!
18 | public static let font = CTStringAttributeName(rawValue: kCTFontAttributeName as String)!
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
| |- warning: static property 'kern' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:20:21: warning: static property 'ligature' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
18 | public static let font = CTStringAttributeName(rawValue: kCTFontAttributeName as String)!
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
| |- warning: static property 'ligature' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ligature' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:21:21: warning: static property 'foregroundColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
| |- warning: static property 'foregroundColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'foregroundColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:22:21: warning: static property 'foregroundColorFromContext' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
| |- warning: static property 'foregroundColorFromContext' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'foregroundColorFromContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
24 | public static let strokeWidth = CTStringAttributeName(rawValue: kCTStrokeWidthAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:23:21: warning: static property 'paragraphStyle' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
| |- warning: static property 'paragraphStyle' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paragraphStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let strokeWidth = CTStringAttributeName(rawValue: kCTStrokeWidthAttributeName as String)!
25 | public static let strokeColor = CTStringAttributeName(rawValue: kCTStrokeColorAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:24:21: warning: static property 'strokeWidth' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
24 | public static let strokeWidth = CTStringAttributeName(rawValue: kCTStrokeWidthAttributeName as String)!
| |- warning: static property 'strokeWidth' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strokeWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let strokeColor = CTStringAttributeName(rawValue: kCTStrokeColorAttributeName as String)!
26 | public static let superscript = CTStringAttributeName(rawValue: kCTSuperscriptAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:25:21: warning: static property 'strokeColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
24 | public static let strokeWidth = CTStringAttributeName(rawValue: kCTStrokeWidthAttributeName as String)!
25 | public static let strokeColor = CTStringAttributeName(rawValue: kCTStrokeColorAttributeName as String)!
| |- warning: static property 'strokeColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let superscript = CTStringAttributeName(rawValue: kCTSuperscriptAttributeName as String)!
27 | public static let underlineColor = CTStringAttributeName(rawValue: kCTUnderlineColorAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:26:21: warning: static property 'superscript' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
24 | public static let strokeWidth = CTStringAttributeName(rawValue: kCTStrokeWidthAttributeName as String)!
25 | public static let strokeColor = CTStringAttributeName(rawValue: kCTStrokeColorAttributeName as String)!
26 | public static let superscript = CTStringAttributeName(rawValue: kCTSuperscriptAttributeName as String)!
| |- warning: static property 'superscript' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'superscript' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let underlineColor = CTStringAttributeName(rawValue: kCTUnderlineColorAttributeName as String)!
28 | public static let underlineStyle = CTStringAttributeName(rawValue: kCTUnderlineStyleAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:27:21: warning: static property 'underlineColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
25 | public static let strokeColor = CTStringAttributeName(rawValue: kCTStrokeColorAttributeName as String)!
26 | public static let superscript = CTStringAttributeName(rawValue: kCTSuperscriptAttributeName as String)!
27 | public static let underlineColor = CTStringAttributeName(rawValue: kCTUnderlineColorAttributeName as String)!
| |- warning: static property 'underlineColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underlineColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let underlineStyle = CTStringAttributeName(rawValue: kCTUnderlineStyleAttributeName as String)!
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:28:21: warning: static property 'underlineStyle' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
26 | public static let superscript = CTStringAttributeName(rawValue: kCTSuperscriptAttributeName as String)!
27 | public static let underlineColor = CTStringAttributeName(rawValue: kCTUnderlineColorAttributeName as String)!
28 | public static let underlineStyle = CTStringAttributeName(rawValue: kCTUnderlineStyleAttributeName as String)!
| |- warning: static property 'underlineStyle' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underlineStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:29:21: warning: static property 'verticalForms' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
27 | public static let underlineColor = CTStringAttributeName(rawValue: kCTUnderlineColorAttributeName as String)!
28 | public static let underlineStyle = CTStringAttributeName(rawValue: kCTUnderlineStyleAttributeName as String)!
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
| |- warning: static property 'verticalForms' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'verticalForms' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:30:21: warning: static property 'glyphInfo' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
28 | public static let underlineStyle = CTStringAttributeName(rawValue: kCTUnderlineStyleAttributeName as String)!
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
| |- warning: static property 'glyphInfo' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'glyphInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
32 | public static let baselineOffset = CTStringAttributeName(rawValue: kCTBaselineOffsetAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:31:21: warning: static property 'runDelegate' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
| |- warning: static property 'runDelegate' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'runDelegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let baselineOffset = CTStringAttributeName(rawValue: kCTBaselineOffsetAttributeName as String)!
33 | public static let trackingAttributeName = CTStringAttributeName(rawValue: kCTTrackingAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:32:21: warning: static property 'baselineOffset' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
32 | public static let baselineOffset = CTStringAttributeName(rawValue: kCTBaselineOffsetAttributeName as String)!
| |- warning: static property 'baselineOffset' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baselineOffset' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let trackingAttributeName = CTStringAttributeName(rawValue: kCTTrackingAttributeName as String)!
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:33:21: warning: static property 'trackingAttributeName' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
32 | public static let baselineOffset = CTStringAttributeName(rawValue: kCTBaselineOffsetAttributeName as String)!
33 | public static let trackingAttributeName = CTStringAttributeName(rawValue: kCTTrackingAttributeName as String)!
| |- warning: static property 'trackingAttributeName' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trackingAttributeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[6/14] Compiling CoreTextSwift CTFrame+Swift.swift
[7/14] Compiling CoreTextSwift CTLine+Swift.swift
[8/14] Compiling CoreTextSwift CTFramesetter+Swift.swift
[9/14] Compiling CoreTextSwift CTGlyphInfo+Swift.swift
[10/14] Compiling CoreTextSwift NSRange+Helpers.swift
[11/14] Emitting module CoreTextSwift
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:17:21: warning: static property 'characterShape' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
15 | @available(OSX, introduced: 10.5, deprecated: 10.11, message: "Use feature type kCharacterShapeType with the appropriate selector")
16 | @available(iOS, introduced: 3.2, deprecated: 9.0, message: "Use feature type kCharacterShapeType with the appropriate selector")
17 | public static let characterShape = CTStringAttributeName(rawValue: kCTCharacterShapeAttributeName as String)!
| |- warning: static property 'characterShape' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'characterShape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let font = CTStringAttributeName(rawValue: kCTFontAttributeName as String)!
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:18:21: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
16 | @available(iOS, introduced: 3.2, deprecated: 9.0, message: "Use feature type kCharacterShapeType with the appropriate selector")
17 | public static let characterShape = CTStringAttributeName(rawValue: kCTCharacterShapeAttributeName as String)!
18 | public static let font = CTStringAttributeName(rawValue: kCTFontAttributeName as String)!
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'font' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:19:21: warning: static property 'kern' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
17 | public static let characterShape = CTStringAttributeName(rawValue: kCTCharacterShapeAttributeName as String)!
18 | public static let font = CTStringAttributeName(rawValue: kCTFontAttributeName as String)!
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
| |- warning: static property 'kern' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:20:21: warning: static property 'ligature' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
18 | public static let font = CTStringAttributeName(rawValue: kCTFontAttributeName as String)!
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
| |- warning: static property 'ligature' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ligature' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:21:21: warning: static property 'foregroundColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
19 | public static let kern = CTStringAttributeName(rawValue: kCTKernAttributeName as String)!
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
| |- warning: static property 'foregroundColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'foregroundColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:22:21: warning: static property 'foregroundColorFromContext' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
20 | public static let ligature = CTStringAttributeName(rawValue: kCTLigatureAttributeName as String)!
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
| |- warning: static property 'foregroundColorFromContext' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'foregroundColorFromContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
24 | public static let strokeWidth = CTStringAttributeName(rawValue: kCTStrokeWidthAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:23:21: warning: static property 'paragraphStyle' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
21 | public static let foregroundColor = CTStringAttributeName(rawValue: kCTForegroundColorAttributeName as String)!
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
| |- warning: static property 'paragraphStyle' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paragraphStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let strokeWidth = CTStringAttributeName(rawValue: kCTStrokeWidthAttributeName as String)!
25 | public static let strokeColor = CTStringAttributeName(rawValue: kCTStrokeColorAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:24:21: warning: static property 'strokeWidth' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
22 | public static let foregroundColorFromContext = CTStringAttributeName(rawValue: kCTForegroundColorFromContextAttributeName as String)!
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
24 | public static let strokeWidth = CTStringAttributeName(rawValue: kCTStrokeWidthAttributeName as String)!
| |- warning: static property 'strokeWidth' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strokeWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let strokeColor = CTStringAttributeName(rawValue: kCTStrokeColorAttributeName as String)!
26 | public static let superscript = CTStringAttributeName(rawValue: kCTSuperscriptAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:25:21: warning: static property 'strokeColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
23 | public static let paragraphStyle = CTStringAttributeName(rawValue: kCTParagraphStyleAttributeName as String)!
24 | public static let strokeWidth = CTStringAttributeName(rawValue: kCTStrokeWidthAttributeName as String)!
25 | public static let strokeColor = CTStringAttributeName(rawValue: kCTStrokeColorAttributeName as String)!
| |- warning: static property 'strokeColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let superscript = CTStringAttributeName(rawValue: kCTSuperscriptAttributeName as String)!
27 | public static let underlineColor = CTStringAttributeName(rawValue: kCTUnderlineColorAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:26:21: warning: static property 'superscript' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
24 | public static let strokeWidth = CTStringAttributeName(rawValue: kCTStrokeWidthAttributeName as String)!
25 | public static let strokeColor = CTStringAttributeName(rawValue: kCTStrokeColorAttributeName as String)!
26 | public static let superscript = CTStringAttributeName(rawValue: kCTSuperscriptAttributeName as String)!
| |- warning: static property 'superscript' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'superscript' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let underlineColor = CTStringAttributeName(rawValue: kCTUnderlineColorAttributeName as String)!
28 | public static let underlineStyle = CTStringAttributeName(rawValue: kCTUnderlineStyleAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:27:21: warning: static property 'underlineColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
25 | public static let strokeColor = CTStringAttributeName(rawValue: kCTStrokeColorAttributeName as String)!
26 | public static let superscript = CTStringAttributeName(rawValue: kCTSuperscriptAttributeName as String)!
27 | public static let underlineColor = CTStringAttributeName(rawValue: kCTUnderlineColorAttributeName as String)!
| |- warning: static property 'underlineColor' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underlineColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let underlineStyle = CTStringAttributeName(rawValue: kCTUnderlineStyleAttributeName as String)!
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:28:21: warning: static property 'underlineStyle' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
26 | public static let superscript = CTStringAttributeName(rawValue: kCTSuperscriptAttributeName as String)!
27 | public static let underlineColor = CTStringAttributeName(rawValue: kCTUnderlineColorAttributeName as String)!
28 | public static let underlineStyle = CTStringAttributeName(rawValue: kCTUnderlineStyleAttributeName as String)!
| |- warning: static property 'underlineStyle' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underlineStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:29:21: warning: static property 'verticalForms' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
27 | public static let underlineColor = CTStringAttributeName(rawValue: kCTUnderlineColorAttributeName as String)!
28 | public static let underlineStyle = CTStringAttributeName(rawValue: kCTUnderlineStyleAttributeName as String)!
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
| |- warning: static property 'verticalForms' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'verticalForms' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:30:21: warning: static property 'glyphInfo' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
28 | public static let underlineStyle = CTStringAttributeName(rawValue: kCTUnderlineStyleAttributeName as String)!
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
| |- warning: static property 'glyphInfo' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'glyphInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
32 | public static let baselineOffset = CTStringAttributeName(rawValue: kCTBaselineOffsetAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:31:21: warning: static property 'runDelegate' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
29 | public static let verticalForms = CTStringAttributeName(rawValue: kCTVerticalFormsAttributeName as String)!
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
| |- warning: static property 'runDelegate' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'runDelegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let baselineOffset = CTStringAttributeName(rawValue: kCTBaselineOffsetAttributeName as String)!
33 | public static let trackingAttributeName = CTStringAttributeName(rawValue: kCTTrackingAttributeName as String)!
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:32:21: warning: static property 'baselineOffset' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
30 | public static let glyphInfo = CTStringAttributeName(rawValue: kCTGlyphInfoAttributeName as String)!
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
32 | public static let baselineOffset = CTStringAttributeName(rawValue: kCTBaselineOffsetAttributeName as String)!
| |- warning: static property 'baselineOffset' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baselineOffset' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let trackingAttributeName = CTStringAttributeName(rawValue: kCTTrackingAttributeName as String)!
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreTextSwift/CTStringAttribute.swift:33:21: warning: static property 'trackingAttributeName' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import CoreText
2 |
3 | public struct CTStringAttributeName: Hashable, RawRepresentable, CustomStringConvertible {
| `- note: consider making struct 'CTStringAttributeName' conform to the 'Sendable' protocol
4 | public typealias RawValue = String
5 | public let rawValue: String
:
31 | public static let runDelegate = CTStringAttributeName(rawValue: kCTRunDelegateAttributeName as String)!
32 | public static let baselineOffset = CTStringAttributeName(rawValue: kCTBaselineOffsetAttributeName as String)!
33 | public static let trackingAttributeName = CTStringAttributeName(rawValue: kCTTrackingAttributeName as String)!
| |- warning: static property 'trackingAttributeName' is not concurrency-safe because non-'Sendable' type 'CTStringAttributeName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trackingAttributeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[12/14] Compiling CoreTextSwift CTFont+Swift.swift
[13/14] Compiling CoreTextSwift Array+CGGlyph.swift
[14/14] Compiling CoreTextSwift CFAttributedString+CoreText.swift
Build complete! (15.58s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CoreTextSwift",
"name" : "CoreTextSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "CoreTextSwift",
"targets" : [
"CoreTextSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoreTextSwift",
"module_type" : "SwiftTarget",
"name" : "CoreTextSwift",
"path" : "Sources/CoreTextSwift",
"product_memberships" : [
"CoreTextSwift"
],
"sources" : [
"Array+CGGlyph.swift",
"CFAttributedString+CoreText.swift",
"CTFont+Swift.swift",
"CTFrame+Swift.swift",
"CTFramesetter+Swift.swift",
"CTGlyphInfo+Swift.swift",
"CTLine+Swift.swift",
"CTRun+Swift.swift",
"CTStringAttribute.swift",
"FontManager+Swift.swift",
"NSRange+Helpers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.