The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Footprint, reference v1.0.6 (7f9010), with Swift 6.1 for macOS (SPM) on 27 May 2025 00:15:10 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/naftaly/Footprint.git
Reference: v1.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/naftaly/Footprint
 * tag               v1.0.6     -> FETCH_HEAD
HEAD is now at 7f9010e Added an AsyncStream to receive footprint changes
Cloned https://github.com/naftaly/Footprint.git
Revision (git rev-parse @):
7f9010e91642e6e3e012ebd6b014e0d60dad3d11
SUCCESS checkout https://github.com/naftaly/Footprint.git at v1.0.6
========================================
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",
  "dependencies": [
    {
      "identity": "footprint",
      "name": "Footprint",
      "url": "https://github.com/naftaly/Footprint.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Footprint",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/naftaly/Footprint.git
[1/152] Fetching footprint
Fetched https://github.com/naftaly/Footprint.git from cache (0.67s)
Creating working copy for https://github.com/naftaly/Footprint.git
Working copy of https://github.com/naftaly/Footprint.git resolved at v1.0.6 (7f9010e)
warning: '.resolve-product-dependencies': dependency 'footprint' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/naftaly/Footprint.git
https://github.com/naftaly/Footprint.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Footprint",
  "name" : "Footprint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Footprint",
      "targets" : [
        "Footprint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FootprintTests",
      "module_type" : "SwiftTarget",
      "name" : "FootprintTests",
      "path" : "Tests/FootprintTests",
      "sources" : [
        "FootprintTests.swift"
      ],
      "target_dependencies" : [
        "Footprint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Footprint",
      "module_type" : "SwiftTarget",
      "name" : "Footprint",
      "path" : "Sources/Footprint",
      "product_memberships" : [
        "Footprint"
      ],
      "sources" : [
        "DefaultMemoryProvider.swift",
        "Footprint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Emitting module Footprint
[4/5] Compiling Footprint Footprint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Footprint/Footprint.swift:256:13: warning: capture of 'action' with non-sendable type '(Footprint.Memory) -> Void' in a '@Sendable' closure
254 |         }
255 |         DispatchQueue.global().async {
256 |             action(mem)
    |             |- warning: capture of 'action' with non-sendable type '(Footprint.Memory) -> Void' in a '@Sendable' closure
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
257 |         }
258 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Footprint/Footprint.swift:256:20: warning: capture of 'mem' with non-sendable type 'Footprint.Memory' in a '@Sendable' closure
 38 |     /// A structure that represents the different values required for easier memory
 39 |     /// handling throughout your apps lifetime.
 40 |     public struct Memory {
    |                   `- note: consider making struct 'Memory' conform to the 'Sendable' protocol
 41 |
 42 |         /// State describes how close to app termination your app is based on memory.
    :
254 |         }
255 |         DispatchQueue.global().async {
256 |             action(mem)
    |                    `- warning: capture of 'mem' with non-sendable type 'Footprint.Memory' in a '@Sendable' closure
257 |         }
258 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Footprint/Footprint.swift:310:45: warning: sending 'memory' risks causing data races; this is an error in the Swift 6 language mode
308 |             DispatchQueue.main.async {
309 |                 NotificationCenter.default.post(name: Footprint.memoryDidChangeNotification, object: nil, userInfo: [
310 |                     Footprint.newMemoryKey: memory,
    |                                             |- warning: sending 'memory' risks causing data races; this is an error in the Swift 6 language mode
    |                                             `- note: task-isolated 'memory' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
311 |                     Footprint.oldMemoryKey: oldMemory,
312 |                     Footprint.changesKey: changeSet,
/Users/admin/builder/spi-builder-workspace/Sources/Footprint/Footprint.swift:311:45: warning: sending 'oldMemory' risks causing data races; this is an error in the Swift 6 language mode
309 |                 NotificationCenter.default.post(name: Footprint.memoryDidChangeNotification, object: nil, userInfo: [
310 |                     Footprint.newMemoryKey: memory,
311 |                     Footprint.oldMemoryKey: oldMemory,
    |                                             |- warning: sending 'oldMemory' risks causing data races; this is an error in the Swift 6 language mode
    |                                             `- note: task-isolated 'oldMemory' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 |                     Footprint.changesKey: changeSet,
313 |                 ])
/Users/admin/builder/spi-builder-workspace/Sources/Footprint/Footprint.swift:312:43: warning: sending 'changeSet' risks causing data races; this is an error in the Swift 6 language mode
310 |                     Footprint.newMemoryKey: memory,
311 |                     Footprint.oldMemoryKey: oldMemory,
312 |                     Footprint.changesKey: changeSet,
    |                                           |- warning: sending 'changeSet' risks causing data races; this is an error in the Swift 6 language mode
    |                                           `- note: task-isolated 'changeSet' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
313 |                 ])
314 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Footprint/Footprint.swift:325:40: warning: sending 'memory' risks causing data races; this is an error in the Swift 6 language mode
323 |             }
324 |             observers.forEach { $0(memory) }
325 |             continuations.forEach { $0.yield(memory) }
    |                                        |- warning: sending 'memory' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'memory' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
326 |         }
327 |     }
[5/5] Compiling Footprint DefaultMemoryProvider.swift
Build complete! (8.56s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Footprint",
  "name" : "Footprint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Footprint",
      "targets" : [
        "Footprint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FootprintTests",
      "module_type" : "SwiftTarget",
      "name" : "FootprintTests",
      "path" : "Tests/FootprintTests",
      "sources" : [
        "FootprintTests.swift"
      ],
      "target_dependencies" : [
        "Footprint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Footprint",
      "module_type" : "SwiftTarget",
      "name" : "Footprint",
      "path" : "Sources/Footprint",
      "product_memberships" : [
        "Footprint"
      ],
      "sources" : [
        "DefaultMemoryProvider.swift",
        "Footprint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.