Build Information
Successful build of swift-json-testing with Swift 6.0 for Linux.
Swift 6 data race errors: 2
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/davdroman/swift-json-testing.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/davdroman/swift-json-testing
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b6d7261 Bump actions/checkout to v4 (#15)
Cloned https://github.com/davdroman/swift-json-testing.git
Revision (git rev-parse @):
b6d7261594b9e2f8f954e4c088c01c7a54181a5f
SUCCESS checkout https://github.com/davdroman/swift-json-testing.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/davdroman/swift-json-testing.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
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4239] Fetching swift-custom-dump
[4240/6595] Fetching swift-custom-dump, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.37s)
[307/2356] Fetching xctest-dynamic-overlay
Computing version for https://github.com/pointfreeco/swift-custom-dump
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.51s)
Computed https://github.com/pointfreeco/swift-custom-dump at 1.0.0 (0.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.60s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.0.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.0.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[6/13] Compiling XCTestDynamicOverlay Unimplemented.swift
[7/13] Compiling XCTestDynamicOverlay Deprecations.swift
[8/13] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[9/13] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[10/13] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[11/13] Compiling XCTestDynamicOverlay XCTFail.swift
[12/13] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[13/13] Emitting module XCTestDynamicOverlay
[15/38] Compiling CustomDump UIKit.swift
[16/38] Compiling CustomDump UserNotifications.swift
[17/38] Compiling CustomDump UserNotificationsUI.swift
[18/41] Compiling CustomDump GameKit.swift
[19/41] Compiling CustomDump KeyPath.swift
[20/41] Compiling CustomDump Photos.swift
[21/41] Compiling CustomDump Speech.swift
[22/41] Compiling CustomDump CoreImage.swift
[23/41] Compiling CustomDump CoreLocation.swift
[24/41] Compiling CustomDump CoreMotion.swift
[25/41] Compiling CustomDump Foundation.swift
[26/41] Compiling CustomDump Box.swift
[27/41] Compiling CustomDump CollectionDifference.swift
[28/41] Compiling CustomDump Mirror.swift
[29/41] Compiling CustomDump CustomDumpReflectable.swift
[30/41] Compiling CustomDump CustomDumpRepresentable.swift
[31/41] Compiling CustomDump CustomDumpStringConvertible.swift
[32/41] Compiling CustomDump String.swift
[33/41] Compiling CustomDump Unordered.swift
[34/41] Compiling CustomDump XCTAssertNoDifference.swift
[35/41] Emitting module CustomDump
[36/41] Compiling CustomDump Diff.swift
[37/41] Compiling CustomDump Dump.swift
[38/41] Compiling CustomDump AnyType.swift
[39/41] Compiling CustomDump StoreKit.swift
[40/41] Compiling CustomDump Swift.swift
[41/41] Compiling CustomDump SwiftUI.swift
[43/50] Compiling JSONTesting Exports.swift
[44/50] Compiling JSONTesting JSON+Codable.swift
[45/51] Compiling JSONTesting XCTAssertJSON.swift
[46/51] Emitting module JSONTesting
/host/spi-builder-workspace/Sources/JSONTesting/JSON+Serialization.swift:7:14: warning: associated value 'jsonToDataConversionError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
5 | public enum Error: LocalizedError {
6 | case dataToJSONConversionError(Data)
7 | case jsonToDataConversionError(JSON)
| `- warning: associated value 'jsonToDataConversionError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
8 |
9 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/JSONTesting/JSON.swift:3:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum JSON: Hashable {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
4 | case string(String)
5 | case number(Decimal)
/host/spi-builder-workspace/Sources/JSONTesting/XCTAssertJSONConfiguration.swift:20:13: warning: var 'XCTAssertJSONConfiguration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var XCTAssertJSONConfiguration = XCTAssertJSON.Configuration(
| |- warning: var 'XCTAssertJSONConfiguration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'XCTAssertJSONConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'XCTAssertJSONConfiguration' 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
21 | encoder: JSONEncoder(),
22 | decoder: JSONDecoder()
[47/51] Compiling JSONTesting XCTAssertJSONConfiguration.swift
/host/spi-builder-workspace/Sources/JSONTesting/XCTAssertJSONConfiguration.swift:20:13: warning: var 'XCTAssertJSONConfiguration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | private var XCTAssertJSONConfiguration = XCTAssertJSON.Configuration(
| |- warning: var 'XCTAssertJSONConfiguration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'XCTAssertJSONConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'XCTAssertJSONConfiguration' 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
21 | encoder: JSONEncoder(),
22 | decoder: JSONDecoder()
[48/51] Compiling JSONTesting JSON.swift
[49/51] Compiling JSONTesting JSON+Debugging.swift
[50/51] Compiling JSONTesting JSON+Literals.swift
[51/51] Compiling JSONTesting JSON+Serialization.swift
/host/spi-builder-workspace/Sources/JSONTesting/JSON+Serialization.swift:7:14: warning: associated value 'jsonToDataConversionError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
5 | public enum Error: LocalizedError {
6 | case dataToJSONConversionError(Data)
7 | case jsonToDataConversionError(JSON)
| `- warning: associated value 'jsonToDataConversionError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSON'; this is an error in the Swift 6 language mode
8 |
9 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/JSONTesting/JSON.swift:3:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum JSON: Hashable {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
4 | case string(String)
5 | case number(Decimal)
Build complete! (25.46s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
}
],
"manifest_display_name" : "swift-json-testing",
"name" : "swift-json-testing",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "JSONTesting",
"targets" : [
"JSONTesting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JSONTestingTests",
"module_type" : "SwiftTarget",
"name" : "JSONTestingTests",
"path" : "Tests/JSONTestingTests",
"sources" : [
"JSONTests.swift",
"Sequence+AdjacentPairs.swift",
"XCTAssertJSONTests.swift"
],
"target_dependencies" : [
"JSONTesting"
],
"type" : "test"
},
{
"c99name" : "JSONTesting",
"module_type" : "SwiftTarget",
"name" : "JSONTesting",
"path" : "Sources/JSONTesting",
"product_dependencies" : [
"CustomDump"
],
"product_memberships" : [
"JSONTesting"
],
"sources" : [
"Exports.swift",
"JSON+Codable.swift",
"JSON+Debugging.swift",
"JSON+Literals.swift",
"JSON+Serialization.swift",
"JSON.swift",
"XCTAssertJSON.swift",
"XCTAssertJSONConfiguration.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.