The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of CoreDataRepository, reference 2.0.5 (f0c5f8), with Swift 6.0 for macOS (SPM) on 9 Dec 2024 19:42:26 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/roanutil/CoreDataRepository.git
Reference: 2.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/roanutil/CoreDataRepository
 * tag               2.0.5      -> FETCH_HEAD
HEAD is now at f0c5f84 Merge pull request #33 from roanutil/bugfix/unable-to-build-v2-with-swift-6
Cloned https://github.com/roanutil/CoreDataRepository.git
Revision (git rev-parse @):
f0c5f84ff66c000d433d0d9b694dce77523aa58c
SUCCESS checkout https://github.com/roanutil/CoreDataRepository.git at 2.0.5
Fetching https://github.com/CombineCommunity/CombineExt.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump.git
[1/4529] Fetching swift-custom-dump
[319/6750] Fetching swift-custom-dump, combineext
[1540/11766] Fetching swift-custom-dump, combineext, xctest-dynamic-overlay
Fetched https://github.com/CombineCommunity/CombineExt.git from cache (1.45s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.45s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (1.45s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 0.11.2 (0.63s)
Computing version for https://github.com/CombineCommunity/CombineExt.git
Computed https://github.com/CombineCommunity/CombineExt.git at 1.8.1 (0.61s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.62s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/CombineCommunity/CombineExt.git
Working copy of https://github.com/CombineCommunity/CombineExt.git resolved at 1.8.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 0.11.2
========================================
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": "coredatarepository",
      "name": "CoreDataRepository",
      "url": "https://github.com/roanutil/CoreDataRepository.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CoreDataRepository",
      "dependencies": [
        {
          "identity": "combineext",
          "name": "CombineExt",
          "url": "https://github.com/CombineCommunity/CombineExt.git",
          "version": "1.8.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CombineExt",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/roanutil/CoreDataRepository.git
[1/1455] Fetching coredatarepository
Fetched https://github.com/roanutil/CoreDataRepository.git from cache (0.99s)
Fetching https://github.com/CombineCommunity/CombineExt.git from cache
Fetched https://github.com/CombineCommunity/CombineExt.git from cache (0.48s)
Computing version for https://github.com/CombineCommunity/CombineExt.git
Computed https://github.com/CombineCommunity/CombineExt.git at 1.8.1 (0.02s)
Creating working copy for https://github.com/CombineCommunity/CombineExt.git
Working copy of https://github.com/CombineCommunity/CombineExt.git resolved at 1.8.1
Creating working copy for https://github.com/roanutil/CoreDataRepository.git
Working copy of https://github.com/roanutil/CoreDataRepository.git resolved at 2.0.5 (f0c5f84)
warning: '.resolve-product-dependencies': dependency 'coredatarepository' is not used by any target
Found 1 product dependencies
  - CombineExt
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/roanutil/CoreDataRepository.git
https://github.com/roanutil/CoreDataRepository.git
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "combineext",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CombineCommunity/CombineExt.git"
    },
    {
      "identity" : "swift-custom-dump",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-custom-dump.git"
    }
  ],
  "manifest_display_name" : "CoreDataRepository",
  "name" : "CoreDataRepository",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "CoreDataRepository",
      "targets" : [
        "CoreDataRepository"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CoreDataRepositoryTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreDataRepositoryTests",
      "path" : "Tests/CoreDataRepositoryTests",
      "product_dependencies" : [
        "CustomDump"
      ],
      "sources" : [
        "AggregateRepositoryTests.swift",
        "BatchRepositoryTests.swift",
        "CRUDRepositoryTests.swift",
        "CoreDataStack.swift",
        "CoreDataXCTestCase.swift",
        "FetchRepositoryTests.swift",
        "Movie.swift"
      ],
      "target_dependencies" : [
        "CoreDataRepository"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoreDataRepository",
      "module_type" : "SwiftTarget",
      "name" : "CoreDataRepository",
      "path" : "Sources/CoreDataRepository",
      "product_dependencies" : [
        "CombineExt"
      ],
      "product_memberships" : [
        "CoreDataRepository"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        }
      ],
      "sources" : [
        "CoreDataRepository+Aggregate.swift",
        "CoreDataRepository+Batch.swift",
        "CoreDataRepository+CRUD.swift",
        "CoreDataRepository+Fetch.swift",
        "CoreDataRepository.swift",
        "CoreDataRepositoryError.swift",
        "FetchSubscription.swift",
        "NSManagedObject+CRUDHelpers.swift",
        "NSManagedObjectContext+CRUDHelpers.swift",
        "NSManagedObjectContext+Child.swift",
        "NSManagedObjectContext+Scratchpad.swift",
        "ReadSubscription.swift",
        "RepositoryManagedModel.swift",
        "Result+CRUDHelpers.swift",
        "SubscriptionProvider.swift",
        "UnmanagedModel.swift",
        "_Result.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/5] Write sources
[1/5] Copying Info.plist
[3/5] Copying Localizable.strings
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/42] Emitting module CombineExt
[7/46] Compiling CombineExt MapMany.swift
[8/46] Compiling CombineExt MapToResult.swift
[9/46] Compiling CombineExt MapToValue.swift
[10/46] Compiling CombineExt Materialize.swift
[11/46] Compiling CombineExt ShareReplay.swift
[12/46] Compiling CombineExt Toggle.swift
[13/46] Compiling CombineExt WithLatestFrom.swift
[14/46] Compiling CombineExt ZipMany.swift
[15/46] Compiling CombineExt CurrentValueRelay.swift
[16/46] Compiling CombineExt PassthroughRelay.swift
[17/46] Compiling CombineExt Relay.swift
[18/46] Compiling CombineExt ReplaySubject.swift
[19/46] Compiling CombineExt ObjectOwnership.swift
[20/46] Compiling CombineExt Amb.swift
[21/46] Compiling CombineExt AssignOwnership.swift
[22/46] Compiling CombineExt AssignToMany.swift
[23/46] Compiling CombineExt DemandBuffer.swift
[24/46] Compiling CombineExt Sink.swift
[25/46] Compiling CombineExt Optional.swift
[26/46] Compiling CombineExt Event.swift
[27/46] Compiling CombineExt FilterMany.swift
[28/46] Compiling CombineExt FlatMapBatches.swift
[29/46] Compiling CombineExt FlatMapFirst.swift
[30/46] Compiling CombineExt FlatMapLatest.swift
[31/46] Compiling CombineExt IgnoreFailure.swift
[32/46] Compiling CombineExt IgnoreOutputSetOutputType.swift
[33/46] Compiling CombineExt Lock.swift
[34/46] Compiling CombineExt Timer.swift
[35/46] Compiling CombineExt MergeMany.swift
[36/46] Compiling CombineExt Nwise.swift
[37/46] Compiling CombineExt Partition.swift
[38/46] Compiling CombineExt PrefixDuration.swift
[39/46] Compiling CombineExt CombineLatestMany.swift
[40/46] Compiling CombineExt Create.swift
[41/46] Compiling CombineExt Dematerialize.swift
[42/46] Compiling CombineExt Enumerated.swift
[43/46] Compiling CombineExt PrefixWhileBehavior.swift
[44/46] Compiling CombineExt RemoveAllDuplicates.swift
[45/46] Compiling CombineExt RetryWhen.swift
[46/46] Compiling CombineExt SetOutputType.swift
[47/64] Compiling CoreDataRepository SubscriptionProvider.swift
[48/64] Compiling CoreDataRepository UnmanagedModel.swift
[49/64] Compiling CoreDataRepository NSManagedObjectContext+CRUDHelpers.swift
[50/64] Compiling CoreDataRepository NSManagedObjectContext+Child.swift
[51/64] Compiling CoreDataRepository RepositoryManagedModel.swift
[52/64] Compiling CoreDataRepository Result+CRUDHelpers.swift
[53/64] Compiling CoreDataRepository _Result.swift
[54/65] Compiling CoreDataRepository FetchSubscription.swift
[55/65] Compiling CoreDataRepository NSManagedObject+CRUDHelpers.swift
[56/65] Compiling CoreDataRepository CoreDataRepository.swift
[57/65] Compiling CoreDataRepository CoreDataRepositoryError.swift
[58/65] Compiling CoreDataRepository CoreDataRepository+Aggregate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:48:15: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |         var successes = [Model]()
 47 |         var failures = [Model]()
 48 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
    |               `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 49 |             guard let self = self else {
 50 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:48:67: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |         var successes = [Model]()
 47 |         var failures = [Model]()
 48 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
    |                                                                   `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 49 |             guard let self = self else {
 50 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:50:23: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 48 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
 49 |             guard let self = self else {
 50 |                 group.cancelAll()
    |                       `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 51 |                 return
 52 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:54:35: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 52 |             }
 53 |             for item in items {
 54 |                 let added = group.addTaskUnlessCancelled {
    |                                   `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 55 |                     async let result: Result<Model, CoreDataRepositoryError> = self
 56 |                         .create(item, transactionAuthor: transactionAuthor)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:101:15: warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 |         var successes = [Model]()
100 |         var failures = [URL]()
101 |         await withTaskGroup(of: _Result<Model, URL>.self, body: { [weak self] group in
    |               `- warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |             guard let self = self else {
103 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:101:65: warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 |         var successes = [Model]()
100 |         var failures = [URL]()
101 |         await withTaskGroup(of: _Result<Model, URL>.self, body: { [weak self] group in
    |                                                                 `- warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |             guard let self = self else {
103 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:103:23: warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
101 |         await withTaskGroup(of: _Result<Model, URL>.self, body: { [weak self] group in
102 |             guard let self = self else {
103 |                 group.cancelAll()
    |                       `- warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
104 |                 return
105 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:107:35: warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |             }
106 |             for url in urls {
107 |                 let added = group.addTaskUnlessCancelled {
    |                                   `- warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 |                     async let result: Result<Model, CoreDataRepositoryError> = self.read(url)
109 |                     switch await result {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:165:15: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
163 |         var successes = [Model]()
164 |         var failures = [Model]()
165 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
    |               `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
166 |             guard let self = self else {
167 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:165:67: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
163 |         var successes = [Model]()
164 |         var failures = [Model]()
165 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
    |                                                                   `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
166 |             guard let self = self else {
167 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:167:23: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
166 |             guard let self = self else {
167 |                 group.cancelAll()
    |                       `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
168 |                 return
169 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:171:35: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
169 |             }
170 |             for item in items {
171 |                 let added = group.addTaskUnlessCancelled {
    |                                   `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
172 |                     guard let url = item.managedRepoUrl else {
173 |                         return _Result<Model, Model>.failure(item)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:232:15: warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |         var successes = [URL]()
231 |         var failures = [URL]()
232 |         await withTaskGroup(of: _Result<URL, URL>.self, body: { [weak self] group in
    |               `- warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
233 |             guard let self = self else {
234 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:232:63: warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |         var successes = [URL]()
231 |         var failures = [URL]()
232 |         await withTaskGroup(of: _Result<URL, URL>.self, body: { [weak self] group in
    |                                                               `- warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
233 |             guard let self = self else {
234 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:234:23: warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
232 |         await withTaskGroup(of: _Result<URL, URL>.self, body: { [weak self] group in
233 |             guard let self = self else {
234 |                 group.cancelAll()
    |                       `- warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
235 |                 return
236 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:238:35: warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
236 |             }
237 |             for url in urls {
238 |                 let added = group.addTaskUnlessCancelled {
    |                                   `- warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
239 |                     async let result: Result<Void, CoreDataRepositoryError> = self
240 |                         .delete(url, transactionAuthor: transactionAuthor)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:54:58: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 52 |             }
 53 |             for item in items {
 54 |                 let added = group.addTaskUnlessCancelled {
    |                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 55 |                     async let result: Result<Model, CoreDataRepositoryError> = self
    |                                                                                `- note: closure captures non-Sendable 'self'
 56 |                         .create(item, transactionAuthor: transactionAuthor)
    |                                 `- note: closure captures non-Sendable 'item'
 57 |                     switch await result {
 58 |                     case let .success(created):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:55:80: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 53 |             for item in items {
 54 |                 let added = group.addTaskUnlessCancelled {
 55 |                     async let result: Result<Model, CoreDataRepositoryError> = self
    |                                                                                |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                                `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
 56 |                         .create(item, transactionAuthor: transactionAuthor)
 57 |                     switch await result {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:56:33: warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
 54 |                 let added = group.addTaskUnlessCancelled {
 55 |                     async let result: Result<Model, CoreDataRepositoryError> = self
 56 |                         .create(item, transactionAuthor: transactionAuthor)
    |                                 |- warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending task-isolated 'item' into async let risks causing data races between nonisolated and task-isolated uses
 57 |                     switch await result {
 58 |                     case let .success(created):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:107:58: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
105 |             }
106 |             for url in urls {
107 |                 let added = group.addTaskUnlessCancelled {
    |                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
108 |                     async let result: Result<Model, CoreDataRepositoryError> = self.read(url)
    |                                                                                `- note: closure captures 'self' which is accessible to code in the current task
109 |                     switch await result {
110 |                     case let .success(created):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:108:80: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
106 |             for url in urls {
107 |                 let added = group.addTaskUnlessCancelled {
108 |                     async let result: Result<Model, CoreDataRepositoryError> = self.read(url)
    |                                                                                |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                                `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
109 |                     switch await result {
110 |                     case let .success(created):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:171:58: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
169 |             }
170 |             for item in items {
171 |                 let added = group.addTaskUnlessCancelled {
    |                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
172 |                     guard let url = item.managedRepoUrl else {
    |                                     `- note: closure captures non-Sendable 'item'
173 |                         return _Result<Model, Model>.failure(item)
174 |                     }
175 |                     async let result: Result<Model, CoreDataRepositoryError> = self
    |                                                                                `- note: closure captures non-Sendable 'self'
176 |                         .update(url, with: item, transactionAuthor: transactionAuthor)
177 |                     switch await result {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:175:80: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
173 |                         return _Result<Model, Model>.failure(item)
174 |                     }
175 |                     async let result: Result<Model, CoreDataRepositoryError> = self
    |                                                                                |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                                `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
176 |                         .update(url, with: item, transactionAuthor: transactionAuthor)
177 |                     switch await result {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:176:44: warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
174 |                     }
175 |                     async let result: Result<Model, CoreDataRepositoryError> = self
176 |                         .update(url, with: item, transactionAuthor: transactionAuthor)
    |                                            |- warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: sending task-isolated 'item' into async let risks causing data races between nonisolated and task-isolated uses
177 |                     switch await result {
178 |                     case let .success(created):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:238:58: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
236 |             }
237 |             for url in urls {
238 |                 let added = group.addTaskUnlessCancelled {
    |                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
239 |                     async let result: Result<Void, CoreDataRepositoryError> = self
    |                                                                               `- note: closure captures 'self' which is accessible to code in the current task
240 |                         .delete(url, transactionAuthor: transactionAuthor)
241 |                     switch await result {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:239:79: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
237 |             for url in urls {
238 |                 let added = group.addTaskUnlessCancelled {
239 |                     async let result: Result<Void, CoreDataRepositoryError> = self
    |                                                                               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                               `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
240 |                         .delete(url, transactionAuthor: transactionAuthor)
241 |                     switch await result {
[59/65] Compiling CoreDataRepository CoreDataRepository+Batch.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:48:15: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |         var successes = [Model]()
 47 |         var failures = [Model]()
 48 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
    |               `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 49 |             guard let self = self else {
 50 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:48:67: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |         var successes = [Model]()
 47 |         var failures = [Model]()
 48 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
    |                                                                   `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 49 |             guard let self = self else {
 50 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:50:23: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 48 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
 49 |             guard let self = self else {
 50 |                 group.cancelAll()
    |                       `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 51 |                 return
 52 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:54:35: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 52 |             }
 53 |             for item in items {
 54 |                 let added = group.addTaskUnlessCancelled {
    |                                   `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 55 |                     async let result: Result<Model, CoreDataRepositoryError> = self
 56 |                         .create(item, transactionAuthor: transactionAuthor)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:101:15: warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 |         var successes = [Model]()
100 |         var failures = [URL]()
101 |         await withTaskGroup(of: _Result<Model, URL>.self, body: { [weak self] group in
    |               `- warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |             guard let self = self else {
103 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:101:65: warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 99 |         var successes = [Model]()
100 |         var failures = [URL]()
101 |         await withTaskGroup(of: _Result<Model, URL>.self, body: { [weak self] group in
    |                                                                 `- warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
102 |             guard let self = self else {
103 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:103:23: warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
101 |         await withTaskGroup(of: _Result<Model, URL>.self, body: { [weak self] group in
102 |             guard let self = self else {
103 |                 group.cancelAll()
    |                       `- warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
104 |                 return
105 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:107:35: warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
105 |             }
106 |             for url in urls {
107 |                 let added = group.addTaskUnlessCancelled {
    |                                   `- warning: type '_Result<Model, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 |                     async let result: Result<Model, CoreDataRepositoryError> = self.read(url)
109 |                     switch await result {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:165:15: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
163 |         var successes = [Model]()
164 |         var failures = [Model]()
165 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
    |               `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
166 |             guard let self = self else {
167 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:165:67: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
163 |         var successes = [Model]()
164 |         var failures = [Model]()
165 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
    |                                                                   `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
166 |             guard let self = self else {
167 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:167:23: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
165 |         await withTaskGroup(of: _Result<Model, Model>.self, body: { [weak self] group in
166 |             guard let self = self else {
167 |                 group.cancelAll()
    |                       `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
168 |                 return
169 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:171:35: warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
169 |             }
170 |             for item in items {
171 |                 let added = group.addTaskUnlessCancelled {
    |                                   `- warning: type '_Result<Model, Model>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
172 |                     guard let url = item.managedRepoUrl else {
173 |                         return _Result<Model, Model>.failure(item)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:232:15: warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |         var successes = [URL]()
231 |         var failures = [URL]()
232 |         await withTaskGroup(of: _Result<URL, URL>.self, body: { [weak self] group in
    |               `- warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
233 |             guard let self = self else {
234 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:232:63: warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |         var successes = [URL]()
231 |         var failures = [URL]()
232 |         await withTaskGroup(of: _Result<URL, URL>.self, body: { [weak self] group in
    |                                                               `- warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
233 |             guard let self = self else {
234 |                 group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:234:23: warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
232 |         await withTaskGroup(of: _Result<URL, URL>.self, body: { [weak self] group in
233 |             guard let self = self else {
234 |                 group.cancelAll()
    |                       `- warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
235 |                 return
236 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:238:35: warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
236 |             }
237 |             for url in urls {
238 |                 let added = group.addTaskUnlessCancelled {
    |                                   `- warning: type '_Result<URL, URL>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
239 |                     async let result: Result<Void, CoreDataRepositoryError> = self
240 |                         .delete(url, transactionAuthor: transactionAuthor)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/_Result.swift:12:6: note: consider making generic enum '_Result' conform to the 'Sendable' protocol
10 |
11 | /// Wrapper for success/failure output where failure does not confrom to `Error`
12 | enum _Result<Success, Failure> {
   |      `- note: consider making generic enum '_Result' conform to the 'Sendable' protocol
13 |     case success(Success)
14 |     case failure(Failure)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:54:58: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 52 |             }
 53 |             for item in items {
 54 |                 let added = group.addTaskUnlessCancelled {
    |                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 55 |                     async let result: Result<Model, CoreDataRepositoryError> = self
    |                                                                                `- note: closure captures non-Sendable 'self'
 56 |                         .create(item, transactionAuthor: transactionAuthor)
    |                                 `- note: closure captures non-Sendable 'item'
 57 |                     switch await result {
 58 |                     case let .success(created):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:55:80: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 53 |             for item in items {
 54 |                 let added = group.addTaskUnlessCancelled {
 55 |                     async let result: Result<Model, CoreDataRepositoryError> = self
    |                                                                                |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                                `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
 56 |                         .create(item, transactionAuthor: transactionAuthor)
 57 |                     switch await result {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:56:33: warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
 54 |                 let added = group.addTaskUnlessCancelled {
 55 |                     async let result: Result<Model, CoreDataRepositoryError> = self
 56 |                         .create(item, transactionAuthor: transactionAuthor)
    |                                 |- warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending task-isolated 'item' into async let risks causing data races between nonisolated and task-isolated uses
 57 |                     switch await result {
 58 |                     case let .success(created):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:107:58: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
105 |             }
106 |             for url in urls {
107 |                 let added = group.addTaskUnlessCancelled {
    |                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
108 |                     async let result: Result<Model, CoreDataRepositoryError> = self.read(url)
    |                                                                                `- note: closure captures 'self' which is accessible to code in the current task
109 |                     switch await result {
110 |                     case let .success(created):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:108:80: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
106 |             for url in urls {
107 |                 let added = group.addTaskUnlessCancelled {
108 |                     async let result: Result<Model, CoreDataRepositoryError> = self.read(url)
    |                                                                                |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                                `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
109 |                     switch await result {
110 |                     case let .success(created):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:171:58: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
169 |             }
170 |             for item in items {
171 |                 let added = group.addTaskUnlessCancelled {
    |                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
172 |                     guard let url = item.managedRepoUrl else {
    |                                     `- note: closure captures non-Sendable 'item'
173 |                         return _Result<Model, Model>.failure(item)
174 |                     }
175 |                     async let result: Result<Model, CoreDataRepositoryError> = self
    |                                                                                `- note: closure captures non-Sendable 'self'
176 |                         .update(url, with: item, transactionAuthor: transactionAuthor)
177 |                     switch await result {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:175:80: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
173 |                         return _Result<Model, Model>.failure(item)
174 |                     }
175 |                     async let result: Result<Model, CoreDataRepositoryError> = self
    |                                                                                |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                                `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
176 |                         .update(url, with: item, transactionAuthor: transactionAuthor)
177 |                     switch await result {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:176:44: warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
174 |                     }
175 |                     async let result: Result<Model, CoreDataRepositoryError> = self
176 |                         .update(url, with: item, transactionAuthor: transactionAuthor)
    |                                            |- warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: sending task-isolated 'item' into async let risks causing data races between nonisolated and task-isolated uses
177 |                     switch await result {
178 |                     case let .success(created):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:238:58: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
236 |             }
237 |             for url in urls {
238 |                 let added = group.addTaskUnlessCancelled {
    |                                                          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
239 |                     async let result: Result<Void, CoreDataRepositoryError> = self
    |                                                                               `- note: closure captures 'self' which is accessible to code in the current task
240 |                         .delete(url, transactionAuthor: transactionAuthor)
241 |                     switch await result {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/CoreDataRepository+Batch.swift:239:79: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
237 |             for url in urls {
238 |                 let added = group.addTaskUnlessCancelled {
239 |                     async let result: Result<Void, CoreDataRepositoryError> = self
    |                                                                               |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                               `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
240 |                         .delete(url, transactionAuthor: transactionAuthor)
241 |                     switch await result {
[60/65] Compiling CoreDataRepository CoreDataRepository+CRUD.swift
[61/65] Compiling CoreDataRepository CoreDataRepository+Fetch.swift
[62/65] Compiling CoreDataRepository NSManagedObjectContext+Scratchpad.swift
[63/65] Compiling CoreDataRepository ReadSubscription.swift
[64/65] Emitting module CoreDataRepository
[65/65] Compiling CoreDataRepository resource_bundle_accessor.swift
Build complete! (18.57s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "combineext",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CombineCommunity/CombineExt.git"
    },
    {
      "identity" : "swift-custom-dump",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-custom-dump.git"
    }
  ],
  "manifest_display_name" : "CoreDataRepository",
  "name" : "CoreDataRepository",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "CoreDataRepository",
      "targets" : [
        "CoreDataRepository"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CoreDataRepositoryTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreDataRepositoryTests",
      "path" : "Tests/CoreDataRepositoryTests",
      "product_dependencies" : [
        "CustomDump"
      ],
      "sources" : [
        "AggregateRepositoryTests.swift",
        "BatchRepositoryTests.swift",
        "CRUDRepositoryTests.swift",
        "CoreDataStack.swift",
        "CoreDataXCTestCase.swift",
        "FetchRepositoryTests.swift",
        "Movie.swift"
      ],
      "target_dependencies" : [
        "CoreDataRepository"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoreDataRepository",
      "module_type" : "SwiftTarget",
      "name" : "CoreDataRepository",
      "path" : "Sources/CoreDataRepository",
      "product_dependencies" : [
        "CombineExt"
      ],
      "product_memberships" : [
        "CoreDataRepository"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CoreDataRepository/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        }
      ],
      "sources" : [
        "CoreDataRepository+Aggregate.swift",
        "CoreDataRepository+Batch.swift",
        "CoreDataRepository+CRUD.swift",
        "CoreDataRepository+Fetch.swift",
        "CoreDataRepository.swift",
        "CoreDataRepositoryError.swift",
        "FetchSubscription.swift",
        "NSManagedObject+CRUDHelpers.swift",
        "NSManagedObjectContext+CRUDHelpers.swift",
        "NSManagedObjectContext+Child.swift",
        "NSManagedObjectContext+Scratchpad.swift",
        "ReadSubscription.swift",
        "RepositoryManagedModel.swift",
        "Result+CRUDHelpers.swift",
        "SubscriptionProvider.swift",
        "UnmanagedModel.swift",
        "_Result.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.