Build Information
Successful build of swift-bson, reference v3.1.0 (d18d97
), with Swift 6.1 for Android on 28 May 2025 05:18:32 UTC.
Swift 6 data race errors: 17
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mongodb/swift-bson.git
Reference: v3.1.0
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/mongodb/swift-bson
* tag v3.1.0 -> FETCH_HEAD
HEAD is now at d18d979 Update README for 3.1.0
Cloned https://github.com/mongodb/swift-bson.git
Revision (git rev-parse @):
d18d9798987b737a7162ce6678da18561b5c629a
SUCCESS checkout https://github.com/mongodb/swift-bson.git at v3.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/mongodb/swift-bson.git
https://github.com/mongodb/swift-bson.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.16.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "swift-extras-json",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "0.7.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-extras/swift-extras-json"
},
{
"identity" : "swift-extras-base64",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "0.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-extras/swift-extras-base64"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "8.0.0",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "swift-bson",
"name" : "swift-bson",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftBSON",
"targets" : [
"SwiftBSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftBSONTests",
"module_type" : "SwiftTarget",
"name" : "SwiftBSONTests",
"path" : "Tests/SwiftBSONTests",
"product_dependencies" : [
"Nimble",
"ExtrasJSON"
],
"sources" : [
"BSONCorpusTests.swift",
"BSONDocument+CollectionTests.swift",
"BSONDocument+SequenceTests.swift",
"BSONDocumentIteratorTests.swift",
"BSONObjectIDTests.swift",
"BSONTests.swift",
"BSONValueTests.swift",
"CodecTests.swift",
"CommonTestUtils.swift",
"DocumentTests.swift",
"ExtendedJSONConversionTests.swift",
"JSONTests.swift",
"LeakCheckTests.swift"
],
"target_dependencies" : [
"SwiftBSON"
],
"type" : "test"
},
{
"c99name" : "SwiftBSON",
"module_type" : "SwiftTarget",
"name" : "SwiftBSON",
"path" : "Sources/SwiftBSON",
"product_dependencies" : [
"NIO",
"ExtrasJSON",
"ExtrasBase64"
],
"product_memberships" : [
"SwiftBSON"
],
"sources" : [
"Array+BSONValue.swift",
"BSON.swift",
"BSONBinary.swift",
"BSONCode.swift",
"BSONDBPointer.swift",
"BSONDecimal128.swift",
"BSONDecoder.swift",
"BSONDocument+Collection.swift",
"BSONDocument+Sequence.swift",
"BSONDocument.swift",
"BSONDocumentIterator.swift",
"BSONEncoder.swift",
"BSONError.swift",
"BSONNulls.swift",
"BSONObjectID.swift",
"BSONRegularExpression.swift",
"BSONSymbol.swift",
"BSONTimestamp.swift",
"BSONValue.swift",
"Bool+BSONValue.swift",
"ByteBuffer+BSON.swift",
"CodableNumber.swift",
"CodingStrategies.swift",
"Date+BSONValue.swift",
"Double+BSONValue.swift",
"ExtendedJSONDecoder.swift",
"ExtendedJSONEncoder.swift",
"Integers+BSONValue.swift",
"JSON.swift",
"String+BSONValue.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/apple/swift-nio
[1/1056] Fetching swift-extras-json
[1057/1889] Fetching swift-extras-json, swift-extras-base64
[1890/21473] Fetching swift-extras-json, swift-extras-base64, nimble
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.34s)
[2204/20417] Fetching swift-extras-base64, nimble
[12389/96472] Fetching swift-extras-base64, nimble, swift-nio
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (4.95s)
Fetched https://github.com/Quick/Nimble.git from cache (5.07s)
Fetched https://github.com/apple/swift-nio from cache (5.07s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (5.65s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.59s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.62s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.94s)
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/1710] Fetching swift-atomics
[275/6101] Fetching swift-atomics, swift-system
[5436/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.20s)
Fetched https://github.com/apple/swift-system.git from cache (1.20s)
Fetched https://github.com/apple/swift-collections.git from cache (1.24s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.98s)
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.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
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.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Building for debugging...
[0/23] Write sources
[12/23] Compiling CNIOWindows shim.c
[12/23] Compiling CNIOWindows WSAStartup.c
[12/23] Compiling CNIOWASI CNIOWASI.c
[12/23] Compiling _AtomicsShims.c
[12/23] Write sources
[17/23] Compiling CNIOLinux liburing_shims.c
[18/23] Compiling CNIODarwin shim.c
[19/23] Compiling CNIOLinux shim.c
[20/23] Write swift-version-24593BA9C3E375BF.txt
[22/79] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/80] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/80] Compiling InternalCollectionsUtilities Debugging.swift
[25/80] Emitting module _NIOBase64
[26/80] Compiling _NIOBase64 Base64.swift
[27/82] Compiling _NIODataStructures _TinyArray.swift
[28/82] Compiling ExtrasBase64 DecodingError.swift
[29/82] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[30/82] Compiling InternalCollectionsUtilities Integer rank.swift
[31/82] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[32/82] Compiling InternalCollectionsUtilities _SortedCollection.swift
[33/82] Compiling InternalCollectionsUtilities Descriptions.swift
[34/82] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[37/82] Compiling Atomics AtomicMemoryOrderings.swift
[38/82] Compiling Atomics DoubleWord.swift
[40/82] Compiling Atomics ManagedAtomicLazyReference.swift
[43/84] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[44/84] Compiling InternalCollectionsUtilities UInt+reversed.swift
[45/84] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[46/84] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[47/84] Emitting module ExtrasJSON
[50/84] Compiling _NIODataStructures PriorityQueue.swift
[51/84] Compiling ExtrasJSON DocumentReader.swift
[52/84] Compiling ExtrasJSON JSONValue.swift
[53/84] Emitting module Atomics
[57/84] Compiling Atomics AtomicReference.swift
[58/84] Compiling Atomics AtomicStorage.swift
[59/84] Compiling Atomics AtomicValue.swift
[61/84] Compiling _NIODataStructures Heap.swift
[62/84] Emitting module _NIODataStructures
[63/84] Emitting module InternalCollectionsUtilities
[77/85] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[79/86] Compiling Atomics IntegerOperations.swift
[80/86] Compiling Atomics Unmanaged extensions.swift
[82/102] Compiling ExtrasJSON JSONParser.swift
[84/103] Compiling DequeModule _DequeBuffer.swift
[85/103] Compiling DequeModule _DequeBufferHeader.swift
[85/105] Compiling c-nioatomics.c
[87/105] Compiling DequeModule Deque+Equatable.swift
[88/105] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[89/105] Compiling DequeModule Deque+CustomReflectable.swift
[90/105] Compiling DequeModule Deque+Descriptions.swift
[91/105] Compiling DequeModule Deque+Extras.swift
[92/105] Compiling DequeModule Deque+Hashable.swift
[93/105] Emitting module DequeModule
[94/105] Compiling DequeModule _DequeSlot.swift
[95/105] Compiling DequeModule _UnsafeWrappedBuffer.swift
[96/105] Compiling DequeModule Deque+Testing.swift
[97/105] Compiling DequeModule Deque._Storage.swift
[98/105] Compiling DequeModule Deque._UnsafeHandle.swift
[99/105] Compiling DequeModule Deque.swift
[100/105] Compiling DequeModule Deque+Codable.swift
[101/105] Compiling DequeModule Deque+Collection.swift
[101/106] Compiling c-atomics.c
[104/112] Compiling NIOConcurrencyHelpers NIOLock.swift
[105/112] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[106/112] Compiling NIOConcurrencyHelpers lock.swift
[107/112] Emitting module NIOConcurrencyHelpers
[108/112] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[109/112] Compiling NIOConcurrencyHelpers atomics.swift
[111/173] Compiling NIOCore MulticastChannel.swift
[112/173] Compiling NIOCore NIOAny.swift
[113/173] Compiling NIOCore NIOCloseOnErrorHandler.swift
[114/173] Compiling NIOCore NIOLoopBound.swift
[115/173] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[116/173] Compiling NIOCore NIOScheduledCallback.swift
[117/173] Compiling NIOCore NIOSendable.swift
[118/173] Compiling NIOCore RecvByteBufferAllocator.swift
[119/181] Compiling ExtrasBase64 Chromium.swift
[120/181] Compiling ExtrasBase64 Base64.swift
[121/181] Emitting module ExtrasBase64
[123/182] Compiling NIOCore IO.swift
[124/182] Compiling NIOCore IOData.swift
[125/182] Compiling NIOCore IPProtocol.swift
[126/182] Compiling NIOCore IntegerBitPacking.swift
[127/182] Compiling NIOCore IntegerTypes.swift
[128/182] Compiling NIOCore Interfaces.swift
[129/182] Compiling NIOCore Linux.swift
[130/182] Compiling NIOCore MarkedCircularBuffer.swift
[131/182] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[132/182] Compiling NIOCore SocketAddresses.swift
[133/182] Compiling NIOCore SocketOptionProvider.swift
[134/182] Compiling NIOCore SystemCallHelpers.swift
[135/182] Compiling NIOCore TimeAmount+Duration.swift
[136/182] Compiling NIOCore TypeAssistedChannelHandler.swift
[137/182] Compiling NIOCore UniversalBootstrapSupport.swift
[138/182] Compiling NIOCore Utilities.swift
[139/182] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[140/182] Compiling NIOCore EventLoopFuture+Deprecated.swift
[141/182] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[142/182] Compiling NIOCore EventLoopFuture.swift
[143/182] Compiling NIOCore FileDescriptor.swift
[144/182] Compiling NIOCore FileHandle.swift
[145/182] Compiling NIOCore FileRegion.swift
[146/182] Compiling NIOCore GlobalSingletons.swift
[147/182] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[148/182] Compiling NIOCore BSDSocketAPI.swift
[149/182] Compiling NIOCore ByteBuffer-aux.swift
[150/182] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[151/182] Compiling NIOCore ByteBuffer-conversions.swift
[152/182] Compiling NIOCore ByteBuffer-core.swift
[153/182] Compiling NIOCore ByteBuffer-hex.swift
[154/182] Compiling NIOCore ByteBuffer-int.swift
[155/182] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[156/182] Compiling NIOCore CircularBuffer.swift
[157/182] Compiling NIOCore Codec.swift
[158/182] Compiling NIOCore ConvenienceOptionSupport.swift
[159/182] Compiling NIOCore DeadChannel.swift
[160/182] Compiling NIOCore DispatchQueue+WithFuture.swift
[161/182] Compiling NIOCore EventLoop+Deprecated.swift
[162/182] Compiling NIOCore EventLoop+SerialExecutor.swift
[163/182] Compiling NIOCore EventLoop.swift
[164/182] Emitting module NIOCore
[165/182] Compiling NIOCore AddressedEnvelope.swift
[166/182] Compiling NIOCore AsyncAwaitSupport.swift
[167/182] Compiling NIOCore AsyncChannel.swift
[168/182] Compiling NIOCore AsyncChannelHandler.swift
[169/182] Compiling NIOCore AsyncChannelInboundStream.swift
[170/182] Compiling NIOCore AsyncChannelOutboundWriter.swift
[171/182] Compiling NIOCore NIOAsyncSequenceProducer.swift
[172/182] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[173/182] Compiling NIOCore NIOAsyncWriter.swift
[174/182] Compiling NIOCore ByteBuffer-multi-int.swift
[175/182] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[176/182] Compiling NIOCore ByteBuffer-views.swift
[177/182] Compiling NIOCore Channel.swift
[178/182] Compiling NIOCore ChannelHandler.swift
[179/182] Compiling NIOCore ChannelHandlers.swift
[180/182] Compiling NIOCore ChannelInvoker.swift
[181/182] Compiling NIOCore ChannelOption.swift
[182/182] Compiling NIOCore ChannelPipeline.swift
[184/233] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[185/233] Emitting module NIOEmbedded
[186/233] Compiling NIOEmbedded AsyncTestingChannel.swift
[187/233] Compiling NIOEmbedded Embedded.swift
[189/234] Emitting module NIOPosix
[190/240] Compiling NIOPosix IO.swift
[191/240] Compiling NIOPosix IntegerBitPacking.swift
[192/240] Compiling NIOPosix IntegerTypes.swift
[193/240] Compiling NIOPosix Linux.swift
[194/240] Compiling NIOPosix LinuxCPUSet.swift
[195/240] Compiling NIOPosix LinuxUring.swift
[196/240] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[197/240] Compiling NIOPosix SelectableChannel.swift
[198/240] Compiling NIOPosix SelectableEventLoop.swift
[199/240] Compiling NIOPosix SelectorEpoll.swift
[200/240] Compiling NIOPosix SelectorGeneric.swift
[201/240] Compiling NIOPosix SelectorKqueue.swift
[202/240] Compiling NIOPosix SelectorUring.swift
[203/240] Compiling NIOPosix Pool.swift
[204/240] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[205/240] Compiling NIOPosix PosixSingletons.swift
[206/240] Compiling NIOPosix RawSocketBootstrap.swift
[207/240] Compiling NIOPosix Resolver.swift
[208/240] Compiling NIOPosix Selectable.swift
[209/240] Compiling NIOPosix ServerSocket.swift
[210/240] Compiling NIOPosix Socket.swift
[211/240] Compiling NIOPosix SocketChannel.swift
[212/240] Compiling NIOPosix SocketProtocols.swift
[213/240] Compiling NIOPosix System.swift
[214/240] Compiling NIOPosix Thread.swift
[215/240] Compiling NIOPosix ThreadPosix.swift
[216/240] Compiling NIOPosix ThreadWindows.swift
[217/240] Compiling NIOPosix UnsafeTransfer.swift
[218/240] Compiling NIOPosix Utilities.swift
[219/240] Compiling NIOPosix VsockAddress.swift
[220/240] Compiling NIOPosix VsockChannelEvents.swift
[221/240] Compiling NIOPosix NIOThreadPool.swift
[222/240] Compiling NIOPosix NonBlockingFileIO.swift
[223/240] Compiling NIOPosix PendingDatagramWritesManager.swift
[224/240] Compiling NIOPosix PendingWritesManager.swift
[225/240] Compiling NIOPosix PipeChannel.swift
[226/240] Compiling NIOPosix PipePair.swift
[227/240] Compiling NIOPosix BSDSocketAPICommon.swift
[228/240] Compiling NIOPosix BSDSocketAPIPosix.swift
[229/240] Compiling NIOPosix BSDSocketAPIWindows.swift
[230/240] Compiling NIOPosix BaseSocket.swift
[231/240] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[232/240] Compiling NIOPosix BaseSocketChannel.swift
[233/240] Compiling NIOPosix BaseStreamSocketChannel.swift
[234/240] Compiling NIOPosix Bootstrap.swift
[235/240] Compiling NIOPosix ControlMessage.swift
[236/240] Compiling NIOPosix DatagramVectorReadManager.swift
[237/240] Compiling NIOPosix Errors+Any.swift
[238/240] Compiling NIOPosix FileDescriptor.swift
[239/240] Compiling NIOPosix GetaddrinfoResolver.swift
[240/240] Compiling NIOPosix HappyEyeballs.swift
[242/243] Compiling NIO Exports.swift
[243/243] Emitting module NIO
[245/272] Emitting module SwiftBSON
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 | /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 | internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
| |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allBSONTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 | .document: BSONDocument.self,
360 | .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
18 | public static let generic = Subtype(rawValue: 0x00)!
| |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /// A function
20 | public static let function = Subtype(rawValue: 0x01)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:20:27: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
18 | public static let generic = Subtype(rawValue: 0x00)!
19 | /// A function
20 | public static let function = Subtype(rawValue: 0x01)!
| |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'function' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Binary (old)
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:22:27: warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
20 | public static let function = Subtype(rawValue: 0x01)!
21 | /// Binary (old)
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
| |- warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binaryDeprecated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /// UUID (old)
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:24:27: warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
23 | /// UUID (old)
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
| |- warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuidDeprecated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// UUID (RFC 4122)
26 | public static let uuid = Subtype(rawValue: 0x04)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:26:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
25 | /// UUID (RFC 4122)
26 | public static let uuid = Subtype(rawValue: 0x04)!
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /// MD5
28 | public static let md5 = Subtype(rawValue: 0x05)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:28:27: warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
26 | public static let uuid = Subtype(rawValue: 0x04)!
27 | /// MD5
28 | public static let md5 = Subtype(rawValue: 0x05)!
| |- warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'md5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | /// Encrypted BSON value
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:30:27: warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
28 | public static let md5 = Subtype(rawValue: 0x05)!
29 | /// Encrypted BSON value
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
| |- warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encryptedValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | /// Column
32 | public static let column = Subtype(rawValue: 0x07)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:32:27: warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
31 | /// Column
32 | public static let column = Subtype(rawValue: 0x07)!
| |- warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'column' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | // swiftlint:enable force_unwrapping
34 |
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
4 | public class BSONDecoder {
5 | internal static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | let formatter = ISO8601DateFormatter()
7 | formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:28:25: warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
26 | internal let oid: [UInt8]
27 |
28 | internal static let generator = ObjectIDGenerator()
| |- warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Initializes a new `BSONObjectID`.
:
154 | /// A class responsible for generating ObjectIDs for a given instance of this library
155 | /// An ObjectID consists of a random number for this process, a timestamp, and a counter
156 | internal class ObjectIDGenerator {
| `- note: class 'ObjectIDGenerator' does not conform to the 'Sendable' protocol
157 | /// Random value is 5 bytes of the ObjectID
158 | private let randomNumber: [UInt8]
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
159 |
160 | /// Increment counter is only 3 bytes of the ObjectID
161 | internal var counter: NIOAtomic<UInt32>
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
162 |
163 | private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
6 | public class ExtendedJSONDecoder {
7 | internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
| |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'extJSONDateFormatterSeconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = ISO8601DateFormatter()
9 | formatter.formatOptions = [.withInternetDateTime]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }()
12 |
13 | internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
| |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'extJSONDateFormatterMilliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | let formatter = ISO8601DateFormatter()
15 | formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:21:24: warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// A set of all the possible extendedJSON wrapper keys.
20 | /// This does not include the legacy extended JSON wrapper keys.
21 | private static var wrapperKeySet: Set<String> = {
| |- warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wrapperKeySet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wrapperKeySet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | var keys: Set<String> = []
23 | for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:37:24: warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | /// `BSONCode` and `BSONCodeWithScope`). Attempt to decode each of the types returned from the map until one works
36 | /// to find the proper decoding.
37 | private static var wrapperKeyMap: [String: [BSONValue.Type]] = {
| |- warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wrapperKeyMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wrapperKeyMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var map: [String: [BSONValue.Type]] = [:]
39 | for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A struct representing the supported string formats based on the JSON standard that describe how to represent
8 | /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
9 | public struct Format {
| `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 | /// Canonical Extended JSON Format: Emphasizes type preservation
11 | /// at the expense of readability and interoperability.
12 | public static let canonical = Format(.canonical)
| |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'canonical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:16:27: warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A struct representing the supported string formats based on the JSON standard that describe how to represent
8 | /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
9 | public struct Format {
| `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 | /// Canonical Extended JSON Format: Emphasizes type preservation
11 | /// at the expense of readability and interoperability.
:
14 | /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
15 | /// at the expense of type preservation.
16 | public static let relaxed = Format(.relaxed)
| |- warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'relaxed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Internal representation of extJSON format.
[246/275] Compiling SwiftBSON Double+BSONValue.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
6 | public class ExtendedJSONDecoder {
7 | internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
| |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'extJSONDateFormatterSeconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = ISO8601DateFormatter()
9 | formatter.formatOptions = [.withInternetDateTime]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }()
12 |
13 | internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
| |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'extJSONDateFormatterMilliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | let formatter = ISO8601DateFormatter()
15 | formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:21:24: warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// A set of all the possible extendedJSON wrapper keys.
20 | /// This does not include the legacy extended JSON wrapper keys.
21 | private static var wrapperKeySet: Set<String> = {
| |- warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wrapperKeySet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wrapperKeySet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | var keys: Set<String> = []
23 | for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:37:24: warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | /// `BSONCode` and `BSONCodeWithScope`). Attempt to decode each of the types returned from the map until one works
36 | /// to find the proper decoding.
37 | private static var wrapperKeyMap: [String: [BSONValue.Type]] = {
| |- warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wrapperKeyMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wrapperKeyMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var map: [String: [BSONValue.Type]] = [:]
39 | for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A struct representing the supported string formats based on the JSON standard that describe how to represent
8 | /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
9 | public struct Format {
| `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 | /// Canonical Extended JSON Format: Emphasizes type preservation
11 | /// at the expense of readability and interoperability.
12 | public static let canonical = Format(.canonical)
| |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'canonical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:16:27: warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A struct representing the supported string formats based on the JSON standard that describe how to represent
8 | /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
9 | public struct Format {
| `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 | /// Canonical Extended JSON Format: Emphasizes type preservation
11 | /// at the expense of readability and interoperability.
:
14 | /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
15 | /// at the expense of type preservation.
16 | public static let relaxed = Format(.relaxed)
| |- warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'relaxed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Internal representation of extJSON format.
[247/275] Compiling SwiftBSON ExtendedJSONDecoder.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
6 | public class ExtendedJSONDecoder {
7 | internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
| |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'extJSONDateFormatterSeconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = ISO8601DateFormatter()
9 | formatter.formatOptions = [.withInternetDateTime]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }()
12 |
13 | internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
| |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'extJSONDateFormatterMilliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | let formatter = ISO8601DateFormatter()
15 | formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:21:24: warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// A set of all the possible extendedJSON wrapper keys.
20 | /// This does not include the legacy extended JSON wrapper keys.
21 | private static var wrapperKeySet: Set<String> = {
| |- warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wrapperKeySet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wrapperKeySet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | var keys: Set<String> = []
23 | for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:37:24: warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | /// `BSONCode` and `BSONCodeWithScope`). Attempt to decode each of the types returned from the map until one works
36 | /// to find the proper decoding.
37 | private static var wrapperKeyMap: [String: [BSONValue.Type]] = {
| |- warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wrapperKeyMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wrapperKeyMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var map: [String: [BSONValue.Type]] = [:]
39 | for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A struct representing the supported string formats based on the JSON standard that describe how to represent
8 | /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
9 | public struct Format {
| `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 | /// Canonical Extended JSON Format: Emphasizes type preservation
11 | /// at the expense of readability and interoperability.
12 | public static let canonical = Format(.canonical)
| |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'canonical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:16:27: warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A struct representing the supported string formats based on the JSON standard that describe how to represent
8 | /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
9 | public struct Format {
| `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 | /// Canonical Extended JSON Format: Emphasizes type preservation
11 | /// at the expense of readability and interoperability.
:
14 | /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
15 | /// at the expense of type preservation.
16 | public static let relaxed = Format(.relaxed)
| |- warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'relaxed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Internal representation of extJSON format.
[248/275] Compiling SwiftBSON ExtendedJSONEncoder.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
6 | public class ExtendedJSONDecoder {
7 | internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
| |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'extJSONDateFormatterSeconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = ISO8601DateFormatter()
9 | formatter.formatOptions = [.withInternetDateTime]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }()
12 |
13 | internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
| |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'extJSONDateFormatterMilliseconds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | let formatter = ISO8601DateFormatter()
15 | formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:21:24: warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// A set of all the possible extendedJSON wrapper keys.
20 | /// This does not include the legacy extended JSON wrapper keys.
21 | private static var wrapperKeySet: Set<String> = {
| |- warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wrapperKeySet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wrapperKeySet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | var keys: Set<String> = []
23 | for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:37:24: warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | /// `BSONCode` and `BSONCodeWithScope`). Attempt to decode each of the types returned from the map until one works
36 | /// to find the proper decoding.
37 | private static var wrapperKeyMap: [String: [BSONValue.Type]] = {
| |- warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wrapperKeyMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wrapperKeyMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | var map: [String: [BSONValue.Type]] = [:]
39 | for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A struct representing the supported string formats based on the JSON standard that describe how to represent
8 | /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
9 | public struct Format {
| `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 | /// Canonical Extended JSON Format: Emphasizes type preservation
11 | /// at the expense of readability and interoperability.
12 | public static let canonical = Format(.canonical)
| |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'canonical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:16:27: warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A struct representing the supported string formats based on the JSON standard that describe how to represent
8 | /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
9 | public struct Format {
| `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 | /// Canonical Extended JSON Format: Emphasizes type preservation
11 | /// at the expense of readability and interoperability.
:
14 | /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
15 | /// at the expense of type preservation.
16 | public static let relaxed = Format(.relaxed)
| |- warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'relaxed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Internal representation of extJSON format.
[249/275] Compiling SwiftBSON ByteBuffer+BSON.swift
[250/275] Compiling SwiftBSON CodableNumber.swift
[251/275] Compiling SwiftBSON CodingStrategies.swift
[252/275] Compiling SwiftBSON Date+BSONValue.swift
[253/275] Compiling SwiftBSON BSONSymbol.swift
[254/275] Compiling SwiftBSON BSONTimestamp.swift
[255/275] Compiling SwiftBSON BSONValue.swift
[256/275] Compiling SwiftBSON Bool+BSONValue.swift
[257/275] Compiling SwiftBSON BSONError.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:28:25: warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
26 | internal let oid: [UInt8]
27 |
28 | internal static let generator = ObjectIDGenerator()
| |- warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Initializes a new `BSONObjectID`.
:
154 | /// A class responsible for generating ObjectIDs for a given instance of this library
155 | /// An ObjectID consists of a random number for this process, a timestamp, and a counter
156 | internal class ObjectIDGenerator {
| `- note: class 'ObjectIDGenerator' does not conform to the 'Sendable' protocol
157 | /// Random value is 5 bytes of the ObjectID
158 | private let randomNumber: [UInt8]
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
159 |
160 | /// Increment counter is only 3 bytes of the ObjectID
161 | internal var counter: NIOAtomic<UInt32>
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
162 |
163 | private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:172:24: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
170 | )[0..<5])
171 | // 3 byte counter started randomly per process
172 | self.counter = NIOAtomic<UInt32>.makeAtomic(value: UInt32.random(in: 0...ObjectIDGenerator.COUNTER_MAX))
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
173 | }
174 |
[258/275] Compiling SwiftBSON BSONNulls.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:28:25: warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
26 | internal let oid: [UInt8]
27 |
28 | internal static let generator = ObjectIDGenerator()
| |- warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Initializes a new `BSONObjectID`.
:
154 | /// A class responsible for generating ObjectIDs for a given instance of this library
155 | /// An ObjectID consists of a random number for this process, a timestamp, and a counter
156 | internal class ObjectIDGenerator {
| `- note: class 'ObjectIDGenerator' does not conform to the 'Sendable' protocol
157 | /// Random value is 5 bytes of the ObjectID
158 | private let randomNumber: [UInt8]
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
159 |
160 | /// Increment counter is only 3 bytes of the ObjectID
161 | internal var counter: NIOAtomic<UInt32>
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
162 |
163 | private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:172:24: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
170 | )[0..<5])
171 | // 3 byte counter started randomly per process
172 | self.counter = NIOAtomic<UInt32>.makeAtomic(value: UInt32.random(in: 0...ObjectIDGenerator.COUNTER_MAX))
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
173 | }
174 |
[259/275] Compiling SwiftBSON BSONObjectID.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:28:25: warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
26 | internal let oid: [UInt8]
27 |
28 | internal static let generator = ObjectIDGenerator()
| |- warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Initializes a new `BSONObjectID`.
:
154 | /// A class responsible for generating ObjectIDs for a given instance of this library
155 | /// An ObjectID consists of a random number for this process, a timestamp, and a counter
156 | internal class ObjectIDGenerator {
| `- note: class 'ObjectIDGenerator' does not conform to the 'Sendable' protocol
157 | /// Random value is 5 bytes of the ObjectID
158 | private let randomNumber: [UInt8]
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
159 |
160 | /// Increment counter is only 3 bytes of the ObjectID
161 | internal var counter: NIOAtomic<UInt32>
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
162 |
163 | private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:172:24: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
170 | )[0..<5])
171 | // 3 byte counter started randomly per process
172 | self.counter = NIOAtomic<UInt32>.makeAtomic(value: UInt32.random(in: 0...ObjectIDGenerator.COUNTER_MAX))
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
173 | }
174 |
[260/275] Compiling SwiftBSON BSONRegularExpression.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:28:25: warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
26 | internal let oid: [UInt8]
27 |
28 | internal static let generator = ObjectIDGenerator()
| |- warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Initializes a new `BSONObjectID`.
:
154 | /// A class responsible for generating ObjectIDs for a given instance of this library
155 | /// An ObjectID consists of a random number for this process, a timestamp, and a counter
156 | internal class ObjectIDGenerator {
| `- note: class 'ObjectIDGenerator' does not conform to the 'Sendable' protocol
157 | /// Random value is 5 bytes of the ObjectID
158 | private let randomNumber: [UInt8]
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
159 |
160 | /// Increment counter is only 3 bytes of the ObjectID
161 | internal var counter: NIOAtomic<UInt32>
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
162 |
163 | private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:172:24: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
170 | )[0..<5])
171 | // 3 byte counter started randomly per process
172 | self.counter = NIOAtomic<UInt32>.makeAtomic(value: UInt32.random(in: 0...ObjectIDGenerator.COUNTER_MAX))
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
173 | }
174 |
[261/275] Compiling SwiftBSON Integers+BSONValue.swift
[262/275] Compiling SwiftBSON JSON.swift
[263/275] Compiling SwiftBSON String+BSONValue.swift
[264/275] Compiling SwiftBSON BSONDocument+Sequence.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONEncoder.swift:498:20: warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public.
496 | return try BSONBinary(data: data, subtype: .generic)
497 | case .base64:
498 | return String(base64Encoding: data)
| `- warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public.
499 | case let .custom(f):
500 | return try self.handleCustomStrategy(encodeFunc: f, forValue: data)
[265/275] Compiling SwiftBSON BSONDocument.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONEncoder.swift:498:20: warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public.
496 | return try BSONBinary(data: data, subtype: .generic)
497 | case .base64:
498 | return String(base64Encoding: data)
| `- warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public.
499 | case let .custom(f):
500 | return try self.handleCustomStrategy(encodeFunc: f, forValue: data)
[266/275] Compiling SwiftBSON BSONDocumentIterator.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONEncoder.swift:498:20: warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public.
496 | return try BSONBinary(data: data, subtype: .generic)
497 | case .base64:
498 | return String(base64Encoding: data)
| `- warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public.
499 | case let .custom(f):
500 | return try self.handleCustomStrategy(encodeFunc: f, forValue: data)
[267/275] Compiling SwiftBSON BSONEncoder.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONEncoder.swift:498:20: warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public.
496 | return try BSONBinary(data: data, subtype: .generic)
497 | case .base64:
498 | return String(base64Encoding: data)
| `- warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public.
499 | case let .custom(f):
500 | return try self.handleCustomStrategy(encodeFunc: f, forValue: data)
[268/275] Compiling SwiftBSON Array+BSONValue.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 | /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 | internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
| |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allBSONTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 | .document: BSONDocument.self,
360 | .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
18 | public static let generic = Subtype(rawValue: 0x00)!
| |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /// A function
20 | public static let function = Subtype(rawValue: 0x01)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:20:27: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
18 | public static let generic = Subtype(rawValue: 0x00)!
19 | /// A function
20 | public static let function = Subtype(rawValue: 0x01)!
| |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'function' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Binary (old)
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:22:27: warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
20 | public static let function = Subtype(rawValue: 0x01)!
21 | /// Binary (old)
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
| |- warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binaryDeprecated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /// UUID (old)
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:24:27: warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
23 | /// UUID (old)
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
| |- warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuidDeprecated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// UUID (RFC 4122)
26 | public static let uuid = Subtype(rawValue: 0x04)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:26:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
25 | /// UUID (RFC 4122)
26 | public static let uuid = Subtype(rawValue: 0x04)!
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /// MD5
28 | public static let md5 = Subtype(rawValue: 0x05)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:28:27: warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
26 | public static let uuid = Subtype(rawValue: 0x04)!
27 | /// MD5
28 | public static let md5 = Subtype(rawValue: 0x05)!
| |- warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'md5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | /// Encrypted BSON value
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:30:27: warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
28 | public static let md5 = Subtype(rawValue: 0x05)!
29 | /// Encrypted BSON value
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
| |- warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encryptedValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | /// Column
32 | public static let column = Subtype(rawValue: 0x07)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:32:27: warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
31 | /// Column
32 | public static let column = Subtype(rawValue: 0x07)!
| |- warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'column' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | // swiftlint:enable force_unwrapping
34 |
[269/275] Compiling SwiftBSON BSON.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 | /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 | internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
| |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allBSONTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 | .document: BSONDocument.self,
360 | .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
18 | public static let generic = Subtype(rawValue: 0x00)!
| |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /// A function
20 | public static let function = Subtype(rawValue: 0x01)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:20:27: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
18 | public static let generic = Subtype(rawValue: 0x00)!
19 | /// A function
20 | public static let function = Subtype(rawValue: 0x01)!
| |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'function' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Binary (old)
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:22:27: warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
20 | public static let function = Subtype(rawValue: 0x01)!
21 | /// Binary (old)
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
| |- warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binaryDeprecated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /// UUID (old)
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:24:27: warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
23 | /// UUID (old)
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
| |- warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuidDeprecated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// UUID (RFC 4122)
26 | public static let uuid = Subtype(rawValue: 0x04)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:26:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
25 | /// UUID (RFC 4122)
26 | public static let uuid = Subtype(rawValue: 0x04)!
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /// MD5
28 | public static let md5 = Subtype(rawValue: 0x05)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:28:27: warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
26 | public static let uuid = Subtype(rawValue: 0x04)!
27 | /// MD5
28 | public static let md5 = Subtype(rawValue: 0x05)!
| |- warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'md5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | /// Encrypted BSON value
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:30:27: warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
28 | public static let md5 = Subtype(rawValue: 0x05)!
29 | /// Encrypted BSON value
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
| |- warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encryptedValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | /// Column
32 | public static let column = Subtype(rawValue: 0x07)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:32:27: warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
31 | /// Column
32 | public static let column = Subtype(rawValue: 0x07)!
| |- warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'column' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | // swiftlint:enable force_unwrapping
34 |
[270/275] Compiling SwiftBSON BSONBinary.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 | /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 | internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
| |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allBSONTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 | .document: BSONDocument.self,
360 | .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
18 | public static let generic = Subtype(rawValue: 0x00)!
| |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /// A function
20 | public static let function = Subtype(rawValue: 0x01)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:20:27: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
18 | public static let generic = Subtype(rawValue: 0x00)!
19 | /// A function
20 | public static let function = Subtype(rawValue: 0x01)!
| |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'function' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Binary (old)
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:22:27: warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
20 | public static let function = Subtype(rawValue: 0x01)!
21 | /// Binary (old)
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
| |- warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binaryDeprecated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /// UUID (old)
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:24:27: warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
23 | /// UUID (old)
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
| |- warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuidDeprecated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// UUID (RFC 4122)
26 | public static let uuid = Subtype(rawValue: 0x04)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:26:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
25 | /// UUID (RFC 4122)
26 | public static let uuid = Subtype(rawValue: 0x04)!
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /// MD5
28 | public static let md5 = Subtype(rawValue: 0x05)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:28:27: warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
26 | public static let uuid = Subtype(rawValue: 0x04)!
27 | /// MD5
28 | public static let md5 = Subtype(rawValue: 0x05)!
| |- warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'md5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | /// Encrypted BSON value
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:30:27: warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
28 | public static let md5 = Subtype(rawValue: 0x05)!
29 | /// Encrypted BSON value
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
| |- warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encryptedValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | /// Column
32 | public static let column = Subtype(rawValue: 0x07)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:32:27: warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
31 | /// Column
32 | public static let column = Subtype(rawValue: 0x07)!
| |- warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'column' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | // swiftlint:enable force_unwrapping
34 |
[271/275] Compiling SwiftBSON BSONCode.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 | /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 | internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
| |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allBSONTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 | .document: BSONDocument.self,
360 | .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
18 | public static let generic = Subtype(rawValue: 0x00)!
| |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'generic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /// A function
20 | public static let function = Subtype(rawValue: 0x01)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:20:27: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
18 | public static let generic = Subtype(rawValue: 0x00)!
19 | /// A function
20 | public static let function = Subtype(rawValue: 0x01)!
| |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'function' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Binary (old)
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:22:27: warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
20 | public static let function = Subtype(rawValue: 0x01)!
21 | /// Binary (old)
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
| |- warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binaryDeprecated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /// UUID (old)
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:24:27: warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
22 | public static let binaryDeprecated = Subtype(rawValue: 0x02)!
23 | /// UUID (old)
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
| |- warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuidDeprecated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// UUID (RFC 4122)
26 | public static let uuid = Subtype(rawValue: 0x04)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:26:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
24 | public static let uuidDeprecated = Subtype(rawValue: 0x03)!
25 | /// UUID (RFC 4122)
26 | public static let uuid = Subtype(rawValue: 0x04)!
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /// MD5
28 | public static let md5 = Subtype(rawValue: 0x05)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:28:27: warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
26 | public static let uuid = Subtype(rawValue: 0x04)!
27 | /// MD5
28 | public static let md5 = Subtype(rawValue: 0x05)!
| |- warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'md5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | /// Encrypted BSON value
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:30:27: warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
28 | public static let md5 = Subtype(rawValue: 0x05)!
29 | /// Encrypted BSON value
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
| |- warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'encryptedValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | /// Column
32 | public static let column = Subtype(rawValue: 0x07)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:32:27: warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Subtypes for BSON Binary values.
15 | public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
| `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
16 | // swiftlint:disable force_unwrapping
17 | /// Generic binary subtype
:
30 | public static let encryptedValue = Subtype(rawValue: 0x06)!
31 | /// Column
32 | public static let column = Subtype(rawValue: 0x07)!
| |- warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'column' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | // swiftlint:enable force_unwrapping
34 |
[272/275] Compiling SwiftBSON BSONDBPointer.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
4 | public class BSONDecoder {
5 | internal static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | let formatter = ISO8601DateFormatter()
7 | formatter.formatOptions = .withInternetDateTime
[273/275] Compiling SwiftBSON BSONDecimal128.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
4 | public class BSONDecoder {
5 | internal static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | let formatter = ISO8601DateFormatter()
7 | formatter.formatOptions = .withInternetDateTime
[274/275] Compiling SwiftBSON BSONDecoder.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
4 | public class BSONDecoder {
5 | internal static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | let formatter = ISO8601DateFormatter()
7 | formatter.formatOptions = .withInternetDateTime
[275/275] Compiling SwiftBSON BSONDocument+Collection.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
4 | public class BSONDecoder {
5 | internal static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | let formatter = ISO8601DateFormatter()
7 | formatter.formatOptions = .withInternetDateTime
Build complete! (85.36s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.16.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "swift-extras-json",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "0.7.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-extras/swift-extras-json"
},
{
"identity" : "swift-extras-base64",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "0.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-extras/swift-extras-base64"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "8.0.0",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "swift-bson",
"name" : "swift-bson",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftBSON",
"targets" : [
"SwiftBSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftBSONTests",
"module_type" : "SwiftTarget",
"name" : "SwiftBSONTests",
"path" : "Tests/SwiftBSONTests",
"product_dependencies" : [
"Nimble",
"ExtrasJSON"
],
"sources" : [
"BSONCorpusTests.swift",
"BSONDocument+CollectionTests.swift",
"BSONDocument+SequenceTests.swift",
"BSONDocumentIteratorTests.swift",
"BSONObjectIDTests.swift",
"BSONTests.swift",
"BSONValueTests.swift",
"CodecTests.swift",
"CommonTestUtils.swift",
"DocumentTests.swift",
"ExtendedJSONConversionTests.swift",
"JSONTests.swift",
"LeakCheckTests.swift"
],
"target_dependencies" : [
"SwiftBSON"
],
"type" : "test"
},
{
"c99name" : "SwiftBSON",
"module_type" : "SwiftTarget",
"name" : "SwiftBSON",
"path" : "Sources/SwiftBSON",
"product_dependencies" : [
"NIO",
"ExtrasJSON",
"ExtrasBase64"
],
"product_memberships" : [
"SwiftBSON"
],
"sources" : [
"Array+BSONValue.swift",
"BSON.swift",
"BSONBinary.swift",
"BSONCode.swift",
"BSONDBPointer.swift",
"BSONDecimal128.swift",
"BSONDecoder.swift",
"BSONDocument+Collection.swift",
"BSONDocument+Sequence.swift",
"BSONDocument.swift",
"BSONDocumentIterator.swift",
"BSONEncoder.swift",
"BSONError.swift",
"BSONNulls.swift",
"BSONObjectID.swift",
"BSONRegularExpression.swift",
"BSONSymbol.swift",
"BSONTimestamp.swift",
"BSONValue.swift",
"Bool+BSONValue.swift",
"ByteBuffer+BSON.swift",
"CodableNumber.swift",
"CodingStrategies.swift",
"Date+BSONValue.swift",
"Double+BSONValue.swift",
"ExtendedJSONDecoder.swift",
"ExtendedJSONEncoder.swift",
"Integers+BSONValue.swift",
"JSON.swift",
"String+BSONValue.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.