Build Information
Successful build of BSON, reference 8.2.2 (aaaa20), with Swift 6.2 for macOS (SPM) on 10 Apr 2026 04:11:16 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/BSON.git
Reference: 8.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orlandos-nl/BSON
* tag 8.2.2 -> FETCH_HEAD
HEAD is now at aaaa20d Merge pull request #89 from gulivero1773/main
Cloned https://github.com/orlandos-nl/BSON.git
Revision (git rev-parse @):
aaaa20dedb5c1bc1beead3d45d2eb1a5db62678d
SUCCESS checkout https://github.com/orlandos-nl/BSON.git at 8.2.2
Fetching https://github.com/apple/swift-nio.git
[1/83101] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (8.08s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[74/25345] Fetching swift-atomics, swift-collections
[75/30946] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.03s)
Fetched https://github.com/apple/swift-collections.git from cache (2.03s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.60s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "bson",
"name": "BSON",
"url": "https://github.com/orlandos-nl/BSON.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BSON",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.97.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.6.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/orlandos-nl/BSON.git
[1/6030] Fetching bson
Fetched https://github.com/orlandos-nl/BSON.git from cache (1.00s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.69s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.75s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.55s)
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.05s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/orlandos-nl/BSON.git
Working copy of https://github.com/orlandos-nl/BSON.git resolved at 8.2.2 (aaaa20d)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
warning: '.resolve-product-dependencies': dependency 'bson' is not used by any target
Found 1 product dependencies
- swift-nio
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/orlandos-nl/BSON.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/20] Write sources
[7/20] Compiling CNIOWindows WSAStartup.c
[7/20] Compiling CNIOWindows shim.c
[9/20] Write sources
[11/20] Compiling CNIOWASI CNIOWASI.c
[12/20] Compiling CNIOLinux shim.c
[13/20] Compiling CNIOLinux liburing_shims.c
[14/20] Compiling CNIOOpenBSD shim.c
[15/20] Write swift-version-49B95AFC49DCD68C.txt
[16/45] Compiling _AtomicsShims.c
[17/64] Compiling CNIODarwin shim.c
[19/64] Compiling Atomics UnsafeAtomicLazyReference.swift
[20/64] Compiling Atomics IntegerOperations.swift
[21/65] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[22/65] Compiling Atomics AtomicBool.swift
[23/65] Compiling Atomics IntegerConformances.swift
[24/65] Emitting module InternalCollectionsUtilities
[25/65] Emitting module _NIOBase64
[26/65] Compiling _NIOBase64 Base64.swift
[27/65] Compiling Atomics PointerConformances.swift
[28/65] Compiling Atomics Primitives.native.swift
[29/65] Compiling Atomics OptionalRawRepresentable.swift
[30/65] Compiling Atomics RawRepresentable.swift
[31/65] Compiling Atomics AtomicInteger.swift
[32/65] Compiling Atomics AtomicOptionalWrappable.swift
[33/65] Compiling Atomics DoubleWord.swift
[34/65] Compiling Atomics ManagedAtomic.swift
[35/65] Compiling Atomics AtomicReference.swift
[36/65] Compiling Atomics AtomicStorage.swift
[37/65] Compiling Atomics ManagedAtomicLazyReference.swift
[38/65] Compiling Atomics UnsafeAtomic.swift
[39/65] Compiling Atomics AtomicValue.swift
[40/65] Compiling Atomics AtomicMemoryOrderings.swift
[41/65] Emitting module _NIODataStructures
[42/65] Compiling _NIODataStructures _TinyArray.swift
[43/65] Compiling _NIODataStructures Heap.swift
[44/65] Compiling _NIODataStructures PriorityQueue.swift
[45/99] Compiling ContainersPreview RandomAccessContainer.swift
[46/99] Compiling ContainersPreview RangeExpression2.swift
[47/99] Compiling ContainersPreview RangeReplaceableContainer.swift
[48/99] Compiling ContainersPreview Drain+Map.swift
[49/102] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[50/102] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[51/102] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[52/102] Compiling ContainersPreview BorrowingSequence.swift
[57/102] Compiling ContainersPreview TemporaryAllocation.swift
[58/102] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[59/102] Compiling ContainersPreview Drain+Reduce.swift
[60/102] Compiling ContainersPreview Drain.swift
[63/102] Compiling ContainersPreview ContainerIterator.swift
[64/102] Compiling ContainersPreview DynamicContainer.swift
[65/102] Compiling ContainersPreview MutableContainer.swift
[66/102] Compiling ContainersPreview PermutableContainer.swift
[67/102] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[69/102] Compiling ContainersPreview Producer+Collect.swift
[70/102] Compiling ContainersPreview OutputSpan+Extras.swift
[71/102] Emitting module Atomics
[72/103] Compiling ContainersPreview BidirectionalContainer.swift
[73/103] Compiling ContainersPreview Container+Filter.swift
[74/103] Compiling ContainersPreview Container+SpanwiseZip.swift
[75/103] Compiling ContainersPreview Container.swift
[76/103] Compiling ContainersPreview Producer+Filter.swift
[77/103] Compiling ContainersPreview Producer+Map.swift
[78/103] Compiling ContainersPreview Producer+Reduce.swift
[79/103] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[80/103] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[81/103] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[82/103] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[83/103] Compiling ContainersPreview Producer.swift
[84/103] Compiling ContainersPreview Borrow.swift
[85/103] Compiling ContainersPreview Box.swift
[86/103] Emitting module ContainersPreview
[98/103] Compiling ContainersPreview Inout.swift
[99/103] Compiling ContainersPreview InputSpan.swift
[100/103] Compiling ContainersPreview Shared.swift
[101/103] Compiling Atomics Unmanaged extensions.swift
[102/144] Compiling DequeModule UniqueDeque+Equatable.swift
[103/144] Compiling DequeModule UniqueDeque+Experimental.swift
[104/144] Compiling DequeModule UniqueDeque+Hashable.swift
[105/144] Compiling DequeModule UniqueDeque+Initializers.swift
[105/148] Compiling c-nioatomics.c
[107/148] Compiling DequeModule RigidDeque+Consumption.swift
[108/148] Compiling DequeModule RigidDeque+Container.swift
[109/148] Compiling DequeModule RigidDeque+Descriptions.swift
[110/148] Compiling DequeModule RigidDeque+Equatable.swift
[111/148] Compiling DequeModule RigidDeque+Experimental.swift
[112/148] Compiling DequeModule RigidDeque+Hashable.swift
[113/148] Compiling DequeModule RigidDeque+Initializers.swift
[114/148] Compiling DequeModule RigidDeque+Insertions.swift
[115/148] Compiling DequeModule RigidDeque+Prepend.swift
[116/148] Compiling DequeModule UniqueDeque+Append.swift
[117/148] Compiling DequeModule UniqueDeque+Consumption.swift
[118/148] Compiling DequeModule UniqueDeque+Container.swift
[119/148] Compiling DequeModule UniqueDeque+Descriptions.swift
[120/148] Compiling DequeModule RigidDeque+Removals.swift
[121/148] Compiling DequeModule RigidDeque+Replacements.swift
[122/148] Compiling DequeModule RigidDeque+Testing.swift
[123/148] Compiling DequeModule RigidDeque.swift
[124/148] Compiling DequeModule UniqueDeque+Insertions.swift
[125/148] Compiling DequeModule UniqueDeque+Prepend.swift
[126/148] Compiling DequeModule UniqueDeque+Removals.swift
[127/148] Compiling DequeModule UniqueDeque+Replacements.swift
[128/148] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[129/148] Compiling DequeModule Deque+Extras.swift
[130/148] Compiling DequeModule Deque+Hashable.swift
[131/148] Compiling DequeModule Deque+Testing.swift
[132/148] Compiling DequeModule Deque._Storage.swift
[133/148] Compiling DequeModule Deque._UnsafeHandle.swift
[134/148] Compiling DequeModule Deque.swift
[135/148] Compiling DequeModule _DequeBuffer.swift
[136/148] Compiling DequeModule _DequeBufferHeader.swift
[137/148] Compiling DequeModule RigidDeque+Append.swift
[138/148] Compiling DequeModule Deque+Codable.swift
[139/148] Compiling DequeModule Deque+Collection.swift
[140/148] Compiling DequeModule Deque+CustomReflectable.swift
[141/148] Compiling DequeModule Deque+Descriptions.swift
[142/148] Compiling DequeModule Deque+Equatable.swift
[142/148] Compiling c-atomics.c
[144/155] Compiling NIOConcurrencyHelpers lock.swift
[145/155] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[146/155] Compiling NIOConcurrencyHelpers NIOLock.swift
[147/155] Compiling NIOConcurrencyHelpers atomics.swift
[148/155] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[149/155] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[150/155] Emitting module NIOConcurrencyHelpers
[151/155] Compiling DequeModule UniqueDeque.swift
[152/155] Compiling DequeModule _DequeSlot.swift
[153/155] Compiling DequeModule _UnsafeDequeHandle.swift
[154/155] Compiling DequeModule _UnsafeDequeSegments.swift
[155/155] Emitting module DequeModule
[156/220] Compiling NIOCore MarkedCircularBuffer.swift
[157/220] Compiling NIOCore MulticastChannel.swift
[158/220] Compiling NIOCore NIOAny.swift
[159/220] Compiling NIOCore NIOCloseOnErrorHandler.swift
[160/220] Compiling NIOCore NIOCoreSendableMetatype.swift
[161/220] Compiling NIOCore NIODecodedAsyncSequence.swift
[162/220] Compiling NIOCore NIOLoopBound.swift
[163/220] Compiling NIOCore AddressedEnvelope.swift
[164/220] Compiling NIOCore AsyncAwaitSupport.swift
[165/220] Compiling NIOCore AsyncChannel.swift
[166/220] Compiling NIOCore AsyncChannelHandler.swift
[167/220] Compiling NIOCore AsyncChannelInboundStream.swift
[168/220] Compiling NIOCore AsyncChannelOutboundWriter.swift
[169/220] Compiling NIOCore NIOAsyncSequenceProducer.swift
[170/220] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[171/227] Compiling NIOCore ConvenienceOptionSupport.swift
[172/227] Compiling NIOCore DeadChannel.swift
[173/227] Compiling NIOCore DispatchQueue+WithFuture.swift
[174/227] Compiling NIOCore EventLoop+Deprecated.swift
[175/227] Compiling NIOCore EventLoop+SerialExecutor.swift
[176/227] Compiling NIOCore EventLoop.swift
[177/227] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[178/227] Compiling NIOCore SocketAddresses.swift
[179/227] Compiling NIOCore SocketOptionProvider.swift
[180/227] Compiling NIOCore SystemCallHelpers.swift
[181/227] Compiling NIOCore TimeAmount+Duration.swift
[182/227] Compiling NIOCore TypeAssistedChannelHandler.swift
[183/227] Compiling NIOCore UniversalBootstrapSupport.swift
[184/227] Compiling NIOCore Utilities.swift
[185/227] Compiling NIOCore EventLoopFuture+Deprecated.swift
[186/227] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[187/227] Compiling NIOCore EventLoopFuture.swift
[188/227] Compiling NIOCore FileDescriptor.swift
[189/227] Compiling NIOCore FileHandle.swift
[190/227] Compiling NIOCore FileRegion.swift
[191/227] Compiling NIOCore GlobalSingletons.swift
[192/227] Compiling NIOCore IO.swift
[193/227] Compiling NIOCore IOData.swift
[194/227] Compiling NIOCore IPProtocol.swift
[195/227] Compiling NIOCore IntegerBitPacking.swift
[196/227] Compiling NIOCore IntegerTypes.swift
[197/227] Compiling NIOCore Interfaces.swift
[198/227] Compiling NIOCore Linux.swift
[199/227] Compiling NIOCore ChannelHandler.swift
[200/227] Compiling NIOCore ChannelHandlers.swift
[201/227] Compiling NIOCore ChannelInvoker.swift
[202/227] Compiling NIOCore ChannelOption.swift
[203/227] Compiling NIOCore ChannelPipeline.swift
[204/227] Compiling NIOCore CircularBuffer.swift
[205/227] Compiling NIOCore Codec.swift
[206/227] Compiling NIOCore NIOAsyncWriter.swift
[207/227] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[208/227] Compiling NIOCore BSDSocketAPI.swift
[209/227] Compiling NIOCore ByteBuffer-aux.swift
[210/227] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[211/227] Compiling NIOCore ByteBuffer-conversions.swift
[212/227] Compiling NIOCore ByteBuffer-core.swift
[213/227] Compiling NIOCore ByteBuffer-hex.swift
[214/227] Compiling NIOCore ByteBuffer-int.swift
[215/227] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[216/227] Compiling NIOCore ByteBuffer-multi-int.swift
[217/227] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[218/227] Compiling NIOCore ByteBuffer-views.swift
[219/227] Compiling NIOCore Channel.swift
[220/227] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[221/227] Compiling NIOCore NIOScheduledCallback.swift
[222/227] Compiling NIOCore NIOSendable.swift
[223/227] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[224/227] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[225/227] Compiling NIOCore RecvByteBufferAllocator.swift
[226/227] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[227/227] Emitting module NIOCore
[228/262] Emitting module BSON
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:46:54: warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'Foundation'
44 | }
45 |
46 | extension Data: BSONPrimitiveConvertible, @unchecked Sendable {
| `- warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'Foundation'
47 | init(primitive: Primitive?) throws {
48 | guard let value = primitive, let binary = value as? Binary else {
Foundation.Data:2:23: note: 'Data' declares conformance to protocol 'Sendable' here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
| `- note: 'Data' declares conformance to protocol 'Sendable' here
3 | public typealias Index = Int
4 | public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:202:39: warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'Foundation'
200 |
201 | extension Int32: Primitive {}
202 | extension Date: Primitive, @unchecked Sendable {}
| `- warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'Foundation'
203 |
204 | #if (arch(i386) || arch(arm)) && BSONInt64Primitive
Foundation.Date:2:15: note: 'Date' declares conformance to protocol 'Sendable' here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct Date : Comparable, Hashable, Equatable, Sendable {
| `- note: 'Date' declares conformance to protocol 'Sendable' here
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
4 | public static var timeIntervalSinceReferenceDate: TimeInterval { get }
[229/265] Compiling BSON RegularExpression.swift
[230/265] Compiling BSON Timestamp.swift
[231/265] Compiling BSON TypeIdentifier.swift
[232/265] Compiling BSON BSONEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:84:33: warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it [#no-usage]
82 | case .document(let document):
83 | document
84 | case .primitive(let primitive):
| `- warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it [#no-usage]
85 | nil
86 | case nil:
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused [#no-usage]
172 | self.document?.appendValue(newValue, forKey: converted(key.stringValue))
173 | } else {
174 | self.document?.removeValue(forKey: converted(key.stringValue))
| `- warning: result of call to 'removeValue(forKey:)' is unused [#no-usage]
175 | }
176 | }
[233/265] Compiling BSON BSONEncoderStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:84:33: warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it [#no-usage]
82 | case .document(let document):
83 | document
84 | case .primitive(let primitive):
| `- warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it [#no-usage]
85 | nil
86 | case nil:
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused [#no-usage]
172 | self.document?.appendValue(newValue, forKey: converted(key.stringValue))
173 | } else {
174 | self.document?.removeValue(forKey: converted(key.stringValue))
| `- warning: result of call to 'removeValue(forKey:)' is unused [#no-usage]
175 | }
176 | }
[234/265] Compiling BSON PrimitiveEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:84:33: warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it [#no-usage]
82 | case .document(let document):
83 | document
84 | case .primitive(let primitive):
| `- warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it [#no-usage]
85 | nil
86 | case nil:
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused [#no-usage]
172 | self.document?.appendValue(newValue, forKey: converted(key.stringValue))
173 | } else {
174 | self.document?.removeValue(forKey: converted(key.stringValue))
| `- warning: result of call to 'removeValue(forKey:)' is unused [#no-usage]
175 | }
176 | }
[235/265] Compiling BSON CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:84:33: warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it [#no-usage]
82 | case .document(let document):
83 | document
84 | case .primitive(let primitive):
| `- warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it [#no-usage]
85 | nil
86 | case nil:
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused [#no-usage]
172 | self.document?.appendValue(newValue, forKey: converted(key.stringValue))
173 | } else {
174 | self.document?.removeValue(forKey: converted(key.stringValue))
| `- warning: result of call to 'removeValue(forKey:)' is unused [#no-usage]
175 | }
176 | }
[236/265] Compiling BSON Document+Equatable.swift
[237/265] Compiling BSON Document+Helpers.swift
[238/265] Compiling BSON Document+Mutations.swift
[239/265] Compiling BSON Document+Serialization.swift
[240/265] Compiling BSON Document+Subscripts.swift
[241/265] Compiling BSON Document+Validation.swift
[242/265] Compiling BSON Document.swift
[243/265] Compiling BSON DocumentSlice.swift
[244/265] Compiling BSON ByteBuffer+Helpers.swift
[245/265] Compiling BSON AnyPrimitive.swift
[246/265] Compiling BSON Binary.swift
[247/265] Compiling BSON Decimal128.swift
[248/265] Compiling BSON JavaScript.swift
[249/265] Compiling BSON Null.swift
[250/265] Compiling BSON ObjectId.swift
[251/265] Compiling BSON Optional.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:46:54: warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'Foundation'
44 | }
45 |
46 | extension Data: BSONPrimitiveConvertible, @unchecked Sendable {
| `- warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'Foundation'
47 | init(primitive: Primitive?) throws {
48 | guard let value = primitive, let binary = value as? Binary else {
Foundation.Data:2:23: note: 'Data' declares conformance to protocol 'Sendable' here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
| `- note: 'Data' declares conformance to protocol 'Sendable' here
3 | public typealias Index = Int
4 | public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:202:39: warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'Foundation'
200 |
201 | extension Int32: Primitive {}
202 | extension Date: Primitive, @unchecked Sendable {}
| `- warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'Foundation'
203 |
204 | #if (arch(i386) || arch(arm)) && BSONInt64Primitive
Foundation.Date:2:15: note: 'Date' declares conformance to protocol 'Sendable' here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct Date : Comparable, Hashable, Equatable, Sendable {
| `- note: 'Date' declares conformance to protocol 'Sendable' here
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
4 | public static var timeIntervalSinceReferenceDate: TimeInterval { get }
[252/265] Compiling BSON PrimitiveConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:46:54: warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'Foundation'
44 | }
45 |
46 | extension Data: BSONPrimitiveConvertible, @unchecked Sendable {
| `- warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'Foundation'
47 | init(primitive: Primitive?) throws {
48 | guard let value = primitive, let binary = value as? Binary else {
Foundation.Data:2:23: note: 'Data' declares conformance to protocol 'Sendable' here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
| `- note: 'Data' declares conformance to protocol 'Sendable' here
3 | public typealias Index = Int
4 | public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:202:39: warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'Foundation'
200 |
201 | extension Int32: Primitive {}
202 | extension Date: Primitive, @unchecked Sendable {}
| `- warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'Foundation'
203 |
204 | #if (arch(i386) || arch(arm)) && BSONInt64Primitive
Foundation.Date:2:15: note: 'Date' declares conformance to protocol 'Sendable' here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct Date : Comparable, Hashable, Equatable, Sendable {
| `- note: 'Date' declares conformance to protocol 'Sendable' here
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
4 | public static var timeIntervalSinceReferenceDate: TimeInterval { get }
[253/265] Compiling BSON Primitives.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:46:54: warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'Foundation'
44 | }
45 |
46 | extension Data: BSONPrimitiveConvertible, @unchecked Sendable {
| `- warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'Foundation'
47 | init(primitive: Primitive?) throws {
48 | guard let value = primitive, let binary = value as? Binary else {
Foundation.Data:2:23: note: 'Data' declares conformance to protocol 'Sendable' here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | @frozen public struct Data : Equatable, Hashable, RandomAccessCollection, MutableCollection, RangeReplaceableCollection, MutableDataProtocol, ContiguousBytes, Sendable {
| `- note: 'Data' declares conformance to protocol 'Sendable' here
3 | public typealias Index = Int
4 | public typealias Indices = Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:202:39: warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'Foundation'
200 |
201 | extension Int32: Primitive {}
202 | extension Date: Primitive, @unchecked Sendable {}
| `- warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'Foundation'
203 |
204 | #if (arch(i386) || arch(arm)) && BSONInt64Primitive
Foundation.Date:2:15: note: 'Date' declares conformance to protocol 'Sendable' here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public struct Date : Comparable, Hashable, Equatable, Sendable {
| `- note: 'Date' declares conformance to protocol 'Sendable' here
3 | public static let timeIntervalBetween1970AndReferenceDate: Double
4 | public static var timeIntervalSinceReferenceDate: TimeInterval { get }
[254/265] Compiling BSON Codable.swift
[255/265] Compiling BSON BSONDecoder.swift
[256/265] Compiling BSON BSONDecoderSettings.swift
[257/265] Compiling BSON FastBSONDecoder.swift
[258/265] Compiling BSON KeyedBSONDecodingContainer.swift
[259/265] Compiling BSON PrimitiveDecoding.swift
[260/265] Compiling BSON SingleValueBSONDecodingContainer.swift
[261/265] Compiling BSON UnkeyedBSONDecodingContainer.swift
[262/265] Compiling BSON Document+Array.swift
[263/265] Compiling BSON Document+Cache.swift
[264/265] Compiling BSON Document+Collection.swift
[265/265] Compiling BSON Document+Dictionary.swift
Build complete! (12.47s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.46.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "BSON",
"name" : "BSON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "BSON",
"targets" : [
"BSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BSONTests",
"module_type" : "SwiftTarget",
"name" : "BSONTests",
"path" : "Tests/BSONTests",
"sources" : [
"BSONCorpusTests.swift",
"BSONDateDecodingTests.swift",
"BSONEncoderTests.swift",
"BSONPublicTests.swift",
"ObjectIdTests.swift"
],
"target_dependencies" : [
"BSON"
],
"type" : "test"
},
{
"c99name" : "BSON",
"module_type" : "SwiftTarget",
"name" : "BSON",
"path" : "Sources/BSON",
"product_dependencies" : [
"NIOCore"
],
"product_memberships" : [
"BSON"
],
"sources" : [
"Codable/Codable.swift",
"Codable/Decoding/BSONDecoder.swift",
"Codable/Decoding/BSONDecoderSettings.swift",
"Codable/Decoding/Fast/FastBSONDecoder.swift",
"Codable/Decoding/KeyedBSONDecodingContainer.swift",
"Codable/Decoding/PrimitiveDecoding.swift",
"Codable/Decoding/SingleValueBSONDecodingContainer.swift",
"Codable/Decoding/UnkeyedBSONDecodingContainer.swift",
"Codable/Encoding/BSONEncoder.swift",
"Codable/Encoding/BSONEncoderStrategies.swift",
"Codable/Encoding/PrimitiveEncoding.swift",
"Debugging/CustomDebugStringConvertible.swift",
"Document/Document+Array.swift",
"Document/Document+Cache.swift",
"Document/Document+Collection.swift",
"Document/Document+Dictionary.swift",
"Document/Document+Equatable.swift",
"Document/Document+Helpers.swift",
"Document/Document+Mutations.swift",
"Document/Document+Serialization.swift",
"Document/Document+Subscripts.swift",
"Document/Document+Validation.swift",
"Document/Document.swift",
"Document/DocumentSlice.swift",
"Helpers/ByteBuffer+Helpers.swift",
"Types/AnyPrimitive.swift",
"Types/Binary.swift",
"Types/Decimal128.swift",
"Types/JavaScript.swift",
"Types/Null.swift",
"Types/ObjectId.swift",
"Types/Optional.swift",
"Types/PrimitiveConvertible.swift",
"Types/Primitives.swift",
"Types/RegularExpression.swift",
"Types/Timestamp.swift",
"Types/TypeIdentifier.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.