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 1.1.0 (280d11), with Swift 6.0 for macOS (SPM) on 14 Sep 2025 14:05:46 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: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/SwiftDataCounter
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 280d119 2025-09-14 - updated readme
Cloned https://github.com/markbattistella/SwiftDataCounter.git
Revision (git rev-parse @):
280d1190da8827dc2644f181fb68b144fdec43e1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/SwiftDataCounter.git at 1.1.0
========================================
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 Delimiter.swift
[5/21] Compiling SimpleLogger LoggerCategory.swift
[6/21] Compiling SimpleLogger Category+System.swift
[7/21] Compiling SimpleLogger Category+Testing.swift
[8/21] Compiling SimpleLogger Logger+Ext.swift
[9/21] Compiling SimpleLogger AgnosticColor.swift
[10/21] Compiling SimpleLogger LoggerManager.swift
[11/21] Compiling SimpleLogger Category+UI.swift
[12/21] Compiling SimpleLogger Category+Utilities.swift
[13/21] Compiling SimpleLogger Category+Network.swift
[14/21] Compiling SimpleLogger Category+Performance.swift
[15/21] Compiling SimpleLogger Category+Architecture.swift
[16/21] Compiling SimpleLogger Category+Miscellaneous.swift
[17/21] Emitting module SimpleLogger
[18/21] Compiling SimpleLogger Category+Persistence.swift
[19/21] Compiling SimpleLogger Category+Security.swift
[20/21] Compiling SimpleLogger Date+Ext.swift
[21/21] Compiling SimpleLogger LogLevel+Ext.swift
[22/25] Compiling SwiftDataCounter FetchablePersistentModel.swift
[23/25] Compiling SwiftDataCounter EntityCounterError.swift
[24/25] Compiling SwiftDataCounter EntityCounter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataCounter/EntityCounter.swift:308: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
306 |     private func observeContextSaves() async {
307 |         guard let context else { return }
308 |         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
309 |             guard let obj = note.object as? ModelContext, obj === context else { continue }
310 |             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)
[25/25] Emitting module SwiftDataCounter
Build complete! (15.44s)
Fetching https://github.com/markbattistella/SimpleLogger
[1/97] Fetching simplelogger
Fetched https://github.com/markbattistella/SimpleLogger from cache (0.65s)
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" : [
        "EntityCounter.swift",
        "EntityCounterError.swift",
        "FetchablePersistentModel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.