Build Information
Successful build of CSVCoding with Swift 6.0 for Linux.
Swift 6 data race errors: 2
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/elegantchaos/CSVCoding.git
Reference: main
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/elegantchaos/CSVCoding
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0ea76e8 Updated read me with more info about headers.
Cloned https://github.com/elegantchaos/CSVCoding.git
Revision (git rev-parse @):
0ea76e86b2ca2d87947a30417cc8cc7e8aa644cf
SUCCESS checkout https://github.com/elegantchaos/CSVCoding.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/elegantchaos/CSVCoding.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-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
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/565] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.26s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.3.3 (0.67s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.3.3
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling CSVCoding CSVUnkeyedEncodingContainer.swift
[4/8] Compiling CSVCoding CSVHeaderTranslator.swift
[5/8] Compiling CSVCoding CSVKeyedEncodingContainer.swift
[6/8] Compiling CSVCoding CSVEncoderError.swift
[7/8] Emitting module CSVCoding
/host/spi-builder-workspace/Sources/CSVCoding/CSVEncoder.swift:16:16: warning: static property 'deferredFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
14 | fileprivate var headers: [String]
15 |
16 | static let deferredFormatter = DateFormatter()
| `- warning: static property 'deferredFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let isoFormatter = ISO8601DateFormatter()
18 |
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/CSVCoding/CSVEncoder.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
5 |
6 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 |
8 | public class CSVEncoder: Encoder {
:
14 | fileprivate var headers: [String]
15 |
16 | static let deferredFormatter = DateFormatter()
| |- note: annotate 'deferredFormatter' 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
17 | static let isoFormatter = ISO8601DateFormatter()
18 |
/host/spi-builder-workspace/Sources/CSVCoding/CSVEncoder.swift:17:16: warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static let deferredFormatter = DateFormatter()
17 | static let isoFormatter = ISO8601DateFormatter()
| |- warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isoFormatter' 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 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[8/8] Compiling CSVCoding CSVEncoder.swift
/host/spi-builder-workspace/Sources/CSVCoding/CSVEncoder.swift:16:16: warning: static property 'deferredFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
14 | fileprivate var headers: [String]
15 |
16 | static let deferredFormatter = DateFormatter()
| `- warning: static property 'deferredFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let isoFormatter = ISO8601DateFormatter()
18 |
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/CSVCoding/CSVEncoder.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
5 |
6 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 |
8 | public class CSVEncoder: Encoder {
:
14 | fileprivate var headers: [String]
15 |
16 | static let deferredFormatter = DateFormatter()
| |- note: annotate 'deferredFormatter' 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
17 | static let isoFormatter = ISO8601DateFormatter()
18 |
/host/spi-builder-workspace/Sources/CSVCoding/CSVEncoder.swift:17:16: warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static let deferredFormatter = DateFormatter()
17 | static let isoFormatter = ISO8601DateFormatter()
| |- warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isoFormatter' 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 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
Build complete! (10.34s)
Build complete.
{
"dependencies" : [
{
"identity" : "xctestextensions",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/XCTestExtensions.git"
}
],
"manifest_display_name" : "CSVCoding",
"name" : "CSVCoding",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "CSVCoding",
"targets" : [
"CSVCoding"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CSVCodingTests",
"module_type" : "SwiftTarget",
"name" : "CSVCodingTests",
"path" : "Tests/CSVCodingTests",
"product_dependencies" : [
"XCTestExtensions"
],
"sources" : [
"CSVEncoderTests.swift"
],
"target_dependencies" : [
"CSVCoding"
],
"type" : "test"
},
{
"c99name" : "CSVCoding",
"module_type" : "SwiftTarget",
"name" : "CSVCoding",
"path" : "Sources/CSVCoding",
"product_memberships" : [
"CSVCoding"
],
"sources" : [
"CSVEncoder.swift",
"CSVEncoderError.swift",
"CSVHeaderTranslator.swift",
"CSVKeyedEncodingContainer.swift",
"CSVUnkeyedEncodingContainer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.