Build Information
Successful build of JSON, reference 2.2.2 (6c7ce4
), with Swift 6.0 for Linux on 4 Nov 2024 04:35:17 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/vapor-community/json.git
Reference: 2.2.2
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/vapor-community/json
* tag 2.2.2 -> FETCH_HEAD
HEAD is now at 6c7ce40 remove characters warning
Cloned https://github.com/vapor-community/json.git
Revision (git rev-parse @):
6c7ce40d30b322d45cc49a8f1d742609d3228eb7
SUCCESS checkout https://github.com/vapor-community/json.git at 2.2.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/vapor-community/json.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/vapor/core.git
Fetching https://github.com/vapor/node.git
[1/4211] Fetching node
[717/24354] Fetching node, core
Fetched https://github.com/vapor/node.git from cache (0.28s)
[16316/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.64s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.43s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/358] Fetching bits
[141/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.22s)
Fetched https://github.com/vapor/debugging.git from cache (0.22s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.42s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.59s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.43s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/33] Compiling Debugging Debuggable.swift
[10/33] Emitting module Debugging
[11/34] Compiling Bits Operators.swift
[12/34] Compiling Bits String+BytesConvertible.swift
[14/36] Compiling PathIndexable PathIndexable.swift
[15/36] Emitting module Bits
[16/36] Emitting module PathIndexable
[17/36] Compiling PathIndexable PathIndexable+Subscripting.swift
[19/37] Compiling Bits UnsignedInteger+BytesConvertible.swift
[20/37] Compiling Bits UnsignedInteger+Shifting.swift
[21/37] Emitting module libc
[22/37] Compiling libc libc.swift
[24/38] Compiling Bits Data+BytesConvertible.swift
[25/38] Compiling Bits HexEncoder.swift
[26/38] Compiling Bits Byte+ControlCharacters.swift
[27/38] Compiling Bits Byte+Convenience.swift
[28/38] Compiling Bits Byte+PatternMatching.swift
[29/38] Compiling Bits Bytes+Base64.swift
[30/38] Compiling Bits Bytes+Hex.swift
[31/38] Compiling Bits Aliases.swift
[32/38] Compiling Bits Base64Encoder.swift
[33/38] Compiling Bits Byte+Alphabet.swift
[34/38] Compiling Bits Byte+Random.swift
[35/38] Compiling Bits Byte+UTF8Numbers.swift
[36/38] Compiling Bits ByteSequence+Conversions.swift
[37/38] Compiling Bits Bytes+Percent.swift
[38/38] Compiling Bits BytesConvertible.swift
[40/61] Compiling Core DispatchTime+Utilities.swift
[41/61] Compiling Core EmptyInitializable.swift
[42/61] Compiling Core Exports.swift
[43/61] Compiling Core Extendable.swift
[44/61] Compiling Core FileProtocol.swift
[45/61] Compiling Core Int+Hex.swift
[46/63] Compiling Core Result.swift
[47/63] Compiling Core Semaphore.swift
[48/63] Compiling Core Sequence.swift
[49/63] Emitting module Core
[50/63] Compiling Core Lock.swift
[51/63] Compiling Core Portal.swift
[52/63] Compiling Core RFC1123.swift
[53/63] Compiling Core StaticDataBuffer.swift
[54/63] Compiling Core String+CaseInsensitiveCompare.swift
[55/63] Compiling Core String+Polymorphic.swift
[56/63] Compiling Core String.swift
[57/63] Compiling Core WorkingDirectory.swift
[58/63] Compiling Core Collection+Safe.swift
[59/63] Compiling Core DataFile.swift
[60/63] Compiling Core Dispatch.swift
[61/63] Compiling Core Array.swift
[62/63] Compiling Core Bits.swift
[63/63] Compiling Core Cache.swift
[65/99] Compiling Node Integer+Convertible.swift
[66/99] Compiling Node Schema+Convertible.swift
[67/99] Compiling Node SchemaWrapper+Convertible.swift
[68/99] Compiling Node String+Convertible.swift
[69/99] Compiling Node UUID+Convertible.swift
[70/103] Compiling Node Getters.swift
[71/103] Compiling Node Setters.swift
[72/103] Compiling Node Bool+Convertible.swift
[73/103] Compiling Node Date+Convertible.swift
[74/103] Compiling Node FloatingPoint+Convertible.swift
[75/103] Emitting module Node
[76/103] Compiling Node StructuredDataWrapper+Equatable.swift
[77/103] Compiling Node StructuredDataWrapper+Literals.swift
[78/103] Compiling Node StructuredDataWrapper+PathIndexable.swift
[79/103] Compiling Node StructuredDataWrapper+Polymorphic.swift
[80/103] Compiling Node StructuredData+PathIndexable.swift
[81/103] Compiling Node StructuredData+Polymorphic.swift
[82/103] Compiling Node StructuredData.swift
[83/103] Compiling Node StructuredDataWrapper+Cases.swift
[84/103] Compiling Node StructuredDataWrapper+Convenience.swift
[85/103] Compiling Node UnsignedInteger+Convertible.swift
[86/103] Compiling Node Context.swift
[87/103] Compiling Node Node.swift
[88/103] Compiling Node NodeConvertible.swift
[89/103] Compiling Node NodeInitializable.swift
[90/103] Compiling Node NodeRepresentable.swift
[91/103] Compiling Node Array+Convertible.swift
[92/103] Compiling Node Dictionary+Convertible.swift
[93/103] Compiling Node Fuzzy+Any.swift
[94/103] Compiling Node FuzzyConverter.swift
[95/103] Compiling Node Optional+Convertible.swift
[96/103] Compiling Node Set+Convertible.swift
[97/103] Compiling Node Number.swift
[98/103] Compiling Node StructuredData+Equatable.swift
[99/103] Compiling Node StructuredData+Init.swift
[100/103] Compiling Node StructuredDataWrapper.swift
[101/103] Compiling Node Errors.swift
[102/103] Compiling Node Exports.swift
[103/103] Compiling Node Identifier.swift
[105/112] Compiling JSON JSONRepresentable.swift
[106/113] Compiling JSON JSONContext.swift
/host/spi-builder-workspace/Sources/JSON/JSONContext.swift:2:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public final class JSONContext: Context {
| `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
2 | internal static let shared = JSONContext()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
3 | fileprivate init() {}
4 | }
/host/spi-builder-workspace/Sources/JSON/JSONContext.swift:6:12: warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public final class JSONContext: Context {
| `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
2 | internal static let shared = JSONContext()
3 | fileprivate init() {}
4 | }
5 |
6 | public let jsonContext = JSONContext.shared
| |- warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonContext' 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
7 |
8 | extension Context {
[107/113] Compiling JSON JSON.swift
/host/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct JSON: StructuredDataWrapper {
11 | public static var defaultContext: Context? = jsonContext
| |- warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContext' 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
12 | public var wrapped: StructuredData
13 | public let context: Context
/host/spi-builder-workspace/Sources/JSON/JSONContext.swift:6:12: warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public final class JSONContext: Context {
| `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
2 | internal static let shared = JSONContext()
3 | fileprivate init() {}
4 | }
5 |
6 | public let jsonContext = JSONContext.shared
| |- warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonContext' 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
7 |
8 | extension Context {
[108/113] Compiling JSON JSON+Serialize.swift
[109/113] Compiling JSON Sequence+Convertible.swift
/host/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct JSON: StructuredDataWrapper {
11 | public static var defaultContext: Context? = jsonContext
| |- warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContext' 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
12 | public var wrapped: StructuredData
13 | public let context: Context
[110/113] Compiling JSON JSON+Fuzzy.swift
[111/113] Compiling JSON JSON+Bytes.swift
[112/113] Emitting module JSON
/host/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct JSON: StructuredDataWrapper {
11 | public static var defaultContext: Context? = jsonContext
| |- warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContext' 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
12 | public var wrapped: StructuredData
13 | public let context: Context
/host/spi-builder-workspace/Sources/JSON/JSONContext.swift:6:12: warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public final class JSONContext: Context {
| `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
2 | internal static let shared = JSONContext()
3 | fileprivate init() {}
4 | }
5 |
6 | public let jsonContext = JSONContext.shared
| |- warning: let 'jsonContext' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsonContext' 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
7 |
8 | extension Context {
/host/spi-builder-workspace/Sources/JSON/JSONContext.swift:2:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public final class JSONContext: Context {
| `- note: class 'JSONContext' does not conform to the 'Sendable' protocol
2 | internal static let shared = JSONContext()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
3 | fileprivate init() {}
4 | }
[113/113] Compiling JSON JSON+Parse.swift
/host/spi-builder-workspace/Sources/JSON/JSON.swift:11:23: warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct JSON: StructuredDataWrapper {
11 | public static var defaultContext: Context? = jsonContext
| |- warning: static property 'defaultContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContext' 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
12 | public var wrapped: StructuredData
13 | public let context: Context
/host/spi-builder-workspace/Sources/JSON/JSON+Parse.swift:129:31: warning: reference to static property 'outgoingDateFormatter' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
127 | return value
128 | case .date(let date):
129 | let string = Date.outgoingDateFormatter.string(from: date)
| `- warning: reference to static property 'outgoingDateFormatter' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | return string
131 | }
/host/spi-builder-workspace/.build/checkouts/node/Sources/Node/Convertibles/Date+Convertible.swift:53:23: note: static property declared here
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| `- note: static property declared here
54 |
55 | /**
Build complete! (13.77s)
Build complete.
{
"dependencies" : [
{
"identity" : "core",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/core.git"
},
{
"identity" : "node",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/node.git"
}
],
"manifest_display_name" : "JSON",
"name" : "JSON",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JSON",
"targets" : [
"JSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JSONTests",
"module_type" : "SwiftTarget",
"name" : "JSONTests",
"path" : "Tests/JSONTests",
"sources" : [
"JSONConvertibleTests.swift",
"JSONTests.swift"
],
"target_dependencies" : [
"JSON"
],
"type" : "test"
},
{
"c99name" : "JSON",
"module_type" : "SwiftTarget",
"name" : "JSON",
"path" : "Sources/JSON",
"product_dependencies" : [
"Core",
"Node"
],
"product_memberships" : [
"JSON"
],
"sources" : [
"JSON+Bytes.swift",
"JSON+Fuzzy.swift",
"JSON+Parse.swift",
"JSON+Serialize.swift",
"JSON.swift",
"JSONContext.swift",
"JSONRepresentable.swift",
"Sequence+Convertible.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
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.