The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Evotor, reference master (d5c8d8), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 17:52:48 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/bergusman/evotor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/12] Compiling Evotor Hooks.swift
[4/12] Compiling Evotor API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Evotor/API.swift:85:17: warning: capture of non-sendable type 'T.Type' in an isolated 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 non-sendable type 'T.Type' in an isolated closure
 86 |                 return
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Evotor/API.swift:76:84: warning: capture of non-sendable type 'T.Type' in an isolated closure
 74 |     }
 75 |
 76 |     private func get<T: Decodable>(_ path: String, params: [String: String] = [:], completion: @escaping Completion<T>) {
    |                                                                                    `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 77 |         var comps = URLComponents(string: "https://api.evotor.ru/api/v1\(path)")!
 78 |         comps.queryItems = params.reduce(into: [], { $0.append(URLQueryItem(name: $1.key, value: $1.value)) })
[5/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)
[6/12] Compiling Evotor Product.swift
[7/12] Compiling Evotor Receipt.swift
[8/12] Compiling Evotor Document.swift
[9/12] Compiling Evotor Employee.swift
[10/12] Compiling Evotor Device.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! (3.81s)
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.