Build Information
Successful build of CSV, reference master (3a4a90
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 07:18:14 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skelpo/csv.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/skelpo/csv
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3a4a903 Merge pull request #16 from skelpo/doc-update
Cloned https://github.com/skelpo/csv.git
Revision (git rev-parse @):
3a4a9034709f4df27a346fc3a70c4a3edac0561f
SUCCESS checkout https://github.com/skelpo/csv.git at master
========================================
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": "csv",
"name": "CSV",
"url": "https://github.com/skelpo/csv.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/csv",
"dependencies": [
]
}
]
}
Fetching https://github.com/skelpo/csv.git
[1/1791] Fetching csv
Fetched https://github.com/skelpo/csv.git from cache (1.06s)
Creating working copy for https://github.com/skelpo/csv.git
Working copy of https://github.com/skelpo/csv.git resolved at master (3a4a903)
warning: '.resolve-product-dependencies': dependency 'csv' 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/skelpo/csv.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 -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/16] Compiling CSV Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[4/16] Compiling CSV Seralizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[5/16] Compiling CSV AsyncSingleValueEncoder.swift
[6/17] Compiling CSV Data+Number.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[7/17] Compiling CSV AsyncDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[8/17] Compiling CSV Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[9/17] Compiling CSV AsyncUnkeyedEncoder.swift
[10/17] Compiling CSV AsyncKeyedDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[11/17] Compiling CSV AsyncSingleValueDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[12/17] Emitting module CSV
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Coder/CodingOptions.swift:9:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// The options used for encoding/decoding certin types in the `CSVEncoder` and `CSVDecoder`.
2 | public final class CSVCodingOptions {
| `- note: class 'CSVCodingOptions' does not conform to the 'Sendable' protocol
3 |
4 | /// The default coding options.
:
7 | /// the `NilCodingStrategy`. This means `Bool` will be represented the value's textual name
8 | /// and `nil` will be an empty cell.
9 | public static let `default` = CSVCodingOptions(boolCodingStrategy: .string, nilCodingStrategy: .blank)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
10 |
11 | /// The bool encoding/decoding strategy used for the encoder/decoder the option set is passed to.
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[13/17] Compiling CSV CSVCoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Coder/CodingOptions.swift:9:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// The options used for encoding/decoding certin types in the `CSVEncoder` and `CSVDecoder`.
2 | public final class CSVCodingOptions {
| `- note: class 'CSVCodingOptions' does not conform to the 'Sendable' protocol
3 |
4 | /// The default coding options.
:
7 | /// the `NilCodingStrategy`. This means `Bool` will be represented the value's textual name
8 | /// and `nil` will be an empty cell.
9 | public static let `default` = CSVCodingOptions(boolCodingStrategy: .string, nilCodingStrategy: .blank)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
10 |
11 | /// The bool encoding/decoding strategy used for the encoder/decoder the option set is passed to.
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[14/17] Compiling CSV CodingOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Coder/CodingOptions.swift:9:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// The options used for encoding/decoding certin types in the `CSVEncoder` and `CSVDecoder`.
2 | public final class CSVCodingOptions {
| `- note: class 'CSVCodingOptions' does not conform to the 'Sendable' protocol
3 |
4 | /// The default coding options.
:
7 | /// the `NilCodingStrategy`. This means `Bool` will be represented the value's textual name
8 | /// and `nil` will be an empty cell.
9 | public static let `default` = CSVCodingOptions(boolCodingStrategy: .string, nilCodingStrategy: .blank)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CSVCodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
10 |
11 | /// The bool encoding/decoding strategy used for the encoder/decoder the option set is passed to.
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[15/17] Compiling CSV AsyncEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[16/17] Compiling CSV AsyncKeyedEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSV/Config.swift:17:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// to allow for separators other than comma or string delimiters
6 | /// like quotation marks
7 | public struct Config {
| `- note: consider making struct 'Config' conform to the 'Sendable' protocol
8 |
9 | /// The character that separates one cell from another.
:
15 | /// The deault `Config` instance that uses commas for cell separators and double quotes
16 | /// for cell delimiters.
17 | public static let `default`: Config = Config(cellSeparator: 44, cellDelimiter: 34)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Config' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
18 |
19 | /// Creates a new `Config` instance
[17/17] Compiling CSV Utilities.swift
Build complete! (13.10s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CSV",
"name" : "CSV",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CSV",
"targets" : [
"CSV"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CSVTests",
"module_type" : "SwiftTarget",
"name" : "CSVTests",
"path" : "Tests/CSVTests",
"sources" : [
"Data.swift",
"DecoderTests.swift",
"EncoderTests.swift",
"ParserTests.swift",
"SerializerTests.swift",
"StressTests.swift",
"UtilityTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CSV"
],
"type" : "test"
},
{
"c99name" : "CSV",
"module_type" : "SwiftTarget",
"name" : "CSV",
"path" : "Sources/CSV",
"product_memberships" : [
"CSV"
],
"sources" : [
"Coder/CSVCoder.swift",
"Coder/CodingOptions.swift",
"Coder/Data+Number.swift",
"Coder/Decoder/AsyncDecoder.swift",
"Coder/Decoder/AsyncKeyedDecoder.swift",
"Coder/Decoder/AsyncSingleValueDecoder.swift",
"Coder/Encoder/AsyncEncoder.swift",
"Coder/Encoder/AsyncKeyedEncoder.swift",
"Coder/Encoder/AsyncSingleValueEncoder.swift",
"Coder/Encoder/AsyncUnkeyedEncoder.swift",
"Config.swift",
"Parser.swift",
"Seralizer.swift",
"Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.