The Swift Package Index logo.Swift Package Index

Build Information

Successful build of B9Condition, reference 1.0.1 (8b7d6f), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 13:39:55 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/b9swift/Condition.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/b9swift/Condition
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 8b7d6f2 Merge branch 'develop'
Cloned https://github.com/b9swift/Condition.git
Revision (git rev-parse @):
8b7d6f223a395d792f1a3f9c869f62eec29a52db
SUCCESS checkout https://github.com/b9swift/Condition.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/b9swift/Condition.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/5] Emitting module B9Action
[5/5] Compiling B9Action B9Action.swift
[6/7] Compiling B9Condition B9Condition.swift
/Users/admin/builder/spi-builder-workspace/Sources/B9Condition/B9Condition.swift:107:32: warning: capture of non-sendable type 'T.Type' in an isolated closure
105 |         if timeout > 0 {
106 |             queue.asyncAfter(deadline: .now() + timeout) { [weak self, weak observer] in
107 |                 guard let sf = self, let observer = observer else { return }
    |                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure
108 |                 sf.remove(observer: observer)
109 |             }
/Users/admin/builder/spi-builder-workspace/Sources/B9Condition/B9Condition.swift:106:66: warning: capture of non-sendable type 'T.Type' in an isolated closure
104 |         appendAndCheck(observer: observer)
105 |         if timeout > 0 {
106 |             queue.asyncAfter(deadline: .now() + timeout) { [weak self, weak observer] in
    |                                                                  `- warning: capture of non-sendable type 'T.Type' in an isolated closure
107 |                 guard let sf = self, let observer = observer else { return }
108 |                 sf.remove(observer: observer)
/Users/admin/builder/spi-builder-workspace/Sources/B9Condition/B9Condition.swift:135:37: warning: capture of non-sendable type 'T.Type' in an isolated closure
133 |                         otherQueue.async {
134 |                             // 需临时保持实例
135 |                             if self.meets(observer.flags) {
    |                                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure
136 |                                 self.execute(observer: observer)
137 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/B9Condition/B9Condition.swift:124:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
122 |     }, reference: nil), delay: 0, queue: queue)
123 |
124 |     private func onFlagsChange() {
    |                  `- warning: capture of non-sendable type 'T.Type' in an isolated closure
125 |         lock.lock()
126 |         let observersSnapshot = observers
/Users/admin/builder/spi-builder-workspace/Sources/B9Condition/B9Condition.swift:189:28: warning: capture of non-sendable type 'T.Type' in an isolated closure
187 |         lock.unlock()
188 |         (observer.queue ?? queue).async { [weak self, weak observer] in
189 |             guard let sf = self, let observer = observer else { return }
    |                            `- warning: capture of non-sendable type 'T.Type' in an isolated closure
190 |             if sf.meets(observer.flags) {
191 |                 sf.execute(observer: observer)
/Users/admin/builder/spi-builder-workspace/Sources/B9Condition/B9Condition.swift:188:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
186 |         observers.append(observer)
187 |         lock.unlock()
188 |         (observer.queue ?? queue).async { [weak self, weak observer] in
    |                                                 `- warning: capture of non-sendable type 'T.Type' in an isolated closure
189 |             guard let sf = self, let observer = observer else { return }
190 |             if sf.meets(observer.flags) {
[7/7] Emitting module B9Condition
Build complete! (8.41s)
Fetching https://github.com/b9swift/Action.git
[1/45] Fetching action
Fetched https://github.com/b9swift/Action.git from cache (0.69s)
Computing version for https://github.com/b9swift/Action.git
Computed https://github.com/b9swift/Action.git at 1.1.0 (1.28s)
Creating working copy for https://github.com/b9swift/Action.git
Working copy of https://github.com/b9swift/Action.git resolved at 1.1.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "action",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/b9swift/Action.git"
    }
  ],
  "manifest_display_name" : "B9Condition",
  "name" : "B9Condition",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "B9Condition",
      "targets" : [
        "B9Condition"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "B9ConditionTests",
      "module_type" : "SwiftTarget",
      "name" : "B9ConditionTests",
      "path" : "Tests/B9ConditionTests",
      "sources" : [
        "B9ConditionTests.swift"
      ],
      "target_dependencies" : [
        "B9Condition"
      ],
      "type" : "test"
    },
    {
      "c99name" : "B9Condition",
      "module_type" : "SwiftTarget",
      "name" : "B9Condition",
      "path" : "Sources/B9Condition",
      "product_dependencies" : [
        "B9Action"
      ],
      "product_memberships" : [
        "B9Condition"
      ],
      "sources" : [
        "B9Condition.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.