The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftSnmpKit, reference main (22a673), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 21:21:07 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrellroot/SwiftSnmpKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/darrellroot/SwiftSnmpKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 22a6732 Removing unnecessary protocol conformance.
Cloned https://github.com/darrellroot/SwiftSnmpKit.git
Revision (git rev-parse @):
22a6732b868522c1ed5125803d7bac05be7ea03f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/darrellroot/SwiftSnmpKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/darrellroot/SwiftSnmpKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 748]
[Planning deferred tasks]
[143 / 287]
[149 / 287]
[166 / 294] _AtomicsShims
[169 / 313] CNIOWASI
[179 / 341] CNIOOpenBSD
[193 / 364] _NIOBase64
[205 / 390]
[219 / 390] _NIOBase64
[235 / 416]
[241 / 430] Atomics
[263 / 430] InternalCollectionsUtilities
[272 / 430]
[273 / 430] CNIOPosix
[277 / 430] InternalCollectionsUtilities
[282 / 430]
[293 / 432] CNIODarwin
[298 / 432]
[310 / 432] NIOConcurrencyHelpers
[321 / 432] NIOConcurrencyHelpers
[333 / 432] Atomics
[338 / 432] Atomics
[342 / 432]
[346 / 433]
[353 / 444] ContainersPreview
[359 / 444] ContainersPreview
[368 / 445] DequeModule
[376 / 456] DequeModule
[378 / 456] DequeModule
[382 / 456] DequeModule
[382 / 456]
[390 / 456] Crypto
[392 / 456] CryptoSwiftResources
[395 / 456] CryptoSwiftResources
[413 / 456] Crypto-product
[419 / 457] CryptoSwift
[421 / 458] Crypto
[425 / 475]
[434 / 486] CryptoSwift
[436 / 486] CryptoSwift
[437 / 486]
[440 / 486]
[445 / 486] NIOCore
[446 / 486] NIOCore
[447 / 486] NIOCore
[449 / 486] CryptoSwift
[452 / 486] CryptoSwift
[459 / 486] NIOCore
[459 / 486] NIOConcurrencyHelpers
[461 / 486] NIOCore
[470 / 487] NIOCore
[470 / 487] NIOPosix
[480 / 516]
[482 / 516]
[485 / 516]
[486 / 516]
[487 / 516]
[488 / 516]
[499 / 516] NIOPosix
[506 / 517] SwiftSnmpKit
[521 / 534] SwiftSnmpKit
[529 / 534] SwiftSnmpKit
[529 / 534] NIOPosix
[529 / 534] SwiftSnmpKit
[530 / 534] SwiftSnmpKit
[530 / 534] NIOPosix
[534 / 534] SwiftSnmpKit-product
Build complete! (19.50 sec)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/apple/swift-crypto.git
[1/18542] Fetching swift-crypto
[2/31981] Fetching swift-crypto, cryptoswift
[3738/118054] Fetching swift-crypto, cryptoswift, swift-nio
Fetched https://github.com/apple/swift-crypto.git (5.69s)
Fetched https://github.com/krzyzanowskim/CryptoSwift (6.75s)
Fetched https://github.com/apple/swift-nio.git (6.75s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (7.46s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.10.0 (0.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.71s)
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/1875] Fetching swift-atomics
[451/8773] Fetching swift-atomics, swift-system
[1509/36093] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.20s)
[2692/34218] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git (2.89s)
Fetched https://github.com/apple/swift-system.git (2.89s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.60s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.10.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.6.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.3.1
warning: /Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14 TODO: Fix bitString implementation
warning: /Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:196:18 TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
 18 |     case endOfContent
 19 |     case integer(Int64)
 20 |     #warning("TODO: Fix bitString implementation")
    |              `- warning: TODO: Fix bitString implementation
 21 |     case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
 22 |     case octetString(Data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpVariableBinding.swift:28:13: warning: initialization of immutable value 'nameLength' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
29 |         guard case .sequence(let sequence) = objectName else {
30 |             SnmpError.log("Expected Sequence got \(objectName)")
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/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: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: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: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: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: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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
331 |         //try channel.closeFuture.wait()
332 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
 18 |     case endOfContent
 19 |     case integer(Int64)
 20 |     #warning("TODO: Fix bitString implementation")
    |              `- warning: TODO: Fix bitString implementation
 21 |     case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
 22 |     case octetString(Data)
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
 18 |     case endOfContent
 19 |     case integer(Int64)
 20 |     #warning("TODO: Fix bitString implementation")
    |              `- warning: TODO: Fix bitString implementation
 21 |     case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
 22 |     case octetString(Data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/SnmpV3Message.swift:329:13: warning: immutable value 'authenticationParametersAsn' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
523 |             SnmpError.log("contextName expected octetString got \(msgData[1])")
524 |             return nil
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:20:14: warning: TODO: Fix bitString implementation
 18 |     case endOfContent
 19 |     case integer(Int64)
 20 |     #warning("TODO: Fix bitString implementation")
    |              `- warning: TODO: Fix bitString implementation
 21 |     case bitString(Data) // first octet indicates how many bits short of a multiple of 8 "number of unused bits". This implementation doesn't deal with this at this time
 22 |     case octetString(Data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnmpKit/Enumerations/AsnValue.swift:196:18: warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
194 |         case .snmpGet(let pdu), .snmpGetNext(let pdu),.snmpResponse(let pdu), .snmpReport(let pdu):
195 |             return pdu.asnData
196 |         #warning("TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets")
    |                  `- warning: TODO Update counter32, gauge32, and timetick32 to produce smaller data if they can be encoded in less than 4 octets
197 |         case .counter32(let value):
198 |             var counterData = Data(capacity: 6)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift"
    }
  ],
  "manifest_display_name" : "SwiftSnmpKit",
  "name" : "SwiftSnmpKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSnmpKit",
      "targets" : [
        "SwiftSnmpKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSnmpKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSnmpKitTests",
      "path" : "Tests/SwiftSnmpKitTests",
      "sources" : [
        "SnmpAgentTests.swift",
        "SnmpV3Tests.swift",
        "SwiftSnmpKitTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSnmpKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSnmpKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSnmpKit",
      "path" : "Sources/SwiftSnmpKit",
      "product_dependencies" : [
        "NIOCore",
        "NIOPosix",
        "Crypto",
        "CryptoSwift"
      ],
      "product_memberships" : [
        "SwiftSnmpKit"
      ],
      "sources" : [
        "Enumerations/AsnValue.swift",
        "Enumerations/SnmpError.swift",
        "Enumerations/SnmpPduType.swift",
        "Enumerations/SnmpV3Authentication.swift",
        "Enumerations/SnmpVersion.swift",
        "Extensions/Data+Extensions.swift",
        "Extensions/Int+Extensions.swift",
        "Extensions/String+Extensions.swift",
        "Extensions/UInt8+Extensions.swift",
        "Extensions/VariableBindings+Extensions.swift",
        "Networking/SnmpReceiver.swift",
        "Networking/SnmpSender.swift",
        "Protocols/AsnData-Protocol.swift",
        "SnmpOid.swift",
        "SnmpPdu.swift",
        "SnmpUtils.swift",
        "SnmpV2Message.swift",
        "SnmpV3Message.swift",
        "SnmpVariableBinding.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.