Build Information
Successful build of RichJSONParser, reference master (263e2e), with Swift 6.1 for Wasm on 27 May 2025 18:47:26 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/omochi/RichJSONParser.git
Reference: master
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/omochi/RichJSONParser
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 263e2ec Swift5.0
Cloned https://github.com/omochi/RichJSONParser.git
Revision (git rev-parse @):
263e2ecfe88d0500fa99e4cbc8c948529d335534
SUCCESS checkout https://github.com/omochi/RichJSONParser.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/omochi/RichJSONParser.git
https://github.com/omochi/RichJSONParser.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "RichJSONParser",
"name" : "RichJSONParser",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "RichJSONParser",
"targets" : [
"RichJSONParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RichJSONParserTests",
"module_type" : "SwiftTarget",
"name" : "RichJSONParserTests",
"path" : "Tests/RichJSONParserTests",
"sources" : [
"Support/Resources.swift",
"TestCase/BenchmarkTests.swift",
"TestCase/FastJSONParserTests.swift",
"TestCase/ParserTests.swift",
"TestCase/SerializerTests.swift",
"TestCase/StringEscapeTests.swift",
"TestCase/TokenizerTests.swift",
"TestCase/UTF8ReaderTests.swift"
],
"target_dependencies" : [
"RichJSONParser"
],
"type" : "test"
},
{
"c99name" : "RichJSONParser",
"module_type" : "SwiftTarget",
"name" : "RichJSONParser",
"path" : "Sources/RichJSONParser",
"product_memberships" : [
"RichJSONParser"
],
"sources" : [
"Characters.swift",
"DecodedUnicodeChar.swift",
"FastJSONParser.swift",
"FormatExtension.swift",
"JSON.swift",
"JSONDictionary.swift",
"JSONParser.swift",
"JSONSerializer.swift",
"JSONStringEscape.swift",
"JSONToken.swift",
"JSONTokenizer.swift",
"ParsedJSON.swift",
"SourceLocation.swift",
"SourceLocationLite.swift",
"StaticBuffer.swift",
"UTF8Decoder.swift",
"UTF8Reader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] Emitting module RichJSONParser
/host/spi-builder-workspace/Sources/RichJSONParser/FastJSONParser.swift:5:14: warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
3 | public final class FastJSONParser {
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case unexceptedEnd(SourceLocation)
| `- warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
6 | case invalidChar(UInt8, SourceLocation)
7 |
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/FastJSONParser.swift:6:14: warning: associated value 'invalidChar' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case unexceptedEnd(SourceLocation)
6 | case invalidChar(UInt8, SourceLocation)
| `- warning: associated value 'invalidChar' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
7 |
8 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/JSONParser.swift:9:14: warning: associated value 'invalidToken(_:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
7 | public class JSONParser {
8 | public enum Error : LocalizedError, CustomStringConvertible {
9 | case invalidToken(JSONToken, file: URL?)
| `- warning: associated value 'invalidToken(_:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
10 | case unexceptedToken(JSONToken, expected: String, file: URL?)
11 |
/host/spi-builder-workspace/Sources/RichJSONParser/JSONToken.swift:1:15: note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
1 | public struct JSONToken : Equatable, CustomStringConvertible {
| `- note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
2 | public enum Kind {
3 | case end
/host/spi-builder-workspace/Sources/RichJSONParser/JSONParser.swift:10:14: warning: associated value 'unexceptedToken(_:expected:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
8 | public enum Error : LocalizedError, CustomStringConvertible {
9 | case invalidToken(JSONToken, file: URL?)
10 | case unexceptedToken(JSONToken, expected: String, file: URL?)
| `- warning: associated value 'unexceptedToken(_:expected:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
11 |
12 | public var errorDescription: String? { return description }
/host/spi-builder-workspace/Sources/RichJSONParser/JSONToken.swift:1:15: note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
1 | public struct JSONToken : Equatable, CustomStringConvertible {
| `- note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
2 | public enum Kind {
3 | case end
/host/spi-builder-workspace/Sources/RichJSONParser/JSONTokenizer.swift:5:14: warning: associated value 'invalidCharacter' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
3 | public class JSONTokenizer {
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case invalidCharacter(SourceLocation, Unicode.Scalar)
| `- warning: associated value 'invalidCharacter' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
6 | case unexceptedEnd(SourceLocation)
7 | case stringUnescapeError(SourceLocation, Swift.Error)
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/JSONTokenizer.swift:6:14: warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case invalidCharacter(SourceLocation, Unicode.Scalar)
6 | case unexceptedEnd(SourceLocation)
| `- warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
7 | case stringUnescapeError(SourceLocation, Swift.Error)
8 |
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/JSONTokenizer.swift:7:14: warning: associated value 'stringUnescapeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
5 | case invalidCharacter(SourceLocation, Unicode.Scalar)
6 | case unexceptedEnd(SourceLocation)
7 | case stringUnescapeError(SourceLocation, Swift.Error)
| `- warning: associated value 'stringUnescapeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
8 |
9 | public var errorDescription: String? { return description }
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/UTF8Reader.swift:5:14: warning: associated value 'utf8DecodeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
3 | public final class UTF8Reader {
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case utf8DecodeError(SourceLocation, Swift.Error?)
| `- warning: associated value 'utf8DecodeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
6 |
7 | public var errorDescription: String? { return description }
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
[4/20] Compiling RichJSONParser UTF8Decoder.swift
/host/spi-builder-workspace/Sources/RichJSONParser/UTF8Reader.swift:5:14: warning: associated value 'utf8DecodeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
3 | public final class UTF8Reader {
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case utf8DecodeError(SourceLocation, Swift.Error?)
| `- warning: associated value 'utf8DecodeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
6 |
7 | public var errorDescription: String? { return description }
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
[5/20] Compiling RichJSONParser UTF8Reader.swift
/host/spi-builder-workspace/Sources/RichJSONParser/UTF8Reader.swift:5:14: warning: associated value 'utf8DecodeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
3 | public final class UTF8Reader {
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case utf8DecodeError(SourceLocation, Swift.Error?)
| `- warning: associated value 'utf8DecodeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
6 |
7 | public var errorDescription: String? { return description }
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
[6/20] Compiling RichJSONParser JSONToken.swift
/host/spi-builder-workspace/Sources/RichJSONParser/JSONTokenizer.swift:5:14: warning: associated value 'invalidCharacter' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
3 | public class JSONTokenizer {
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case invalidCharacter(SourceLocation, Unicode.Scalar)
| `- warning: associated value 'invalidCharacter' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
6 | case unexceptedEnd(SourceLocation)
7 | case stringUnescapeError(SourceLocation, Swift.Error)
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/JSONTokenizer.swift:6:14: warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case invalidCharacter(SourceLocation, Unicode.Scalar)
6 | case unexceptedEnd(SourceLocation)
| `- warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
7 | case stringUnescapeError(SourceLocation, Swift.Error)
8 |
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/JSONTokenizer.swift:7:14: warning: associated value 'stringUnescapeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
5 | case invalidCharacter(SourceLocation, Unicode.Scalar)
6 | case unexceptedEnd(SourceLocation)
7 | case stringUnescapeError(SourceLocation, Swift.Error)
| `- warning: associated value 'stringUnescapeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
8 |
9 | public var errorDescription: String? { return description }
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
[7/20] Compiling RichJSONParser JSONTokenizer.swift
/host/spi-builder-workspace/Sources/RichJSONParser/JSONTokenizer.swift:5:14: warning: associated value 'invalidCharacter' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
3 | public class JSONTokenizer {
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case invalidCharacter(SourceLocation, Unicode.Scalar)
| `- warning: associated value 'invalidCharacter' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
6 | case unexceptedEnd(SourceLocation)
7 | case stringUnescapeError(SourceLocation, Swift.Error)
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/JSONTokenizer.swift:6:14: warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case invalidCharacter(SourceLocation, Unicode.Scalar)
6 | case unexceptedEnd(SourceLocation)
| `- warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
7 | case stringUnescapeError(SourceLocation, Swift.Error)
8 |
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/JSONTokenizer.swift:7:14: warning: associated value 'stringUnescapeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
5 | case invalidCharacter(SourceLocation, Unicode.Scalar)
6 | case unexceptedEnd(SourceLocation)
7 | case stringUnescapeError(SourceLocation, Swift.Error)
| `- warning: associated value 'stringUnescapeError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
8 |
9 | public var errorDescription: String? { return description }
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
[8/20] Compiling RichJSONParser Characters.swift
/host/spi-builder-workspace/Sources/RichJSONParser/FastJSONParser.swift:5:14: warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
3 | public final class FastJSONParser {
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case unexceptedEnd(SourceLocation)
| `- warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
6 | case invalidChar(UInt8, SourceLocation)
7 |
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/FastJSONParser.swift:6:14: warning: associated value 'invalidChar' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case unexceptedEnd(SourceLocation)
6 | case invalidChar(UInt8, SourceLocation)
| `- warning: associated value 'invalidChar' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
7 |
8 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
[9/20] Compiling RichJSONParser DecodedUnicodeChar.swift
/host/spi-builder-workspace/Sources/RichJSONParser/FastJSONParser.swift:5:14: warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
3 | public final class FastJSONParser {
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case unexceptedEnd(SourceLocation)
| `- warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
6 | case invalidChar(UInt8, SourceLocation)
7 |
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/FastJSONParser.swift:6:14: warning: associated value 'invalidChar' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case unexceptedEnd(SourceLocation)
6 | case invalidChar(UInt8, SourceLocation)
| `- warning: associated value 'invalidChar' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
7 |
8 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
[10/20] Compiling RichJSONParser FastJSONParser.swift
/host/spi-builder-workspace/Sources/RichJSONParser/FastJSONParser.swift:5:14: warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
3 | public final class FastJSONParser {
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case unexceptedEnd(SourceLocation)
| `- warning: associated value 'unexceptedEnd' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
6 | case invalidChar(UInt8, SourceLocation)
7 |
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
/host/spi-builder-workspace/Sources/RichJSONParser/FastJSONParser.swift:6:14: warning: associated value 'invalidChar' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
4 | public enum Error : LocalizedError, CustomStringConvertible {
5 | case unexceptedEnd(SourceLocation)
6 | case invalidChar(UInt8, SourceLocation)
| `- warning: associated value 'invalidChar' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
7 |
8 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/RichJSONParser/SourceLocation.swift:3:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct SourceLocation : Equatable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
4 | public var offset: Int
5 | public var line: Int
[11/20] Compiling RichJSONParser JSONDictionary.swift
/host/spi-builder-workspace/Sources/RichJSONParser/JSONParser.swift:9:14: warning: associated value 'invalidToken(_:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
7 | public class JSONParser {
8 | public enum Error : LocalizedError, CustomStringConvertible {
9 | case invalidToken(JSONToken, file: URL?)
| `- warning: associated value 'invalidToken(_:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
10 | case unexceptedToken(JSONToken, expected: String, file: URL?)
11 |
/host/spi-builder-workspace/Sources/RichJSONParser/JSONToken.swift:1:15: note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
1 | public struct JSONToken : Equatable, CustomStringConvertible {
| `- note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
2 | public enum Kind {
3 | case end
/host/spi-builder-workspace/Sources/RichJSONParser/JSONParser.swift:10:14: warning: associated value 'unexceptedToken(_:expected:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
8 | public enum Error : LocalizedError, CustomStringConvertible {
9 | case invalidToken(JSONToken, file: URL?)
10 | case unexceptedToken(JSONToken, expected: String, file: URL?)
| `- warning: associated value 'unexceptedToken(_:expected:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
11 |
12 | public var errorDescription: String? { return description }
/host/spi-builder-workspace/Sources/RichJSONParser/JSONToken.swift:1:15: note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
1 | public struct JSONToken : Equatable, CustomStringConvertible {
| `- note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
2 | public enum Kind {
3 | case end
[12/20] Compiling RichJSONParser JSONParser.swift
/host/spi-builder-workspace/Sources/RichJSONParser/JSONParser.swift:9:14: warning: associated value 'invalidToken(_:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
7 | public class JSONParser {
8 | public enum Error : LocalizedError, CustomStringConvertible {
9 | case invalidToken(JSONToken, file: URL?)
| `- warning: associated value 'invalidToken(_:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
10 | case unexceptedToken(JSONToken, expected: String, file: URL?)
11 |
/host/spi-builder-workspace/Sources/RichJSONParser/JSONToken.swift:1:15: note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
1 | public struct JSONToken : Equatable, CustomStringConvertible {
| `- note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
2 | public enum Kind {
3 | case end
/host/spi-builder-workspace/Sources/RichJSONParser/JSONParser.swift:10:14: warning: associated value 'unexceptedToken(_:expected:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
8 | public enum Error : LocalizedError, CustomStringConvertible {
9 | case invalidToken(JSONToken, file: URL?)
10 | case unexceptedToken(JSONToken, expected: String, file: URL?)
| `- warning: associated value 'unexceptedToken(_:expected:file:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'JSONToken'; this is an error in the Swift 6 language mode
11 |
12 | public var errorDescription: String? { return description }
/host/spi-builder-workspace/Sources/RichJSONParser/JSONToken.swift:1:15: note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
1 | public struct JSONToken : Equatable, CustomStringConvertible {
| `- note: consider making struct 'JSONToken' conform to the 'Sendable' protocol
2 | public enum Kind {
3 | case end
[13/20] Compiling RichJSONParser FormatExtension.swift
[14/20] Compiling RichJSONParser JSON.swift
[15/20] Compiling RichJSONParser JSONSerializer.swift
[16/20] Compiling RichJSONParser JSONStringEscape.swift
[17/20] Compiling RichJSONParser ParsedJSON.swift
[18/20] Compiling RichJSONParser SourceLocation.swift
[19/20] Compiling RichJSONParser SourceLocationLite.swift
/host/spi-builder-workspace/Sources/RichJSONParser/StaticBuffer.swift:31:19: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
29 | let newCapacity = capacity * 2
30 | let newMemory = UnsafeMutablePointer<UInt8>.allocate(capacity: newCapacity)
31 | newMemory.assign(from: memory, count: current)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
32 |
33 | self.memory.deallocate()
[20/20] Compiling RichJSONParser StaticBuffer.swift
/host/spi-builder-workspace/Sources/RichJSONParser/StaticBuffer.swift:31:19: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
29 | let newCapacity = capacity * 2
30 | let newMemory = UnsafeMutablePointer<UInt8>.allocate(capacity: newCapacity)
31 | newMemory.assign(from: memory, count: current)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
| `- note: use 'update(from:count:)' instead
32 |
33 | self.memory.deallocate()
Build complete! (8.68s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "RichJSONParser",
"name" : "RichJSONParser",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "RichJSONParser",
"targets" : [
"RichJSONParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RichJSONParserTests",
"module_type" : "SwiftTarget",
"name" : "RichJSONParserTests",
"path" : "Tests/RichJSONParserTests",
"sources" : [
"Support/Resources.swift",
"TestCase/BenchmarkTests.swift",
"TestCase/FastJSONParserTests.swift",
"TestCase/ParserTests.swift",
"TestCase/SerializerTests.swift",
"TestCase/StringEscapeTests.swift",
"TestCase/TokenizerTests.swift",
"TestCase/UTF8ReaderTests.swift"
],
"target_dependencies" : [
"RichJSONParser"
],
"type" : "test"
},
{
"c99name" : "RichJSONParser",
"module_type" : "SwiftTarget",
"name" : "RichJSONParser",
"path" : "Sources/RichJSONParser",
"product_memberships" : [
"RichJSONParser"
],
"sources" : [
"Characters.swift",
"DecodedUnicodeChar.swift",
"FastJSONParser.swift",
"FormatExtension.swift",
"JSON.swift",
"JSONDictionary.swift",
"JSONParser.swift",
"JSONSerializer.swift",
"JSONStringEscape.swift",
"JSONToken.swift",
"JSONTokenizer.swift",
"ParsedJSON.swift",
"SourceLocation.swift",
"SourceLocationLite.swift",
"StaticBuffer.swift",
"UTF8Decoder.swift",
"UTF8Reader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.