The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Weakable, reference 1.0.1 (79acbe), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 03:18:45 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BellAppLab/Weakable.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BellAppLab/Weakable
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 79acbe3 Swift 4.2
Cloned https://github.com/BellAppLab/Weakable.git
Revision (git rev-parse @):
79acbe3cc0ca67d67efb2c898f4048f1582861d0
SUCCESS checkout https://github.com/BellAppLab/Weakable.git at 1.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "weakable",
      "name": "Weakable",
      "url": "https://github.com/BellAppLab/Weakable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Weakable",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/BellAppLab/Weakable.git
[1/155] Fetching weakable
Fetched https://github.com/BellAppLab/Weakable.git from cache (0.76s)
Creating working copy for https://github.com/BellAppLab/Weakable.git
Working copy of https://github.com/BellAppLab/Weakable.git resolved at 1.0.1 (79acbe3)
warning: '.resolve-product-dependencies': dependency 'weakable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/BellAppLab/Weakable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/4] Compiling Weakable Weak.swift
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:43:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 41 |      Given a `Weak`, returns the underlying object if it can be converted to `T`.
 42 |      */
 43 |     public func `as`<T>() -> T? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 44 |         return object as? T
 45 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:202:5: warning: 'public' modifier is redundant for instance method declared in a public extension
200 |      - complexity: O(n)
201 |      */
202 |     public func filterWeaks() -> [Element] {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
203 |         return filter { $0.object != nil }
204 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:213:5: warning: 'public' modifier is redundant for instance method declared in a public extension
211 |      - complexity: O(n)
212 |      */
213 |     public func compactWeaks() -> [Element.WeakObject] {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
214 |         #if swift(>=4.0)
215 |         return compactMap { $0.object }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:228:5: warning: 'public' modifier is redundant for instance method declared in a public extension
226 |      - complexity: O(n)
227 |      */
228 |     public mutating func removeWeaks() {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
229 |         self = filterWeaks()
230 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:239:5: warning: 'public' modifier is redundant for instance method declared in a public extension
237 |      - complexity: O(n)
238 |      */
239 |     public func `as`<T>() -> [T] {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
240 |         #if swift(>=4.0)
241 |         return compactMap { $0.as() }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:256:5: warning: 'public' modifier is redundant for instance method declared in a public extension
254 |      - complexity: O(n)
255 |      */
256 |     public func asWeaks() -> [Weak<Element>] {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
257 |         return map { ≈$0 }
258 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:270:5: warning: 'public' modifier is redundant for instance method declared in a public extension
268 |      - complexity: O(n)
269 |      */
270 |     public func filterWeaks() -> Dictionary<Key, Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
271 |         #if swift(>=4.0)
272 |         return filter { $1.object != nil }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:291:5: warning: 'public' modifier is redundant for instance method declared in a public extension
289 |      - complexity: O(n)
290 |      */
291 |     public func compactWeaks() -> Dictionary<Key, Value.WeakObject> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
292 |         return filterWeaks().mapValues { $0.object! }
293 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:302:5: warning: 'public' modifier is redundant for instance method declared in a public extension
300 |      - complexity: O(n)
301 |      */
302 |     public mutating func removeWeaks() {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
303 |         self = filterWeaks()
304 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:313:5: warning: 'public' modifier is redundant for instance method declared in a public extension
311 |      - complexity: O(n)
312 |      */
313 |     public func `as`<T>() -> Dictionary<Key, T> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
314 |         var result = Dictionary<Key, T>()
315 |         forEach { result[$0] = $1.as() }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:328:5: warning: 'public' modifier is redundant for instance method declared in a public extension
326 |      - complexity: O(n)
327 |      */
328 |     public func asWeakValues() -> Dictionary<Key, Weak<Value>> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
329 |         return mapValues { ≈$0 }
330 |     }
[4/4] Emitting module Weakable
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:43:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 41 |      Given a `Weak`, returns the underlying object if it can be converted to `T`.
 42 |      */
 43 |     public func `as`<T>() -> T? {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 44 |         return object as? T
 45 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:202:5: warning: 'public' modifier is redundant for instance method declared in a public extension
200 |      - complexity: O(n)
201 |      */
202 |     public func filterWeaks() -> [Element] {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
203 |         return filter { $0.object != nil }
204 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:213:5: warning: 'public' modifier is redundant for instance method declared in a public extension
211 |      - complexity: O(n)
212 |      */
213 |     public func compactWeaks() -> [Element.WeakObject] {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
214 |         #if swift(>=4.0)
215 |         return compactMap { $0.object }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:228:5: warning: 'public' modifier is redundant for instance method declared in a public extension
226 |      - complexity: O(n)
227 |      */
228 |     public mutating func removeWeaks() {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
229 |         self = filterWeaks()
230 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:239:5: warning: 'public' modifier is redundant for instance method declared in a public extension
237 |      - complexity: O(n)
238 |      */
239 |     public func `as`<T>() -> [T] {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
240 |         #if swift(>=4.0)
241 |         return compactMap { $0.as() }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:256:5: warning: 'public' modifier is redundant for instance method declared in a public extension
254 |      - complexity: O(n)
255 |      */
256 |     public func asWeaks() -> [Weak<Element>] {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
257 |         return map { ≈$0 }
258 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:270:5: warning: 'public' modifier is redundant for instance method declared in a public extension
268 |      - complexity: O(n)
269 |      */
270 |     public func filterWeaks() -> Dictionary<Key, Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
271 |         #if swift(>=4.0)
272 |         return filter { $1.object != nil }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:291:5: warning: 'public' modifier is redundant for instance method declared in a public extension
289 |      - complexity: O(n)
290 |      */
291 |     public func compactWeaks() -> Dictionary<Key, Value.WeakObject> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
292 |         return filterWeaks().mapValues { $0.object! }
293 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:302:5: warning: 'public' modifier is redundant for instance method declared in a public extension
300 |      - complexity: O(n)
301 |      */
302 |     public mutating func removeWeaks() {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
303 |         self = filterWeaks()
304 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:313:5: warning: 'public' modifier is redundant for instance method declared in a public extension
311 |      - complexity: O(n)
312 |      */
313 |     public func `as`<T>() -> Dictionary<Key, T> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
314 |         var result = Dictionary<Key, T>()
315 |         forEach { result[$0] = $1.as() }
/Users/admin/builder/spi-builder-workspace/Sources/Weakable/Weak.swift:328:5: warning: 'public' modifier is redundant for instance method declared in a public extension
326 |      - complexity: O(n)
327 |      */
328 |     public func asWeakValues() -> Dictionary<Key, Weak<Value>> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
329 |         return mapValues { ≈$0 }
330 |     }
Build complete! (3.46s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Weakable",
  "name" : "Weakable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Weakable",
      "targets" : [
        "Weakable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "3",
    "4"
  ],
  "targets" : [
    {
      "c99name" : "WeakableTests",
      "module_type" : "SwiftTarget",
      "name" : "WeakableTests",
      "path" : "Tests/WeakableTests",
      "sources" : [
        "WeakTests.swift"
      ],
      "target_dependencies" : [
        "Weakable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Weakable",
      "module_type" : "SwiftTarget",
      "name" : "Weakable",
      "path" : "Sources/Weakable",
      "product_memberships" : [
        "Weakable"
      ],
      "sources" : [
        "Weak.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Done.