The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Pharos, reference main (454d8f), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 20:10:05 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/hainayanda/Pharos.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hainayanda/Pharos
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 454d8fe Merge pull request #29 from hainayanda/second-rewrite
Cloned https://github.com/hainayanda/Pharos.git
Revision (git rev-parse @):
454d8fec32933ae262078957dce6622f449c9ba6
SUCCESS checkout https://github.com/hainayanda/Pharos.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/hainayanda/Pharos.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 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] Chary
[36 / 80]
[41 / 80]
[44 / 80]
[45 / 80]
[49 / 80]
[51 / 80]
[54 / 80]
[57 / 80]
[59 / 80]
[60 / 80]
[63 / 80] Chary
[70 / 81] Pharos
[79 / 92] Pharos
[80 / 92] Pharos
[89 / 92] Pharos
Build complete! (8.37 sec)
Fetching https://github.com/hainayanda/Chary.git
[1/514] Fetching chary
Fetched https://github.com/hainayanda/Chary.git (1.60s)
Computing version for https://github.com/hainayanda/Chary.git
Computed https://github.com/hainayanda/Chary.git at 1.0.7 (2.31s)
Creating working copy for https://github.com/hainayanda/Chary.git
Working copy of https://github.com/hainayanda/Chary.git resolved at 1.0.7
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/Base/Invokable.swift:20:24: warning: class property 'current' cannot be used in an '@inlinable' function because 'Chary' was not imported by this file; this is an error in the Swift 6 language mode
18 | extension Invokable {
19 |     @inlinable func fire(after delay: TimeInterval) {
20 |         (DispatchQueue.current ?? DispatchQueue.main)
   |                        |- warning: class property 'current' cannot be used in an '@inlinable' function because 'Chary' was not imported by this file; this is an error in the Swift 6 language mode
   |                        `- note: The missing import of module 'Chary' will be added implicitly
21 |             .asyncAfter(deadline: .now() + delay) { [weak self] in
22 |                 self?.fire()
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/Retaining/Retainable.swift:75:24: warning: class property 'current' cannot be used in an '@inlinable' function because 'Chary' was not imported by this file; this is an error in the Swift 6 language mode
 73 |     @inlinable func retain(for timeInterval: TimeInterval) -> Invokable {
 74 |         let discardTime = Date(timeIntervalSinceNow: timeInterval)
 75 |         (DispatchQueue.current ?? .main).asyncAfter(deadline: .now() + timeInterval) { [weak self] in
    |                        |- warning: class property 'current' cannot be used in an '@inlinable' function because 'Chary' was not imported by this file; this is an error in the Swift 6 language mode
    |                        `- note: The missing import of module 'Chary' will be added implicitly
 76 |             self?.discard()
 77 |         }
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/Retaining/Retainable.swift:75:24: warning: class property 'current' cannot be used in an '@inlinable' function because 'Chary' was not imported by this file; this is an error in the Swift 6 language mode
 73 |     @inlinable func retain(for timeInterval: TimeInterval) -> Invokable {
 74 |         let discardTime = Date(timeIntervalSinceNow: timeInterval)
 75 |         (DispatchQueue.current ?? .main).asyncAfter(deadline: .now() + timeInterval) { [weak self] in
    |                        |- warning: class property 'current' cannot be used in an '@inlinable' function because 'Chary' was not imported by this file; this is an error in the Swift 6 language mode
    |                        `- note: The missing import of module 'Chary' will be added implicitly
 76 |             self?.discard()
 77 |         }
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/Retaining/Retainable.swift:94:57: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 92 |     @discardableResult
 93 |     public func retained(by object: AnyObject) -> Invokable {
 94 |         var retained = objc_getAssociatedObject(object, &retainingKey) as? [AnyObject] ?? []
    |                                                         `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 95 |         retained.append(self)
 96 |         objc_setAssociatedObject(object, &retainingKey, retained, .OBJC_ASSOCIATION_RETAIN)
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/Retaining/Retainable.swift:96:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 94 |         var retained = objc_getAssociatedObject(object, &retainingKey) as? [AnyObject] ?? []
 95 |         retained.append(self)
 96 |         objc_setAssociatedObject(object, &retainingKey, retained, .OBJC_ASSOCIATION_RETAIN)
    |                                          `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
 97 |         return self
 98 |     }
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/Retaining/Retainable.swift:105:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
103 | extension AnyObservable {
104 |     public func release() {
105 |         objc_setAssociatedObject(self, &retainingKey, [], .OBJC_ASSOCIATION_RETAIN)
    |                                        `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
106 |     }
107 | }
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/Retaining/Retainable.swift:155:57: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
153 |         guard let parent = parent else { return self }
154 |         let exclusive = ExclusiveRetainableWrapper(retained: self, source: parent)
155 |         var retained = objc_getAssociatedObject(object, &retainingKey) as? [AnyObject] ?? []
    |                                                         `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
156 |         retained.removeAll {
157 |             ($0 as? ExclusiveRetainableWrapper)?.isComing(from: parent) ?? false
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/Retaining/Retainable.swift:160:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
158 |         }
159 |         retained.append(exclusive)
160 |         objc_setAssociatedObject(object, &retainingKey, retained, .OBJC_ASSOCIATION_RETAIN)
    |                                          `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
161 |         return self
162 |     }
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/Retaining/Retainable.swift:195:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
193 |
194 |     public func discardAll() {
195 |         objc_setAssociatedObject(self, &retainingKey, [], .OBJC_ASSOCIATION_RETAIN)
    |                                        `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
196 |     }
197 | }
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/Base/Invokable.swift:20:24: warning: class property 'current' cannot be used in an '@inlinable' function because 'Chary' was not imported by this file; this is an error in the Swift 6 language mode
18 | extension Invokable {
19 |     @inlinable func fire(after delay: TimeInterval) {
20 |         (DispatchQueue.current ?? DispatchQueue.main)
   |                        |- warning: class property 'current' cannot be used in an '@inlinable' function because 'Chary' was not imported by this file; this is an error in the Swift 6 language mode
   |                        `- note: The missing import of module 'Chary' will be added implicitly
21 |             .asyncAfter(deadline: .now() + delay) { [weak self] in
22 |                 self?.fire()
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/PopulatedRelays/PopulatedRelays.swift:75:55: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
73 |
74 |     func findRetained(where match: (AnyObject) -> Bool) -> AnyObject? {
75 |         let retained = objc_getAssociatedObject(self, &populatedRelayRetainingKey) as? [AnyObject] ?? []
   |                                                       `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
76 |         return retained.first(where: match)
77 |     }
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/PopulatedRelays/PopulatedRelays.swift:80:55: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
78 |
79 |     func retain(_ object: AnyObject) {
80 |         var retained = objc_getAssociatedObject(self, &populatedRelayRetainingKey) as? [AnyObject] ?? []
   |                                                       `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
81 |         retained.append(self)
82 |         objc_setAssociatedObject(self, &populatedRelayRetainingKey, retained, .OBJC_ASSOCIATION_RETAIN)
/Users/admin/builder/spi-builder-workspace/Pharos/Classes/PopulatedRelays/PopulatedRelays.swift:82:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
80 |         var retained = objc_getAssociatedObject(self, &populatedRelayRetainingKey) as? [AnyObject] ?? []
81 |         retained.append(self)
82 |         objc_setAssociatedObject(self, &populatedRelayRetainingKey, retained, .OBJC_ASSOCIATION_RETAIN)
   |                                        `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
83 |     }
84 | }
Build complete.
{
  "dependencies" : [
    {
      "identity" : "chary",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/hainayanda/Chary.git"
    }
  ],
  "manifest_display_name" : "Pharos",
  "name" : "Pharos",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Pharos",
      "targets" : [
        "Pharos"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Pharos",
      "module_type" : "SwiftTarget",
      "name" : "Pharos",
      "path" : "Pharos/Classes",
      "product_dependencies" : [
        "Chary"
      ],
      "product_memberships" : [
        "Pharos"
      ],
      "sources" : [
        "Base/AnyObservable.swift",
        "Base/Changes.swift",
        "Base/Invokable.swift",
        "Base/InvokableGroup.swift",
        "Base/Observing.swift",
        "Base/Unwrapable.swift",
        "Base/WrappingObserver.swift",
        "Observable/BufferedObservable.swift",
        "Observable/CombinedObservable.swift",
        "Observable/KVOObservable.swift",
        "Observable/MergedObservable.swift",
        "Observable/Observable+Extensions.swift",
        "Observable/Observable.swift",
        "Observable/ObservableBlock.swift",
        "Observable/Publisher.swift",
        "Observable/Subject.swift",
        "PopulatedRelays/BindableCollection+TextInput.swift",
        "PopulatedRelays/BindableCollection+UIButton.swift",
        "PopulatedRelays/BindableCollection+UICollectionView.swift",
        "PopulatedRelays/BindableCollection+UIControl.swift",
        "PopulatedRelays/BindableCollection+UIImageView.swift",
        "PopulatedRelays/BindableCollection+UILabel.swift",
        "PopulatedRelays/BindableCollection+UIScrollView.swift",
        "PopulatedRelays/BindableCollection+UISlider.swift",
        "PopulatedRelays/BindableCollection+UIStackView.swift",
        "PopulatedRelays/BindableCollection+UIStepper.swift",
        "PopulatedRelays/BindableCollection+UISwitch.swift",
        "PopulatedRelays/BindableCollection+UITableView.swift",
        "PopulatedRelays/BindableCollection+UIView.swift",
        "PopulatedRelays/BindableCollectionCellView.swift",
        "PopulatedRelays/PopulatedRelays.swift",
        "Retaining/ExclusiveRetainableWrapper.swift",
        "Retaining/Retainable.swift",
        "Retaining/RetainableGroup.swift",
        "Retaining/WeakWrappedObserver.swift",
        "UIControl/UIControl+Extensions.swift",
        "UIControl/UIControlAction.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.