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 Evotor, reference master (d5c8d8), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 16:03:18 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bergusman/evotor.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bergusman/evotor
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d5c8d86 Work with receipt
Cloned https://github.com/bergusman/evotor.git
Revision (git rev-parse @):
d5c8d86edfbe7106255807eb86fa952d74590b25
SUCCESS checkout https://github.com/bergusman/evotor.git at master
========================================
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": "evotor",
      "name": "Evotor",
      "url": "https://github.com/bergusman/evotor.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/evotor",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/bergusman/evotor.git
[2/59] Fetching evotor
Fetched https://github.com/bergusman/evotor.git from cache (0.51s)
Creating working copy for https://github.com/bergusman/evotor.git
Working copy of https://github.com/bergusman/evotor.git resolved at master (d5c8d86)
warning: '.resolve-product-dependencies': dependency 'evotor' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bergusman/evotor.git
https://github.com/bergusman/evotor.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Evotor",
  "name" : "Evotor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Evotor",
      "targets" : [
        "Evotor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EvotorTests",
      "module_type" : "SwiftTarget",
      "name" : "EvotorTests",
      "path" : "Tests/EvotorTests",
      "sources" : [
        "EvotorTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Evotor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Evotor",
      "module_type" : "SwiftTarget",
      "name" : "Evotor",
      "path" : "Sources/Evotor",
      "product_memberships" : [
        "Evotor"
      ],
      "sources" : [
        "API.swift",
        "Models/Device.swift",
        "Models/Document.swift",
        "Models/Employee.swift",
        "Models/Hooks.swift",
        "Models/Product.swift",
        "Models/Receipt.swift",
        "Models/Store.swift",
        "Models/Transactions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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 -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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/12] Compiling Evotor Employee.swift
[4/12] Compiling Evotor Device.swift
[5/12] Compiling Evotor Product.swift
[6/12] Compiling Evotor Document.swift
[7/12] Emitting module Evotor
/Users/admin/builder/spi-builder-workspace/Sources/Evotor/Models/Transactions.swift:101:5: warning: 'public' modifier is redundant for initializer declared in a public extension
 99 |     }
100 |
101 |     public init(from decoder: Decoder) throws {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
102 |         let container = try decoder.container(keyedBy: CodingKeys.self)
103 |         let type = try container.decode(String.self, forKey: .type)
[8/12] Compiling Evotor API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Evotor/API.swift:85:17: warning: capture of 'completion' with non-sendable type 'API.Completion<T>' (aka '(API.Result<T>) -> ()') in a '@Sendable' closure
 83 |         let task = URLSession.shared.dataTask(with: request) { (data, response, error) in
 84 |             if let error = error {
 85 |                 completion(.failure(error))
    |                 |- warning: capture of 'completion' with non-sendable type 'API.Completion<T>' (aka '(API.Result<T>) -> ()') in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 86 |                 return
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Evotor/API.swift:111:33: warning: capture of 'self' with non-sendable type 'API' in a '@Sendable' closure
  1 | import Foundation
  2 |
  3 | public final class API {
    |                    `- note: class 'API' does not conform to the 'Sendable' protocol
  4 |     public let token: String
  5 |     public init(token: String) {
    :
109 |
110 |             do {
111 |                 let value = try self.decoder.decode(T.self, from: data)
    |                                 `- warning: capture of 'self' with non-sendable type 'API' in a '@Sendable' closure
112 |                 completion(.success(value))
113 |             } catch {
[9/12] Compiling Evotor Hooks.swift
[10/12] Compiling Evotor Receipt.swift
[11/12] Compiling Evotor Store.swift
[12/12] Compiling Evotor Transactions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Evotor/Models/Transactions.swift:101:5: warning: 'public' modifier is redundant for initializer declared in a public extension
 99 |     }
100 |
101 |     public init(from decoder: Decoder) throws {
    |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
102 |         let container = try decoder.container(keyedBy: CodingKeys.self)
103 |         let type = try container.decode(String.self, forKey: .type)
Build complete! (4.61s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Evotor",
  "name" : "Evotor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Evotor",
      "targets" : [
        "Evotor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EvotorTests",
      "module_type" : "SwiftTarget",
      "name" : "EvotorTests",
      "path" : "Tests/EvotorTests",
      "sources" : [
        "EvotorTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Evotor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Evotor",
      "module_type" : "SwiftTarget",
      "name" : "Evotor",
      "path" : "Sources/Evotor",
      "product_memberships" : [
        "Evotor"
      ],
      "sources" : [
        "API.swift",
        "Models/Device.swift",
        "Models/Document.swift",
        "Models/Employee.swift",
        "Models/Hooks.swift",
        "Models/Product.swift",
        "Models/Receipt.swift",
        "Models/Store.swift",
        "Models/Transactions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.