Build Information
Successful build of TextMarkupKit, reference master (62c9b3), with Swift 6.1 for macOS (SPM) on 15 Jul 2026 07:50:14 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdewey/TextMarkupKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bdewey/TextMarkupKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 62c9b3b Update CHANGELOG.md
Cloned https://github.com/bdewey/TextMarkupKit.git
Revision (git rev-parse @):
62c9b3bf36e9ba552b3a680ff0350bf2f61339ff
SUCCESS checkout https://github.com/bdewey/TextMarkupKit.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/bdewey/TextMarkupKit.git
https://github.com/bdewey/TextMarkupKit.git
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "TextMarkupKit",
"name" : "TextMarkupKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "TextMarkupKit",
"targets" : [
"TextMarkupKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TextMarkupKitTests",
"module_type" : "SwiftTarget",
"name" : "TextMarkupKitTests",
"path" : "Tests/TextMarkupKitTests",
"sources" : [
"MiniMarkdownGrammarTests.swift",
"MiniMarkdownParsingTests.swift",
"ParsedAttributedStringTests.swift",
"ParsedStringTests.swift",
"ParsedTextStorageTests.swift",
"PieceTableTests.swift",
"TestStrings.swift"
],
"target_dependencies" : [
"ObjectiveCTextStorageWrapper",
"TextMarkupKit"
],
"type" : "test"
},
{
"c99name" : "TextMarkupKit",
"module_type" : "SwiftTarget",
"name" : "TextMarkupKit",
"path" : "Sources/TextMarkupKit",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"TextMarkupKit"
],
"sources" : [
"AttributesArray.swift",
"BufferProtocols.swift",
"MarkupFormattedTextEditor.swift",
"MarkupFormattingTextView.swift",
"MemoizationTable.swift",
"MiniMarkdownGrammar+Styles.swift",
"MiniMarkdownGrammar.swift",
"NSAttributedString+Attributes.swift",
"ParsedAttributedString.swift",
"ParsedAttributedStringFormatter.swift",
"ParsedString.swift",
"ParsingRule.swift",
"PieceTable.swift",
"PieceTableString.swift",
"PlainTextGrammar.swift",
"SyntaxTreeNode.swift",
"SyntaxTreeNodeType.swift",
"TraceBuffer.swift"
],
"target_dependencies" : [
"ObjectiveCTextStorageWrapper"
],
"type" : "library"
},
{
"c99name" : "ObjectiveCTextStorageWrapper",
"module_type" : "ClangTarget",
"name" : "ObjectiveCTextStorageWrapper",
"path" : "Sources/ObjectiveCTextStorageWrapper",
"product_memberships" : [
"TextMarkupKit"
],
"sources" : [
"ObjectiveCTextStorageWrapper.m"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[2/4] Write swift-version-2F0A5646E1D333AE.txt
[4/15] Compiling Logging LoggingSystem.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/15] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/16] Compiling Logging LogEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/16] Compiling Logging Logger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/16] Compiling Logging Logger+Attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/16] Compiling Logging MetadataProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/16] Emitting module Logging
unable to find node: pound
unable to find node: pound
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/16] Compiling Logging LogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/16] Compiling Logging Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/16] Compiling Logging MultiplexLogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/16] Compiling Logging StreamLogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/16] Compiling Logging SwiftLogNoOpLogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/16] Compiling ObjectiveCTextStorageWrapper ObjectiveCTextStorageWrapper.m
[17/34] Compiling TextMarkupKit SyntaxTreeNodeType.swift
[18/35] Compiling TextMarkupKit PlainTextGrammar.swift
[19/35] Compiling TextMarkupKit SyntaxTreeNode.swift
[20/35] Compiling TextMarkupKit TraceBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextMarkupKit/TraceBuffer.swift:23:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TraceBuffer' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Used for tracing the execution of rules.
21 | public final class TraceBuffer: CustomStringConvertible {
| `- note: class 'TraceBuffer' does not conform to the 'Sendable' protocol
22 | /// Singleton. This is ugly but I can get rid of it if I move to regular code generation.
23 | public static let shared = TraceBuffer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TraceBuffer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// All completed test entries.
[21/35] Compiling TextMarkupKit PieceTable.swift
[22/35] Compiling TextMarkupKit PieceTableString.swift
[23/35] Compiling TextMarkupKit ParsedAttributedString.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextMarkupKit/ParsedAttributedStringFormatter.swift:69:14: warning: static property 'passthrough' is not concurrency-safe because non-'Sendable' type 'AnyParsedAttributedStringFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Can perform simple attribute modifications and string substitutions that do not depend upon the actual contents of the parsed string.
35 | public struct AnyParsedAttributedStringFormatter: ParsedAttributedStringFormatter {
| `- note: consider making struct 'AnyParsedAttributedStringFormatter' conform to the 'Sendable' protocol
36 | public init(
37 | _ wrappedFormatter: ParsedAttributedStringFormatter? = nil,
:
67 | public extension AnyParsedAttributedStringFormatter {
68 | /// A simple formatter that does nothing.
69 | static let passthrough = AnyParsedAttributedStringFormatter()
| |- warning: static property 'passthrough' is not concurrency-safe because non-'Sendable' type 'AnyParsedAttributedStringFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'passthrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | static var toggleItalic: AnyParsedAttributedStringFormatter {
[24/35] Compiling TextMarkupKit ParsedAttributedStringFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextMarkupKit/ParsedAttributedStringFormatter.swift:69:14: warning: static property 'passthrough' is not concurrency-safe because non-'Sendable' type 'AnyParsedAttributedStringFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Can perform simple attribute modifications and string substitutions that do not depend upon the actual contents of the parsed string.
35 | public struct AnyParsedAttributedStringFormatter: ParsedAttributedStringFormatter {
| `- note: consider making struct 'AnyParsedAttributedStringFormatter' conform to the 'Sendable' protocol
36 | public init(
37 | _ wrappedFormatter: ParsedAttributedStringFormatter? = nil,
:
67 | public extension AnyParsedAttributedStringFormatter {
68 | /// A simple formatter that does nothing.
69 | static let passthrough = AnyParsedAttributedStringFormatter()
| |- warning: static property 'passthrough' is not concurrency-safe because non-'Sendable' type 'AnyParsedAttributedStringFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'passthrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | static var toggleItalic: AnyParsedAttributedStringFormatter {
[25/35] Compiling TextMarkupKit MiniMarkdownGrammar.swift
[26/35] Compiling TextMarkupKit NSAttributedString+Attributes.swift
[27/35] Compiling TextMarkupKit MemoizationTable.swift
[28/35] Compiling TextMarkupKit MiniMarkdownGrammar+Styles.swift
[29/35] Compiling TextMarkupKit AttributesArray.swift
[30/35] Compiling TextMarkupKit BufferProtocols.swift
[31/35] Emitting module TextMarkupKit
/Users/admin/builder/spi-builder-workspace/Sources/TextMarkupKit/ParsedAttributedStringFormatter.swift:69:14: warning: static property 'passthrough' is not concurrency-safe because non-'Sendable' type 'AnyParsedAttributedStringFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Can perform simple attribute modifications and string substitutions that do not depend upon the actual contents of the parsed string.
35 | public struct AnyParsedAttributedStringFormatter: ParsedAttributedStringFormatter {
| `- note: consider making struct 'AnyParsedAttributedStringFormatter' conform to the 'Sendable' protocol
36 | public init(
37 | _ wrappedFormatter: ParsedAttributedStringFormatter? = nil,
:
67 | public extension AnyParsedAttributedStringFormatter {
68 | /// A simple formatter that does nothing.
69 | static let passthrough = AnyParsedAttributedStringFormatter()
| |- warning: static property 'passthrough' is not concurrency-safe because non-'Sendable' type 'AnyParsedAttributedStringFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'passthrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | static var toggleItalic: AnyParsedAttributedStringFormatter {
/Users/admin/builder/spi-builder-workspace/Sources/TextMarkupKit/ParsingRule.swift:244:21: warning: static property 'fail' is not concurrency-safe because non-'Sendable' type 'ParsingResult' may have shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | /// The output of trying to match a rule at an offset into a PieceTable.
150 | public struct ParsingResult {
| `- note: consider making struct 'ParsingResult' conform to the 'Sendable' protocol
151 | public init(succeeded: Bool, length: Int = 0, examinedLength: Int = 0, node: SyntaxTreeNode? = nil) {
152 | assert(node == nil || (length == node!.length))
:
242 |
243 | /// Static result representing failure after looking at one character.
244 | public static let fail = ParsingResult(succeeded: false, length: 0, examinedLength: 1, node: nil)
| |- warning: static property 'fail' is not concurrency-safe because non-'Sendable' type 'ParsingResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fail' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 | }
246 |
/Users/admin/builder/spi-builder-workspace/Sources/TextMarkupKit/TraceBuffer.swift:23:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TraceBuffer' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Used for tracing the execution of rules.
21 | public final class TraceBuffer: CustomStringConvertible {
| `- note: class 'TraceBuffer' does not conform to the 'Sendable' protocol
22 | /// Singleton. This is ugly but I can get rid of it if I move to regular code generation.
23 | public static let shared = TraceBuffer()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TraceBuffer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// All completed test entries.
[32/35] Compiling TextMarkupKit ParsedString.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextMarkupKit/ParsingRule.swift:244:21: warning: static property 'fail' is not concurrency-safe because non-'Sendable' type 'ParsingResult' may have shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | /// The output of trying to match a rule at an offset into a PieceTable.
150 | public struct ParsingResult {
| `- note: consider making struct 'ParsingResult' conform to the 'Sendable' protocol
151 | public init(succeeded: Bool, length: Int = 0, examinedLength: Int = 0, node: SyntaxTreeNode? = nil) {
152 | assert(node == nil || (length == node!.length))
:
242 |
243 | /// Static result representing failure after looking at one character.
244 | public static let fail = ParsingResult(succeeded: false, length: 0, examinedLength: 1, node: nil)
| |- warning: static property 'fail' is not concurrency-safe because non-'Sendable' type 'ParsingResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fail' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 | }
246 |
[33/35] Compiling TextMarkupKit ParsingRule.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextMarkupKit/ParsingRule.swift:244:21: warning: static property 'fail' is not concurrency-safe because non-'Sendable' type 'ParsingResult' may have shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | /// The output of trying to match a rule at an offset into a PieceTable.
150 | public struct ParsingResult {
| `- note: consider making struct 'ParsingResult' conform to the 'Sendable' protocol
151 | public init(succeeded: Bool, length: Int = 0, examinedLength: Int = 0, node: SyntaxTreeNode? = nil) {
152 | assert(node == nil || (length == node!.length))
:
242 |
243 | /// Static result representing failure after looking at one character.
244 | public static let fail = ParsingResult(succeeded: false, length: 0, examinedLength: 1, node: nil)
| |- warning: static property 'fail' is not concurrency-safe because non-'Sendable' type 'ParsingResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fail' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 | }
246 |
[34/35] Compiling TextMarkupKit MarkupFormattedTextEditor.swift
[35/35] Compiling TextMarkupKit MarkupFormattingTextView.swift
Build complete! (11.37s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (1.11s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (1.66s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "TextMarkupKit",
"name" : "TextMarkupKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "TextMarkupKit",
"targets" : [
"TextMarkupKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TextMarkupKitTests",
"module_type" : "SwiftTarget",
"name" : "TextMarkupKitTests",
"path" : "Tests/TextMarkupKitTests",
"sources" : [
"MiniMarkdownGrammarTests.swift",
"MiniMarkdownParsingTests.swift",
"ParsedAttributedStringTests.swift",
"ParsedStringTests.swift",
"ParsedTextStorageTests.swift",
"PieceTableTests.swift",
"TestStrings.swift"
],
"target_dependencies" : [
"ObjectiveCTextStorageWrapper",
"TextMarkupKit"
],
"type" : "test"
},
{
"c99name" : "TextMarkupKit",
"module_type" : "SwiftTarget",
"name" : "TextMarkupKit",
"path" : "Sources/TextMarkupKit",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"TextMarkupKit"
],
"sources" : [
"AttributesArray.swift",
"BufferProtocols.swift",
"MarkupFormattedTextEditor.swift",
"MarkupFormattingTextView.swift",
"MemoizationTable.swift",
"MiniMarkdownGrammar+Styles.swift",
"MiniMarkdownGrammar.swift",
"NSAttributedString+Attributes.swift",
"ParsedAttributedString.swift",
"ParsedAttributedStringFormatter.swift",
"ParsedString.swift",
"ParsingRule.swift",
"PieceTable.swift",
"PieceTableString.swift",
"PlainTextGrammar.swift",
"SyntaxTreeNode.swift",
"SyntaxTreeNodeType.swift",
"TraceBuffer.swift"
],
"target_dependencies" : [
"ObjectiveCTextStorageWrapper"
],
"type" : "library"
},
{
"c99name" : "ObjectiveCTextStorageWrapper",
"module_type" : "ClangTarget",
"name" : "ObjectiveCTextStorageWrapper",
"path" : "Sources/ObjectiveCTextStorageWrapper",
"product_memberships" : [
"TextMarkupKit"
],
"sources" : [
"ObjectiveCTextStorageWrapper.m"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.