The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AMLogger, reference main (5db8e3), with Swift 6.1 for macOS (SPM) on 24 Jul 2026 00:26:20 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andrealufino/amlogger.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/andrealufino/amlogger
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5db8e3b Prepare 2.0.0 release
Cloned https://github.com/andrealufino/amlogger.git
Revision (git rev-parse @):
5db8e3b2e8492b618162e31831a911d958f3782c
SUCCESS checkout https://github.com/andrealufino/amlogger.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/andrealufino/amlogger.git
https://github.com/andrealufino/amlogger.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AMLogger",
  "name" : "AMLogger",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "AMLogger",
      "targets" : [
        "AMLogger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AMLoggerTests",
      "module_type" : "SwiftTarget",
      "name" : "AMLoggerTests",
      "path" : "Tests/AMLoggerTests",
      "sources" : [
        "AMLoggerTests.swift"
      ],
      "target_dependencies" : [
        "AMLogger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AMLogger",
      "module_type" : "SwiftTarget",
      "name" : "AMLogger",
      "path" : "Sources/AMLogger",
      "product_memberships" : [
        "AMLogger"
      ],
      "sources" : [
        "AMLogger.swift",
        "Core/AMLogger+Metadata.swift",
        "Core/AMLoggerStore.swift",
        "Core/AMLoggerTypes.swift",
        "SwiftData/AMLoggerMigrationPlan.swift",
        "SwiftData/AMLoggerSchema.swift",
        "UI/AMLoggerBodyDetailView.swift",
        "UI/AMLoggerConsoleView.swift",
        "UI/AMLoggerDetailView.swift",
        "UI/AMLoggerFilteredListView.swift",
        "UI/AMLoggerFiltersView.swift",
        "UI/AMLoggerHelpers.swift",
        "UI/AMLoggerLevelUI.swift",
        "UI/AMLoggerListView.swift",
        "UI/AMLoggerSessionPickerView.swift",
        "UI/AMLoggerSessionsListView.swift",
        "UI/AMLoggerStoreDetailsView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/19] Compiling AMLogger AMLoggerSessionsListView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/19] Compiling AMLogger AMLoggerDetailView.swift
[5/19] Compiling AMLogger AMLoggerFilteredListView.swift
[6/19] Compiling AMLogger AMLoggerFiltersView.swift
[7/19] Compiling AMLogger AMLoggerHelpers.swift
[8/19] Compiling AMLogger AMLoggerSessionPickerView.swift
[9/19] Compiling AMLogger AMLoggerBodyDetailView.swift
[10/19] Compiling AMLogger AMLoggerConsoleView.swift
[11/19] Emitting module AMLogger
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:24:16: error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                `- error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
25 | }
26 |
SwiftData.MigrationStage:3:13: note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
1 | @available(swift 5.9)
2 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
3 | public enum MigrationStage {
  |             `- note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
4 |     case lightweight(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type)
5 |     case custom(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type, willMigrate: ((_ context: ModelContext) throws -> Void)?, didMigrate: ((_ context: ModelContext) throws -> Void)?)
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:9:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 7 | //
 8 |
 9 | import SwiftData
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
10 |
11 |
   :
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                |- note: add '@MainActor' to make static property 'stages' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:21:16: error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                `- error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
SwiftData.Schema.Version:2:22: note: struct 'Version' does not conform to the 'Sendable' protocol
 1 | class Schema {
 2 | public struct Schema.Version : Codable, Comparable, CustomStringConvertible, Hashable {
   |                      `- note: struct 'Version' does not conform to the 'Sendable' protocol
 3 |     public let major: Int
 4 |     public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:10:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
  8 |
  9 | import Foundation
 10 | import SwiftData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 11 |
 12 |
    :
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                |- note: add '@MainActor' to make static property 'versionIdentifier' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
[12/19] Compiling AMLogger AMLoggerMigrationPlan.swift
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:24:16: error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                `- error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
25 | }
26 |
SwiftData.MigrationStage:3:13: note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
1 | @available(swift 5.9)
2 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
3 | public enum MigrationStage {
  |             `- note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
4 |     case lightweight(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type)
5 |     case custom(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type, willMigrate: ((_ context: ModelContext) throws -> Void)?, didMigrate: ((_ context: ModelContext) throws -> Void)?)
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:9:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 7 | //
 8 |
 9 | import SwiftData
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
10 |
11 |
   :
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                |- note: add '@MainActor' to make static property 'stages' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:21:16: error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                `- error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
SwiftData.Schema.Version:2:22: note: struct 'Version' does not conform to the 'Sendable' protocol
 1 | class Schema {
 2 | public struct Schema.Version : Codable, Comparable, CustomStringConvertible, Hashable {
   |                      `- note: struct 'Version' does not conform to the 'Sendable' protocol
 3 |     public let major: Int
 4 |     public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:10:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
  8 |
  9 | import Foundation
 10 | import SwiftData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 11 |
 12 |
    :
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                |- note: add '@MainActor' to make static property 'versionIdentifier' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
[13/19] Compiling AMLogger AMLoggerSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:24:16: error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                `- error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
25 | }
26 |
SwiftData.MigrationStage:3:13: note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
1 | @available(swift 5.9)
2 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
3 | public enum MigrationStage {
  |             `- note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
4 |     case lightweight(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type)
5 |     case custom(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type, willMigrate: ((_ context: ModelContext) throws -> Void)?, didMigrate: ((_ context: ModelContext) throws -> Void)?)
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:9:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 7 | //
 8 |
 9 | import SwiftData
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
10 |
11 |
   :
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                |- note: add '@MainActor' to make static property 'stages' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:21:16: error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                `- error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
SwiftData.Schema.Version:2:22: note: struct 'Version' does not conform to the 'Sendable' protocol
 1 | class Schema {
 2 | public struct Schema.Version : Codable, Comparable, CustomStringConvertible, Hashable {
   |                      `- note: struct 'Version' does not conform to the 'Sendable' protocol
 3 |     public let major: Int
 4 |     public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:10:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
  8 |
  9 | import Foundation
 10 | import SwiftData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 11 |
 12 |
    :
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                |- note: add '@MainActor' to make static property 'versionIdentifier' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
[14/20] Compiling AMLogger AMLoggerStore.swift
[15/20] Compiling AMLogger AMLoggerTypes.swift
[16/20] Compiling AMLogger AMLoggerLevelUI.swift
[17/20] Compiling AMLogger AMLoggerListView.swift
[18/20] Compiling AMLogger AMLogger.swift
[19/20] Compiling AMLogger AMLogger+Metadata.swift
[20/20] Compiling AMLogger AMLoggerStoreDetailsView.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/18] Compiling AMLogger AMLoggerSessionsListView.swift
[3/18] Compiling AMLogger AMLoggerSessionPickerView.swift
[4/19] Compiling AMLogger AMLoggerLevelUI.swift
[5/19] Compiling AMLogger AMLoggerListView.swift
[6/19] Compiling AMLogger AMLoggerBodyDetailView.swift
[7/19] Compiling AMLogger AMLoggerConsoleView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/19] Compiling AMLogger AMLoggerStore.swift
[9/19] Compiling AMLogger AMLoggerTypes.swift
[10/19] Compiling AMLogger AMLogger.swift
[11/19] Compiling AMLogger AMLogger+Metadata.swift
[12/19] Compiling AMLogger AMLoggerFiltersView.swift
[13/19] Compiling AMLogger AMLoggerHelpers.swift
[14/19] Compiling AMLogger AMLoggerDetailView.swift
[15/19] Compiling AMLogger AMLoggerFilteredListView.swift
[16/19] Compiling AMLogger AMLoggerMigrationPlan.swift
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:24:16: error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                `- error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
25 | }
26 |
SwiftData.MigrationStage:3:13: note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
1 | @available(swift 5.9)
2 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
3 | public enum MigrationStage {
  |             `- note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
4 |     case lightweight(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type)
5 |     case custom(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type, willMigrate: ((_ context: ModelContext) throws -> Void)?, didMigrate: ((_ context: ModelContext) throws -> Void)?)
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:9:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 7 | //
 8 |
 9 | import SwiftData
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
10 |
11 |
   :
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                |- note: add '@MainActor' to make static property 'stages' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:21:16: error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                `- error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
SwiftData.Schema.Version:2:22: note: struct 'Version' does not conform to the 'Sendable' protocol
 1 | class Schema {
 2 | public struct Schema.Version : Codable, Comparable, CustomStringConvertible, Hashable {
   |                      `- note: struct 'Version' does not conform to the 'Sendable' protocol
 3 |     public let major: Int
 4 |     public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:10:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
  8 |
  9 | import Foundation
 10 | import SwiftData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 11 |
 12 |
    :
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                |- note: add '@MainActor' to make static property 'versionIdentifier' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
[17/19] Compiling AMLogger AMLoggerSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:24:16: error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                `- error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
25 | }
26 |
SwiftData.MigrationStage:3:13: note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
1 | @available(swift 5.9)
2 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
3 | public enum MigrationStage {
  |             `- note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
4 |     case lightweight(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type)
5 |     case custom(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type, willMigrate: ((_ context: ModelContext) throws -> Void)?, didMigrate: ((_ context: ModelContext) throws -> Void)?)
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:9:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 7 | //
 8 |
 9 | import SwiftData
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
10 |
11 |
   :
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                |- note: add '@MainActor' to make static property 'stages' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:21:16: error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                `- error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
SwiftData.Schema.Version:2:22: note: struct 'Version' does not conform to the 'Sendable' protocol
 1 | class Schema {
 2 | public struct Schema.Version : Codable, Comparable, CustomStringConvertible, Hashable {
   |                      `- note: struct 'Version' does not conform to the 'Sendable' protocol
 3 |     public let major: Int
 4 |     public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:10:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
  8 |
  9 | import Foundation
 10 | import SwiftData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 11 |
 12 |
    :
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                |- note: add '@MainActor' to make static property 'versionIdentifier' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
[18/19] Emitting module AMLogger
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:24:16: error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                `- error: static property 'stages' is not concurrency-safe because non-'Sendable' type '[MigrationStage]' may have shared mutable state
25 | }
26 |
SwiftData.MigrationStage:3:13: note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
1 | @available(swift 5.9)
2 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
3 | public enum MigrationStage {
  |             `- note: enum 'MigrationStage' does not conform to the 'Sendable' protocol
4 |     case lightweight(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type)
5 |     case custom(fromVersion: any VersionedSchema.Type, toVersion: any VersionedSchema.Type, willMigrate: ((_ context: ModelContext) throws -> Void)?, didMigrate: ((_ context: ModelContext) throws -> Void)?)
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerMigrationPlan.swift:9:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 7 | //
 8 |
 9 | import SwiftData
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
10 |
11 |
   :
22 |     ]
23 |
24 |     static let stages: [MigrationStage] = []
   |                |- note: add '@MainActor' to make static property 'stages' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:21:16: error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                `- error: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
SwiftData.Schema.Version:2:22: note: struct 'Version' does not conform to the 'Sendable' protocol
 1 | class Schema {
 2 | public struct Schema.Version : Codable, Comparable, CustomStringConvertible, Hashable {
   |                      `- note: struct 'Version' does not conform to the 'Sendable' protocol
 3 |     public let major: Int
 4 |     public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/AMLogger/SwiftData/AMLoggerSchema.swift:10:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
  8 |
  9 | import Foundation
 10 | import SwiftData
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'SwiftData' as warnings
 11 |
 12 |
    :
 19 | enum AMLoggerSchemaV1: VersionedSchema {
 20 |
 21 |     static let versionIdentifier = Schema.Version(1, 0, 0)
    |                |- note: add '@MainActor' to make static property 'versionIdentifier' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     static let models: [any PersistentModel.Type] = [
[19/19] Compiling AMLogger AMLoggerStoreDetailsView.swift
BUILD FAILURE 6.1 macosSpm