Build Information
Successful build of StyledMarkdown, reference 0.0.6 (5894ca
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 05:33:54 UTC.
Swift 6 data race errors: 2
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/cocoatoucher/StyledMarkdown.git
Reference: 0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cocoatoucher/StyledMarkdown
* tag 0.0.6 -> FETCH_HEAD
HEAD is now at 5894ca2 Passing comment to AttributedString initializer.
Cloned https://github.com/cocoatoucher/StyledMarkdown.git
Revision (git rev-parse @):
5894ca265349b41e5e260ad780dea83bff932c88
SUCCESS checkout https://github.com/cocoatoucher/StyledMarkdown.git at 0.0.6
========================================
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": "styledmarkdown",
"name": "StyledMarkdown",
"url": "https://github.com/cocoatoucher/StyledMarkdown.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/StyledMarkdown",
"dependencies": [
]
}
]
}
Fetching https://github.com/cocoatoucher/StyledMarkdown.git
[1/135] Fetching styledmarkdown
Fetched https://github.com/cocoatoucher/StyledMarkdown.git from cache (1.03s)
Creating working copy for https://github.com/cocoatoucher/StyledMarkdown.git
Working copy of https://github.com/cocoatoucher/StyledMarkdown.git resolved at 0.0.6 (5894ca2)
warning: '.resolve-product-dependencies': dependency 'styledmarkdown' 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/cocoatoucher/StyledMarkdown.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/10] Compiling StyledMarkdown StyleProtocol.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.BackgroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.BackgroundColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.StrikethroughColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.StrikethroughColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.StrikethroughColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.StrikethroughStyleAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.UnderlineColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.UnderlineColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.UnderlineColorAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.UnderlineStyleAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.KerningAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.TrackingAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.BaselineOffsetAttribute>'; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/StyledMarkdown/Style/StyleProtocol.swift:24:21: warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
22 | case .font(let font):
23 | if let uiFont = font as? FontType {
24 | source.font = uiFont
| `- warning: conformance of 'NSFont' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
25 | } else {
26 | source.font = font as? SwiftUI.Font
AppKit.NSFont:2:11: note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NSFont : @unchecked Sendable {
| `- note: conformance of 'NSFont' to 'Sendable' has been explicitly marked unavailable here
3 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
[4/10] Compiling StyledMarkdown Text.StyledMarkdown.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.SwiftUIAttributes, AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute>'; this is an error in the Swift 6 language mode
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
[5/10] Compiling StyledMarkdown StyleModifier.swift
[6/10] Compiling StyledMarkdown StyleGroup.swift
[7/10] Compiling StyledMarkdown AttributedString.StyledMarkdown.swift
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.StyledMarkdownAttributes, StyleNameAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.StyledMarkdownAttributes, LinkWithStyleNameAttribute>'; this is an error in the Swift 6 language mode
<unknown>:0: warning: cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.FoundationAttributes, AttributeScopes.FoundationAttributes.LinkAttribute>'; this is an error in the Swift 6 language mode
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| |- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
[8/10] Compiling StyledMarkdown AttributeScopes.StyledMarkdownAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/StyledMarkdown/Style/AttributeScopes.StyledMarkdownAttributes.swift:32:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | typealias Value = String
31 |
32 | static var name = "style"
| |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'name' 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 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/StyledMarkdown/Style/AttributeScopes.StyledMarkdownAttributes.swift:41:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | static var name = "link"
| |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'name' 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
42 | }
43 |
[9/10] Emitting module StyledMarkdown
/Users/admin/builder/spi-builder-workspace/Sources/StyledMarkdown/Style/AttributeScopes.StyledMarkdownAttributes.swift:32:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | typealias Value = String
31 |
32 | static var name = "style"
| |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'name' 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 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/StyledMarkdown/Style/AttributeScopes.StyledMarkdownAttributes.swift:41:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | static var name = "link"
| |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'name' 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
42 | }
43 |
[10/10] Compiling StyledMarkdown Style.swift
Build complete! (16.35s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "StyledMarkdown",
"name" : "StyledMarkdown",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "StyledMarkdown",
"targets" : [
"StyledMarkdown"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StyledMarkdownTests",
"module_type" : "SwiftTarget",
"name" : "StyledMarkdownTests",
"path" : "Tests/StyledMarkdownTests",
"sources" : [
"StyledMarkdownTests.swift"
],
"target_dependencies" : [
"StyledMarkdown"
],
"type" : "test"
},
{
"c99name" : "StyledMarkdown",
"module_type" : "SwiftTarget",
"name" : "StyledMarkdown",
"path" : "Sources",
"product_memberships" : [
"StyledMarkdown"
],
"sources" : [
"StyledMarkdown/AttributedString.StyledMarkdown.swift",
"StyledMarkdown/Style/AttributeScopes.StyledMarkdownAttributes.swift",
"StyledMarkdown/Style/Style.swift",
"StyledMarkdown/Style/StyleGroup.swift",
"StyledMarkdown/Style/StyleModifier.swift",
"StyledMarkdown/Style/StyleProtocol.swift",
"StyledMarkdown/Text.StyledMarkdown.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.