Build Information
Successful build of SwiftCSV 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/swiftcsv/SwiftCSV.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftcsv/SwiftCSV
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6ab5d0f bump version to 0.10.0
Cloned https://github.com/swiftcsv/SwiftCSV.git
Revision (git rev-parse @):
6ab5d0fe9b6ef3c79d717eefa70862df389e74d9
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/swiftcsv/SwiftCSV.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/swiftcsv/SwiftCSV.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/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/13] Compiling SwiftCSV String+Lines.swift
[5/13] Compiling SwiftCSV Parser.swift
[6/13] Compiling SwiftCSV ParsingState.swift
[7/13] Compiling SwiftCSV NamedCSVView.swift
[8/13] Compiling SwiftCSV EnumeratedCSVView.swift
[9/13] Compiling SwiftCSV CSVDelimiter.swift
[10/13] Emitting module SwiftCSV
/Users/admin/builder/spi-builder-workspace/SwiftCSV/CSV+DelimiterGuessing.swift:12:23: warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension CSVDelimiter {
12 | public static let recognized: [CSVDelimiter] = [.comma, .tab, .semicolon]
| |- warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recognized' 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
13 |
14 | /// - Returns: Delimiter between cells based on the first line in the CSV. Falls back to `.comma`.
/Users/admin/builder/spi-builder-workspace/SwiftCSV/CSVDelimiter.swift:9:13: note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
7 | //
8 |
9 | public enum CSVDelimiter: Equatable, ExpressibleByUnicodeScalarLiteral {
| `- note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
10 |
11 | public typealias UnicodeScalarLiteralType = Character
[11/13] Compiling SwiftCSV Serializer.swift
[12/13] Compiling SwiftCSV CSV+DelimiterGuessing.swift
/Users/admin/builder/spi-builder-workspace/SwiftCSV/CSV+DelimiterGuessing.swift:12:23: warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension CSVDelimiter {
12 | public static let recognized: [CSVDelimiter] = [.comma, .tab, .semicolon]
| |- warning: static property 'recognized' is not concurrency-safe because non-'Sendable' type '[CSVDelimiter]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recognized' 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
13 |
14 | /// - Returns: Delimiter between cells based on the first line in the CSV. Falls back to `.comma`.
/Users/admin/builder/spi-builder-workspace/SwiftCSV/CSVDelimiter.swift:9:13: note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
7 | //
8 |
9 | public enum CSVDelimiter: Equatable, ExpressibleByUnicodeScalarLiteral {
| `- note: consider making enum 'CSVDelimiter' conform to the 'Sendable' protocol
10 |
11 | public typealias UnicodeScalarLiteralType = Character
[13/13] Compiling SwiftCSV CSV.swift
[14/14] Compiling SwiftCSV resource_bundle_accessor.swift
Build complete! (19.67s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCSV",
"name" : "SwiftCSV",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "SwiftCSV",
"targets" : [
"SwiftCSV"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"4.2"
],
"targets" : [
{
"c99name" : "SwiftCSVTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCSVTests",
"path" : "SwiftCSVTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/SwiftCSVTests/TestData",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CSVDelimiterGuessingTests.swift",
"CSVDelimiterTests.swift",
"EnumeratedCSVViewTests.swift",
"NamedCSVViewTests.swift",
"NewlineTests.swift",
"ParserTests.swift",
"PerformanceTest.swift",
"QuotedTests.swift",
"ResourceHelper.swift",
"TSVTests.swift",
"URLTests.swift"
],
"target_dependencies" : [
"SwiftCSV"
],
"type" : "test"
},
{
"c99name" : "SwiftCSV",
"module_type" : "SwiftTarget",
"name" : "SwiftCSV",
"path" : "SwiftCSV",
"product_memberships" : [
"SwiftCSV"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/SwiftCSV/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CSV+DelimiterGuessing.swift",
"CSV.swift",
"CSVDelimiter.swift",
"EnumeratedCSVView.swift",
"NamedCSVView.swift",
"Parser.swift",
"ParsingState.swift",
"Serializer.swift",
"String+Lines.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.