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.1 for macOS (SPM) on 14 Sep 2025 05:57:52 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.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
Fetching https://github.com/markbattistella/SimpleLogger
[1/97] Fetching simplelogger
Fetched https://github.com/markbattistella/SimpleLogger from cache (0.63s)
Computing version for https://github.com/markbattistella/SimpleLogger
Computed https://github.com/markbattistella/SimpleLogger at 1.2.0 (1.18s)
Creating working copy for https://github.com/markbattistella/SimpleLogger
Working copy of https://github.com/markbattistella/SimpleLogger resolved at 1.2.0
========================================
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": "swiftdatacounter",
      "name": "SwiftDataCounter",
      "url": "https://github.com/markbattistella/SwiftDataCounter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftDataCounter",
      "dependencies": [
        {
          "identity": "simplelogger",
          "name": "SimpleLogger",
          "url": "https://github.com/markbattistella/SimpleLogger",
          "version": "1.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SimpleLogger",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/markbattistella/SwiftDataCounter.git
[1/31] Fetching swiftdatacounter
Fetched https://github.com/markbattistella/SwiftDataCounter.git from cache (0.60s)
Fetching https://github.com/markbattistella/SimpleLogger from cache
Fetched https://github.com/markbattistella/SimpleLogger from cache (0.42s)
Computing version for https://github.com/markbattistella/SimpleLogger
Computed https://github.com/markbattistella/SimpleLogger at 1.2.0 (0.48s)
Creating working copy for https://github.com/markbattistella/SimpleLogger
Working copy of https://github.com/markbattistella/SimpleLogger resolved at 1.2.0
Creating working copy for https://github.com/markbattistella/SwiftDataCounter.git
Working copy of https://github.com/markbattistella/SwiftDataCounter.git resolved at main (76729ef)
warning: '.resolve-product-dependencies': dependency 'swiftdatacounter' is not used by any target
Found 1 product dependencies
  - SimpleLogger
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/markbattistella/SwiftDataCounter.git
https://github.com/markbattistella/SwiftDataCounter.git
{
  "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"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/20] Compiling SimpleLogger Delimiter.swift
[5/21] Compiling SimpleLogger LoggerManager.swift
[6/21] Compiling SimpleLogger LoggerCategory.swift
[7/21] Compiling SimpleLogger Category+UI.swift
[8/21] Compiling SimpleLogger Category+Utilities.swift
[9/21] Compiling SimpleLogger Category+Network.swift
[10/21] Compiling SimpleLogger Category+Performance.swift
[11/21] Emitting module SimpleLogger
[12/21] Compiling SimpleLogger Category+Architecture.swift
[13/21] Compiling SimpleLogger Category+Miscellaneous.swift
[14/21] Compiling SimpleLogger Category+Persistence.swift
[15/21] Compiling SimpleLogger Category+Security.swift
[16/21] Compiling SimpleLogger Category+System.swift
[17/21] Compiling SimpleLogger Category+Testing.swift
[18/21] Compiling SimpleLogger Date+Ext.swift
[19/21] Compiling SimpleLogger LogLevel+Ext.swift
[20/21] Compiling SimpleLogger Logger+Ext.swift
[21/21] Compiling SimpleLogger AgnosticColor.swift
[22/25] Compiling SwiftDataCounter EntityCounterError.swift
[23/25] Compiling SwiftDataCounter CountablePersistentModel.swift
[24/25] Compiling SwiftDataCounter EntityCounter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataCounter/EntityCounter.swift:289:9: warning: non-sendable result type 'Notification?' cannot be sent from nonisolated context in call to instance method 'next()'; 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 result type 'Notification?' cannot be sent from nonisolated context in call to instance method 'next()'; 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)
[25/25] Emitting module SwiftDataCounter
Build complete! (13.33s)
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.