Build Information
Successful build of IkigaJSON, reference 2.2.3 (e5144e
), with Swift 6.0 for Linux on 6 Nov 2024 07:57:09 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 2.2.3
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
* tag 2.2.3 -> FETCH_HEAD
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 2.2.3
========================================
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-1":/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.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.59s)
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
[3317/5470] Fetching swift-system, swift-atomics
[5471/20945] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.01s)
Fetched https://github.com/apple/swift-system.git from cache (1.01s)
Fetched https://github.com/apple/swift-collections.git from cache (1.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.41s)
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-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-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
Building for debugging...
[0/21] Write sources
[10/21] Compiling CNIOWindows WSAStartup.c
[11/21] Compiling CNIOWindows shim.c
[12/21] Compiling CNIOWASI CNIOWASI.c
[13/21] Write sources
[14/21] Compiling _AtomicsShims.c
[15/21] Compiling CNIOLinux liburing_shims.c
[16/21] Compiling CNIODarwin shim.c
[17/21] Compiling CNIOLinux shim.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[20/63] Emitting module _NIOBase64
[21/63] Emitting module _NIODataStructures
[21/63] Compiling c-nioatomics.c
[22/63] Compiling c-atomics.c
[24/69] Emitting module Atomics
[25/71] Compiling Atomics AtomicStorage.swift
[26/71] Compiling Atomics AtomicValue.swift
[27/73] Compiling Atomics Primitives.shims.swift
[28/73] Compiling Atomics AtomicInteger.swift
[29/73] Compiling Atomics AtomicOptionalWrappable.swift
[30/73] Compiling _NIOBase64 Base64.swift
[31/73] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[32/73] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[33/74] Compiling _NIODataStructures _TinyArray.swift
[34/74] Compiling Atomics ManagedAtomicLazyReference.swift
[35/74] Compiling Atomics AtomicReference.swift
[36/74] Compiling Atomics OptionalRawRepresentable.swift
[37/74] Compiling Atomics RawRepresentable.swift
[38/74] Compiling Atomics AtomicBool.swift
[39/74] Compiling Atomics ManagedAtomic.swift
[40/74] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[42/74] Compiling Atomics AtomicMemoryOrderings.swift
[43/74] Compiling Atomics DoubleWord.swift
[44/74] Compiling Atomics IntegerOperations.swift
[45/74] Compiling Atomics Unmanaged extensions.swift
[46/74] Compiling Atomics IntegerConformances.swift
[47/74] Compiling Atomics PointerConformances.swift
[48/74] Compiling Atomics Primitives.native.swift
[49/74] Compiling _NIODataStructures PriorityQueue.swift
[50/74] Emitting module InternalCollectionsUtilities
[71/76] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[72/76] Compiling NIOConcurrencyHelpers NIOLock.swift
[73/76] Emitting module NIOConcurrencyHelpers
[74/81] Compiling _NIODataStructures Heap.swift
[75/89] Compiling NIOConcurrencyHelpers lock.swift
[76/90] Compiling NIOConcurrencyHelpers atomics.swift
[79/93] Compiling DequeModule _DequeBuffer.swift
[80/93] Compiling DequeModule _DequeBufferHeader.swift
[81/95] Compiling DequeModule Deque+CustomReflectable.swift
[82/95] Compiling DequeModule Deque+Descriptions.swift
[83/95] Compiling DequeModule Deque+Equatable.swift
[84/95] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[85/95] Compiling DequeModule Deque+Testing.swift
[86/95] Compiling DequeModule Deque._Storage.swift
[87/95] Compiling DequeModule Deque+Extras.swift
[88/95] Compiling DequeModule Deque+Hashable.swift
[89/95] Compiling DequeModule Deque._UnsafeHandle.swift
[90/95] Compiling DequeModule Deque.swift
[91/95] Compiling DequeModule Deque+Codable.swift
[92/95] Compiling DequeModule Deque+Collection.swift
[93/95] Compiling DequeModule _DequeSlot.swift
[94/95] Compiling DequeModule _UnsafeWrappedBuffer.swift
[95/95] Emitting module DequeModule
[97/156] Compiling NIOCore MulticastChannel.swift
[98/156] Compiling NIOCore NIOAny.swift
[99/156] Compiling NIOCore NIOCloseOnErrorHandler.swift
[100/156] Compiling NIOCore NIOLoopBound.swift
[101/156] Compiling NIOCore NIOScheduledCallback.swift
[102/156] Compiling NIOCore NIOSendable.swift
[103/156] Compiling NIOCore PointerHelpers.swift
[104/156] Compiling NIOCore RecvByteBufferAllocator.swift
[105/164] Compiling NIOCore IO.swift
[106/164] Compiling NIOCore IOData.swift
[107/164] Compiling NIOCore IPProtocol.swift
[108/164] Compiling NIOCore IntegerBitPacking.swift
[109/164] Compiling NIOCore IntegerTypes.swift
[110/164] Compiling NIOCore Interfaces.swift
[111/164] Compiling NIOCore Linux.swift
[112/164] Compiling NIOCore MarkedCircularBuffer.swift
[113/164] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[114/164] Compiling NIOCore EventLoopFuture+Deprecated.swift
[115/164] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[116/164] Compiling NIOCore EventLoopFuture.swift
[117/164] Compiling NIOCore FileDescriptor.swift
[118/164] Compiling NIOCore FileHandle.swift
[119/164] Compiling NIOCore FileRegion.swift
[120/164] Compiling NIOCore GlobalSingletons.swift
[121/164] Compiling NIOCore CircularBuffer.swift
[122/164] Compiling NIOCore Codec.swift
[123/164] Compiling NIOCore ConvenienceOptionSupport.swift
[124/164] Compiling NIOCore DeadChannel.swift
[125/164] Compiling NIOCore DispatchQueue+WithFuture.swift
[126/164] Compiling NIOCore EventLoop+Deprecated.swift
[127/164] Compiling NIOCore EventLoop+SerialExecutor.swift
[128/164] Compiling NIOCore EventLoop.swift
[129/164] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[130/164] Compiling NIOCore SocketAddresses.swift
[131/164] Compiling NIOCore SocketOptionProvider.swift
[132/164] Compiling NIOCore SystemCallHelpers.swift
[133/164] Compiling NIOCore TimeAmount+Duration.swift
[134/164] Compiling NIOCore TypeAssistedChannelHandler.swift
[135/164] Compiling NIOCore UniversalBootstrapSupport.swift
[136/164] Compiling NIOCore Utilities.swift
[137/164] Compiling NIOCore ByteBuffer-multi-int.swift
[138/164] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[139/164] Compiling NIOCore ByteBuffer-views.swift
[140/164] Compiling NIOCore Channel.swift
[141/164] Compiling NIOCore ChannelHandler.swift
[142/164] Compiling NIOCore ChannelHandlers.swift
[143/164] Compiling NIOCore ChannelInvoker.swift
[144/164] Compiling NIOCore ChannelOption.swift
[145/164] Compiling NIOCore ChannelPipeline.swift
[146/164] Compiling NIOCore AddressedEnvelope.swift
[147/164] Compiling NIOCore AsyncAwaitSupport.swift
[148/164] Compiling NIOCore AsyncChannel.swift
[149/164] Compiling NIOCore AsyncChannelHandler.swift
[150/164] Compiling NIOCore AsyncChannelInboundStream.swift
[151/164] Compiling NIOCore AsyncChannelOutboundWriter.swift
[152/164] Compiling NIOCore NIOAsyncSequenceProducer.swift
[153/164] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[154/164] Compiling NIOCore NIOAsyncWriter.swift
[155/164] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[156/164] Compiling NIOCore BSDSocketAPI.swift
[157/164] Compiling NIOCore ByteBuffer-aux.swift
[158/164] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[159/164] Compiling NIOCore ByteBuffer-conversions.swift
[160/164] Compiling NIOCore ByteBuffer-core.swift
[161/164] Compiling NIOCore ByteBuffer-hex.swift
[162/164] Compiling NIOCore ByteBuffer-int.swift
[163/164] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[164/164] Emitting module NIOCore
[166/217] Emitting module NIOEmbedded
[167/217] Compiling NIOEmbedded AsyncTestingChannel.swift
[168/217] Compiling NIOEmbedded Embedded.swift
[169/217] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[171/218] Compiling NIOPosix Pool.swift
[172/218] Compiling NIOPosix PooledRecvBufferAllocator.swift
[173/218] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[174/218] Compiling NIOPosix PosixSingletons.swift
[175/218] Compiling NIOPosix RawSocketBootstrap.swift
[176/218] Compiling NIOPosix Resolver.swift
[177/218] Compiling NIOPosix Selectable.swift
[178/224] Compiling NIOPosix ThreadPosix.swift
[179/224] Compiling NIOPosix ThreadWindows.swift
[180/224] Compiling NIOPosix UnsafeTransfer.swift
[181/224] Compiling NIOPosix Utilities.swift
[182/224] Compiling NIOPosix VsockAddress.swift
[183/224] Compiling NIOPosix VsockChannelEvents.swift
[184/224] Compiling NIOPosix BSDSocketAPICommon.swift
[185/224] Compiling NIOPosix BSDSocketAPIPosix.swift
[186/224] Compiling NIOPosix BSDSocketAPIWindows.swift
[187/224] Compiling NIOPosix BaseSocket.swift
[188/224] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[189/224] Compiling NIOPosix BaseSocketChannel.swift
[190/224] Compiling NIOPosix BaseStreamSocketChannel.swift
[191/224] Compiling NIOPosix ServerSocket.swift
[192/224] Compiling NIOPosix Socket.swift
[193/224] Compiling NIOPosix SocketChannel.swift
[194/224] Compiling NIOPosix SocketProtocols.swift
[195/224] Compiling NIOPosix System.swift
[196/224] Compiling NIOPosix Thread.swift
[197/224] Emitting module NIOPosix
[198/224] Compiling NIOPosix SelectableChannel.swift
[199/224] Compiling NIOPosix SelectableEventLoop.swift
[200/224] Compiling NIOPosix SelectorEpoll.swift
[201/224] Compiling NIOPosix SelectorGeneric.swift
[202/224] Compiling NIOPosix SelectorKqueue.swift
[203/224] Compiling NIOPosix SelectorUring.swift
[204/224] Compiling NIOPosix IO.swift
[205/224] Compiling NIOPosix IntegerBitPacking.swift
[206/224] Compiling NIOPosix IntegerTypes.swift
[207/224] Compiling NIOPosix Linux.swift
[208/224] Compiling NIOPosix LinuxCPUSet.swift
[209/224] Compiling NIOPosix LinuxUring.swift
[210/224] Compiling NIOPosix MultiThreadedEventLoopGroup.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] Compiling NIO Exports.swift
[227/227] Emitting module NIO
[229/242] 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 | }
[230/242] 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 | }
[231/243] Compiling IkigaJSON JSONParser.swift
[232/243] Compiling IkigaJSON JSONArray.swift
[233/243] Compiling IkigaJSON JSONObject.swift
[234/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 }
[235/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 }
[236/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 | }
[237/243] Compiling IkigaJSON JSONValue.swift
[238/243] Compiling IkigaJSON NilValueCodingStrategy.swift
[239/243] Compiling IkigaJSON StreamingJSONDecoder.swift
[240/243] Compiling IkigaJSON Bounds.swift
[241/243] Compiling IkigaJSON JSONDescription+Constants.swift
[242/243] Compiling IkigaJSON JSONDescription.swift
[243/243] Compiling IkigaJSON Pointer+Helpers.swift
Build complete! (79.33s)
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.