Build Information
Successful build of swift-json-testing, reference 0.2.0 (de4870
), with Swift 6.0 for Linux on 3 Nov 2024 14:26:01 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davdroman/swift-json-testing.git
Reference: 0.2.0
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
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at de48704 Update dependencies and minimum Swift version (#10)
Cloned https://github.com/davdroman/swift-json-testing.git
Revision (git rev-parse @):
de48704db4af7d448bc27aea305b39494fed6eec
SUCCESS checkout https://github.com/davdroman/swift-json-testing.git at 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/davdroman/swift-json-testing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4511] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.29s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.47s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4985] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.70s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.4.2 (0.46s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.4.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.3.3
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/23] Emitting module IssueReporting
[7/25] Compiling IssueReporting WithExpectedIssue.swift
[8/25] Compiling IssueReporting WithIssueContext.swift
[9/25] Compiling IssueReporting LockIsolated.swift
[10/25] Compiling IssueReporting Rethrows.swift
[11/25] Compiling IssueReporting SwiftTesting.swift
[12/25] Compiling IssueReporting AppHostWarning.swift
[13/25] Compiling IssueReporting Deprecations.swift
[14/25] Compiling IssueReporting FailureObserver.swift
[15/25] Compiling IssueReporting BreakpointReporter.swift
[16/25] Compiling IssueReporting FatalErrorReporter.swift
[17/25] Compiling IssueReporting TestContext.swift
[18/25] Compiling IssueReporting Unimplemented.swift
[19/25] Compiling IssueReporting UncheckedSendable.swift
[20/25] Compiling IssueReporting Warn.swift
[21/25] Compiling IssueReporting XCTest.swift
[22/25] Compiling IssueReporting IsTesting.swift
[23/25] Compiling IssueReporting IssueReporter.swift
[24/25] Compiling IssueReporting RuntimeWarningReporter.swift
[25/25] Compiling IssueReporting ReportIssue.swift
[27/29] Compiling XCTestDynamicOverlay Exports.swift
[28/29] Emitting module XCTestDynamicOverlay
[29/29] Compiling XCTestDynamicOverlay Deprecations.swift
[31/57] Compiling CustomDump StoreKit.swift
[32/57] Compiling CustomDump Swift.swift
[33/57] Compiling CustomDump SwiftUI.swift
[34/57] Compiling CustomDump UIKit.swift
[35/57] Compiling CustomDump GameKit.swift
[36/57] Compiling CustomDump KeyPath.swift
[37/57] Compiling CustomDump Photos.swift
[38/57] Compiling CustomDump Speech.swift
[39/60] Compiling CustomDump UserNotifications.swift
[40/60] Compiling CustomDump UserNotificationsUI.swift
[41/60] Compiling CustomDump CustomDumpReflectable.swift
[42/60] Compiling CustomDump CustomDumpRepresentable.swift
[43/60] Compiling CustomDump Identifiable.swift
[44/60] Compiling CustomDump Mirror.swift
[45/60] Compiling CustomDump String.swift
[46/60] Compiling CustomDump Unordered.swift
[47/60] Compiling CustomDump XCTAssertDifference.swift
[48/60] Compiling CustomDump XCTAssertNoDifference.swift
[49/60] Emitting module CustomDump
[50/60] Compiling CustomDump CoreImage.swift
[51/60] Compiling CustomDump CoreLocation.swift
[52/60] Compiling CustomDump CoreMotion.swift
[53/60] Compiling CustomDump Foundation.swift
[54/60] Compiling CustomDump ExpectNoDifference.swift
[55/60] Compiling CustomDump AnyType.swift
[56/60] Compiling CustomDump CollectionDifference.swift
[57/60] Compiling CustomDump CustomDumpStringConvertible.swift
[58/60] Compiling CustomDump Diff.swift
[59/60] Compiling CustomDump Dump.swift
[60/60] Compiling CustomDump ExpectDifference.swift
[62/69] Compiling JSONTesting JSON+Codable.swift
[63/69] Compiling JSONTesting Exports.swift
[64/69] 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 nonisolated 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 nonisolated 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()
[65/70] Compiling JSONTesting JSON+Literals.swift
[66/70] Compiling JSONTesting XCTAssertJSONConfiguration.swift
/host/spi-builder-workspace/Sources/JSONTesting/XCTAssertJSONConfiguration.swift:20:13: warning: var 'XCTAssertJSONConfiguration' is not concurrency-safe because it is nonisolated 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 nonisolated 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()
[67/70] Compiling JSONTesting XCTAssertJSON.swift
/host/spi-builder-workspace/Sources/JSONTesting/XCTAssertJSON.swift:14:5: warning: 'XCTAssertNoDifference(_:_:_:file:line:)' is deprecated: renamed to 'expectNoDifference'
12 | let codable = try codable()
13 | let sut = try decoder.decode(T.self, from: encoder.encode(codable))
14 | XCTAssertNoDifference(sut, codable, message(), file: file, line: line)
| |- warning: 'XCTAssertNoDifference(_:_:_:file:line:)' is deprecated: renamed to 'expectNoDifference'
| `- note: use 'expectNoDifference' instead
15 | }
16 |
/host/spi-builder-workspace/Sources/JSONTesting/XCTAssertJSON.swift:41:5: warning: 'XCTAssertNoDifference(_:_:_:file:line:)' is deprecated: renamed to 'expectNoDifference'
39 | let sut = try JSON(of: encodable(), encoder: encoder)
40 | let json = try json()
41 | XCTAssertNoDifference(sut, json, message(), file: file, line: line)
| |- warning: 'XCTAssertNoDifference(_:_:_:file:line:)' is deprecated: renamed to 'expectNoDifference'
| `- note: use 'expectNoDifference' instead
42 | }
43 |
/host/spi-builder-workspace/Sources/JSONTesting/XCTAssertJSON.swift:54:5: warning: 'XCTAssertNoDifference(_:_:_:file:line:)' is deprecated: renamed to 'expectNoDifference'
52 | let sut = try json().as(T.self, decoder: decoder)
53 | let decodable = try decodable()
54 | XCTAssertNoDifference(sut, decodable, message(), file: file, line: line)
| |- warning: 'XCTAssertNoDifference(_:_:_:file:line:)' is deprecated: renamed to 'expectNoDifference'
| `- note: use 'expectNoDifference' instead
55 | }
56 |
[68/70] Compiling JSONTesting JSON.swift
[69/70] Compiling JSONTesting JSON+Debugging.swift
[70/70] 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! (22.66s)
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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.