The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftSnmpKit, reference 0.2.0 (97e749), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 21:21:22 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: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/darrellroot/SwiftSnmpKit
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 97e7493 Updated documentation
Cloned https://github.com/darrellroot/SwiftSnmpKit.git
Revision (git rev-parse @):
97e7493e0030909048fb6a6e09bca51f5a6918cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/darrellroot/SwiftSnmpKit.git at 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.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]
[142 / 287] swift-nio_NIOPosix
[149 / 287]
[167 / 294] CNIOWindows
[171 / 313] CNIOWindows
[182 / 330]
[193 / 342] Atomics
[205 / 390]
[226 / 390] InternalCollectionsUtilities
[235 / 416]
[254 / 430]
[263 / 430]
[272 / 430]
[276 / 430]
[281 / 430] CNIOAtomics
[289 / 432] CNIOAtomics
[296 / 432] CNIODarwin
[299 / 432]
[311 / 432] NIOConcurrencyHelpers
[328 / 432] InternalCollectionsUtilities
[334 / 432] Atomics
[341 / 433]
[351 / 444] ContainersPreview
[356 / 444] ContainersPreview
[369 / 445] ContainersPreview
[378 / 456] DequeModule
[380 / 456] DequeModule
[382 / 456] DequeModule
[386 / 456] CryptoSwiftResources
[392 / 456] CryptoSwiftResources
[406 / 456] Crypto
[407 / 456] DequeModule
[421 / 458] CryptoSwiftResources
[423 / 458] Crypto
[423 / 458] NIOCore
[426 / 475] CryptoSwift
[436 / 486]
[440 / 486] CryptoSwift
[441 / 486]
[444 / 486] NIOCore
[446 / 486] NIOCore
[447 / 486] NIOCore
[451 / 486] CryptoSwift
[459 / 486] NIOCore
[461 / 486] NIOCore
[470 / 487] NIOPosix
[482 / 516]
[485 / 516]
[487 / 516]
[488 / 516]
[499 / 516] NIOPosix
[506 / 517] SwiftSnmpKit
[521 / 534] SwiftSnmpKit
[522 / 534] SwiftSnmpKit
[529 / 534] SwiftSnmpKit
[530 / 534] NIOPosix
[534 / 534] SwiftSnmpKit-product
Build complete! (18.33 sec)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/13439] Fetching cryptoswift
[2/31981] Fetching cryptoswift, swift-crypto
[4609/118054] Fetching cryptoswift, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-nio.git (7.90s)
Fetched https://github.com/krzyzanowskim/CryptoSwift (7.91s)
Fetched https://github.com/apple/swift-crypto.git (7.91s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (8.61s)
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-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1875] Fetching swift-atomics
[133/8773] Fetching swift-atomics, swift-system
[2161/36093] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (3.05s)
Fetched https://github.com/apple/swift-collections.git (3.05s)
Fetched https://github.com/apple/swift-atomics.git (3.05s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.66s)
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-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
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
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.