Build Information
Successful build of MarkdownChildrenKit with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ptrkstr/MarkdownChildrenKit.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ptrkstr/MarkdownChildrenKit
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 4b8c36a Create FUNDING.yml
Cloned https://github.com/ptrkstr/MarkdownChildrenKit.git
Revision (git rev-parse @):
4b8c36a4410c8fcc97bda95f5c5b0f1746af9592
SUCCESS checkout https://github.com/ptrkstr/MarkdownChildrenKit.git at develop
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/ptrkstr/MarkdownChildrenKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/16] Compiling MarkdownChildrenKit StringSaver.swift
[4/17] Compiling MarkdownChildrenKit Markdown.swift
[5/17] Compiling MarkdownChildrenKit URL+Extensions.swift
[6/17] Compiling MarkdownChildrenKit Array+Extensions.swift
[7/17] Emitting module MarkdownChildrenKit
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:20:10: warning: associated value 'unableToSearchInDirectory' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
18 |
19 | enum MarkdownChildrenError: Error, CustomStringConvertible, Equatable {
20 | case unableToSearchInDirectory(EquatableURL)
| `- warning: associated value 'unableToSearchInDirectory' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
21 | case unableToReadMarkdownFile(EquatableURL)
22 | case directoryIsEmpty(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:21:10: warning: associated value 'unableToReadMarkdownFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
19 | enum MarkdownChildrenError: Error, CustomStringConvertible, Equatable {
20 | case unableToSearchInDirectory(EquatableURL)
21 | case unableToReadMarkdownFile(EquatableURL)
| `- warning: associated value 'unableToReadMarkdownFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
22 | case directoryIsEmpty(EquatableURL)
23 | case missingH1WhenExpected(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:22:10: warning: associated value 'directoryIsEmpty' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
20 | case unableToSearchInDirectory(EquatableURL)
21 | case unableToReadMarkdownFile(EquatableURL)
22 | case directoryIsEmpty(EquatableURL)
| `- warning: associated value 'directoryIsEmpty' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
23 | case missingH1WhenExpected(EquatableURL)
24 | case missingTagInMarkdown(tag: String, EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:23:10: warning: associated value 'missingH1WhenExpected' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
21 | case unableToReadMarkdownFile(EquatableURL)
22 | case directoryIsEmpty(EquatableURL)
23 | case missingH1WhenExpected(EquatableURL)
| `- warning: associated value 'missingH1WhenExpected' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
24 | case missingTagInMarkdown(tag: String, EquatableURL)
25 | case noFileExists(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:24:10: warning: associated value 'missingTagInMarkdown(tag:_:)' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
22 | case directoryIsEmpty(EquatableURL)
23 | case missingH1WhenExpected(EquatableURL)
24 | case missingTagInMarkdown(tag: String, EquatableURL)
| `- warning: associated value 'missingTagInMarkdown(tag:_:)' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
25 | case noFileExists(EquatableURL)
26 | case directorySpecifiedInsteadOfFile(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:25:10: warning: associated value 'noFileExists' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
23 | case missingH1WhenExpected(EquatableURL)
24 | case missingTagInMarkdown(tag: String, EquatableURL)
25 | case noFileExists(EquatableURL)
| `- warning: associated value 'noFileExists' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
26 | case directorySpecifiedInsteadOfFile(EquatableURL)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:26:10: warning: associated value 'directorySpecifiedInsteadOfFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
24 | case missingTagInMarkdown(tag: String, EquatableURL)
25 | case noFileExists(EquatableURL)
26 | case directorySpecifiedInsteadOfFile(EquatableURL)
| `- warning: associated value 'directorySpecifiedInsteadOfFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
27 |
28 | var description: String {
[8/17] Compiling MarkdownChildrenKit Configuration.swift
[9/17] Compiling MarkdownChildrenKit List.swift
[10/17] Compiling MarkdownChildrenKit ListItem.swift
[11/17] Compiling MarkdownChildrenKit ListItemDirectory.swift
[12/17] Compiling MarkdownChildrenKit MarkdownChildrenError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:20:10: warning: associated value 'unableToSearchInDirectory' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
18 |
19 | enum MarkdownChildrenError: Error, CustomStringConvertible, Equatable {
20 | case unableToSearchInDirectory(EquatableURL)
| `- warning: associated value 'unableToSearchInDirectory' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
21 | case unableToReadMarkdownFile(EquatableURL)
22 | case directoryIsEmpty(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:21:10: warning: associated value 'unableToReadMarkdownFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
19 | enum MarkdownChildrenError: Error, CustomStringConvertible, Equatable {
20 | case unableToSearchInDirectory(EquatableURL)
21 | case unableToReadMarkdownFile(EquatableURL)
| `- warning: associated value 'unableToReadMarkdownFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
22 | case directoryIsEmpty(EquatableURL)
23 | case missingH1WhenExpected(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:22:10: warning: associated value 'directoryIsEmpty' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
20 | case unableToSearchInDirectory(EquatableURL)
21 | case unableToReadMarkdownFile(EquatableURL)
22 | case directoryIsEmpty(EquatableURL)
| `- warning: associated value 'directoryIsEmpty' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
23 | case missingH1WhenExpected(EquatableURL)
24 | case missingTagInMarkdown(tag: String, EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:23:10: warning: associated value 'missingH1WhenExpected' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
21 | case unableToReadMarkdownFile(EquatableURL)
22 | case directoryIsEmpty(EquatableURL)
23 | case missingH1WhenExpected(EquatableURL)
| `- warning: associated value 'missingH1WhenExpected' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
24 | case missingTagInMarkdown(tag: String, EquatableURL)
25 | case noFileExists(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:24:10: warning: associated value 'missingTagInMarkdown(tag:_:)' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
22 | case directoryIsEmpty(EquatableURL)
23 | case missingH1WhenExpected(EquatableURL)
24 | case missingTagInMarkdown(tag: String, EquatableURL)
| `- warning: associated value 'missingTagInMarkdown(tag:_:)' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
25 | case noFileExists(EquatableURL)
26 | case directorySpecifiedInsteadOfFile(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:25:10: warning: associated value 'noFileExists' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
23 | case missingH1WhenExpected(EquatableURL)
24 | case missingTagInMarkdown(tag: String, EquatableURL)
25 | case noFileExists(EquatableURL)
| `- warning: associated value 'noFileExists' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
26 | case directorySpecifiedInsteadOfFile(EquatableURL)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:26:10: warning: associated value 'directorySpecifiedInsteadOfFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
5 | /// We want to make use of enum associated value equality checking
6 | /// so will use our own URL type.
7 | public struct EquatableURL: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
8 | public let url: URL
9 |
:
24 | case missingTagInMarkdown(tag: String, EquatableURL)
25 | case noFileExists(EquatableURL)
26 | case directorySpecifiedInsteadOfFile(EquatableURL)
| `- warning: associated value 'directorySpecifiedInsteadOfFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
27 |
28 | var description: String {
[13/17] Compiling MarkdownChildrenKit StringProtocol+Extensions.swift
[14/17] Compiling MarkdownChildrenKit MarkdownChildren.swift
[15/17] Compiling MarkdownChildrenKit ListItemMarkdownNameType.swift
[16/17] Compiling MarkdownChildrenKit ListItemMarkdown.swift
[17/17] Compiling MarkdownChildrenKit Renderer.swift
Build complete! (21.96s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MarkdownChildrenKit",
"name" : "MarkdownChildrenKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "MarkdownChildrenKit",
"targets" : [
"MarkdownChildrenKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MarkdownChildrenKitTests",
"module_type" : "SwiftTarget",
"name" : "MarkdownChildrenKitTests",
"path" : "Tests/MarkdownChildrenKitTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MarkdownChildrenKitTests/TestData",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"MarkdownChildren_Tests.swift",
"Mocks/StringSaver_Mock.swift",
"Models/Markdown_Tests.swift",
"TestData.swift"
],
"target_dependencies" : [
"MarkdownChildrenKit"
],
"type" : "test"
},
{
"c99name" : "MarkdownChildrenKit",
"module_type" : "SwiftTarget",
"name" : "MarkdownChildrenKit",
"path" : "Sources/MarkdownChildrenKit",
"product_memberships" : [
"MarkdownChildrenKit"
],
"sources" : [
"Extensions/Foundation/URL+Extensions.swift",
"Extensions/Swift/Array+Extensions.swift",
"Extensions/Swift/StringProtocol+Extensions.swift",
"MarkdownChildren.swift",
"Models/Configuration.swift",
"Models/List/List.swift",
"Models/List/ListItem.swift",
"Models/List/ListItemDirectory.swift",
"Models/List/ListItemMarkdown.swift",
"Models/List/ListItemMarkdownNameType.swift",
"Models/Markdown.swift",
"Models/MarkdownChildrenError.swift",
"Models/StringSaver.swift",
"UI/Renderer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.