Build Information
Successful build of IkigaJSON, reference master (e5144e
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 08:04:41 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-nio.git
[1/71147] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.77s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.77s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/3901] Fetching swift-system
[80/5470] Fetching swift-system, swift-atomics
[1276/20945] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.96s)
Fetched https://github.com/apple/swift-collections.git from cache (1.97s)
Fetched https://github.com/apple/swift-system.git from cache (1.97s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.75s)
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
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-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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "ikigajson",
"name": "IkigaJSON",
"url": "https://github.com/orlandos-nl/IkigaJSON.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IkigaJSON",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.76.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/orlandos-nl/IkigaJSON.git
[1/1309] Fetching ikigajson
Fetched https://github.com/orlandos-nl/IkigaJSON.git from cache (0.97s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.82s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.49s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
Fetched https://github.com/apple/swift-collections.git from cache (0.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.02s)
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/orlandos-nl/IkigaJSON.git
Working copy of https://github.com/orlandos-nl/IkigaJSON.git resolved at master (e5144e9)
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
warning: '.resolve-product-dependencies': dependency 'ikigajson' is not used by any target
Found 1 product dependencies
- swift-nio
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/orlandos-nl/IkigaJSON.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/22] Write sources
[3/22] Copying PrivacyInfo.xcprivacy
[7/22] Write sources
[11/22] Compiling CNIOWindows WSAStartup.c
[12/22] Compiling CNIOWindows shim.c
[13/22] Write sources
[14/22] Compiling CNIOWASI CNIOWASI.c
[15/22] Write swift-version--7754E27361AE5C74.txt
[16/22] Compiling CNIOLinux liburing_shims.c
[16/22] Compiling CNIOLinux shim.c
[18/39] Compiling _AtomicsShims.c
[19/65] Compiling CNIODarwin shim.c
[20/65] Compiling c-nioatomics.c
[21/65] Compiling c-atomics.c
[23/71] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/72] Compiling Atomics UnsafeAtomic.swift
[25/72] Compiling Atomics UnsafeAtomicLazyReference.swift
[26/72] Compiling Atomics AtomicOptionalWrappable.swift
[27/72] Compiling Atomics AtomicReference.swift
[28/72] Compiling Atomics AtomicBool.swift
[29/72] Compiling Atomics IntegerConformances.swift
[30/72] Emitting module _NIOBase64
[31/72] Compiling _NIOBase64 Base64.swift
[32/72] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[35/74] Compiling Atomics ManagedAtomic.swift
[36/74] Compiling Atomics ManagedAtomicLazyReference.swift
[37/74] Compiling Atomics AtomicMemoryOrderings.swift
[38/74] Compiling Atomics DoubleWord.swift
[39/74] Compiling _NIODataStructures PriorityQueue.swift
[40/74] Compiling Atomics IntegerOperations.swift
[41/74] Compiling Atomics Unmanaged extensions.swift
[42/74] Compiling Atomics AtomicStorage.swift
[43/74] Compiling Atomics AtomicValue.swift
[46/74] Compiling Atomics OptionalRawRepresentable.swift
[47/74] Compiling Atomics RawRepresentable.swift
[48/74] Emitting module InternalCollectionsUtilities
[49/74] Compiling Atomics PointerConformances.swift
[50/74] Compiling Atomics Primitives.native.swift
[55/74] Compiling Atomics Primitives.shims.swift
[56/74] Compiling Atomics AtomicInteger.swift
[59/90] Compiling _NIODataStructures _TinyArray.swift
[60/90] Emitting module _NIODataStructures
[61/90] Compiling _NIODataStructures Heap.swift
[62/90] Compiling DequeModule _DequeBuffer.swift
[63/90] Compiling DequeModule _DequeBufferHeader.swift
[64/90] Compiling DequeModule _DequeSlot.swift
[65/90] Compiling DequeModule Deque+Testing.swift
[66/90] Compiling DequeModule Deque._Storage.swift
[67/90] Compiling DequeModule Deque+Equatable.swift
[68/90] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[69/90] Compiling DequeModule Deque._UnsafeHandle.swift
[70/90] Compiling DequeModule Deque.swift
[71/90] Compiling DequeModule Deque+CustomReflectable.swift
[72/90] Compiling DequeModule Deque+Descriptions.swift
[73/90] Compiling DequeModule Deque+Extras.swift
[74/90] Compiling DequeModule Deque+Hashable.swift
[75/91] Compiling NIOConcurrencyHelpers atomics.swift
[76/91] Compiling NIOConcurrencyHelpers lock.swift
[77/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[78/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[79/91] Emitting module NIOConcurrencyHelpers
[80/91] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[81/91] Compiling DequeModule _UnsafeWrappedBuffer.swift
[82/91] Compiling DequeModule Deque+Codable.swift
[83/91] Compiling DequeModule Deque+Collection.swift
[84/91] Emitting module DequeModule
[89/91] Emitting module Atomics
[92/153] Compiling NIOCore Linux.swift
[93/153] Compiling NIOCore MarkedCircularBuffer.swift
[94/153] Compiling NIOCore MulticastChannel.swift
[95/153] Compiling NIOCore NIOAny.swift
[96/153] Compiling NIOCore NIOCloseOnErrorHandler.swift
[97/153] Compiling NIOCore NIOLoopBound.swift
[98/153] Compiling NIOCore GlobalSingletons.swift
[99/153] Compiling NIOCore IO.swift
[100/153] Compiling NIOCore IOData.swift
[101/153] Compiling NIOCore IPProtocol.swift
[102/153] Compiling NIOCore IntegerBitPacking.swift
[103/153] Compiling NIOCore IntegerTypes.swift
[104/153] Compiling NIOCore Interfaces.swift
[105/153] Compiling NIOCore NIOScheduledCallback.swift
[106/153] Compiling NIOCore NIOSendable.swift
[107/153] Compiling NIOCore PointerHelpers.swift
[108/153] Compiling NIOCore RecvByteBufferAllocator.swift
[109/153] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[110/153] Compiling NIOCore SocketAddresses.swift
[111/159] Compiling NIOCore AddressedEnvelope.swift
[112/159] Compiling NIOCore AsyncAwaitSupport.swift
[113/159] Compiling NIOCore AsyncChannel.swift
[114/159] Compiling NIOCore AsyncChannelHandler.swift
[115/159] Compiling NIOCore AsyncChannelInboundStream.swift
[116/159] Compiling NIOCore AsyncChannelOutboundWriter.swift
[117/159] Compiling NIOCore NIOAsyncSequenceProducer.swift
[118/159] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[119/159] Compiling NIOCore EventLoopFuture+Deprecated.swift
[120/159] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[121/159] Compiling NIOCore EventLoopFuture.swift
[122/159] Compiling NIOCore FileDescriptor.swift
[123/159] Compiling NIOCore FileHandle.swift
[124/159] Compiling NIOCore FileRegion.swift
[125/159] Compiling NIOCore SocketOptionProvider.swift
[126/159] Compiling NIOCore SystemCallHelpers.swift
[127/159] Compiling NIOCore TimeAmount+Duration.swift
[128/159] Compiling NIOCore TypeAssistedChannelHandler.swift
[129/159] Compiling NIOCore UniversalBootstrapSupport.swift
[130/159] Compiling NIOCore Utilities.swift
[131/159] Compiling NIOCore Codec.swift
[132/159] Compiling NIOCore ConvenienceOptionSupport.swift
[133/159] Compiling NIOCore DeadChannel.swift
[134/159] Compiling NIOCore DispatchQueue+WithFuture.swift
[135/159] Compiling NIOCore EventLoop+Deprecated.swift
[136/159] Compiling NIOCore EventLoop+SerialExecutor.swift
[137/159] Compiling NIOCore EventLoop.swift
[138/159] Compiling NIOCore Channel.swift
[139/159] Compiling NIOCore ChannelHandler.swift
[140/159] Compiling NIOCore ChannelHandlers.swift
[141/159] Compiling NIOCore ChannelInvoker.swift
[142/159] Compiling NIOCore ChannelOption.swift
[143/159] Compiling NIOCore ChannelPipeline.swift
[144/159] Compiling NIOCore CircularBuffer.swift
[145/159] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[146/159] Compiling NIOCore NIOAsyncWriter.swift
[147/159] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[148/159] Compiling NIOCore BSDSocketAPI.swift
[149/159] Compiling NIOCore ByteBuffer-aux.swift
[150/159] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[151/159] Compiling NIOCore ByteBuffer-conversions.swift
[152/159] Compiling NIOCore ByteBuffer-core.swift
[153/159] Compiling NIOCore ByteBuffer-hex.swift
[154/159] Compiling NIOCore ByteBuffer-int.swift
[155/159] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[156/159] Compiling NIOCore ByteBuffer-multi-int.swift
[157/159] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[158/159] Compiling NIOCore ByteBuffer-views.swift
[159/159] Emitting module NIOCore
[160/213] Compiling NIOEmbedded AsyncTestingChannel.swift
[161/213] Compiling NIOEmbedded Embedded.swift
[162/213] Emitting module NIOEmbedded
[163/213] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[164/213] Compiling NIOPosix GetaddrinfoResolver.swift
[165/213] Compiling NIOPosix HappyEyeballs.swift
[166/213] Compiling NIOPosix IO.swift
[167/213] Compiling NIOPosix IntegerBitPacking.swift
[168/213] Compiling NIOPosix IntegerTypes.swift
[169/213] Compiling NIOPosix Linux.swift
[170/218] Compiling NIOPosix BSDSocketAPICommon.swift
[171/218] Compiling NIOPosix BSDSocketAPIPosix.swift
[172/218] Compiling NIOPosix BSDSocketAPIWindows.swift
[173/218] Compiling NIOPosix BaseSocket.swift
[174/218] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[175/218] Compiling NIOPosix BaseSocketChannel.swift
[176/218] Compiling NIOPosix SocketProtocols.swift
[177/218] Compiling NIOPosix System.swift
[178/218] Compiling NIOPosix Thread.swift
[179/218] Compiling NIOPosix ThreadPosix.swift
[180/218] Compiling NIOPosix ThreadWindows.swift
[181/218] Compiling NIOPosix PendingWritesManager.swift
[182/218] Compiling NIOPosix PipeChannel.swift
[183/218] Compiling NIOPosix PipePair.swift
[184/218] Compiling NIOPosix PointerHelpers.swift
[185/218] Compiling NIOPosix Pool.swift
[186/218] Compiling NIOPosix Selectable.swift
[187/218] Compiling NIOPosix SelectableChannel.swift
[188/218] Compiling NIOPosix SelectableEventLoop.swift
[189/218] Compiling NIOPosix SelectorEpoll.swift
[190/218] Compiling NIOPosix SelectorGeneric.swift
[191/218] Compiling NIOPosix LinuxCPUSet.swift
[192/218] Compiling NIOPosix LinuxUring.swift
[193/218] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[194/218] Compiling NIOPosix NIOThreadPool.swift
[195/218] Compiling NIOPosix NonBlockingFileIO.swift
[196/218] Compiling NIOPosix PendingDatagramWritesManager.swift
[197/218] Emitting module NIOPosix
[198/218] Compiling NIOPosix PooledRecvBufferAllocator.swift
[199/218] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[200/218] Compiling NIOPosix PosixSingletons.swift
[201/218] Compiling NIOPosix RawSocketBootstrap.swift
[202/218] Compiling NIOPosix Resolver.swift
[203/218] Compiling NIOPosix BaseStreamSocketChannel.swift
[204/218] Compiling NIOPosix Bootstrap.swift
[205/218] Compiling NIOPosix ControlMessage.swift
[206/218] Compiling NIOPosix DatagramVectorReadManager.swift
[207/218] Compiling NIOPosix Errors+Any.swift
[208/218] Compiling NIOPosix FileDescriptor.swift
[209/218] Compiling NIOPosix SelectorKqueue.swift
[210/218] Compiling NIOPosix SelectorUring.swift
[211/218] Compiling NIOPosix ServerSocket.swift
[212/218] Compiling NIOPosix Socket.swift
[213/218] Compiling NIOPosix SocketChannel.swift
[214/218] Compiling NIOPosix UnsafeTransfer.swift
[215/218] Compiling NIOPosix Utilities.swift
[216/218] Compiling NIOPosix VsockAddress.swift
[217/218] Compiling NIOPosix VsockChannelEvents.swift
[218/218] Compiling NIOPosix resource_bundle_accessor.swift
[219/220] Emitting module NIO
[220/220] Compiling NIO Exports.swift
[221/234] Compiling IkigaJSON JSONParser+Parsing.swift
[222/235] Compiling IkigaJSON JSONParser.swift
[223/235] Compiling IkigaJSON JSONValue.swift
[224/235] Compiling IkigaJSON JSONArray.swift
[225/235] Compiling IkigaJSON NilValueCodingStrategy.swift
[226/235] Compiling IkigaJSON StreamingJSONDecoder.swift
[227/235] Compiling IkigaJSON Errors.swift
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[228/235] Compiling IkigaJSON JSONObject.swift
[229/235] Compiling IkigaJSON Bounds.swift
[230/235] Compiling IkigaJSON JSONDescription+Constants.swift
[231/235] Compiling IkigaJSON JSONDescription.swift
[232/235] Compiling IkigaJSON Pointer+Helpers.swift
[233/235] Emitting module IkigaJSON
/Users/admin/builder/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:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[234/235] Compiling IkigaJSON JSONDecoder.swift
/Users/admin/builder/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:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[235/235] Compiling IkigaJSON JSONEncoder.swift
/Users/admin/builder/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:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
Build complete! (36.69s)
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" : "/Users/admin/builder/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"
}
Done.