Build Information
Successful build of SwiftCSV with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/swiftcsv/SwiftCSV.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling SwiftCSV String+Lines.swift
[5/14] Compiling SwiftCSV NamedCSVView.swift
[6/14] Compiling SwiftCSV Parser.swift
[7/14] Compiling SwiftCSV ParsingState.swift
[8/14] Compiling SwiftCSV Serializer.swift
[9/14] Compiling SwiftCSV CSVDelimiter.swift
[10/14] Compiling SwiftCSV EnumeratedCSVView.swift
[11/14] Compiling SwiftCSV resource_bundle_accessor.swift
[12/14] Emitting module SwiftCSV
/host/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`.
/host/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/14] Compiling SwiftCSV CSV+DelimiterGuessing.swift
/host/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`.
/host/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
[14/14] Compiling SwiftCSV CSV.swift
/host/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`.
/host/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
Build complete! (13.08s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCSV",
"name" : "SwiftCSV",
"path" : "/host/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" : "/host/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" : "/host/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.