Build Information
Successful build of IkigaJSON, reference master (e5144e
), with Swift 6.0 for Linux on 6 Nov 2024 07:57:06 UTC.
Swift 6 data race errors: 4
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/orlandos-nl/IkigaJSON.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/orlandos-nl/IkigaJSON
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e5144e9 Merge pull request #43 from Kishimotovn/master
Cloned https://github.com/orlandos-nl/IkigaJSON.git
Revision (git rev-parse @):
e5144e9aea0f8ed8250766cf3e0415ba02955194
SUCCESS checkout https://github.com/orlandos-nl/IkigaJSON.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/orlandos-nl/IkigaJSON.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/apple/swift-nio.git
[1/71147] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.10s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.61s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
[33/5470] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.46s)
[1/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.38s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.65s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/21] Write sources
[10/21] Compiling CNIOWindows shim.c
[11/21] Compiling CNIOWindows WSAStartup.c
[12/21] Compiling CNIOWASI CNIOWASI.c
[13/21] Write sources
[14/21] Compiling CNIOLinux liburing_shims.c
[15/21] Compiling CNIODarwin shim.c
[16/21] Compiling CNIOLinux shim.c
[17/21] Compiling _AtomicsShims.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[20/63] Emitting module _NIODataStructures
[20/63] Compiling c-nioatomics.c
[21/63] Compiling c-atomics.c
[23/69] Emitting module _NIOBase64
[24/69] Compiling _NIOBase64 Base64.swift
[25/70] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[26/70] Compiling InternalCollectionsUtilities Debugging.swift
[27/70] Compiling InternalCollectionsUtilities Descriptions.swift
[28/70] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[29/70] Compiling InternalCollectionsUtilities Specialize.swift
[30/72] Compiling _NIODataStructures PriorityQueue.swift
[31/72] Compiling _NIODataStructures _TinyArray.swift
[32/72] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[33/72] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[35/74] Compiling Atomics AtomicReference.swift
[36/74] Compiling Atomics AtomicStorage.swift
[37/74] Compiling Atomics AtomicValue.swift
[38/74] Compiling Atomics Primitives.shims.swift
[39/74] Compiling Atomics AtomicInteger.swift
[40/74] Compiling Atomics AtomicOptionalWrappable.swift
[41/74] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[42/74] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[43/74] Compiling InternalCollectionsUtilities _SortedCollection.swift
[44/74] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[49/74] Compiling Atomics OptionalRawRepresentable.swift
[50/74] Compiling Atomics RawRepresentable.swift
[51/74] Emitting module InternalCollectionsUtilities
[58/74] Emitting module Atomics
[67/75] Compiling Atomics IntegerOperations.swift
[68/75] Compiling Atomics Unmanaged extensions.swift
[71/91] Compiling DequeModule _DequeBuffer.swift
[72/91] Compiling DequeModule _DequeBufferHeader.swift
[73/93] Compiling _NIODataStructures Heap.swift
[74/94] Compiling NIOConcurrencyHelpers atomics.swift
[75/94] Compiling NIOConcurrencyHelpers lock.swift
[76/94] Compiling NIOConcurrencyHelpers NIOLock.swift
[77/94] Emitting module NIOConcurrencyHelpers
[78/94] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[79/94] Compiling DequeModule Deque+CustomReflectable.swift
[80/94] Compiling DequeModule Deque+Descriptions.swift
[83/95] Compiling DequeModule Deque+Equatable.swift
[84/95] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[85/95] Compiling DequeModule Deque+Extras.swift
[86/95] Compiling DequeModule Deque+Hashable.swift
[87/95] Compiling DequeModule Deque+Testing.swift
[88/95] Compiling DequeModule Deque._Storage.swift
[89/95] Compiling DequeModule _DequeSlot.swift
[90/95] Compiling DequeModule _UnsafeWrappedBuffer.swift
[91/95] Compiling DequeModule Deque._UnsafeHandle.swift
[92/95] Compiling DequeModule Deque.swift
[93/95] Compiling DequeModule Deque+Codable.swift
[94/95] Compiling DequeModule Deque+Collection.swift
[95/95] Emitting module DequeModule
[97/156] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[98/156] Compiling NIOCore EventLoopFuture+Deprecated.swift
[99/156] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[100/156] Compiling NIOCore EventLoopFuture.swift
[101/156] Compiling NIOCore FileDescriptor.swift
[102/156] Compiling NIOCore FileHandle.swift
[103/156] Compiling NIOCore FileRegion.swift
[104/156] Compiling NIOCore GlobalSingletons.swift
[105/164] Compiling NIOCore CircularBuffer.swift
[106/164] Compiling NIOCore Codec.swift
[107/164] Compiling NIOCore ConvenienceOptionSupport.swift
[108/164] Compiling NIOCore DeadChannel.swift
[109/164] Compiling NIOCore DispatchQueue+WithFuture.swift
[110/164] Compiling NIOCore EventLoop+Deprecated.swift
[111/164] Compiling NIOCore EventLoop+SerialExecutor.swift
[112/164] Compiling NIOCore EventLoop.swift
[113/164] Compiling NIOCore AddressedEnvelope.swift
[114/164] Compiling NIOCore AsyncAwaitSupport.swift
[115/164] Compiling NIOCore AsyncChannel.swift
[116/164] Compiling NIOCore AsyncChannelHandler.swift
[117/164] Compiling NIOCore AsyncChannelInboundStream.swift
[118/164] Compiling NIOCore AsyncChannelOutboundWriter.swift
[119/164] Compiling NIOCore NIOAsyncSequenceProducer.swift
[120/164] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[121/164] Compiling NIOCore NIOAsyncWriter.swift
[122/164] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[123/164] Compiling NIOCore SocketAddresses.swift
[124/164] Compiling NIOCore SocketOptionProvider.swift
[125/164] Compiling NIOCore SystemCallHelpers.swift
[126/164] Compiling NIOCore TimeAmount+Duration.swift
[127/164] Compiling NIOCore TypeAssistedChannelHandler.swift
[128/164] Compiling NIOCore UniversalBootstrapSupport.swift
[129/164] Compiling NIOCore Utilities.swift
[130/164] Compiling NIOCore ByteBuffer-multi-int.swift
[131/164] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[132/164] Compiling NIOCore ByteBuffer-views.swift
[133/164] Compiling NIOCore Channel.swift
[134/164] Compiling NIOCore ChannelHandler.swift
[135/164] Compiling NIOCore ChannelHandlers.swift
[136/164] Compiling NIOCore ChannelInvoker.swift
[137/164] Compiling NIOCore ChannelOption.swift
[138/164] Compiling NIOCore ChannelPipeline.swift
[139/164] Compiling NIOCore MulticastChannel.swift
[140/164] Compiling NIOCore NIOAny.swift
[141/164] Compiling NIOCore NIOCloseOnErrorHandler.swift
[142/164] Compiling NIOCore NIOLoopBound.swift
[143/164] Compiling NIOCore NIOScheduledCallback.swift
[144/164] Compiling NIOCore NIOSendable.swift
[145/164] Compiling NIOCore PointerHelpers.swift
[146/164] Compiling NIOCore RecvByteBufferAllocator.swift
[147/164] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[148/164] Compiling NIOCore BSDSocketAPI.swift
[149/164] Compiling NIOCore ByteBuffer-aux.swift
[150/164] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[151/164] Compiling NIOCore ByteBuffer-conversions.swift
[152/164] Compiling NIOCore ByteBuffer-core.swift
[153/164] Compiling NIOCore ByteBuffer-hex.swift
[154/164] Compiling NIOCore ByteBuffer-int.swift
[155/164] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[156/164] Compiling NIOCore IO.swift
[157/164] Compiling NIOCore IOData.swift
[158/164] Compiling NIOCore IPProtocol.swift
[159/164] Compiling NIOCore IntegerBitPacking.swift
[160/164] Compiling NIOCore IntegerTypes.swift
[161/164] Compiling NIOCore Interfaces.swift
[162/164] Compiling NIOCore Linux.swift
[163/164] Compiling NIOCore MarkedCircularBuffer.swift
[164/164] Emitting module NIOCore
[166/217] Emitting module NIOEmbedded
[167/217] Compiling NIOEmbedded AsyncTestingChannel.swift
[168/217] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[169/217] Compiling NIOEmbedded Embedded.swift
[171/218] Compiling NIOPosix IO.swift
[172/218] Compiling NIOPosix IntegerBitPacking.swift
[173/218] Compiling NIOPosix IntegerTypes.swift
[174/218] Compiling NIOPosix Linux.swift
[175/218] Compiling NIOPosix LinuxCPUSet.swift
[176/218] Compiling NIOPosix LinuxUring.swift
[177/218] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[178/224] Compiling NIOPosix ServerSocket.swift
[179/224] Compiling NIOPosix Socket.swift
[180/224] Compiling NIOPosix SocketChannel.swift
[181/224] Compiling NIOPosix SocketProtocols.swift
[182/224] Compiling NIOPosix System.swift
[183/224] Compiling NIOPosix Thread.swift
[184/224] Compiling NIOPosix SelectableChannel.swift
[185/224] Compiling NIOPosix SelectableEventLoop.swift
[186/224] Compiling NIOPosix SelectorEpoll.swift
[187/224] Compiling NIOPosix SelectorGeneric.swift
[188/224] Compiling NIOPosix SelectorKqueue.swift
[189/224] Compiling NIOPosix SelectorUring.swift
[190/224] Compiling NIOPosix Pool.swift
[191/224] Compiling NIOPosix PooledRecvBufferAllocator.swift
[192/224] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[193/224] Compiling NIOPosix PosixSingletons.swift
[194/224] Compiling NIOPosix RawSocketBootstrap.swift
[195/224] Compiling NIOPosix Resolver.swift
[196/224] Compiling NIOPosix Selectable.swift
[197/224] Compiling NIOPosix ThreadPosix.swift
[198/224] Compiling NIOPosix ThreadWindows.swift
[199/224] Compiling NIOPosix UnsafeTransfer.swift
[200/224] Compiling NIOPosix Utilities.swift
[201/224] Compiling NIOPosix VsockAddress.swift
[202/224] Compiling NIOPosix VsockChannelEvents.swift
[203/224] Emitting module NIOPosix
[204/224] Compiling NIOPosix BSDSocketAPICommon.swift
[205/224] Compiling NIOPosix BSDSocketAPIPosix.swift
[206/224] Compiling NIOPosix BSDSocketAPIWindows.swift
[207/224] Compiling NIOPosix BaseSocket.swift
[208/224] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[209/224] Compiling NIOPosix BaseSocketChannel.swift
[210/224] Compiling NIOPosix BaseStreamSocketChannel.swift
[211/224] Compiling NIOPosix NIOThreadPool.swift
[212/224] Compiling NIOPosix NonBlockingFileIO.swift
[213/224] Compiling NIOPosix PendingDatagramWritesManager.swift
[214/224] Compiling NIOPosix PendingWritesManager.swift
[215/224] Compiling NIOPosix PipeChannel.swift
[216/224] Compiling NIOPosix PipePair.swift
[217/224] Compiling NIOPosix PointerHelpers.swift
[218/224] Compiling NIOPosix Bootstrap.swift
[219/224] Compiling NIOPosix ControlMessage.swift
[220/224] Compiling NIOPosix DatagramVectorReadManager.swift
[221/224] Compiling NIOPosix Errors+Any.swift
[222/224] Compiling NIOPosix FileDescriptor.swift
[223/224] Compiling NIOPosix GetaddrinfoResolver.swift
[224/224] Compiling NIOPosix HappyEyeballs.swift
[226/227] Emitting module NIO
[227/227] Compiling NIO Exports.swift
[229/242] Compiling IkigaJSON NilValueCodingStrategy.swift
[230/242] Compiling IkigaJSON StreamingJSONDecoder.swift
[231/243] Compiling IkigaJSON JSONObject.swift
[232/243] Compiling IkigaJSON Bounds.swift
[233/243] Compiling IkigaJSON JSONDescription+Constants.swift
[234/243] Compiling IkigaJSON JSONDescription.swift
[235/243] Compiling IkigaJSON Pointer+Helpers.swift
[236/243] Compiling IkigaJSON JSONValue.swift
[237/243] Compiling IkigaJSON JSONParser.swift
[238/243] Compiling IkigaJSON JSONArray.swift
[239/243] Compiling IkigaJSON Errors.swift
/host/spi-builder-workspace/Sources/IkigaJSON/Errors.swift:132:10: warning: associated value 'missingToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
1 | public enum JSONParserError: Error, CustomStringConvertible {
2 | public enum Reason: CustomStringConvertible {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
3 | case expectedObjectKey
4 | case expectedObjectClose
:
130 | case invalidLiteral(line: Int, column: Int)
131 | case invalidObjectIdLiteral(line: Int, column: Int)
132 | case missingToken(line: Int, column: Int, token: UInt8, reason: Reason)
| `- warning: associated value 'missingToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
133 | case unexpectedToken(line: Int, column: Int, token: UInt8, reason: Reason)
134 | case unexpectedEscapingToken
/host/spi-builder-workspace/Sources/IkigaJSON/Errors.swift:133:10: warning: associated value 'unexpectedToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
1 | public enum JSONParserError: Error, CustomStringConvertible {
2 | public enum Reason: CustomStringConvertible {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
3 | case expectedObjectKey
4 | case expectedObjectClose
:
131 | case invalidObjectIdLiteral(line: Int, column: Int)
132 | case missingToken(line: Int, column: Int, token: UInt8, reason: Reason)
133 | case unexpectedToken(line: Int, column: Int, token: UInt8, reason: Reason)
| `- warning: associated value 'unexpectedToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
134 | case unexpectedEscapingToken
135 | }
/host/spi-builder-workspace/Sources/IkigaJSON/Errors.swift:138:9: warning: stored property 'from' of 'Sendable'-conforming generic struct 'TypeConversionError' has non-sendable type 'F'; this is an error in the Swift 6 language mode
135 | }
136 |
137 | internal struct TypeConversionError<F: FixedWidthInteger>: Error {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
138 | let from: F
| `- warning: stored property 'from' of 'Sendable'-conforming generic struct 'TypeConversionError' has non-sendable type 'F'; this is an error in the Swift 6 language mode
139 | let to: Any.Type
140 | }
[240/243] Compiling IkigaJSON JSONParser+Parsing.swift
/host/spi-builder-workspace/Sources/IkigaJSON/Errors.swift:132:10: warning: associated value 'missingToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
1 | public enum JSONParserError: Error, CustomStringConvertible {
2 | public enum Reason: CustomStringConvertible {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
3 | case expectedObjectKey
4 | case expectedObjectClose
:
130 | case invalidLiteral(line: Int, column: Int)
131 | case invalidObjectIdLiteral(line: Int, column: Int)
132 | case missingToken(line: Int, column: Int, token: UInt8, reason: Reason)
| `- warning: associated value 'missingToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
133 | case unexpectedToken(line: Int, column: Int, token: UInt8, reason: Reason)
134 | case unexpectedEscapingToken
/host/spi-builder-workspace/Sources/IkigaJSON/Errors.swift:133:10: warning: associated value 'unexpectedToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
1 | public enum JSONParserError: Error, CustomStringConvertible {
2 | public enum Reason: CustomStringConvertible {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
3 | case expectedObjectKey
4 | case expectedObjectClose
:
131 | case invalidObjectIdLiteral(line: Int, column: Int)
132 | case missingToken(line: Int, column: Int, token: UInt8, reason: Reason)
133 | case unexpectedToken(line: Int, column: Int, token: UInt8, reason: Reason)
| `- warning: associated value 'unexpectedToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
134 | case unexpectedEscapingToken
135 | }
/host/spi-builder-workspace/Sources/IkigaJSON/Errors.swift:138:9: warning: stored property 'from' of 'Sendable'-conforming generic struct 'TypeConversionError' has non-sendable type 'F'; this is an error in the Swift 6 language mode
135 | }
136 |
137 | internal struct TypeConversionError<F: FixedWidthInteger>: Error {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
138 | let from: F
| `- warning: stored property 'from' of 'Sendable'-conforming generic struct 'TypeConversionError' has non-sendable type 'F'; this is an error in the Swift 6 language mode
139 | let to: Any.Type
140 | }
[241/243] Emitting module IkigaJSON
/host/spi-builder-workspace/Sources/IkigaJSON/Codable/JSONDecoder.swift:11:5: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | @available(OSX 10.12, iOS 10, *)
11 | let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isoFormatter' 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 | let isoDateFormatter: DateFormatter = {
13 | let formatter = DateFormatter()
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/IkigaJSON/Errors.swift:132:10: warning: associated value 'missingToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
1 | public enum JSONParserError: Error, CustomStringConvertible {
2 | public enum Reason: CustomStringConvertible {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
3 | case expectedObjectKey
4 | case expectedObjectClose
:
130 | case invalidLiteral(line: Int, column: Int)
131 | case invalidObjectIdLiteral(line: Int, column: Int)
132 | case missingToken(line: Int, column: Int, token: UInt8, reason: Reason)
| `- warning: associated value 'missingToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
133 | case unexpectedToken(line: Int, column: Int, token: UInt8, reason: Reason)
134 | case unexpectedEscapingToken
/host/spi-builder-workspace/Sources/IkigaJSON/Errors.swift:133:10: warning: associated value 'unexpectedToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
1 | public enum JSONParserError: Error, CustomStringConvertible {
2 | public enum Reason: CustomStringConvertible {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
3 | case expectedObjectKey
4 | case expectedObjectClose
:
131 | case invalidObjectIdLiteral(line: Int, column: Int)
132 | case missingToken(line: Int, column: Int, token: UInt8, reason: Reason)
133 | case unexpectedToken(line: Int, column: Int, token: UInt8, reason: Reason)
| `- warning: associated value 'unexpectedToken(line:column:token:reason:)' of 'Sendable'-conforming enum 'JSONParserError' has non-sendable type 'JSONParserError.Reason'; this is an error in the Swift 6 language mode
134 | case unexpectedEscapingToken
135 | }
/host/spi-builder-workspace/Sources/IkigaJSON/Errors.swift:138:9: warning: stored property 'from' of 'Sendable'-conforming generic struct 'TypeConversionError' has non-sendable type 'F'; this is an error in the Swift 6 language mode
135 | }
136 |
137 | internal struct TypeConversionError<F: FixedWidthInteger>: Error {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
138 | let from: F
| `- warning: stored property 'from' of 'Sendable'-conforming generic struct 'TypeConversionError' has non-sendable type 'F'; this is an error in the Swift 6 language mode
139 | let to: Any.Type
140 | }
[242/243] Compiling IkigaJSON JSONDecoder.swift
/host/spi-builder-workspace/Sources/IkigaJSON/Codable/JSONDecoder.swift:11:5: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | @available(OSX 10.12, iOS 10, *)
11 | let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isoFormatter' 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 | let isoDateFormatter: DateFormatter = {
13 | let formatter = DateFormatter()
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[243/243] Compiling IkigaJSON JSONEncoder.swift
/host/spi-builder-workspace/Sources/IkigaJSON/Codable/JSONDecoder.swift:11:5: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | @available(OSX 10.12, iOS 10, *)
11 | let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isoFormatter' 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 | let isoDateFormatter: DateFormatter = {
13 | let formatter = DateFormatter()
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
Build complete! (77.21s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "IkigaJSON",
"name" : "IkigaJSON",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
}
],
"products" : [
{
"name" : "IkigaJSON",
"targets" : [
"IkigaJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IkigaJSONTests",
"module_type" : "SwiftTarget",
"name" : "IkigaJSONTests",
"path" : "Tests/IkigaJSONTests",
"sources" : [
"JSONTests.swift"
],
"target_dependencies" : [
"IkigaJSON"
],
"type" : "test"
},
{
"c99name" : "IkigaJSON",
"module_type" : "SwiftTarget",
"name" : "IkigaJSON",
"path" : "Sources/IkigaJSON",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"IkigaJSON"
],
"sources" : [
"Codable/JSONDecoder.swift",
"Codable/JSONEncoder.swift",
"Codable/NilValueCodingStrategy.swift",
"Codable/StreamingJSONDecoder.swift",
"Core/Bounds.swift",
"Core/JSONDescription+Constants.swift",
"Core/JSONDescription.swift",
"Core/Pointer+Helpers.swift",
"Errors.swift",
"Parser/JSONParser+Parsing.swift",
"Parser/JSONParser.swift",
"Types/JSONArray.swift",
"Types/JSONObject.swift",
"Types/JSONValue.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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.