The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of JSONRPC, reference main (ef61a6), with Swift 5.8 for Linux on 15 Sep 2024 17:55:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/JSONRPC.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/ChimeHQ/JSONRPC
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ef61a69 Support Swift 5 in tests
Cloned https://github.com/ChimeHQ/JSONRPC.git
Revision (git rev-parse @):
ef61a695bafa0e07080dadac65a0c59b37880548
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/JSONRPC.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD
https://github.com/ChimeHQ/JSONRPC.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:a5e57d1af25c3272f87123c7a264de6fd88dcc01acef91f1006945662a9fd14a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
[1/12] Compiling JSONRPC AsyncStreamPolyfill.swift
[2/12] Compiling JSONRPC DataChannel+Actor.swift
[3/12] Emitting module JSONRPC
/host/spi-builder-workspace/Sources/JSONRPC/DataChannel.swift:9:13: warning: stored property 'dataSequence' of 'Sendable'-conforming struct 'DataChannel' has non-sendable type 'DataChannel.DataSequence' (aka 'AsyncStream<Data>')
        public let dataSequence: DataSequence
                   ^
Foundation.Data:1:23: note: struct 'Data' does not conform to the 'Sendable' protocol
@frozen public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes {
                      ^
/host/spi-builder-workspace/Sources/JSONRPC/DataChannel.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/JSONRPC/JSONRPCSession.swift:41:7: warning: associated value 'request' of 'Sendable'-conforming enum 'JSONRPCEvent' has non-sendable type 'Data'
        case request(AnyJSONRPCRequest, RequestHandler, Data)
             ^
Foundation.Data:1:23: note: struct 'Data' does not conform to the 'Sendable' protocol
@frozen public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes {
                      ^
/host/spi-builder-workspace/Sources/JSONRPC/JSONRPCSession.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/JSONRPC/JSONRPCSession.swift:42:7: warning: associated value 'notification' of 'Sendable'-conforming enum 'JSONRPCEvent' has non-sendable type 'Data'
        case notification(AnyJSONRPCNotification, Data)
             ^
Foundation.Data:1:23: note: struct 'Data' does not conform to the 'Sendable' protocol
@frozen public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes {
                      ^
[4/12] Compiling JSONRPC DataChannel+PredefinedMessages.swift
[5/12] Compiling JSONRPC DataChannel+StdioPipe.swift
[6/13] Compiling JSONRPC JSONId.swift
[7/13] Compiling JSONRPC JSONRPCError.swift
[8/13] Compiling JSONRPC DataChannel+WebSocket.swift
/host/spi-builder-workspace/Sources/JSONRPC/DataChannel.swift:9:13: warning: stored property 'dataSequence' of 'Sendable'-conforming struct 'DataChannel' has non-sendable type 'DataChannel.DataSequence' (aka 'AsyncStream<Data>')
        public let dataSequence: DataSequence
                   ^
Foundation.Data:1:23: note: struct 'Data' does not conform to the 'Sendable' protocol
@frozen public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes {
                      ^
/host/spi-builder-workspace/Sources/JSONRPC/DataChannel.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[9/13] Compiling JSONRPC DataChannel.swift
/host/spi-builder-workspace/Sources/JSONRPC/DataChannel.swift:9:13: warning: stored property 'dataSequence' of 'Sendable'-conforming struct 'DataChannel' has non-sendable type 'DataChannel.DataSequence' (aka 'AsyncStream<Data>')
        public let dataSequence: DataSequence
                   ^
Foundation.Data:1:23: note: struct 'Data' does not conform to the 'Sendable' protocol
@frozen public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes {
                      ^
/host/spi-builder-workspace/Sources/JSONRPC/DataChannel.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[10/13] Compiling JSONRPC JSONValue.swift
[11/13] Compiling JSONRPC JSONValueDecoder.swift
[12/13] Compiling JSONRPC JSONRPCSession.swift
/host/spi-builder-workspace/Sources/JSONRPC/JSONRPCSession.swift:41:7: warning: associated value 'request' of 'Sendable'-conforming enum 'JSONRPCEvent' has non-sendable type 'Data'
        case request(AnyJSONRPCRequest, RequestHandler, Data)
             ^
Foundation.Data:1:23: note: struct 'Data' does not conform to the 'Sendable' protocol
@frozen public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes {
                      ^
/host/spi-builder-workspace/Sources/JSONRPC/JSONRPCSession.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/JSONRPC/JSONRPCSession.swift:42:7: warning: associated value 'notification' of 'Sendable'-conforming enum 'JSONRPCEvent' has non-sendable type 'Data'
        case notification(AnyJSONRPCNotification, Data)
             ^
Foundation.Data:1:23: note: struct 'Data' does not conform to the 'Sendable' protocol
@frozen public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes {
                      ^
[13/13] Compiling JSONRPC Protocol.swift
Build complete! (5.84s)
Build complete.
Done.