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 0.1.3 (d5c8d8), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 15:32:40 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bergusman/evotor.git
Reference: 0.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bergusman/evotor
 * tag               0.1.3      -> FETCH_HEAD
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 0.1.3
========================================
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
[1/59] Fetching evotor
Fetched https://github.com/bergusman/evotor.git from cache (0.57s)
Creating working copy for https://github.com/bergusman/evotor.git
Working copy of https://github.com/bergusman/evotor.git resolved at 0.1.3 (d5c8d86)
warning: '.resolve-product-dependencies': dependency 'evotor' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bergusman/evotor.git
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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling Evotor Receipt.swift
[4/12] Compiling Evotor Store.swift
[5/12] Compiling Evotor Hooks.swift
[6/12] Compiling Evotor Product.swift
[7/12] Compiling Evotor Employee.swift
[8/12] Compiling Evotor Document.swift
[9/12] Compiling Evotor Device.swift
[10/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)
[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 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 {
Build complete! (11.20s)
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.