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 SwiftDataCounter, reference main (76729e), with Swift 6.0 for macOS (SPM) on 14 Sep 2025 05:57:44 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markbattistella/SwiftDataCounter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/SwiftDataCounter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 76729ef 2025-09-14
Cloned https://github.com/markbattistella/SwiftDataCounter.git
Revision (git rev-parse @):
76729ef225516334d9d2d66411ee1ca1ca261f02
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/SwiftDataCounter.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/markbattistella/SwiftDataCounter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/20] Compiling SimpleLogger Category+Network.swift
[5/20] Compiling SimpleLogger Category+Performance.swift
[6/20] Compiling SimpleLogger Category+Persistence.swift
[7/20] Compiling SimpleLogger Category+Security.swift
[8/20] Compiling SimpleLogger Date+Ext.swift
[9/20] Compiling SimpleLogger LogLevel+Ext.swift
[10/20] Emitting module SimpleLogger
[11/20] Compiling SimpleLogger Category+Architecture.swift
[12/20] Compiling SimpleLogger Category+Miscellaneous.swift
[13/20] Compiling SimpleLogger LoggerCategory.swift
[14/20] Compiling SimpleLogger Category+System.swift
[15/20] Compiling SimpleLogger Category+Testing.swift
[16/20] Compiling SimpleLogger Category+UI.swift
[17/20] Compiling SimpleLogger Category+Utilities.swift
[18/20] Compiling SimpleLogger Delimiter.swift
[19/20] Compiling SimpleLogger Logger+Ext.swift
[20/20] Compiling SimpleLogger AgnosticColor.swift
[21/21] Compiling SimpleLogger LoggerManager.swift
[22/25] Compiling SwiftDataCounter EntityCounterError.swift
[23/25] Compiling SwiftDataCounter EntityCounter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataCounter/EntityCounter.swift:289:9: warning: non-sendable type 'Notification?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
287 |     private func observeContextSaves() async {
288 |         guard let context else { return }
289 |         for await note in NotificationCenter.default.notifications(named: ModelContext.didSave) {
    |         `- warning: non-sendable type 'Notification?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
290 |             guard let obj = note.object as? ModelContext, obj === context else { continue }
291 |             self.refresh()
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
[24/25] Emitting module SwiftDataCounter
[25/25] Compiling SwiftDataCounter CountablePersistentModel.swift
Build complete! (15.62s)
Fetching https://github.com/markbattistella/SimpleLogger
[1/97] Fetching simplelogger
Fetched https://github.com/markbattistella/SimpleLogger from cache (0.62s)
Computing version for https://github.com/markbattistella/SimpleLogger
Computed https://github.com/markbattistella/SimpleLogger at 1.2.0 (0.50s)
Creating working copy for https://github.com/markbattistella/SimpleLogger
Working copy of https://github.com/markbattistella/SimpleLogger resolved at 1.2.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "simplelogger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/markbattistella/SimpleLogger"
    }
  ],
  "manifest_display_name" : "SwiftDataCounter",
  "name" : "SwiftDataCounter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftDataCounter",
      "targets" : [
        "SwiftDataCounter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftDataCounter",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDataCounter",
      "path" : "Sources/SwiftDataCounter",
      "product_dependencies" : [
        "SimpleLogger"
      ],
      "product_memberships" : [
        "SwiftDataCounter"
      ],
      "sources" : [
        "CountablePersistentModel.swift",
        "EntityCounter.swift",
        "EntityCounterError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.