Build Information
Successful build of SagaPythonMarkdownReader with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
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/loopwerk/SagaPythonMarkdownReader.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loopwerk/SagaPythonMarkdownReader
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a46612d chore: Don't commit Package.resolved to git
Cloned https://github.com/loopwerk/SagaPythonMarkdownReader.git
Revision (git rev-parse @):
a46612d6433071d47b4c61b99ccc1725151f585d
SUCCESS checkout https://github.com/loopwerk/SagaPythonMarkdownReader.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/loopwerk/SagaPythonMarkdownReader.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/7] Write sources
[6/7] Write swift-version-6F35C1178C84523A.txt
[8/16] Compiling PythonKit PythonLibrary+Symbols.swift
[9/16] Compiling PythonKit Python.swift
[10/16] Compiling PythonKit NumpyConversion.swift
[11/16] Emitting module PythonKit
[12/16] Compiling PythonKit PythonLibrary.swift
[13/18] Emitting module SwiftMarkdown
[14/18] Compiling SwiftMarkdown SwiftMarkdown.swift
[15/18] Emitting module Codextended
[16/18] Compiling Codextended Codextended.swift
[17/18] Emitting module PathKit
[18/18] Compiling PathKit PathKit.swift
[19/31] Compiling Saga ProcessingStep.swift
[20/32] Compiling Saga String+Slugify.swift
[21/32] Compiling Saga Item.swift
[22/32] Compiling Saga ItemWriteMode.swift
[23/32] Compiling Saga Writer.swift
[24/32] Compiling Saga Reader.swift
[25/32] Compiling Saga RenderingContexts.swift
[26/32] Compiling Saga Reader+Decoder.swift
[27/32] Compiling Saga FileContainer.swift
[28/32] Compiling Saga FileIO.swift
[29/32] Emitting module Saga
[30/32] Compiling Saga Saga.swift
[31/32] Compiling Saga MetadataDecoder.swift
[32/32] Compiling Saga Path+Extensions.swift
[33/34] Emitting module SagaPythonMarkdownReader
/Users/admin/builder/spi-builder-workspace/Sources/SagaPythonMarkdownReader/SagaPythonMarkdownReader.swift:11:5: warning: let 'parser' is not concurrency-safe because non-'Sendable' type 'SwiftMarkdown' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ]
10 |
11 | let parser = try! SwiftMarkdown(
| `- warning: let 'parser' is not concurrency-safe because non-'Sendable' type 'SwiftMarkdown' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extensions: [.nl2br, .fencedCode, .codehilite, .strikethrough, .title, .meta, .saneLists, .urlize],
13 | extensionConfig: config
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftMarkdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:28:15: note: struct 'SwiftMarkdown' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public struct SwiftMarkdown {
| `- note: struct 'SwiftMarkdown' does not conform to the 'Sendable' protocol
29 | public enum Extension: String {
30 | case extra = "extra"
/Users/admin/builder/spi-builder-workspace/Sources/SagaPythonMarkdownReader/SagaPythonMarkdownReader.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftMarkdown'
1 | import Foundation
2 | import Saga
3 | import SwiftMarkdown
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftMarkdown'
4 |
5 | let config = [
:
9 | ]
10 |
11 | let parser = try! SwiftMarkdown(
| |- note: annotate 'parser' 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
12 | extensions: [.nl2br, .fencedCode, .codehilite, .strikethrough, .title, .meta, .saneLists, .urlize],
13 | extensionConfig: config
[34/34] Compiling SagaPythonMarkdownReader SagaPythonMarkdownReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SagaPythonMarkdownReader/SagaPythonMarkdownReader.swift:11:5: warning: let 'parser' is not concurrency-safe because non-'Sendable' type 'SwiftMarkdown' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ]
10 |
11 | let parser = try! SwiftMarkdown(
| `- warning: let 'parser' is not concurrency-safe because non-'Sendable' type 'SwiftMarkdown' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extensions: [.nl2br, .fencedCode, .codehilite, .strikethrough, .title, .meta, .saneLists, .urlize],
13 | extensionConfig: config
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftMarkdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:28:15: note: struct 'SwiftMarkdown' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public struct SwiftMarkdown {
| `- note: struct 'SwiftMarkdown' does not conform to the 'Sendable' protocol
29 | public enum Extension: String {
30 | case extra = "extra"
/Users/admin/builder/spi-builder-workspace/Sources/SagaPythonMarkdownReader/SagaPythonMarkdownReader.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftMarkdown'
1 | import Foundation
2 | import Saga
3 | import SwiftMarkdown
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftMarkdown'
4 |
5 | let config = [
:
9 | ]
10 |
11 | let parser = try! SwiftMarkdown(
| |- note: annotate 'parser' 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
12 | extensions: [.nl2br, .fencedCode, .codehilite, .strikethrough, .title, .meta, .saneLists, .urlize],
13 | extensionConfig: config
Build complete! (32.10s)
Fetching https://github.com/loopwerk/Saga.git
Fetching https://github.com/loopwerk/SwiftMarkdown
[1/63] Fetching swiftmarkdown
[64/2326] Fetching swiftmarkdown, saga
Fetched https://github.com/loopwerk/SwiftMarkdown from cache (1.27s)
Fetched https://github.com/loopwerk/Saga.git from cache (1.27s)
Computing version for https://github.com/loopwerk/SwiftMarkdown
Computed https://github.com/loopwerk/SwiftMarkdown at 0.4.0 (0.64s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1595] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.95s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 1.2.1 (0.68s)
Fetching https://github.com/JohnSundell/Codextended.git
Fetching https://github.com/kylef/PathKit
[1/181] Fetching codextended
[16/1592] Fetching codextended, pathkit
Fetched https://github.com/JohnSundell/Codextended.git from cache (0.91s)
Fetched https://github.com/kylef/PathKit from cache (0.91s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.71s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.97s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.72s)
Computing version for https://github.com/JohnSundell/Codextended.git
Computed https://github.com/JohnSundell/Codextended.git at 0.3.0 (0.67s)
Computing version for https://github.com/pvieito/PythonKit.git
Computed https://github.com/pvieito/PythonKit.git at 0.4.2 (0.69s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/loopwerk/SwiftMarkdown
Working copy of https://github.com/loopwerk/SwiftMarkdown resolved at 0.4.0
Creating working copy for https://github.com/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 1.2.1
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at 0.4.2
Creating working copy for https://github.com/JohnSundell/Codextended.git
Working copy of https://github.com/JohnSundell/Codextended.git resolved at 0.3.0
Build complete.
{
"dependencies" : [
{
"identity" : "saga",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/loopwerk/Saga.git"
},
{
"identity" : "swiftmarkdown",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/loopwerk/SwiftMarkdown"
}
],
"manifest_display_name" : "SagaPythonMarkdownReader",
"name" : "SagaPythonMarkdownReader",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SagaPythonMarkdownReader",
"targets" : [
"SagaPythonMarkdownReader"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SagaPythonMarkdownReaderTests",
"module_type" : "SwiftTarget",
"name" : "SagaPythonMarkdownReaderTests",
"path" : "Tests/SagaPythonMarkdownReaderTests",
"sources" : [
"SagaPythonMarkdownReaderTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SagaPythonMarkdownReader"
],
"type" : "test"
},
{
"c99name" : "SagaPythonMarkdownReader",
"module_type" : "SwiftTarget",
"name" : "SagaPythonMarkdownReader",
"path" : "Sources/SagaPythonMarkdownReader",
"product_dependencies" : [
"Saga",
"SwiftMarkdown"
],
"product_memberships" : [
"SagaPythonMarkdownReader"
],
"sources" : [
"SagaPythonMarkdownReader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.