Build Information
Successful build of SwiftSnmpKit, reference 0.2.0 (97e749), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 22:12:48 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrellroot/SwiftSnmpKit.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/darrellroot/SwiftSnmpKit
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 97e7493 Updated documentation
Cloned https://github.com/darrellroot/SwiftSnmpKit.git
Revision (git rev-parse @):
97e7493e0030909048fb6a6e09bca51f5a6918cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/darrellroot/SwiftSnmpKit.git at 0.2.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/darrellroot/SwiftSnmpKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/23] Write sources
[5/23] Copying PrivacyInfo.xcprivacy
[12/23] Write swift-version-1EA4D86E10B52AF.txt
[13/23] Write sources
[14/23] Compiling CNIOWASI CNIOWASI.c
[15/23] Compiling CNIOWindows shim.c
[15/23] Compiling CNIOWindows WSAStartup.c
[17/23] Compiling CNIOLinux liburing_shims.c
[18/23] Compiling CNIOLinux shim.c
[19/112] Compiling _AtomicsShims.c
[20/228] Compiling CNIODarwin shim.c
[22/228] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/229] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[24/229] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/229] Compiling InternalCollectionsUtilities Descriptions.swift
[26/229] Compiling InternalCollectionsUtilities Debugging.swift
[27/229] Emitting module InternalCollectionsUtilities
[28/229] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/229] Compiling _NIODataStructures _TinyArray.swift
[30/229] Compiling Atomics OptionalRawRepresentable.swift
[31/229] Compiling Atomics RawRepresentable.swift
[32/229] Compiling _NIOBase64 Base64.swift
[33/229] Emitting module _NIOBase64
[34/229] Compiling Atomics AtomicInteger.swift
[35/229] Compiling Atomics AtomicOptionalWrappable.swift
[36/229] Compiling Atomics AtomicBool.swift
[37/229] Compiling Atomics IntegerConformances.swift
[38/229] Compiling Atomics AtomicReference.swift
[39/229] Compiling Atomics AtomicStorage.swift
[40/229] Compiling Atomics UnsafeAtomicLazyReference.swift
[41/229] Compiling Atomics IntegerOperations.swift
[42/229] Compiling Atomics AtomicValue.swift
[43/229] Compiling Atomics AtomicMemoryOrderings.swift
[44/229] Compiling Atomics ManagedAtomicLazyReference.swift
[45/229] Compiling Atomics UnsafeAtomic.swift
[46/230] Compiling _NIODataStructures PriorityQueue.swift
[47/230] Emitting module _NIODataStructures
[48/230] Compiling _NIODataStructures Heap.swift
[49/230] Compiling Atomics DoubleWord.swift
[50/230] Compiling Atomics ManagedAtomic.swift
[55/246] Compiling DequeModule _DequeBufferHeader.swift
[56/246] Compiling DequeModule _DequeSlot.swift
[57/246] Compiling Atomics Unmanaged extensions.swift
[58/246] Compiling DequeModule _DequeBuffer.swift
[59/247] Compiling DequeModule _UnsafeWrappedBuffer.swift
[60/247] Compiling DequeModule Deque._UnsafeHandle.swift
[61/247] Compiling DequeModule Deque.swift
[62/247] Compiling DequeModule Deque+Equatable.swift
[63/247] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[64/247] Compiling DequeModule Deque+Codable.swift
[65/247] Compiling DequeModule Deque+Collection.swift
[66/247] Emitting module Atomics
[67/247] Compiling DequeModule Deque+CustomReflectable.swift
[68/247] Compiling DequeModule Deque+Descriptions.swift
[69/247] Compiling DequeModule Deque+Testing.swift
[70/247] Compiling DequeModule Deque._Storage.swift
[73/247] Compiling DequeModule Deque+Extras.swift
[74/247] Compiling DequeModule Deque+Hashable.swift
[79/247] Emitting module DequeModule
[79/247] Compiling c-nioatomics.c
[80/247] Compiling c-atomics.c
[82/253] Emitting module Crypto
[83/259] Emitting module NIOConcurrencyHelpers
[84/259] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[85/259] Compiling NIOConcurrencyHelpers NIOLock.swift
[86/259] Compiling NIOConcurrencyHelpers atomics.swift
[87/259] Compiling NIOConcurrencyHelpers lock.swift
[88/259] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[89/321] Compiling NIOCore SocketAddresses.swift
[90/321] Compiling NIOCore ByteBuffer-core.swift
[91/321] Compiling NIOCore ByteBuffer-hex.swift
[92/321] Compiling NIOCore ByteBuffer-int.swift
[93/321] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[94/321] Compiling NIOCore ByteBuffer-multi-int.swift
[95/321] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[96/321] Compiling NIOCore ByteBuffer-views.swift
[97/321] Compiling NIOCore AddressedEnvelope.swift
[98/321] Compiling NIOCore AsyncAwaitSupport.swift
[99/321] Compiling NIOCore AsyncChannel.swift
[100/321] Compiling NIOCore AsyncChannelHandler.swift
[101/332] Compiling NIOCore Linux.swift
[102/332] Compiling NIOCore MarkedCircularBuffer.swift
[103/332] Compiling NIOCore MulticastChannel.swift
[104/332] Compiling NIOCore NIOAny.swift
[105/332] Compiling NIOCore NIOCloseOnErrorHandler.swift
[106/332] Compiling NIOCore NIOLoopBound.swift
[107/338] Compiling NIOCore Channel.swift
[108/338] Compiling NIOCore ChannelHandler.swift
[109/338] Compiling NIOCore ChannelHandlers.swift
[110/338] Compiling NIOCore ChannelInvoker.swift
[111/338] Compiling NIOCore ChannelOption.swift
[112/338] Compiling NIOCore ChannelPipeline.swift
[116/338] Compiling NIOCore AsyncChannelInboundStream.swift
[117/338] Compiling NIOCore AsyncChannelOutboundWriter.swift
[118/338] Compiling NIOCore NIOAsyncSequenceProducer.swift
[119/338] Compiling NIOCore GlobalSingletons.swift
[120/338] Compiling NIOCore CircularBuffer.swift
[127/338] Compiling NIOCore Codec.swift
[128/338] Compiling NIOCore ConvenienceOptionSupport.swift
[129/338] Compiling NIOCore DeadChannel.swift
[130/338] Compiling NIOCore DispatchQueue+WithFuture.swift
[131/338] Compiling NIOCore EventLoop+Deprecated.swift
[132/338] Compiling NIOCore EventLoop+SerialExecutor.swift
[133/338] Compiling NIOCore EventLoop.swift
[134/338] Compiling NIOCore EventLoopFuture+Deprecated.swift
[135/338] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[136/338] Compiling NIOCore EventLoopFuture.swift
[137/338] Compiling NIOCore FileDescriptor.swift
[138/338] Compiling NIOCore FileHandle.swift
[139/338] Compiling NIOCore FileRegion.swift
[140/338] Compiling NIOCore IO.swift
[141/338] Compiling NIOCore IOData.swift
[142/338] Compiling NIOCore IPProtocol.swift
[143/338] Compiling NIOCore IntegerBitPacking.swift
[144/338] Compiling NIOCore IntegerTypes.swift
[145/338] Compiling NIOCore Interfaces.swift
[146/338] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[147/338] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[148/338] Compiling NIOCore NIOScheduledCallback.swift
[149/338] Compiling NIOCore NIOSendable.swift
[150/338] Compiling NIOCore RecvByteBufferAllocator.swift
[151/338] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[161/338] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[162/338] Compiling NIOCore NIOAsyncWriter.swift
[163/338] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[164/338] Compiling NIOCore BSDSocketAPI.swift
[165/338] Compiling NIOCore ByteBuffer-aux.swift
[166/338] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[167/338] Compiling NIOCore ByteBuffer-conversions.swift
[168/338] Compiling NIOCore SocketOptionProvider.swift
[169/338] Compiling NIOCore SystemCallHelpers.swift
[170/338] Compiling NIOCore TimeAmount+Duration.swift
[171/338] Compiling NIOCore TypeAssistedChannelHandler.swift
[172/338] Compiling NIOCore UniversalBootstrapSupport.swift
[173/338] Compiling NIOCore Utilities.swift
[182/338] Compiling CryptoSwift Data+Extension.swift
[183/338] Compiling CryptoSwift HMAC+Foundation.swift
[184/338] Compiling CryptoSwift Rabbit+Foundation.swift
[191/338] Compiling CryptoSwift String+FoundationExtension.swift
[192/338] Compiling CryptoSwift Utils+Foundation.swift
[193/338] Compiling CryptoSwift XChaCha20+Foundation.swift
[194/338] Compiling CryptoSwift Generics.swift
[195/338] Compiling CryptoSwift HKDF.swift
[196/338] Compiling CryptoSwift HMAC.swift
[197/338] Compiling CryptoSwift ISO10126Padding.swift
[198/338] Compiling CryptoSwift ISO78164Padding.swift
[199/338] Compiling CryptoSwift Int+Extension.swift
[200/338] Compiling CryptoSwift MD5.swift
[201/338] Compiling CryptoSwift NoPadding.swift
[237/338] Emitting module CryptoSwift
[238/338] Compiling CryptoSwift String+Extension.swift
[239/338] Compiling CryptoSwift UInt128.swift
[240/338] Compiling CryptoSwift UInt16+Extension.swift
[241/338] Compiling CryptoSwift UInt32+Extension.swift
[242/338] Compiling CryptoSwift UInt64+Extension.swift
[243/338] Compiling CryptoSwift UInt8+Extension.swift
[244/338] Compiling CryptoSwift Updatable.swift
[245/338] Compiling CryptoSwift Utils.swift
[246/338] Compiling CryptoSwift XChaCha20.swift
[247/338] Compiling CryptoSwift ZeroPadding.swift
[248/338] Compiling CryptoSwift resource_bundle_accessor.swift
[296/338] Compiling CryptoSwift RSA+Signature.swift
[297/338] Compiling CryptoSwift RSA.swift
[298/338] Compiling CryptoSwift Rabbit.swift
[299/338] Compiling CryptoSwift SHA1.swift
[300/338] Compiling CryptoSwift SHA2.swift
[301/338] Compiling CryptoSwift SHA3.swift
[302/338] Compiling CryptoSwift Scrypt.swift
[303/338] Compiling CryptoSwift SecureBytes.swift
[304/338] Compiling CryptoSwift Signature.swift
[305/338] Compiling CryptoSwift StreamDecryptor.swift
[306/338] Compiling CryptoSwift StreamEncryptor.swift
[307/338] Compiling CryptoSwift Operators.swift
[308/338] Compiling CryptoSwift DER.swift
[309/338] Compiling CryptoSwift PBKDF1.swift
[310/338] Compiling CryptoSwift PBKDF2.swift
[311/338] Compiling CryptoSwift PKCS1v15.swift
[312/338] Compiling CryptoSwift PKCS5.swift
[313/338] Compiling CryptoSwift PKCS7.swift
[314/338] Compiling CryptoSwift PKCS7Padding.swift
[315/338] Compiling CryptoSwift Padding.swift
[316/338] Compiling CryptoSwift Poly1305.swift
[317/338] Compiling CryptoSwift RSA+Cipher.swift
[338/338] Emitting module NIOCore
[339/386] Compiling NIOPosix Pool.swift
[340/386] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[341/386] Compiling NIOPosix PosixSingletons.swift
[342/386] Compiling NIOPosix RawSocketBootstrap.swift
[343/386] Compiling NIOPosix Resolver.swift
[344/386] Compiling NIOPosix Linux.swift
[345/386] Compiling NIOPosix LinuxCPUSet.swift
[346/386] Compiling NIOPosix LinuxUring.swift
[347/386] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[348/386] Compiling NIOPosix NIOThreadPool.swift
[349/391] Compiling NIOPosix GetaddrinfoResolver.swift
[350/391] Compiling NIOPosix HappyEyeballs.swift
[351/391] Compiling NIOPosix IO.swift
[352/391] Compiling NIOPosix IntegerBitPacking.swift
[353/391] Compiling NIOPosix IntegerTypes.swift
[354/391] Compiling NIOPosix Selectable.swift
[355/391] Compiling NIOPosix SelectableChannel.swift
[356/391] Compiling NIOPosix SelectableEventLoop.swift
[357/391] Compiling NIOPosix SelectorEpoll.swift
[358/391] Compiling NIOPosix SelectorGeneric.swift
[359/391] Compiling NIOPosix SocketProtocols.swift
[360/391] Compiling NIOPosix System.swift
[361/391] Compiling NIOPosix Thread.swift
[362/391] Compiling NIOPosix ThreadPosix.swift
[363/391] Compiling NIOPosix ThreadWindows.swift
[364/391] Compiling NIOPosix UnsafeTransfer.swift
[365/391] Compiling NIOPosix Utilities.swift
[366/391] Compiling NIOPosix VsockAddress.swift
[367/391] Compiling NIOPosix VsockChannelEvents.swift
[368/391] Compiling NIOPosix resource_bundle_accessor.swift
[369/391] Emitting module NIOPosix
[370/391] Compiling NIOPosix SelectorKqueue.swift
[371/391] Compiling NIOPosix SelectorUring.swift
[372/391] Compiling NIOPosix ServerSocket.swift
[373/391] Compiling NIOPosix Socket.swift
[374/391] Compiling NIOPosix SocketChannel.swift
[375/391] Compiling NIOPosix BaseStreamSocketChannel.swift
[376/391] Compiling NIOPosix Bootstrap.swift
[377/391] Compiling NIOPosix ControlMessage.swift
[378/391] Compiling NIOPosix DatagramVectorReadManager.swift
[379/391] Compiling NIOPosix Errors+Any.swift
[380/391] Compiling NIOPosix FileDescriptor.swift
[381/391] Compiling NIOPosix BSDSocketAPICommon.swift
[382/391] Compiling NIOPosix BSDSocketAPIPosix.swift
[383/391] Compiling NIOPosix BSDSocketAPIWindows.swift
[384/391] Compiling NIOPosix BaseSocket.swift
[385/391] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[386/391] Compiling NIOPosix BaseSocketChannel.swift
[387/391] Compiling NIOPosix NonBlockingFileIO.swift
[388/391] Compiling NIOPosix PendingDatagramWritesManager.swift
[389/391] Compiling NIOPosix PendingWritesManager.swift
[390/391] Compiling NIOPosix PipeChannel.swift
[391/391] Compiling NIOPosix PipePair.swift
[392/410] Compiling SwiftSnmpKit SnmpReceiver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:242:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
240 | // attempt #1 (may get engineId)
241 | let result1 = await self.sendV3(host: host, userName: userName, pduType: pduType, oid: oid, authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword)
242 | guard case let .failure(_) = result1 else {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
243 | return result1
244 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:247:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
245 | // attempt #2 (may update time interval)
246 | let result2 = await self.sendV3(host: host, userName: userName, pduType: pduType, oid: oid, authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword)
247 | guard case let .failure(_) = result2 else {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
248 | return result2
249 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:301:19: warning: variable 'snmpMessage' was never mutated; consider changing to 'let' constant
299 | let engineTime = Int(dateInterval.duration)
300 |
301 | guard var snmpMessage = SnmpV3Message(engineId: engineId, userName: userName, type: pduType, variableBindings: [variableBinding], authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword, engineBoots: engineBoots, engineTime: engineTime) else {
| `- warning: variable 'snmpMessage' was never mutated; consider changing to 'let' constant
302 | return .failure(SnmpError.unexpectedSnmpPdu)
303 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:321:19: warning: value 'shared' was defined but never used; consider replacing with boolean test [#no-usage]
319 |
320 | internal func sendData(host: String, port: Int, data: Data) throws {
321 | guard let shared = SnmpSender.shared else {
| `- warning: value 'shared' was defined but never used; consider replacing with boolean test [#no-usage]
322 | throw SnmpError.otherError
323 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:330:13: warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
328 | }
329 | let envelope = AddressedEnvelope(remoteAddress: remoteAddress, data: buffer)
330 | let result = channel.writeAndFlush(envelope)
| `- warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
331 | //try channel.closeFuture.wait()
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[393/410] Compiling SwiftSnmpKit SnmpSender.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:242:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
240 | // attempt #1 (may get engineId)
241 | let result1 = await self.sendV3(host: host, userName: userName, pduType: pduType, oid: oid, authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword)
242 | guard case let .failure(_) = result1 else {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
243 | return result1
244 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:247:20: warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
245 | // attempt #2 (may update time interval)
246 | let result2 = await self.sendV3(host: host, userName: userName, pduType: pduType, oid: oid, authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword)
247 | guard case let .failure(_) = result2 else {
| `- warning: 'let' pattern has no effect; sub-pattern didn't bind any variables
248 | return result2
249 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:301:19: warning: variable 'snmpMessage' was never mutated; consider changing to 'let' constant
299 | let engineTime = Int(dateInterval.duration)
300 |
301 | guard var snmpMessage = SnmpV3Message(engineId: engineId, userName: userName, type: pduType, variableBindings: [variableBinding], authenticationType: authenticationType, authPassword: authPassword, privPassword: privPassword, engineBoots: engineBoots, engineTime: engineTime) else {
| `- warning: variable 'snmpMessage' was never mutated; consider changing to 'let' constant
302 | return .failure(SnmpError.unexpectedSnmpPdu)
303 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:321:19: warning: value 'shared' was defined but never used; consider replacing with boolean test [#no-usage]
319 |
320 | internal func sendData(host: String, port: Int, data: Data) throws {
321 | guard let shared = SnmpSender.shared else {
| `- warning: value 'shared' was defined but never used; consider replacing with boolean test [#no-usage]
322 | throw SnmpError.otherError
323 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:330:13: warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
328 | }
329 | let envelope = AddressedEnvelope(remoteAddress: remoteAddress, data: buffer)
330 | let result = channel.writeAndFlush(envelope)
| `- warning: initialization of immutable value 'result' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
331 | //try channel.closeFuture.wait()
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[394/411] Compiling SwiftSnmpKit SnmpVariableBinding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpVariableBinding.swift:28:13: warning: initialization of immutable value 'nameLength' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
26 | init(data: Data) throws {
27 | let objectName = try AsnValue(data: data)
28 | let nameLength = try AsnValue.pduLength(data: data)
| `- warning: initialization of immutable value 'nameLength' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
29 | guard case .sequence(let sequence) = objectName else {
30 | SnmpError.log("Expected Sequence got \(objectName)")
[395/411] Compiling SwiftSnmpKit SnmpPdu.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[396/411] Compiling SwiftSnmpKit SnmpUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[397/411] Compiling SwiftSnmpKit UInt8+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[398/411] Compiling SwiftSnmpKit VariableBindings+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[399/411] Compiling SwiftSnmpKit SnmpVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[400/411] Compiling SwiftSnmpKit Data+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[401/411] Compiling SwiftSnmpKit AsnData-Protocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[402/411] Compiling SwiftSnmpKit SnmpOid.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[403/411] Compiling SwiftSnmpKit Int+Extensions.swift
[404/411] Compiling SwiftSnmpKit String+Extensions.swift
[405/411] Compiling SwiftSnmpKit SnmpV2Message.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:329:13: warning: immutable value 'authenticationParametersAsn' was never used; consider replacing with '_' or removing it [#no-usage]
327 | /// Outputs the ASN.1 encoding for the security parameters field
328 | private var usmSecurityParametersAsn: AsnValue {
329 | let authenticationParametersAsn: AsnValue
| `- warning: immutable value 'authenticationParametersAsn' was never used; consider replacing with '_' or removing it [#no-usage]
330 | switch self.authenticationType {
331 | case .noAuth:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:470:37: warning: immutable value 'msgAuthenticationParametersData' was never used; consider replacing with '_' or removing it [#no-usage]
468 | // utf8 string decoding should never fail
469 | self.userName = String(data: usernameData, encoding: .utf8)!
470 | guard case .octetString(let msgAuthenticationParametersData) = securityParameters[4] else {
| `- warning: immutable value 'msgAuthenticationParametersData' was never used; consider replacing with '_' or removing it [#no-usage]
471 | SnmpError.log("Expected msgAuthenticationParametersData octetString got \(securityParameters[4])")
472 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:522:37: warning: immutable value 'contextNameData' was never used; consider replacing with '_' or removing it [#no-usage]
520 | return nil
521 | }
522 | guard case .octetString(let contextNameData) = msgData[1] else {
| `- warning: immutable value 'contextNameData' was never used; consider replacing with '_' or removing it [#no-usage]
523 | SnmpError.log("contextName expected octetString got \(msgData[1])")
524 | return nil
[406/411] Compiling SwiftSnmpKit SnmpV3Message.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:329:13: warning: immutable value 'authenticationParametersAsn' was never used; consider replacing with '_' or removing it [#no-usage]
327 | /// Outputs the ASN.1 encoding for the security parameters field
328 | private var usmSecurityParametersAsn: AsnValue {
329 | let authenticationParametersAsn: AsnValue
| `- warning: immutable value 'authenticationParametersAsn' was never used; consider replacing with '_' or removing it [#no-usage]
330 | switch self.authenticationType {
331 | case .noAuth:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:470:37: warning: immutable value 'msgAuthenticationParametersData' was never used; consider replacing with '_' or removing it [#no-usage]
468 | // utf8 string decoding should never fail
469 | self.userName = String(data: usernameData, encoding: .utf8)!
470 | guard case .octetString(let msgAuthenticationParametersData) = securityParameters[4] else {
| `- warning: immutable value 'msgAuthenticationParametersData' was never used; consider replacing with '_' or removing it [#no-usage]
471 | SnmpError.log("Expected msgAuthenticationParametersData octetString got \(securityParameters[4])")
472 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:522:37: warning: immutable value 'contextNameData' was never used; consider replacing with '_' or removing it [#no-usage]
520 | return nil
521 | }
522 | guard case .octetString(let contextNameData) = msgData[1] else {
| `- warning: immutable value 'contextNameData' was never used; consider replacing with '_' or removing it [#no-usage]
523 | SnmpError.log("contextName expected octetString got \(msgData[1])")
524 | return nil
[407/411] Compiling SwiftSnmpKit SnmpPduType.swift
[408/411] Compiling SwiftSnmpKit SnmpV3Authentication.swift
[409/411] Emitting module SwiftSnmpKit
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
[410/411] Compiling SwiftSnmpKit AsnValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:196:18: warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
194 | case .snmpGet(let pdu), .snmpGetNext(let pdu),.snmpResponse(let pdu), .snmpReport(let pdu):
195 | return pdu.asnData
196 | #warning("TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets")
| `- warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
197 | case .counter32(let value):
198 | var counterData = Data(capacity: 6)
[411/411] Compiling SwiftSnmpKit SnmpError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
18 | case endOfContent
19 | case integer(Int64)
20 | #warning("TODO: Fix bitString implementation")
| `- warning: TODO: Fix bitString implementation
21 | case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
22 | case octetString(Data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:196:18: warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
194 | case .snmpGet(let pdu), .snmpGetNext(let pdu),.snmpResponse(let pdu), .snmpReport(let pdu):
195 | return pdu.asnData
196 | #warning("TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets")
| `- warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
197 | case .counter32(let value):
198 | var counterData = Data(capacity: 6)
Build complete! (27.28s)
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
[1/12941] Fetching cryptoswift
[260/28254] Fetching cryptoswift, swift-crypto
[3192/104581] Fetching cryptoswift, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (1.92s)
[59501/89268] Fetching cryptoswift, swift-nio
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (3.63s)
Fetched https://github.com/apple/swift-nio.git from cache (3.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (4.18s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.4 (0.51s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.59s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[127/6233] Fetching swift-atomics, swift-system
[478/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.01s)
[4626/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.59s)
Fetched https://github.com/apple/swift-collections.git from cache (1.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.00s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.48s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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.5.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.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.2.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.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
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift"
}
],
"manifest_display_name" : "SwiftSnmpKit",
"name" : "SwiftSnmpKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftSnmpKit",
"targets" : [
"SwiftSnmpKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftSnmpKitTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSnmpKitTests",
"path" : "Tests/SwiftSnmpKitTests",
"sources" : [
"SnmpAgentTests.swift",
"SnmpV3Tests.swift",
"SwiftSnmpKitTests.swift"
],
"target_dependencies" : [
"SwiftSnmpKit"
],
"type" : "test"
},
{
"c99name" : "SwiftSnmpKit",
"module_type" : "SwiftTarget",
"name" : "SwiftSnmpKit",
"path" : "Sources/SwiftSnmpKit",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"Crypto",
"CryptoSwift"
],
"product_memberships" : [
"SwiftSnmpKit"
],
"sources" : [
"Enumerations/AsnValue.swift",
"Enumerations/SnmpError.swift",
"Enumerations/SnmpPduType.swift",
"Enumerations/SnmpV3Authentication.swift",
"Enumerations/SnmpVersion.swift",
"Extensions/Data+Extensions.swift",
"Extensions/Int+Extensions.swift",
"Extensions/String+Extensions.swift",
"Extensions/UInt8+Extensions.swift",
"Extensions/VariableBindings+Extensions.swift",
"Networking/SnmpReceiver.swift",
"Networking/SnmpSender.swift",
"Protocols/AsnData-Protocol.swift",
"SnmpOid.swift",
"SnmpPdu.swift",
"SnmpUtils.swift",
"SnmpV2Message.swift",
"SnmpV3Message.swift",
"SnmpVariableBinding.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.