Build Information
Successful build of SwiftSnmpKit, reference 0.2.0 (97e749
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 15:49:02 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.57.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
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/apple/swift-crypto.git
[1/12703] Fetching cryptoswift
[129/23231] Fetching cryptoswift, swift-crypto
[3381/94573] Fetching cryptoswift, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (1.85s)
[39100/84045] Fetching cryptoswift, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.00s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (4.00s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.69s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.3 (0.66s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.72s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[49/5470] Fetching swift-atomics, swift-system
[1160/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.06s)
[2498/17044] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.82s)
Fetched https://github.com/apple/swift-collections.git from cache (1.82s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.75s)
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/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
========================================
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": "swiftsnmpkit",
"name": "SwiftSnmpKit",
"url": "https://github.com/darrellroot/SwiftSnmpKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSnmpKit",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.76.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.2.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.1.4",
"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.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
},
{
"identity": "swift-crypto",
"name": "swift-crypto",
"url": "https://github.com/apple/swift-crypto.git",
"version": "2.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
"dependencies": [
]
},
{
"identity": "cryptoswift",
"name": "CryptoSwift",
"url": "https://github.com/krzyzanowskim/CryptoSwift",
"version": "1.8.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoSwift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/darrellroot/SwiftSnmpKit.git
[1/965] Fetching swiftsnmpkit
Fetched https://github.com/darrellroot/SwiftSnmpKit.git from cache (0.81s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetching https://github.com/krzyzanowskim/CryptoSwift from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-crypto.git from cache (0.64s)
Fetched https://github.com/apple/swift-nio.git from cache (0.78s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (0.78s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.03s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.3 (0.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.59s)
Fetched https://github.com/apple/swift-collections.git from cache (0.59s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.59s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/darrellroot/SwiftSnmpKit.git
Working copy of https://github.com/darrellroot/SwiftSnmpKit.git resolved at 0.2.0 (97e7493)
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/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
warning: '.resolve-product-dependencies': dependency 'swiftsnmpkit' is not used by any target
Found 3 product dependencies
- swift-nio
- swift-crypto
- CryptoSwift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/darrellroot/SwiftSnmpKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/23] Write sources
[7/23] Copying PrivacyInfo.xcprivacy
[9/23] Write sources
[11/23] Copying PrivacyInfo.xcprivacy
[12/23] Compiling CNIOWASI CNIOWASI.c
[12/23] Compiling CNIOWindows WSAStartup.c
[14/23] Compiling CNIOWindows shim.c
[15/23] Write sources
[16/23] Write swift-version--7754E27361AE5C74.txt
[17/23] Compiling CNIOLinux liburing_shims.c
[18/23] Compiling CNIOLinux shim.c
[19/44] Compiling _AtomicsShims.c
[20/232] Compiling CNIODarwin shim.c
[21/232] Compiling c-nioatomics.c
[23/232] Emitting module Crypto
[23/238] Compiling c-atomics.c
[25/244] Compiling Atomics UnsafeAtomic.swift
[26/244] Compiling Atomics UnsafeAtomicLazyReference.swift
[27/245] Compiling Atomics ManagedAtomic.swift
[28/245] Compiling Atomics ManagedAtomicLazyReference.swift
[29/245] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[30/245] Compiling Atomics AtomicMemoryOrderings.swift
[31/245] Compiling Atomics DoubleWord.swift
[32/245] Emitting module _NIOBase64
[33/245] Compiling _NIOBase64 Base64.swift
[34/245] Emitting module InternalCollectionsUtilities
[35/245] Compiling Atomics PointerConformances.swift
[36/245] Compiling Atomics Primitives.native.swift
[43/247] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[44/247] Compiling Atomics AtomicStorage.swift
[45/247] Compiling Atomics AtomicValue.swift
[46/247] Compiling Atomics IntegerOperations.swift
[47/247] Compiling Atomics Unmanaged extensions.swift
[50/247] Compiling Atomics OptionalRawRepresentable.swift
[51/247] Compiling Atomics RawRepresentable.swift
[52/247] Compiling Atomics AtomicOptionalWrappable.swift
[53/247] Compiling Atomics AtomicReference.swift
[54/247] Compiling Atomics AtomicBool.swift
[55/247] Compiling Atomics IntegerConformances.swift
[56/263] Compiling _NIODataStructures _TinyArray.swift
[57/263] Compiling _NIODataStructures PriorityQueue.swift
[58/263] Compiling DequeModule _DequeSlot.swift
[59/264] Emitting module _NIODataStructures
[60/264] Compiling _NIODataStructures Heap.swift
[61/264] Compiling DequeModule _UnsafeWrappedBuffer.swift
[62/264] Compiling Atomics Primitives.shims.swift
[63/264] Compiling Atomics AtomicInteger.swift
[64/264] Compiling DequeModule Deque+Equatable.swift
[65/264] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[66/264] Compiling DequeModule Deque._UnsafeHandle.swift
[67/264] Compiling DequeModule Deque.swift
[68/264] Compiling DequeModule _DequeBuffer.swift
[69/264] Compiling DequeModule _DequeBufferHeader.swift
[70/264] Compiling DequeModule Deque+Testing.swift
[71/264] Compiling DequeModule Deque._Storage.swift
[72/264] Compiling DequeModule Deque+Extras.swift
[73/264] Compiling DequeModule Deque+Hashable.swift
[78/264] Compiling DequeModule Deque+CustomReflectable.swift
[79/264] Compiling DequeModule Deque+Descriptions.swift
[80/264] Compiling DequeModule Deque+Codable.swift
[81/264] Compiling DequeModule Deque+Collection.swift
[82/264] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[83/264] Compiling NIOConcurrencyHelpers NIOLock.swift
[84/264] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[85/264] Emitting module NIOConcurrencyHelpers
[86/264] Compiling NIOConcurrencyHelpers atomics.swift
[87/264] Compiling NIOConcurrencyHelpers lock.swift
[88/264] Emitting module DequeModule
[91/264] Emitting module Atomics
[94/326] Compiling NIOCore AsyncChannelOutboundWriter.swift
[95/326] Compiling NIOCore NIOAsyncSequenceProducer.swift
[96/326] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[97/326] Compiling NIOCore NIOAsyncWriter.swift
[98/326] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[99/326] Compiling NIOCore BSDSocketAPI.swift
[100/326] Compiling NIOCore ByteBuffer-aux.swift
[101/326] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[102/326] Compiling NIOCore ByteBuffer-conversions.swift
[103/326] Compiling NIOCore Channel.swift
[104/326] Compiling NIOCore ChannelHandler.swift
[105/326] Compiling NIOCore ChannelHandlers.swift
[106/337] Emitting module CryptoSwift
[107/337] Compiling NIOCore ChannelInvoker.swift
[108/337] Compiling NIOCore ChannelOption.swift
[109/337] Compiling NIOCore ChannelPipeline.swift
[110/337] Compiling NIOCore CircularBuffer.swift
[111/337] Compiling NIOCore NIOScheduledCallback.swift
[112/337] Compiling NIOCore NIOSendable.swift
[113/337] Compiling NIOCore PointerHelpers.swift
[114/337] Compiling NIOCore RecvByteBufferAllocator.swift
[115/337] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[116/337] Compiling NIOCore SocketAddresses.swift
[117/337] Compiling NIOCore Linux.swift
[118/337] Compiling NIOCore MarkedCircularBuffer.swift
[119/337] Compiling NIOCore EventLoop+SerialExecutor.swift
[120/337] Compiling NIOCore EventLoop.swift
[121/337] Compiling Crypto SafeCompare_boring.swift
[122/337] Compiling Crypto Zeroization_boring.swift
[123/337] Compiling Crypto PrettyBytes.swift
[124/337] Compiling Crypto SafeCompare.swift
[125/337] Compiling Crypto SecureBytes.swift
[126/337] Compiling Crypto Zeroization.swift
[127/337] Compiling CryptoSwift Cipher.swift
[128/337] Compiling CryptoSwift Collection+Extension.swift
[129/337] Compiling CryptoSwift CompactMap.swift
[130/337] Compiling NIOCore IO.swift
[131/337] Compiling NIOCore IOData.swift
[132/337] Compiling NIOCore IPProtocol.swift
[133/337] Compiling NIOCore IntegerBitPacking.swift
[134/337] Compiling NIOCore IntegerTypes.swift
[135/337] Compiling NIOCore Interfaces.swift
[136/337] Compiling NIOCore Codec.swift
[137/337] Compiling NIOCore ConvenienceOptionSupport.swift
[138/337] Compiling NIOCore DeadChannel.swift
[139/337] Compiling NIOCore DispatchQueue+WithFuture.swift
[140/337] Compiling NIOCore EventLoop+Deprecated.swift
[141/337] Compiling NIOCore MulticastChannel.swift
[142/337] Compiling NIOCore NIOAny.swift
[143/337] Compiling NIOCore NIOCloseOnErrorHandler.swift
[144/337] Compiling NIOCore NIOLoopBound.swift
[145/337] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[146/337] Compiling NIOCore EventLoopFuture+Deprecated.swift
[147/337] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[148/337] Compiling NIOCore EventLoopFuture.swift
[149/337] Compiling NIOCore FileDescriptor.swift
[150/337] Compiling NIOCore FileHandle.swift
[151/337] Compiling NIOCore FileRegion.swift
[152/337] Compiling NIOCore GlobalSingletons.swift
[153/337] Compiling NIOCore AddressedEnvelope.swift
[154/337] Compiling NIOCore AsyncAwaitSupport.swift
[155/337] Compiling NIOCore AsyncChannel.swift
[156/337] Compiling NIOCore AsyncChannelHandler.swift
[157/337] Compiling NIOCore AsyncChannelInboundStream.swift
[160/337] Compiling NIOCore ByteBuffer-core.swift
[161/337] Compiling NIOCore ByteBuffer-hex.swift
[162/337] Compiling NIOCore ByteBuffer-int.swift
[163/337] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[164/337] Compiling NIOCore ByteBuffer-multi-int.swift
[165/337] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[166/337] Compiling NIOCore ByteBuffer-views.swift
[265/343] Compiling CryptoSwift String+FoundationExtension.swift
[266/343] Compiling CryptoSwift Utils+Foundation.swift
[267/343] Compiling CryptoSwift XChaCha20+Foundation.swift
[268/343] Compiling CryptoSwift Generics.swift
[269/343] Compiling CryptoSwift HKDF.swift
[270/343] Compiling CryptoSwift HMAC.swift
[271/343] Compiling CryptoSwift ISO10126Padding.swift
[272/343] Compiling CryptoSwift ISO78164Padding.swift
[273/343] Compiling CryptoSwift Int+Extension.swift
[274/343] Compiling CryptoSwift MD5.swift
[275/343] Compiling CryptoSwift NoPadding.swift
[276/343] Compiling CryptoSwift String+Extension.swift
[277/343] Compiling CryptoSwift UInt128.swift
[278/343] Compiling CryptoSwift UInt16+Extension.swift
[279/343] Compiling CryptoSwift UInt32+Extension.swift
[280/343] Compiling CryptoSwift UInt64+Extension.swift
[281/343] Compiling CryptoSwift UInt8+Extension.swift
[282/343] Compiling CryptoSwift Updatable.swift
[283/343] Compiling CryptoSwift Utils.swift
[284/343] Compiling CryptoSwift XChaCha20.swift
[285/343] Compiling CryptoSwift ZeroPadding.swift
[286/343] Compiling CryptoSwift resource_bundle_accessor.swift
[287/343] Compiling CryptoSwift RSA+Signature.swift
[288/343] Compiling CryptoSwift RSA.swift
[289/343] Compiling CryptoSwift Rabbit.swift
[290/343] Compiling CryptoSwift SHA1.swift
[291/343] Compiling CryptoSwift SHA2.swift
[292/343] Compiling CryptoSwift SHA3.swift
[293/343] Compiling CryptoSwift Scrypt.swift
[294/343] Compiling CryptoSwift SecureBytes.swift
[295/343] Compiling CryptoSwift Signature.swift
[296/343] Compiling CryptoSwift StreamDecryptor.swift
[297/343] Compiling CryptoSwift StreamEncryptor.swift
[298/343] Compiling NIOCore SocketOptionProvider.swift
[299/343] Compiling NIOCore SystemCallHelpers.swift
[300/343] Compiling NIOCore TimeAmount+Duration.swift
[301/343] Compiling NIOCore TypeAssistedChannelHandler.swift
[302/343] Compiling NIOCore UniversalBootstrapSupport.swift
[303/343] Compiling NIOCore Utilities.swift
[304/343] Compiling CryptoSwift Operators.swift
[305/343] Compiling CryptoSwift DER.swift
[306/343] Compiling CryptoSwift PBKDF1.swift
[307/343] Compiling CryptoSwift PBKDF2.swift
[308/343] Compiling CryptoSwift PKCS1v15.swift
[309/343] Compiling CryptoSwift PKCS5.swift
[310/343] Compiling CryptoSwift PKCS7.swift
[311/343] Compiling CryptoSwift PKCS7Padding.swift
[312/343] Compiling CryptoSwift Padding.swift
[313/343] Compiling CryptoSwift Poly1305.swift
[314/343] Compiling CryptoSwift RSA+Cipher.swift
[343/343] Emitting module NIOCore
[344/393] Compiling NIOPosix GetaddrinfoResolver.swift
[345/393] Compiling NIOPosix HappyEyeballs.swift
[346/393] Compiling NIOPosix IO.swift
[347/393] Compiling NIOPosix IntegerBitPacking.swift
[348/393] Compiling NIOPosix IntegerTypes.swift
[349/393] Compiling NIOPosix Linux.swift
[350/398] Compiling NIOPosix SocketProtocols.swift
[351/398] Compiling NIOPosix System.swift
[352/398] Compiling NIOPosix Thread.swift
[353/398] Compiling NIOPosix ThreadPosix.swift
[354/398] Compiling NIOPosix ThreadWindows.swift
[355/398] Compiling NIOPosix UnsafeTransfer.swift
[356/398] Compiling NIOPosix Utilities.swift
[357/398] Compiling NIOPosix VsockAddress.swift
[358/398] Compiling NIOPosix VsockChannelEvents.swift
[359/398] Compiling NIOPosix resource_bundle_accessor.swift
[360/398] Compiling NIOPosix BSDSocketAPICommon.swift
[361/398] Compiling NIOPosix BSDSocketAPIPosix.swift
[362/398] Compiling NIOPosix BSDSocketAPIWindows.swift
[363/398] Compiling NIOPosix BaseSocket.swift
[364/398] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[365/398] Compiling NIOPosix BaseSocketChannel.swift
[366/398] Compiling NIOPosix BaseStreamSocketChannel.swift
[367/398] Compiling NIOPosix Bootstrap.swift
[368/398] Compiling NIOPosix ControlMessage.swift
[369/398] Compiling NIOPosix DatagramVectorReadManager.swift
[370/398] Compiling NIOPosix Errors+Any.swift
[371/398] Compiling NIOPosix FileDescriptor.swift
[372/398] Emitting module NIOPosix
[373/398] Compiling NIOPosix PendingWritesManager.swift
[374/398] Compiling NIOPosix PipeChannel.swift
[375/398] Compiling NIOPosix PipePair.swift
[376/398] Compiling NIOPosix PointerHelpers.swift
[377/398] Compiling NIOPosix Pool.swift
[378/398] Compiling NIOPosix Selectable.swift
[379/398] Compiling NIOPosix SelectableChannel.swift
[380/398] Compiling NIOPosix SelectableEventLoop.swift
[381/398] Compiling NIOPosix SelectorEpoll.swift
[382/398] Compiling NIOPosix SelectorGeneric.swift
[383/398] Compiling NIOPosix SelectorKqueue.swift
[384/398] Compiling NIOPosix SelectorUring.swift
[385/398] Compiling NIOPosix ServerSocket.swift
[386/398] Compiling NIOPosix Socket.swift
[387/398] Compiling NIOPosix SocketChannel.swift
[388/398] Compiling NIOPosix PooledRecvBufferAllocator.swift
[389/398] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[390/398] Compiling NIOPosix PosixSingletons.swift
[391/398] Compiling NIOPosix RawSocketBootstrap.swift
[392/398] Compiling NIOPosix Resolver.swift
[393/398] Compiling NIOPosix LinuxCPUSet.swift
[394/398] Compiling NIOPosix LinuxUring.swift
[395/398] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[396/398] Compiling NIOPosix NIOThreadPool.swift
[397/398] Compiling NIOPosix NonBlockingFileIO.swift
[398/398] Compiling NIOPosix PendingDatagramWritesManager.swift
[399/417] Compiling SwiftSnmpKit SnmpReceiver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:32:23: warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | /// require 3 attempts, so the client-facing timeout may be 3 times
31 | /// this value.
32 | public static var snmpTimeout: UInt64 = 5
| |- warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'snmpTimeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'snmpTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | // maps messageID to decryption key
/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
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
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
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
331 | //try channel.closeFuture.wait()
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:77:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | let requestId = message.requestId
76 | snmpRequests[requestId] = continuation
77 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
78 | SnmpError.debug("task detached starting")
79 | try? await Task.sleep(nanoseconds: SnmpSender.snmpTimeout * 1_000_000_000)
80 | SnmpError.debug("sleep complete")
81 | if let continuation = self.snmpRequests.removeValue(forKey: requestId) {
| `- note: closure captures 'self' which is accessible to code in the current task
82 | continuation.resume(with: .success(.failure(SnmpError.noResponse)))
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:97:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
95 | let requestId = message.messageId
96 | snmpRequests[requestId] = continuation
97 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
98 | SnmpError.debug("task detached starting")
99 | try? await Task.sleep(nanoseconds: SnmpSender.snmpTimeout * 1_000_000_000)
100 | SnmpError.debug("sleep complete")
101 | if let continuation = self.snmpRequests.removeValue(forKey: requestId) {
| `- note: closure captures 'self' which is accessible to code in the current task
102 | continuation.resume(with: .success(.failure(SnmpError.noResponse)))
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:126:22: warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
124 | snmpRequests[message.requestId] = nil
125 | SnmpError.debug("about to continue \(continuation)")
126 | continuation.resume(with: .success(.success(message.variableBindings.first!)))
| `- warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:185:22: warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
183 | snmpRequestToHost[message.messageId] = nil
184 | SnmpError.debug("about to continue \(continuation)")
185 | continuation.resume(with: .success(.success(snmpPdu.variableBindings.first!)))
| `- warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
186 | }
187 |
[400/417] Compiling SwiftSnmpKit SnmpSender.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:32:23: warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | /// require 3 attempts, so the client-facing timeout may be 3 times
31 | /// this value.
32 | public static var snmpTimeout: UInt64 = 5
| |- warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'snmpTimeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'snmpTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | // maps messageID to decryption key
/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
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
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
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
331 | //try channel.closeFuture.wait()
332 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:77:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
75 | let requestId = message.requestId
76 | snmpRequests[requestId] = continuation
77 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
78 | SnmpError.debug("task detached starting")
79 | try? await Task.sleep(nanoseconds: SnmpSender.snmpTimeout * 1_000_000_000)
80 | SnmpError.debug("sleep complete")
81 | if let continuation = self.snmpRequests.removeValue(forKey: requestId) {
| `- note: closure captures 'self' which is accessible to code in the current task
82 | continuation.resume(with: .success(.failure(SnmpError.noResponse)))
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:97:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
95 | let requestId = message.messageId
96 | snmpRequests[requestId] = continuation
97 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
98 | SnmpError.debug("task detached starting")
99 | try? await Task.sleep(nanoseconds: SnmpSender.snmpTimeout * 1_000_000_000)
100 | SnmpError.debug("sleep complete")
101 | if let continuation = self.snmpRequests.removeValue(forKey: requestId) {
| `- note: closure captures 'self' which is accessible to code in the current task
102 | continuation.resume(with: .success(.failure(SnmpError.noResponse)))
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:126:22: warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
124 | snmpRequests[message.requestId] = nil
125 | SnmpError.debug("about to continue \(continuation)")
126 | continuation.resume(with: .success(.success(message.variableBindings.first!)))
| `- warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:185:22: warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
183 | snmpRequestToHost[message.messageId] = nil
184 | SnmpError.debug("about to continue \(continuation)")
185 | continuation.resume(with: .success(.success(snmpPdu.variableBindings.first!)))
| `- warning: task-isolated value of type 'Result<Result<SnmpVariableBinding, any Error>, Never>' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
186 | }
187 |
[401/418] Compiling SwiftSnmpKit UInt8+Extensions.swift
[402/418] Compiling SwiftSnmpKit VariableBindings+Extensions.swift
[403/418] Compiling SwiftSnmpKit SnmpV2Message.swift
/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
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
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
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
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
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
523 | SnmpError.log("contextName expected octetString got \(msgData[1])")
524 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
[404/418] Compiling SwiftSnmpKit SnmpV3Message.swift
/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
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
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
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
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
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
523 | SnmpError.log("contextName expected octetString got \(msgData[1])")
524 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
[405/418] Compiling SwiftSnmpKit AsnData-Protocol.swift
[406/418] Compiling SwiftSnmpKit SnmpOid.swift
[407/418] Compiling SwiftSnmpKit SnmpPdu.swift
[408/418] Compiling SwiftSnmpKit SnmpUtils.swift
[409/418] Compiling SwiftSnmpKit SnmpVariableBinding.swift
/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
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
29 | guard case .sequence(let sequence) = objectName else {
30 | SnmpError.log("Expected Sequence got \(objectName)")
[410/418] Compiling SwiftSnmpKit SnmpVersion.swift
[411/418] Compiling SwiftSnmpKit Data+Extensions.swift
[412/418] 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)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// It maintains several internal state tables to record SNMP
14 | /// EngineIDs, EngineBoots, and BootDates gathered from SNMPv3 reports
15 | public class SnmpSender: ChannelInboundHandler {
| `- note: class 'SnmpSender' does not conform to the 'Sendable' protocol
16 | public typealias InboundIn = AddressedEnvelope<ByteBuffer>
17 |
:
19 | /// This is a singleton for sending and receiving Snmp traffic
20 | /// It is automatically started up by any application that incorporates SnmpKit
21 | public static let shared: SnmpSender? = try? SnmpSender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SnmpSender?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private let group: MultiThreadedEventLoopGroup
23 | private let channel: Channel
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:32:23: warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | /// require 3 attempts, so the client-facing timeout may be 3 times
31 | /// this value.
32 | public static var snmpTimeout: UInt64 = 5
| |- warning: static property 'snmpTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'snmpTimeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'snmpTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | // maps messageID to decryption key
[413/418] Compiling SwiftSnmpKit Int+Extensions.swift
[414/418] Compiling SwiftSnmpKit String+Extensions.swift
[415/418] Compiling SwiftSnmpKit SnmpPduType.swift
[416/418] Compiling SwiftSnmpKit SnmpV3Authentication.swift
[417/418] 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)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
[418/418] 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)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Networking/SnmpSender.swift:27:23: warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | /// Set this to true to print verbose debugging messages
26 | /// See SnmpError.debug()
27 | public static var debug = false
| |- warning: static property 'debug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Global timeout for SnmpRequests in seconds.
29 | /// Must be greater than 0. SNMPv3 send requests sometimes
Build complete! (53.04s)
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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/darrellroot/swiftsnmpkit/0.2.0
Repository: darrellroot/SwiftSnmpKit
Swift version used: 6.0
Target: SwiftSnmpKit
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'SwiftSnmpKit'...
Finished extracting symbol information for 'SwiftSnmpKit'. (10.85s)
Building documentation for 'SwiftSnmpKit'...
warning: Parameter 'tempUserName' not found in instance method declaration
--> ../Networking/SnmpSender.swift:227:13-227:25
225 | /// - Parameters:
226 | /// - host: SNMP hostname, IPv4, or IPv6 address in string format
227 + /// - tempUserName: SNMPv3 agent username
| ╰─suggestion: Replace 'tempUserName' with 'userName'
228 | /// - pduType: SNMP PDU request type
229 | /// - oid: SNMP OID in string format
warning: Parameter 'tempAuthenticationType' not found in instance method declaration
--> ../Networking/SnmpSender.swift:230:13-230:35
228 | /// - pduType: SNMP PDU request type
229 | /// - oid: SNMP OID in string format
230 + /// - tempAuthenticationType: SNMPv3 authentication type
| ╰─suggestion: Replace 'tempAuthenticationType' with 'authenticationType'
231 | /// - tempPassword: SNMPv3 password if needed, or nil
232 | /// - Returns: Result(SnmpVariableBinding or SnmpError)
warning: Parameter 'tempPassword' not found in instance method declaration
--> ../Networking/SnmpSender.swift:231:13-231:25
229 | /// - oid: SNMP OID in string format
230 | /// - tempAuthenticationType: SNMPv3 authentication type
231 + /// - tempPassword: SNMPv3 password if needed, or nil
| ├─suggestion: Replace 'tempPassword' with 'authPassword'
| ╰─suggestion: Replace 'tempPassword' with 'privPassword'
232 | /// - Returns: Result(SnmpVariableBinding or SnmpError)
233 | public func send(host: String, userName: String, pduType: SnmpPduType, oid: String, authenticationType: SnmpV3Authentication = .noAuth, authPassword: String? = nil, privPassword: String? = nil) async -> Result<SnmpVariableBinding,Error> {
warning: Parameter 'userName' is missing documentation
--> ../Networking/SnmpSender.swift:231:60-231:60
229 | /// - oid: SNMP OID in string format
230 | /// - tempAuthenticationType: SNMPv3 authentication type
231 + /// - tempPassword: SNMPv3 password if needed, or nil
232 | /// - Returns: Result(SnmpVariableBinding or SnmpError)
233 | public func send(host: String, userName: String, pduType: SnmpPduType, oid: String, authenticationType: SnmpV3Authentication = .noAuth, authPassword: String? = nil, privPassword: String? = nil) async -> Result<SnmpVariableBinding,Error> {
warning: Parameter 'privPassword' is missing documentation
--> ../Networking/SnmpSender.swift:231:60-231:60
229 | /// - oid: SNMP OID in string format
230 | /// - tempAuthenticationType: SNMPv3 authentication type
231 + /// - tempPassword: SNMPv3 password if needed, or nil
| ╰─suggestion: Document 'privPassword' parameter
232 | /// - Returns: Result(SnmpVariableBinding or SnmpError)
233 | public func send(host: String, userName: String, pduType: SnmpPduType, oid: String, authenticationType: SnmpV3Authentication = .noAuth, authPassword: String? = nil, privPassword: String? = nil) async -> Result<SnmpVariableBinding,Error> {
warning: Parameter 'authenticationType' is missing documentation
--> ../Networking/SnmpSender.swift:231:60-231:60
229 | /// - oid: SNMP OID in string format
230 | /// - tempAuthenticationType: SNMPv3 authentication type
231 + /// - tempPassword: SNMPv3 password if needed, or nil
| ╰─suggestion: Document 'authenticationType' parameter
232 | /// - Returns: Result(SnmpVariableBinding or SnmpError)
233 | public func send(host: String, userName: String, pduType: SnmpPduType, oid: String, authenticationType: SnmpV3Authentication = .noAuth, authPassword: String? = nil, privPassword: String? = nil) async -> Result<SnmpVariableBinding,Error> {
warning: Parameter 'authPassword' is missing documentation
--> ../Networking/SnmpSender.swift:231:60-231:60
229 | /// - oid: SNMP OID in string format
230 | /// - tempAuthenticationType: SNMPv3 authentication type
231 + /// - tempPassword: SNMPv3 password if needed, or nil
| ╰─suggestion: Document 'authPassword' parameter
232 | /// - Returns: Result(SnmpVariableBinding or SnmpError)
233 | public func send(host: String, userName: String, pduType: SnmpPduType, oid: String, authenticationType: SnmpV3Authentication = .noAuth, authPassword: String? = nil, privPassword: String? = nil) async -> Result<SnmpVariableBinding,Error> {Finished building documentation for 'SwiftSnmpKit' (0.17s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/darrellroot/swiftsnmpkit/0.2.0
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/krzyzanowskim/CryptoSwift
Updating https://github.com/apple/swift-nio.git
Updated https://github.com/krzyzanowskim/CryptoSwift (0.61s)
[1/2038] Fetching swift-docc-plugin
Updated https://github.com/apple/swift-nio.git (0.73s)
Updating https://github.com/apple/swift-atomics.git
Updating https://github.com/apple/swift-system.git
Updating https://github.com/apple/swift-collections.git
Updating https://github.com/apple/swift-crypto.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.30s)
Updated https://github.com/apple/swift-crypto.git (0.58s)
Updated https://github.com/apple/swift-atomics.git (0.58s)
Updated https://github.com/apple/swift-system.git (0.58s)
Updated https://github.com/apple/swift-collections.git (0.58s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.3 (0.64s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.63s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.72s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.65s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Emitting module SymbolKit
[11/57] Compiling SymbolKit DeclarationFragments.swift
[12/57] Compiling SymbolKit Fragment.swift
[13/57] Compiling SymbolKit FragmentKind.swift
[14/57] Compiling SymbolKit FunctionParameter.swift
[15/57] Compiling SymbolKit FunctionSignature.swift
[16/57] Compiling SymbolKit Names.swift
[17/57] Compiling SymbolKit SPI.swift
[18/57] Compiling SymbolKit Snippet.swift
[19/57] Compiling SymbolKit Extension.swift
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.swift
[25/57] Compiling SymbolKit Identifier.swift
[26/57] Compiling SymbolKit KindIdentifier.swift
[27/57] Compiling SymbolKit Location.swift
[28/57] Compiling SymbolKit Mutability.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit SemanticVersion.swift
[40/57] Compiling SymbolKit AccessControl.swift
[41/57] Compiling SymbolKit Availability.swift
[42/57] Compiling SymbolKit AvailabilityItem.swift
[43/57] Compiling SymbolKit Domain.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (5.02s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/216] Compiling CryptoSwift AEAD.swift
[3/216] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[4/217] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[5/217] Compiling CryptoSwift Codable.swift
[6/217] Compiling CryptoSwift Comparable.swift
[7/217] Compiling CryptoSwift DataConversion.swift
[8/217] Compiling CryptoSwift Division.swift
[9/217] Compiling CryptoSwift Authenticator.swift
[10/217] Compiling CryptoSwift BatchedCollection.swift
[17/219] Compiling CryptoSwift Exponentiation.swift
[18/219] Compiling CryptoSwift FloatingPointConversion.swift
[19/219] Compiling CryptoSwift AES.swift
[20/219] Compiling CryptoSwift ASN1.swift
[21/219] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[22/219] Compiling CryptoSwift AES.Cryptors.swift
[23/219] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/219] Emitting module _NIOBase64
[25/219] Compiling _NIOBase64 Base64.swift
[26/219] Compiling NIOConcurrencyHelpers lock.swift
[31/219] Compiling Atomics IntegerOperations.swift
[32/219] Compiling Atomics Unmanaged extensions.swift
[33/219] Compiling CryptoSwift IntegerConversion.swift
[34/225] Compiling _NIODataStructures Heap.swift
[35/225] Compiling _NIODataStructures PriorityQueue.swift
[36/225] Compiling _NIODataStructures _TinyArray.swift
[37/225] Compiling CryptoSwift Operators.swift
[38/225] Compiling CryptoSwift DER.swift
[39/225] Compiling CryptoSwift PBKDF1.swift
[40/225] Compiling CryptoSwift PBKDF2.swift
[41/225] Compiling CryptoSwift PKCS1v15.swift
[42/225] Compiling CryptoSwift PKCS5.swift
[43/225] Compiling CryptoSwift PKCS7.swift
[44/225] Compiling CryptoSwift HKDF.swift
[45/225] Compiling CryptoSwift HMAC.swift
[46/225] Compiling CryptoSwift ISO10126Padding.swift
[47/225] Compiling CryptoSwift ISO78164Padding.swift
[48/225] Compiling CryptoSwift Int+Extension.swift
[49/225] Compiling CryptoSwift MD5.swift
[50/225] Compiling CryptoSwift NoPadding.swift
[51/225] Compiling CryptoSwift Multiplication.swift
[52/225] Compiling CryptoSwift PrimeTest.swift
[53/225] Compiling CryptoSwift Random.swift
[54/225] Compiling CryptoSwift String+FoundationExtension.swift
[55/225] Compiling CryptoSwift Utils+Foundation.swift
[56/225] Compiling CryptoSwift XChaCha20+Foundation.swift
[57/225] Compiling CryptoSwift Generics.swift
[58/225] Compiling CryptoSwift StreamDecryptor.swift
[59/225] Compiling CryptoSwift StreamEncryptor.swift
[60/225] Compiling CryptoSwift Bit.swift
[61/225] Compiling CryptoSwift BlockCipher.swift
[62/225] Compiling CryptoSwift BlockDecryptor.swift
[63/225] Compiling CryptoSwift BlockEncryptor.swift
[64/225] Compiling NIOConcurrencyHelpers NIOLock.swift
[65/225] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[66/225] Compiling NIOConcurrencyHelpers atomics.swift
[67/225] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[68/225] Compiling CryptoSwift ASN1Encoder.swift
[69/225] Compiling CryptoSwift ASN1Scanner.swift
[70/225] Compiling CryptoSwift Array+Extension.swift
[81/225] Compiling CryptoSwift ASN1Decoder.swift
[82/225] Compiling CryptoSwift PKCS7Padding.swift
[83/225] Compiling CryptoSwift Padding.swift
[84/225] Compiling CryptoSwift Poly1305.swift
[85/225] Compiling CryptoSwift RSA+Cipher.swift
[86/225] Compiling CryptoSwift RSA+Signature.swift
[87/225] Compiling CryptoSwift RSA.swift
[88/225] Compiling CryptoSwift Rabbit.swift
[89/225] Compiling CryptoSwift SHA1.swift
[90/225] Compiling CryptoSwift SHA2.swift
[91/225] Compiling CryptoSwift SHA3.swift
[92/225] Compiling CryptoSwift Scrypt.swift
[93/225] Compiling CryptoSwift SecureBytes.swift
[94/225] Compiling CryptoSwift Signature.swift
[95/225] Emitting module _NIODataStructures
[100/225] Emitting module InternalCollectionsUtilities
[103/225] Emitting module NIOConcurrencyHelpers
[104/225] Emitting module Crypto
[111/241] Compiling CryptoSwift Cryptor.swift
[112/241] Compiling CryptoSwift Cryptors.swift
[113/241] Compiling CryptoSwift Digest.swift
[114/241] Compiling CryptoSwift DigestType.swift
[115/241] Compiling CryptoSwift AES+Foundation.swift
[116/241] Compiling CryptoSwift Array+Foundation.swift
[117/241] Compiling CryptoSwift Blowfish+Foundation.swift
[118/241] Compiling CryptoSwift ChaCha20+Foundation.swift
[119/241] Compiling CryptoSwift Data+Extension.swift
[120/241] Compiling CryptoSwift HMAC+Foundation.swift
[121/241] Compiling CryptoSwift Rabbit+Foundation.swift
[122/252] Compiling DequeModule Deque+Equatable.swift
[123/252] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[124/252] Compiling DequeModule Deque+Extras.swift
[125/252] Compiling DequeModule Deque+Hashable.swift
[126/252] Compiling DequeModule Deque+Testing.swift
[127/252] Compiling DequeModule Deque._Storage.swift
[128/252] Compiling DequeModule _DequeSlot.swift
[129/252] Compiling DequeModule _DequeBufferHeader.swift
[130/253] Compiling Crypto SafeCompare_boring.swift
[131/253] Compiling Crypto Zeroization_boring.swift
[132/253] Compiling Crypto PrettyBytes.swift
[133/253] Compiling Crypto SafeCompare.swift
[134/253] Compiling Crypto SecureBytes.swift
[135/253] Compiling Crypto Zeroization.swift
[138/253] Compiling DequeModule _DequeBuffer.swift
[139/253] Compiling DequeModule Deque+CustomReflectable.swift
[140/253] Compiling DequeModule Deque+Descriptions.swift
[141/253] Compiling DequeModule Deque._UnsafeHandle.swift
[142/253] Compiling DequeModule Deque.swift
[143/253] Compiling DequeModule _UnsafeWrappedBuffer.swift
[144/253] Compiling DequeModule Deque+Codable.swift
[145/253] Compiling DequeModule Deque+Collection.swift
[148/253] Emitting module DequeModule
[149/253] Emitting module Atomics
[150/274] Compiling NIOCore EventLoop+SerialExecutor.swift
[151/274] Compiling NIOCore EventLoop.swift
[152/274] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[153/274] Compiling NIOCore EventLoopFuture+Deprecated.swift
[154/274] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[155/274] Compiling NIOCore EventLoopFuture.swift
[156/274] Compiling NIOCore FileDescriptor.swift
[157/274] Compiling NIOCore FileHandle.swift
[162/315] Compiling CryptoSwift String+Extension.swift
[163/315] Compiling CryptoSwift UInt128.swift
[164/315] Compiling CryptoSwift UInt16+Extension.swift
[165/315] Compiling CryptoSwift UInt32+Extension.swift
[166/315] Compiling CryptoSwift UInt64+Extension.swift
[167/315] Compiling CryptoSwift UInt8+Extension.swift
[168/315] Compiling CryptoSwift Updatable.swift
[169/315] Compiling CryptoSwift Utils.swift
[170/315] Compiling CryptoSwift XChaCha20.swift
[171/315] Compiling CryptoSwift ZeroPadding.swift
[172/315] Compiling CryptoSwift resource_bundle_accessor.swift
[173/315] Compiling CryptoSwift Shifts.swift
[174/315] Compiling CryptoSwift SquareRoot.swift
[175/315] Compiling CryptoSwift Strideable.swift
[176/315] Compiling CryptoSwift StringConversion.swift
[177/315] Compiling CryptoSwift Subtraction.swift
[178/315] Compiling CryptoSwift WordsAndBits.swift
[179/315] Compiling CryptoSwift ChaCha20.swift
[180/315] Compiling CryptoSwift Checksum.swift
[181/315] Compiling CryptoSwift Cipher.swift
[182/315] Compiling CryptoSwift Collection+Extension.swift
[183/315] Compiling CryptoSwift CompactMap.swift
[184/315] Compiling NIOCore AddressedEnvelope.swift
[185/315] Compiling NIOCore AsyncAwaitSupport.swift
[186/315] Compiling NIOCore AsyncChannel.swift
[187/315] Compiling NIOCore AsyncChannelHandler.swift
[188/315] Compiling NIOCore AsyncChannelInboundStream.swift
[189/315] Compiling NIOCore AsyncChannelOutboundWriter.swift
[190/315] Compiling NIOCore NIOAsyncSequenceProducer.swift
[191/321] Compiling NIOCore Linux.swift
[192/321] Compiling NIOCore MarkedCircularBuffer.swift
[193/321] Compiling NIOCore MulticastChannel.swift
[194/321] Compiling NIOCore NIOAny.swift
[195/321] Compiling NIOCore NIOCloseOnErrorHandler.swift
[196/321] Compiling NIOCore NIOLoopBound.swift
[197/321] Compiling NIOCore NIOScheduledCallback.swift
[198/321] Compiling NIOCore NIOSendable.swift
[199/321] Compiling NIOCore PointerHelpers.swift
[200/321] Compiling NIOCore RecvByteBufferAllocator.swift
[201/321] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[202/321] Compiling NIOCore SocketAddresses.swift
[203/321] Compiling NIOCore GlobalSingletons.swift
[204/321] Compiling NIOCore IO.swift
[205/321] Compiling NIOCore IOData.swift
[206/321] Compiling NIOCore IPProtocol.swift
[207/321] Compiling NIOCore IntegerBitPacking.swift
[208/321] Compiling NIOCore IntegerTypes.swift
[209/321] Compiling NIOCore Interfaces.swift
[214/321] Compiling NIOCore SocketOptionProvider.swift
[215/321] Compiling NIOCore SystemCallHelpers.swift
[216/321] Compiling NIOCore TimeAmount+Duration.swift
[217/321] Compiling NIOCore TypeAssistedChannelHandler.swift
[218/321] Compiling NIOCore UniversalBootstrapSupport.swift
[219/321] Compiling NIOCore Utilities.swift
[220/321] Compiling CryptoSwift CipherModeWorker.swift
[221/321] Compiling CryptoSwift ECB.swift
[222/321] Compiling CryptoSwift GCM.swift
[223/321] Compiling CryptoSwift OCB.swift
[224/321] Compiling CryptoSwift OFB.swift
[225/321] Compiling CryptoSwift PCBC.swift
[226/321] Compiling CryptoSwift Blowfish.swift
[227/321] Compiling CryptoSwift CBCMAC.swift
[228/321] Compiling CryptoSwift CMAC.swift
[229/321] Compiling CryptoSwift Addition.swift
[230/321] Compiling CryptoSwift BigInt.swift
[231/321] Compiling CryptoSwift BigUInt.swift
[232/321] Compiling CryptoSwift BitwiseOps.swift
[233/321] Compiling CryptoSwift CS.swift
[234/321] Emitting module CryptoSwift
[235/321] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[236/321] Compiling NIOCore NIOAsyncWriter.swift
[237/321] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[238/321] Compiling NIOCore BSDSocketAPI.swift
[239/321] Compiling NIOCore ByteBuffer-aux.swift
[240/321] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[241/321] Compiling NIOCore ByteBuffer-conversions.swift
[242/321] Compiling NIOCore Codec.swift
[243/321] Compiling NIOCore ConvenienceOptionSupport.swift
[244/321] Compiling NIOCore DeadChannel.swift
[245/321] Compiling NIOCore DispatchQueue+WithFuture.swift
[246/321] Compiling NIOCore EventLoop+Deprecated.swift
[253/321] Compiling NIOCore Channel.swift
[254/321] Compiling NIOCore ChannelHandler.swift
[255/321] Compiling NIOCore ChannelHandlers.swift
[256/321] Compiling NIOCore ChannelInvoker.swift
[257/321] Compiling NIOCore ChannelOption.swift
[258/321] Compiling NIOCore ChannelPipeline.swift
[259/321] Compiling NIOCore CircularBuffer.swift
[271/321] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[272/321] Compiling NIOCore ByteBuffer-multi-int.swift
[273/321] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[274/321] Compiling NIOCore ByteBuffer-views.swift
[293/321] Compiling NIOCore ByteBuffer-core.swift
[294/321] Compiling NIOCore ByteBuffer-hex.swift
[295/321] Compiling NIOCore ByteBuffer-int.swift
[313/321] Compiling NIOCore FileRegion.swift
[321/321] Emitting module NIOCore
[322/371] Compiling NIOPosix PooledRecvBufferAllocator.swift
[323/371] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[324/371] Compiling NIOPosix PosixSingletons.swift
[325/371] Compiling NIOPosix RawSocketBootstrap.swift
[326/371] Compiling NIOPosix Resolver.swift
[327/376] Compiling NIOPosix GetaddrinfoResolver.swift
[328/376] Compiling NIOPosix HappyEyeballs.swift
[329/376] Compiling NIOPosix IO.swift
[330/376] Compiling NIOPosix IntegerBitPacking.swift
[331/376] Compiling NIOPosix IntegerTypes.swift
[332/376] Compiling NIOPosix Linux.swift
[333/376] Compiling NIOPosix SocketProtocols.swift
[334/376] Compiling NIOPosix System.swift
[335/376] Compiling NIOPosix Thread.swift
[336/376] Compiling NIOPosix ThreadPosix.swift
[337/376] Compiling NIOPosix ThreadWindows.swift
[338/376] Compiling NIOPosix Selectable.swift
[339/376] Compiling NIOPosix SelectableChannel.swift
[340/376] Compiling NIOPosix SelectableEventLoop.swift
[341/376] Compiling NIOPosix SelectorEpoll.swift
[342/376] Compiling NIOPosix SelectorGeneric.swift
[343/376] Compiling NIOPosix SelectorKqueue.swift
[344/376] Compiling NIOPosix SelectorUring.swift
[345/376] Compiling NIOPosix ServerSocket.swift
[346/376] Compiling NIOPosix Socket.swift
[347/376] Compiling NIOPosix SocketChannel.swift
[348/376] Compiling NIOPosix UnsafeTransfer.swift
[349/376] Compiling NIOPosix Utilities.swift
[350/376] Compiling NIOPosix VsockAddress.swift
[351/376] Compiling NIOPosix VsockChannelEvents.swift
[352/376] Compiling NIOPosix resource_bundle_accessor.swift
[353/376] Compiling NIOPosix PendingWritesManager.swift
[354/376] Compiling NIOPosix PipeChannel.swift
[355/376] Compiling NIOPosix PipePair.swift
[356/376] Compiling NIOPosix PointerHelpers.swift
[357/376] Compiling NIOPosix Pool.swift
[358/376] Compiling NIOPosix BaseStreamSocketChannel.swift
[359/376] Compiling NIOPosix Bootstrap.swift
[360/376] Compiling NIOPosix ControlMessage.swift
[361/376] Compiling NIOPosix DatagramVectorReadManager.swift
[362/376] Compiling NIOPosix Errors+Any.swift
[363/376] Compiling NIOPosix FileDescriptor.swift
[364/376] Compiling NIOPosix LinuxCPUSet.swift
[365/376] Compiling NIOPosix LinuxUring.swift
[366/376] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[367/376] Compiling NIOPosix NIOThreadPool.swift
[368/376] Compiling NIOPosix NonBlockingFileIO.swift
[369/376] Compiling NIOPosix PendingDatagramWritesManager.swift
[370/376] Compiling NIOPosix BSDSocketAPICommon.swift
[371/376] Compiling NIOPosix BSDSocketAPIPosix.swift
[372/376] Compiling NIOPosix BSDSocketAPIWindows.swift
[373/376] Compiling NIOPosix BaseSocket.swift
[374/376] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[375/376] Compiling NIOPosix BaseSocketChannel.swift
[376/376] Emitting module NIOPosix
[377/395] Compiling SwiftSnmpKit SnmpPduType.swift
[378/395] Compiling SwiftSnmpKit SnmpV3Authentication.swift
[379/395] Compiling SwiftSnmpKit UInt8+Extensions.swift
[380/395] Compiling SwiftSnmpKit VariableBindings+Extensions.swift
[381/395] Compiling SwiftSnmpKit SnmpVersion.swift
[382/395] Compiling SwiftSnmpKit Data+Extensions.swift
[383/396] 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
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
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
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
331 | //try channel.closeFuture.wait()
332 | }
[384/396] 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
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
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
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
331 | //try channel.closeFuture.wait()
332 | }
[385/396] Compiling SwiftSnmpKit SnmpVariableBinding.swift
/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
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
29 | guard case .sequence(let sequence) = objectName else {
30 | SnmpError.log("Expected Sequence got \(objectName)")
[386/396] Compiling SwiftSnmpKit AsnData-Protocol.swift
[387/396] Compiling SwiftSnmpKit SnmpOid.swift
[388/396] Compiling SwiftSnmpKit SnmpPdu.swift
[389/396] Compiling SwiftSnmpKit SnmpUtils.swift
[390/396] Compiling SwiftSnmpKit Int+Extensions.swift
[391/396] Compiling SwiftSnmpKit String+Extensions.swift
[392/396] Compiling SwiftSnmpKit SnmpV2Message.swift
/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
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
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
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
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
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
523 | SnmpError.log("contextName expected octetString got \(msgData[1])")
524 | return nil
[393/396] Compiling SwiftSnmpKit SnmpV3Message.swift
/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
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
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
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
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
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
523 | SnmpError.log("contextName expected octetString got \(msgData[1])")
524 | return nil
[394/396] 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)
[395/396] 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)
[396/396] 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)
Build of target: 'SwiftSnmpKit' complete! (8.46s)
312
3 /Users/admin/builder/spi-builder-workspace/.docs/darrellroot/swiftsnmpkit/0.2.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/darrellroot/swiftsnmpkit/0.2.0
File count: 312
Doc size: 3.0MB
Preparing doc bundle ...
Uploading prod-darrellroot-swiftsnmpkit-0.2.0-b0789015.zip to s3://spi-docs-inbox/prod-darrellroot-swiftsnmpkit-0.2.0-b0789015.zip
Copying... [11%]
Copying... [21%]
Copying... [32%]
Copying... [42%]
Copying... [53%]
Copying... [63%]
Copying... [74%]
Copying... [84%]
Copying... [95%]
Copying... [100%]
Done.