The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LNBitsKit, reference main (05d2d5), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 12:41:17 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/FlorianHubl/LNBitsKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FlorianHubl/LNBitsKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 05d2d5c Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/FlorianHubl/LNBitsKit.git
Revision (git rev-parse @):
05d2d5c217d80b9211786ceb23cd49512b0ed1c7
SUCCESS checkout https://github.com/FlorianHubl/LNBitsKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/FlorianHubl/LNBitsKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 97]
[Planning deferred tasks]
[26 / 43]
[27 / 44] SwiftTor
[37 / 84]
[42 / 84]
[46 / 84]
[47 / 84]
[51 / 84]
[53 / 84]
[56 / 84]
[60 / 84]
[62 / 84]
[63 / 84]
[67 / 84] SwiftTor
[74 / 85] LNBitsKit
[76 / 87] LNBitsKit
[82 / 87] SwiftTor
[84 / 87] LNBitsKit
Build complete! (7.90 sec)
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:17:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
15 |         // Dependencies declare other packages that this package depends on.
16 |         // .package(url: /* package url */, from: "1.0.0"),
17 |         .package(
   |          `- warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
18 |             url: "https://github.com/FlorianHubl/SwiftTor",
19 |             .branch("main")
/Users/admin/builder/spi-builder-workspace/Package.swift:19:14: warning: 'branch' is deprecated [#DeprecatedDeclaration]
17 |         .package(
18 |             url: "https://github.com/FlorianHubl/SwiftTor",
19 |             .branch("main")
   |              `- warning: 'branch' is deprecated [#DeprecatedDeclaration]
20 |         )
21 |     ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/FlorianHubl/SwiftTor
[1/158] Fetching swifttor
Fetched https://github.com/FlorianHubl/SwiftTor (3.39s)
Creating working copy for https://github.com/FlorianHubl/SwiftTor
Working copy of https://github.com/FlorianHubl/SwiftTor resolved at main (c210638)
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:880:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
878 | }
879 |
880 | extension String: Error {
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
881 |
882 | }
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:880:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
878 | }
879 |
880 | extension String: Error {
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
881 |
882 | }
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:140:16: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
138 |             print(r.bolt11)
139 |         }
140 |         return try r
    |                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
141 |     }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:272:19: warning: expression implicitly coerced from 'String?' to 'Any'
270 |         let a = try await requestType.request(request: request)
271 |         if debug == .all {
272 |             print(String(data: a.0, encoding: .utf8))
    |                   |- warning: expression implicitly coerced from 'String?' to 'Any'
    |                   |- note: provide a default value to avoid this warning
    |                   |- note: force-unwrap the value to avoid this warning
    |                   `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
273 |         }
274 |         let list = try JSONDecoder().decode(LNURLPayLinks.self, from: a.0)
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:444:9: warning: variable 'cl' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
442 | public func loginLNBits(url: String, username: String, password: String, tor: SwiftTor?, ssl: Bool = true) async throws -> LoginWallet {
443 |     let c = url.contains(".onion")
444 |     var cl: RequestType = ssl ? ClearnetRequest() : ClearnetTrustRequest()
    |         `- warning: variable 'cl' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
445 |     let d: RequestType  = c ? tor ?? SwiftTor() : cl
446 |     var request = URLRequest(url: URL(string: "\(url)\(LNBits.LNBitsRequest.login.rawValue)")!)
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:889:9: warning: variable 'cl' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
887 |     let serverURL = convertToServer(input)
888 |     let c = serverURL.suffix(6) == ".onion"
889 |     var cl: RequestType = ssl ? ClearnetRequest() : ClearnetTrustRequest()
    |         `- warning: variable 'cl' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
890 |     let d: RequestType  = c ? tor ?? SwiftTor() : cl
891 |     print(url.absoluteString)
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swifttor",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/FlorianHubl/SwiftTor"
    }
  ],
  "manifest_display_name" : "LNBitsKit",
  "name" : "LNBitsKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LNBitsKit",
      "targets" : [
        "LNBitsKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LNBitsKitTests",
      "module_type" : "SwiftTarget",
      "name" : "LNBitsKitTests",
      "path" : "Tests/LNBitsKitTests",
      "sources" : [
        "LNBitsKitTests.swift"
      ],
      "target_dependencies" : [
        "LNBitsKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LNBitsKit",
      "module_type" : "SwiftTarget",
      "name" : "LNBitsKit",
      "path" : "Sources/LNBitsKit",
      "product_dependencies" : [
        "SwiftTor"
      ],
      "product_memberships" : [
        "LNBitsKit"
      ],
      "sources" : [
        "LNBitsKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:17:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
15 |         // Dependencies declare other packages that this package depends on.
16 |         // .package(url: /* package url */, from: "1.0.0"),
17 |         .package(
   |          `- warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
18 |             url: "https://github.com/FlorianHubl/SwiftTor",
19 |             .branch("main")
/Users/admin/builder/spi-builder-workspace/Package.swift:19:14: warning: 'branch' is deprecated [#DeprecatedDeclaration]
17 |         .package(
18 |             url: "https://github.com/FlorianHubl/SwiftTor",
19 |             .branch("main")
   |              `- warning: 'branch' is deprecated [#DeprecatedDeclaration]
20 |         )
21 |     ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Done.