The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of LNBitsKit, reference main (df8c3f), with Swift 6.0 for macOS (SPM) on 15 Sep 2024 08:22:20 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.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 df8c3f9 Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/FlorianHubl/LNBitsKit.git
Revision (git rev-parse @):
df8c3f973861466a611b3f62c9a281966061a970
SUCCESS checkout https://github.com/FlorianHubl/LNBitsKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/FlorianHubl/LNBitsKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[2/4] Copying Tor.framework
[3/4] Write swift-version-117DEE11B69C53C9.txt
[5/7] Compiling SwiftTor SwiftTor.swift
[6/7] Compiling SwiftTor TorHelper.swift
[7/7] Emitting module SwiftTor
[8/9] Emitting module LNBitsKit
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:466:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'BoltzReversedSubMarineSwap' may have shared mutable state; this is an error in the Swift 6 language mode
453 |
454 |
455 | public struct BoltzReversedSubMarineSwap: Codable, Hashable, Identifiable {
    |               `- note: consider making struct 'BoltzReversedSubMarineSwap' conform to the 'Sendable' protocol
456 |     public let id, wallet: String
457 |     public let amount: Int
    :
464 |     public let redeemScript: String
465 |
466 |     public static let demo = BoltzReversedSubMarineSwap(id: "id", wallet: "wallet", amount: 21, onchainAddress: "onchainAddress", instantSettlement: true, time: 21, status: "status", boltzID: "boltzID", preimage: "preimage", claimPrivkey: "claimPrivkey", lockupAddress: "lockupAddress", invoice: "invoice", onchainAmount: 21, timeoutBlockHeight: 21, redeemScript: "redeemScript")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'BoltzReversedSubMarineSwap' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
467 |
468 |     enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:493:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'BoltzSubMarineSwap' may have shared mutable state; this is an error in the Swift 6 language mode
482 | }
483 |
484 | public struct BoltzSubMarineSwap: Codable, Hashable, Identifiable {
    |               `- note: consider making struct 'BoltzSubMarineSwap' conform to the 'Sendable' protocol
485 |     public let id, wallet: String
486 |     public let amount: Int
    :
491 |     public let address, bip21, redeemScript: String
492 |
493 |     public static let demo = BoltzSubMarineSwap(id: "id", wallet: "wallet", amount: 21, paymentHash: "paymentHash", time: 21, status: "status", refundPrivkey: "refundPrivkey", refundAddress: "refundAddress", boltzID: "boltzID", expectedAmount: 21, timeoutBlockHeight: 21, address: "address", bip21: "bip21", redeemScript: "redeemScript")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'BoltzSubMarineSwap' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
494 |
495 |     enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:527:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'LNURLWithdraw' may have shared mutable state; this is an error in the Swift 6 language mode
513 | }
514 |
515 | public struct LNURLWithdraw: Codable, Hashable, Identifiable {
    |               `- note: consider making struct 'LNURLWithdraw' conform to the 'Sendable' protocol
516 |
517 |     public let id, wallet, title: String
    :
525 |     public let lnurl: String
526 |
527 |     public static let demo = LNURLWithdraw(id: "id", wallet: "wallet", title: "title", minWithdrawable: 1, maxWithdrawable: 21, uses: 1, waitTime: 1, isUnique: true, uniqueHash: "uniqueHash", k1: "k1", openTime: 1, used: 1, usescsv: "usescsv", number: 1, webhookURL: "webhookURL", lnurl: "lnurl")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'LNURLWithdraw' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
528 |
529 |     enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:589:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'DecodedLNURL' may have shared mutable state; this is an error in the Swift 6 language mode
578 | }
579 |
580 | public struct DecodedLNURL: Codable, Hashable {
    |               `- note: consider making struct 'DecodedLNURL' conform to the 'Sendable' protocol
581 |     public let lnurl: String
582 |     public let kind: LNURLType
    :
587 |     public let descriptionHash: String?
588 |
589 |     public static let demo = DecodedLNURL(lnurl: "lnurl", kind: .pay, domain: "", callback: "")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'DecodedLNURL' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
590 |
591 |     init(lnurl: String, kind: LNURLType, min: Int?, max: Int?, description: String?, domain: String, callback: String, descriptionHash: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:676:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'Invoice' may have shared mutable state; this is an error in the Swift 6 language mode
665 | }
666 |
667 | public struct Invoice: Codable, Hashable, Equatable {
    |               `- note: consider making struct 'Invoice' conform to the 'Sendable' protocol
668 |     public let paymentHash, paymentRequest, checkingID: String
669 |
    :
674 |     }
675 |
676 |     public static let demo = Invoice(paymentHash: "", paymentRequest: "", checkingID: "")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'Invoice' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
677 | }
678 |
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:775:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'LNBitsTransaction' may have shared mutable state; this is an error in the Swift 6 language mode
762 |     }
763 |
764 | public struct LNBitsTransaction: Codable, Hashable {
    |               `- note: consider making struct 'LNBitsTransaction' conform to the 'Sendable' protocol
765 |     public let checking_id: String
766 |     public let pending: Bool
    :
773 |     public let wallet_id: String
774 |
775 |     static public let demo = LNBitsTransaction(checking_id: "checking_id", pending: false, amount: 1, fee: 1, memo: "memo", time: 0, bolt11: "bolt11", preimage: "preimage", payment_hash: "payment_hash", expiry: 0, wallet_id: "wallet_id")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'LNBitsTransaction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
776 | }
777 |
[9/9] Compiling LNBitsKit LNBitsKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:466:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'BoltzReversedSubMarineSwap' may have shared mutable state; this is an error in the Swift 6 language mode
453 |
454 |
455 | public struct BoltzReversedSubMarineSwap: Codable, Hashable, Identifiable {
    |               `- note: consider making struct 'BoltzReversedSubMarineSwap' conform to the 'Sendable' protocol
456 |     public let id, wallet: String
457 |     public let amount: Int
    :
464 |     public let redeemScript: String
465 |
466 |     public static let demo = BoltzReversedSubMarineSwap(id: "id", wallet: "wallet", amount: 21, onchainAddress: "onchainAddress", instantSettlement: true, time: 21, status: "status", boltzID: "boltzID", preimage: "preimage", claimPrivkey: "claimPrivkey", lockupAddress: "lockupAddress", invoice: "invoice", onchainAmount: 21, timeoutBlockHeight: 21, redeemScript: "redeemScript")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'BoltzReversedSubMarineSwap' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
467 |
468 |     enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:493:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'BoltzSubMarineSwap' may have shared mutable state; this is an error in the Swift 6 language mode
482 | }
483 |
484 | public struct BoltzSubMarineSwap: Codable, Hashable, Identifiable {
    |               `- note: consider making struct 'BoltzSubMarineSwap' conform to the 'Sendable' protocol
485 |     public let id, wallet: String
486 |     public let amount: Int
    :
491 |     public let address, bip21, redeemScript: String
492 |
493 |     public static let demo = BoltzSubMarineSwap(id: "id", wallet: "wallet", amount: 21, paymentHash: "paymentHash", time: 21, status: "status", refundPrivkey: "refundPrivkey", refundAddress: "refundAddress", boltzID: "boltzID", expectedAmount: 21, timeoutBlockHeight: 21, address: "address", bip21: "bip21", redeemScript: "redeemScript")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'BoltzSubMarineSwap' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
494 |
495 |     enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:527:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'LNURLWithdraw' may have shared mutable state; this is an error in the Swift 6 language mode
513 | }
514 |
515 | public struct LNURLWithdraw: Codable, Hashable, Identifiable {
    |               `- note: consider making struct 'LNURLWithdraw' conform to the 'Sendable' protocol
516 |
517 |     public let id, wallet, title: String
    :
525 |     public let lnurl: String
526 |
527 |     public static let demo = LNURLWithdraw(id: "id", wallet: "wallet", title: "title", minWithdrawable: 1, maxWithdrawable: 21, uses: 1, waitTime: 1, isUnique: true, uniqueHash: "uniqueHash", k1: "k1", openTime: 1, used: 1, usescsv: "usescsv", number: 1, webhookURL: "webhookURL", lnurl: "lnurl")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'LNURLWithdraw' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
528 |
529 |     enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:589:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'DecodedLNURL' may have shared mutable state; this is an error in the Swift 6 language mode
578 | }
579 |
580 | public struct DecodedLNURL: Codable, Hashable {
    |               `- note: consider making struct 'DecodedLNURL' conform to the 'Sendable' protocol
581 |     public let lnurl: String
582 |     public let kind: LNURLType
    :
587 |     public let descriptionHash: String?
588 |
589 |     public static let demo = DecodedLNURL(lnurl: "lnurl", kind: .pay, domain: "", callback: "")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'DecodedLNURL' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
590 |
591 |     init(lnurl: String, kind: LNURLType, min: Int?, max: Int?, description: String?, domain: String, callback: String, descriptionHash: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:676:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'Invoice' may have shared mutable state; this is an error in the Swift 6 language mode
665 | }
666 |
667 | public struct Invoice: Codable, Hashable, Equatable {
    |               `- note: consider making struct 'Invoice' conform to the 'Sendable' protocol
668 |     public let paymentHash, paymentRequest, checkingID: String
669 |
    :
674 |     }
675 |
676 |     public static let demo = Invoice(paymentHash: "", paymentRequest: "", checkingID: "")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'Invoice' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
677 | }
678 |
/Users/admin/builder/spi-builder-workspace/Sources/LNBitsKit/LNBitsKit.swift:775:23: warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'LNBitsTransaction' may have shared mutable state; this is an error in the Swift 6 language mode
762 |     }
763 |
764 | public struct LNBitsTransaction: Codable, Hashable {
    |               `- note: consider making struct 'LNBitsTransaction' conform to the 'Sendable' protocol
765 |     public let checking_id: String
766 |     public let pending: Bool
    :
773 |     public let wallet_id: String
774 |
775 |     static public let demo = LNBitsTransaction(checking_id: "checking_id", pending: false, amount: 1, fee: 1, memo: "memo", time: 0, bolt11: "bolt11", preimage: "preimage", payment_hash: "payment_hash", expiry: 0, wallet_id: "wallet_id")
    |                       |- warning: static property 'demo' is not concurrency-safe because non-'Sendable' type 'LNBitsTransaction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'demo' 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
776 | }
777 |
Build complete! (11.30s)
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')
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')
18 |             url: "https://github.com/FlorianHubl/SwiftTor",
19 |             .branch("main")
/Users/admin/builder/spi-builder-workspace/Package.swift:19:14: warning: 'branch' is deprecated
17 |         .package(
18 |             url: "https://github.com/FlorianHubl/SwiftTor",
19 |             .branch("main")
   |              `- warning: 'branch' is deprecated
20 |         )
21 |     ],
Fetching https://github.com/FlorianHubl/SwiftTor
[1/158] Fetching swifttor
Fetched https://github.com/FlorianHubl/SwiftTor from cache (1.98s)
Creating working copy for https://github.com/FlorianHubl/SwiftTor
Working copy of https://github.com/FlorianHubl/SwiftTor resolved at main (6baf9ce)
warning: 'swifttor': found 18 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64_x86_64-maccatalyst/Tor.framework/Versions/Current/Resources/Info.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64_x86_64-maccatalyst/Tor.framework/Versions/A/Tor
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/macos-arm64_x86_64/Tor.framework/Versions/Current/Tor
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64_x86_64-maccatalyst/Tor.framework/Versions/Current/Tor
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64_x86_64-simulator/Tor.framework/_CodeSignature/CodeResources
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64_x86_64-maccatalyst/Tor.framework/Versions/A/Resources/Info.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/macos-arm64_x86_64/Tor.framework/Versions/A/Resources/Info.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64_x86_64-maccatalyst/Tor.framework/Resources/Info.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64/Tor.framework/Info.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/Info.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64_x86_64-simulator/Tor.framework/Info.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64_x86_64-simulator/Tor.framework/Tor
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/macos-arm64_x86_64/Tor.framework/Resources/Info.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/macos-arm64_x86_64/Tor.framework/Versions/Current/Resources/Info.plist
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64/Tor.framework/Tor
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/macos-arm64_x86_64/Tor.framework/Tor
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/ios-arm64_x86_64-maccatalyst/Tor.framework/Tor
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTor/Sources/SwiftTor/Tor.xcframework/macos-arm64_x86_64/Tor.framework/Versions/A/Tor
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')
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')
18 |             url: "https://github.com/FlorianHubl/SwiftTor",
19 |             .branch("main")
/Users/admin/builder/spi-builder-workspace/Package.swift:19:14: warning: 'branch' is deprecated
17 |         .package(
18 |             url: "https://github.com/FlorianHubl/SwiftTor",
19 |             .branch("main")
   |              `- warning: 'branch' is deprecated
20 |         )
21 |     ],
Done.