This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/bergusman/evotor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/12] Compiling Evotor Hooks.swift
[4/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)
[5/12] Compiling Evotor Store.swift
[6/12] Compiling Evotor Product.swift
[7/12] Compiling Evotor Employee.swift
[8/12] Compiling Evotor Document.swift
[9/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; this is an error in the Swift 6 language mode
 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; this is an error in the Swift 6 language mode
    |                 `- 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; this is an error in the Swift 6 language mode
  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; this is an error in the Swift 6 language mode
112 |                 completion(.success(value))
113 |             } catch {
[10/12] Compiling Evotor Device.swift
[11/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)
[12/12] Compiling Evotor Receipt.swift
Build complete! (18.94s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.