Build Information
Successful build of SwiftSnmpKit, reference main (22a673), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 22:13:23 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/darrellroot/SwiftSnmpKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 22a6732 Removing unnecessary protocol conformance.
Cloned https://github.com/darrellroot/SwiftSnmpKit.git
Revision (git rev-parse @):
22a6732b868522c1ed5125803d7bac05be7ea03f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/darrellroot/SwiftSnmpKit.git at main
========================================
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
[2/23] Copying PrivacyInfo.xcprivacy
[2/23] Write sources
[9/23] Copying PrivacyInfo.xcprivacy
[9/23] Write sources
[12/23] Compiling CNIOWindows shim.c
[12/23] Compiling CNIOWindows WSAStartup.c
[14/23] Write sources
[15/23] Write swift-version-1EA4D86E10B52AF.txt
[16/23] Compiling CNIOWASI CNIOWASI.c
[17/23] Compiling CNIOLinux shim.c
[17/23] Compiling CNIOLinux liburing_shims.c
[19/206] Compiling _AtomicsShims.c
[20/228] Compiling CNIODarwin shim.c
[22/228] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[23/229] Compiling InternalCollectionsUtilities Debugging.swift
[24/229] Compiling InternalCollectionsUtilities Descriptions.swift
[25/229] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[26/229] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/229] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[28/229] Emitting module InternalCollectionsUtilities
[29/229] Compiling _NIODataStructures PriorityQueue.swift
[30/229] Compiling _NIODataStructures _TinyArray.swift
[31/229] Emitting module _NIOBase64
[32/229] Compiling _NIOBase64 Base64.swift
[33/229] Compiling Atomics UnsafeAtomicLazyReference.swift
[34/229] Compiling Atomics IntegerOperations.swift
[35/229] Compiling Atomics ManagedAtomicLazyReference.swift
[36/229] Compiling Atomics UnsafeAtomic.swift
[37/230] Compiling Atomics AtomicReference.swift
[38/230] Compiling Atomics AtomicStorage.swift
[39/230] Compiling Atomics AtomicBool.swift
[40/230] Compiling Atomics IntegerConformances.swift
[41/230] Compiling Atomics OptionalRawRepresentable.swift
[42/230] Compiling Atomics RawRepresentable.swift
[43/230] Compiling Atomics AtomicInteger.swift
[44/230] Compiling Atomics AtomicOptionalWrappable.swift
[45/230] Compiling Atomics DoubleWord.swift
[46/230] Compiling Atomics ManagedAtomic.swift
[47/230] Compiling Atomics AtomicValue.swift
[48/230] Compiling Atomics AtomicMemoryOrderings.swift
[49/230] Emitting module _NIODataStructures
[50/230] Compiling _NIODataStructures Heap.swift
[51/230] Compiling Atomics Unmanaged extensions.swift
[52/246] Compiling DequeModule _DequeSlot.swift
[53/246] Compiling DequeModule _DequeBufferHeader.swift
[54/247] Compiling Atomics PointerConformances.swift
[55/247] Compiling Atomics Primitives.native.swift
[56/247] Compiling DequeModule Deque+Extras.swift
[57/247] Compiling DequeModule Deque+Hashable.swift
[58/247] Compiling DequeModule Deque+Testing.swift
[59/247] Compiling DequeModule Deque._Storage.swift
[60/247] Compiling DequeModule Deque+CustomReflectable.swift
[61/247] Compiling DequeModule Deque+Descriptions.swift
[62/247] Compiling DequeModule Deque+Codable.swift
[63/247] Compiling DequeModule Deque+Collection.swift
[64/247] Emitting module Atomics
[65/247] Compiling DequeModule _UnsafeWrappedBuffer.swift
[66/247] Compiling DequeModule Deque+Equatable.swift
[67/247] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[68/247] Compiling DequeModule Deque._UnsafeHandle.swift
[69/247] Compiling DequeModule Deque.swift
[70/247] Compiling DequeModule _DequeBuffer.swift
[77/247] Emitting module DequeModule
[79/247] Compiling c-nioatomics.c
[80/247] Compiling c-atomics.c
[82/253] Compiling NIOConcurrencyHelpers lock.swift
[83/253] Compiling NIOConcurrencyHelpers NIOLock.swift
[84/253] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[85/253] Emitting module NIOConcurrencyHelpers
[86/253] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[87/253] Compiling NIOConcurrencyHelpers atomics.swift
[88/315] Compiling CryptoSwift Cryptor.swift
[89/315] Compiling CryptoSwift Cryptors.swift
[90/315] Compiling CryptoSwift Digest.swift
[91/315] Compiling CryptoSwift DigestType.swift
[92/315] Compiling CryptoSwift AES+Foundation.swift
[93/315] Compiling CryptoSwift Array+Foundation.swift
[94/315] Compiling CryptoSwift Blowfish+Foundation.swift
[95/315] Compiling CryptoSwift ChaCha20+Foundation.swift
[96/315] Compiling CryptoSwift Data+Extension.swift
[97/315] Compiling CryptoSwift HMAC+Foundation.swift
[98/315] Compiling CryptoSwift Rabbit+Foundation.swift
[99/326] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[100/326] Compiling NIOCore NIOScheduledCallback.swift
[101/326] Compiling NIOCore NIOSendable.swift
[102/326] Compiling NIOCore RecvByteBufferAllocator.swift
[103/326] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[104/326] Compiling NIOCore SocketAddresses.swift
[105/326] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[106/326] Compiling NIOCore EventLoopFuture+Deprecated.swift
[107/326] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[108/326] Compiling NIOCore EventLoopFuture.swift
[109/326] Compiling NIOCore FileDescriptor.swift
[110/326] Compiling NIOCore FileHandle.swift
[111/326] Compiling NIOCore FileRegion.swift
[112/332] Emitting module Crypto
[113/332] Compiling NIOCore EventLoop.swift
[114/332] Compiling NIOCore Linux.swift
[115/332] Compiling NIOCore MarkedCircularBuffer.swift
[116/332] Compiling NIOCore MulticastChannel.swift
[117/332] Compiling NIOCore NIOAny.swift
[118/332] Compiling NIOCore NIOCloseOnErrorHandler.swift
[119/332] Compiling NIOCore NIOLoopBound.swift
[120/332] Compiling NIOCore Channel.swift
[121/332] Compiling NIOCore ChannelHandler.swift
[122/332] Compiling NIOCore ChannelHandlers.swift
[123/332] Compiling NIOCore ChannelInvoker.swift
[124/332] Compiling NIOCore ChannelOption.swift
[125/332] Compiling NIOCore ChannelPipeline.swift
[126/332] Compiling NIOCore CircularBuffer.swift
[127/332] Compiling NIOCore ByteBuffer-core.swift
[128/332] Compiling NIOCore ByteBuffer-hex.swift
[129/332] Compiling NIOCore ByteBuffer-int.swift
[130/332] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[131/332] Compiling NIOCore ByteBuffer-multi-int.swift
[132/332] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[133/332] Compiling NIOCore ByteBuffer-views.swift
[134/332] Compiling NIOCore Codec.swift
[135/332] Compiling NIOCore ConvenienceOptionSupport.swift
[136/332] Compiling NIOCore DeadChannel.swift
[137/332] Compiling NIOCore DispatchQueue+WithFuture.swift
[138/332] Compiling NIOCore EventLoop+Deprecated.swift
[139/332] Compiling NIOCore EventLoop+SerialExecutor.swift
[140/332] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[141/332] Compiling NIOCore NIOAsyncWriter.swift
[142/332] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[143/332] Compiling NIOCore BSDSocketAPI.swift
[144/332] Compiling NIOCore ByteBuffer-aux.swift
[145/332] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[146/332] Compiling NIOCore ByteBuffer-conversions.swift
[147/332] Compiling NIOCore GlobalSingletons.swift
[148/332] Compiling NIOCore IO.swift
[149/332] Compiling NIOCore IOData.swift
[150/332] Compiling NIOCore IPProtocol.swift
[151/332] Compiling NIOCore IntegerBitPacking.swift
[152/332] Compiling NIOCore IntegerTypes.swift
[153/332] Compiling NIOCore Interfaces.swift
[154/332] Compiling NIOCore AddressedEnvelope.swift
[155/332] Compiling NIOCore AsyncAwaitSupport.swift
[156/332] Compiling NIOCore AsyncChannel.swift
[157/332] Compiling NIOCore AsyncChannelHandler.swift
[158/332] Compiling NIOCore AsyncChannelInboundStream.swift
[159/332] Compiling NIOCore AsyncChannelOutboundWriter.swift
[160/332] Compiling NIOCore NIOAsyncSequenceProducer.swift
[172/332] Compiling Crypto SafeCompare_boring.swift
[173/332] Compiling Crypto Zeroization_boring.swift
[174/332] Compiling Crypto PrettyBytes.swift
[175/332] Compiling Crypto SafeCompare.swift
[176/332] Compiling Crypto SecureBytes.swift
[177/332] Compiling Crypto Zeroization.swift
[185/338] Compiling CryptoSwift Shifts.swift
[186/338] Compiling CryptoSwift SquareRoot.swift
[187/338] Compiling CryptoSwift Strideable.swift
[188/338] Compiling CryptoSwift StringConversion.swift
[189/338] Compiling CryptoSwift Subtraction.swift
[190/338] Compiling CryptoSwift WordsAndBits.swift
[191/338] Compiling CryptoSwift ChaCha20.swift
[192/338] Compiling CryptoSwift Checksum.swift
[193/338] Compiling CryptoSwift Cipher.swift
[194/338] Compiling CryptoSwift Collection+Extension.swift
[195/338] Compiling CryptoSwift CompactMap.swift
[203/338] Compiling NIOCore SocketOptionProvider.swift
[204/338] Compiling NIOCore SystemCallHelpers.swift
[205/338] Compiling NIOCore TimeAmount+Duration.swift
[206/338] Compiling NIOCore TypeAssistedChannelHandler.swift
[207/338] Compiling NIOCore UniversalBootstrapSupport.swift
[208/338] Compiling NIOCore Utilities.swift
[260/338] Compiling CryptoSwift String+Extension.swift
[261/338] Compiling CryptoSwift UInt128.swift
[262/338] Compiling CryptoSwift UInt16+Extension.swift
[263/338] Compiling CryptoSwift UInt32+Extension.swift
[264/338] Compiling CryptoSwift UInt64+Extension.swift
[265/338] Compiling CryptoSwift UInt8+Extension.swift
[266/338] Compiling CryptoSwift Updatable.swift
[267/338] Compiling CryptoSwift Utils.swift
[268/338] Compiling CryptoSwift XChaCha20.swift
[269/338] Compiling CryptoSwift ZeroPadding.swift
[270/338] Compiling CryptoSwift resource_bundle_accessor.swift
[271/338] Emitting module CryptoSwift
[293/338] Compiling CryptoSwift Multiplication.swift
[294/338] Compiling CryptoSwift PrimeTest.swift
[295/338] Compiling CryptoSwift Random.swift
[307/338] Compiling CryptoSwift RSA+Signature.swift
[308/338] Compiling CryptoSwift RSA.swift
[309/338] Compiling CryptoSwift Rabbit.swift
[310/338] Compiling CryptoSwift SHA1.swift
[311/338] Compiling CryptoSwift SHA2.swift
[312/338] Compiling CryptoSwift SHA3.swift
[313/338] Compiling CryptoSwift Scrypt.swift
[314/338] Compiling CryptoSwift SecureBytes.swift
[315/338] Compiling CryptoSwift Signature.swift
[316/338] Compiling CryptoSwift StreamDecryptor.swift
[317/338] Compiling CryptoSwift StreamEncryptor.swift
[338/338] Emitting module NIOCore
[339/386] Compiling NIOPosix Linux.swift
[340/386] Compiling NIOPosix LinuxCPUSet.swift
[341/386] Compiling NIOPosix LinuxUring.swift
[342/386] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[343/386] Compiling NIOPosix NIOThreadPool.swift
[344/391] Compiling NIOPosix GetaddrinfoResolver.swift
[345/391] Compiling NIOPosix HappyEyeballs.swift
[346/391] Compiling NIOPosix IO.swift
[347/391] Compiling NIOPosix IntegerBitPacking.swift
[348/391] Compiling NIOPosix IntegerTypes.swift
[349/391] Compiling NIOPosix Selectable.swift
[350/391] Compiling NIOPosix SelectableChannel.swift
[351/391] Compiling NIOPosix SelectableEventLoop.swift
[352/391] Compiling NIOPosix SelectorEpoll.swift
[353/391] Compiling NIOPosix SelectorGeneric.swift
[354/391] Compiling NIOPosix UnsafeTransfer.swift
[355/391] Compiling NIOPosix Utilities.swift
[356/391] Compiling NIOPosix VsockAddress.swift
[357/391] Compiling NIOPosix VsockChannelEvents.swift
[358/391] Compiling NIOPosix resource_bundle_accessor.swift
[359/391] Emitting module NIOPosix
[360/391] Compiling NIOPosix BSDSocketAPICommon.swift
[361/391] Compiling NIOPosix BSDSocketAPIPosix.swift
[362/391] Compiling NIOPosix BSDSocketAPIWindows.swift
[363/391] Compiling NIOPosix BaseSocket.swift
[364/391] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[365/391] Compiling NIOPosix BaseSocketChannel.swift
[366/391] Compiling NIOPosix SocketProtocols.swift
[367/391] Compiling NIOPosix System.swift
[368/391] Compiling NIOPosix Thread.swift
[369/391] Compiling NIOPosix ThreadPosix.swift
[370/391] Compiling NIOPosix ThreadWindows.swift
[371/391] Compiling NIOPosix BaseStreamSocketChannel.swift
[372/391] Compiling NIOPosix Bootstrap.swift
[373/391] Compiling NIOPosix ControlMessage.swift
[374/391] Compiling NIOPosix DatagramVectorReadManager.swift
[375/391] Compiling NIOPosix Errors+Any.swift
[376/391] Compiling NIOPosix FileDescriptor.swift
[377/391] Compiling NIOPosix Pool.swift
[378/391] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[379/391] Compiling NIOPosix PosixSingletons.swift
[380/391] Compiling NIOPosix RawSocketBootstrap.swift
[381/391] Compiling NIOPosix Resolver.swift
[382/391] Compiling NIOPosix SelectorKqueue.swift
[383/391] Compiling NIOPosix SelectorUring.swift
[384/391] Compiling NIOPosix ServerSocket.swift
[385/391] Compiling NIOPosix Socket.swift
[386/391] Compiling NIOPosix SocketChannel.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 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)
[393/410] 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)
[394/411] Compiling SwiftSnmpKit Int+Extensions.swift
[395/411] Compiling SwiftSnmpKit String+Extensions.swift
[396/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)
[397/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)
[398/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)")
[399/411] 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)
[400/411] 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)
[401/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)
[402/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)
[403/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)
[404/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)
[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! (26.60s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/12941] Fetching cryptoswift
[131/28254] Fetching cryptoswift, swift-crypto
[4570/104581] Fetching cryptoswift, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (1.82s)
[52632/89268] Fetching cryptoswift, swift-nio
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (3.65s)
Fetched https://github.com/apple/swift-nio.git from cache (3.65s)
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.46s)
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-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[73/6233] Fetching swift-atomics, swift-system
[1438/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.00s)
[5268/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.76s)
Fetched https://github.com/apple/swift-system.git from cache (1.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.20s)
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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-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-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-collections.git
Working copy of https://github.com/apple/swift-collections.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.5.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.