Build Information
Successful build of JAYSON, reference 2.5.0 (59e9a6
), with Swift 6.0 for Linux on 2 Nov 2024 18:56:04 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/FluidGroup/JAYSON.git
Reference: 2.5.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/FluidGroup/JAYSON
* tag 2.5.0 -> FETCH_HEAD
HEAD is now at 59e9a66 Update workflow
Cloned https://github.com/FluidGroup/JAYSON.git
Revision (git rev-parse @):
59e9a669b0d18a6536f3592a22a6d08538a718ec
SUCCESS checkout https://github.com/FluidGroup/JAYSON.git at 2.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/FluidGroup/JAYSON.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/JAYSON/Info.plist
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Emitting module JAYSON
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:26:8: warning: associated value 'notFoundKeyPath(keyPath:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'KeyPath<JSON, JSON?>'; this is an error in the Swift 6 language mode
24 |
25 | public enum JSONError: Error {
26 | case notFoundKeyPath(keyPath: KeyPath<JSON, JSON?>, json: JSON)
| `- warning: associated value 'notFoundKeyPath(keyPath:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'KeyPath<JSON, JSON?>'; this is an error in the Swift 6 language mode
27 | case notFoundKey(key: String, json: JSON)
28 | case notFoundIndex(index: Int, json: JSON)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:29:8: warning: associated value 'failedToGetString(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
27 | case notFoundKey(key: String, json: JSON)
28 | case notFoundIndex(index: Int, json: JSON)
29 | case failedToGetString(source: Any, json: JSON)
| `- warning: associated value 'failedToGetString(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:30:8: warning: associated value 'failedToGetBool(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
28 | case notFoundIndex(index: Int, json: JSON)
29 | case failedToGetString(source: Any, json: JSON)
30 | case failedToGetBool(source: Any, json: JSON)
| `- warning: associated value 'failedToGetBool(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:31:8: warning: associated value 'failedToGetNumber(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
29 | case failedToGetString(source: Any, json: JSON)
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
| `- warning: associated value 'failedToGetNumber(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:32:8: warning: associated value 'failedToGetArray(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
| `- warning: associated value 'failedToGetArray(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:33:8: warning: associated value 'failedToGetDictionary(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
| `- warning: associated value 'failedToGetDictionary(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
34 | case failedToParseURL(source: Any, json: JSON)
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:34:8: warning: associated value 'failedToParseURL(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
| `- warning: associated value 'failedToParseURL(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
36 | case failedToInitializeFromJSONString(String)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:35:8: warning: associated value 'decodeError(source:json:decodeError:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
| `- warning: associated value 'decodeError(source:json:decodeError:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
36 | case failedToInitializeFromJSONString(String)
37 | case invalidJSONObject
[4/11] Compiling JAYSON Decoder.swift
[5/11] Compiling JAYSON JSON+Codable.swift
[6/12] Compiling JAYSON JSON+OptionalProperty.swift
[7/12] Compiling JAYSON JSON+StateProperty.swift
[8/12] Compiling JAYSON JSON+CustomString.swift
[9/12] Compiling JAYSON JSON+SourceType.swift
[10/12] Compiling JAYSON JSON.swift
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:26:8: warning: associated value 'notFoundKeyPath(keyPath:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'KeyPath<JSON, JSON?>'; this is an error in the Swift 6 language mode
24 |
25 | public enum JSONError: Error {
26 | case notFoundKeyPath(keyPath: KeyPath<JSON, JSON?>, json: JSON)
| `- warning: associated value 'notFoundKeyPath(keyPath:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'KeyPath<JSON, JSON?>'; this is an error in the Swift 6 language mode
27 | case notFoundKey(key: String, json: JSON)
28 | case notFoundIndex(index: Int, json: JSON)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:29:8: warning: associated value 'failedToGetString(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
27 | case notFoundKey(key: String, json: JSON)
28 | case notFoundIndex(index: Int, json: JSON)
29 | case failedToGetString(source: Any, json: JSON)
| `- warning: associated value 'failedToGetString(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:30:8: warning: associated value 'failedToGetBool(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
28 | case notFoundIndex(index: Int, json: JSON)
29 | case failedToGetString(source: Any, json: JSON)
30 | case failedToGetBool(source: Any, json: JSON)
| `- warning: associated value 'failedToGetBool(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:31:8: warning: associated value 'failedToGetNumber(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
29 | case failedToGetString(source: Any, json: JSON)
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
| `- warning: associated value 'failedToGetNumber(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:32:8: warning: associated value 'failedToGetArray(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | case failedToGetBool(source: Any, json: JSON)
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
| `- warning: associated value 'failedToGetArray(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:33:8: warning: associated value 'failedToGetDictionary(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
31 | case failedToGetNumber(source: Any, json: JSON)
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
| `- warning: associated value 'failedToGetDictionary(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
34 | case failedToParseURL(source: Any, json: JSON)
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:34:8: warning: associated value 'failedToParseURL(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
32 | case failedToGetArray(source: Any, json: JSON)
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
| `- warning: associated value 'failedToParseURL(source:json:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
36 | case failedToInitializeFromJSONString(String)
/host/spi-builder-workspace/Sources/JAYSON/JSON.swift:35:8: warning: associated value 'decodeError(source:json:decodeError:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
33 | case failedToGetDictionary(source: Any, json: JSON)
34 | case failedToParseURL(source: Any, json: JSON)
35 | case decodeError(source: Any, json: JSON, decodeError: Error)
| `- warning: associated value 'decodeError(source:json:decodeError:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
36 | case failedToInitializeFromJSONString(String)
37 | case invalidJSONObject
[11/12] Compiling JAYSON JSON+StrictGetter.swift
[12/12] Compiling JAYSON JSONWritableType.swift
Build complete! (10.07s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "JAYSON",
"name" : "JAYSON",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JAYSON",
"targets" : [
"JAYSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JAYSON",
"module_type" : "SwiftTarget",
"name" : "JAYSON",
"path" : "Sources/JAYSON",
"product_memberships" : [
"JAYSON"
],
"sources" : [
"Decoder.swift",
"JSON+Codable.swift",
"JSON+CustomString.swift",
"JSON+OptionalProperty.swift",
"JSON+SourceType.swift",
"JSON+StateProperty.swift",
"JSON+StrictGetter.swift",
"JSON.swift",
"JSONWritableType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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.