The Swift Package Index logo.Swift Package Index

Build Information

Successful build of StrasbourgParkAPI, reference master (784074), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 03:25:18 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/yageek/StrasbourgParkAPI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yageek/StrasbourgParkAPI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 784074f Update changelog
Cloned https://github.com/yageek/StrasbourgParkAPI.git
Revision (git rev-parse @):
784074f28e99def979c39d53f962f45873bcab36
SUCCESS checkout https://github.com/yageek/StrasbourgParkAPI.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/yageek/StrasbourgParkAPI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging Locks.swift
[6/8] Compiling Logging LogHandler.swift
[7/8] Compiling Logging Logging.swift
[8/8] Emitting module Logging
[9/17] Compiling StrasbourgParkAPI DownloadOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/DownloadOperation.swift:10:13: warning: class 'DownloadOperation' must restate inherited '@unchecked Sendable' conformance
 8 | import Foundation
 9 |
10 | final class DownloadOperation<T: Decodable>: BaseOperation, CompletableOperation {
   |             `- warning: class 'DownloadOperation' must restate inherited '@unchecked Sendable' conformance
11 |     private let url: URL
12 |     private let lock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/DownloadOperation.swift:60:31: warning: capture of non-sendable type 'T.Type' in an isolated closure
58 |
59 |         let task = session.dataTask(with: url) { [weak self] (data, response, error) in
60 |             guard let sSelf = self else { return }
   |                               `- warning: capture of non-sendable type 'T.Type' in an isolated closure
61 |
62 |             guard !sSelf.isCancelled else { sSelf.finish(); return }
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/DownloadOperation.swift:59:56: warning: capture of non-sendable type 'T.Type' in an isolated closure
57 |         logger.debug("Starting request to \(url.absoluteString)")
58 |
59 |         let task = session.dataTask(with: url) { [weak self] (data, response, error) in
   |                                                        `- warning: capture of non-sendable type 'T.Type' in an isolated closure
60 |             guard let sSelf = self else { return }
61 |
[10/17] Compiling StrasbourgParkAPI DownloadAllPageOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/DownloadAllPageOperation.swift:20:13: warning: class 'DownloadAllPages' must restate inherited '@unchecked Sendable' conformance
 18 | }
 19 |
 20 | final class DownloadAllPages<T: Decodable>: BaseOperation, CompletableOperation {
    |             `- warning: class 'DownloadAllPages' must restate inherited '@unchecked Sendable' conformance
 21 |
 22 |     private let workingQueue: OperationQueue
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/DownloadAllPageOperation.swift:114:24: warning: capture of non-sendable type 'T.Type' in an isolated closure
112 |                 // Let final operations
113 |                 let blockOp = BlockOperation {
114 |                     if self.errors.isEmpty {
    |                        `- warning: capture of non-sendable type 'T.Type' in an isolated closure
115 |                         let result: [T] = self.records.sorted(by: { $0.0 > $1.0 }).reduce(into: [T](), { $0.append(contentsOf: $1.value) })
116 |                         self.completionHandler?(.success(result))
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/DownloadAllPageOperation.swift:76:23: warning: capture of non-sendable type 'T.Type' in an isolated closure
 74 |
 75 |         let op = DownloadOperation<OpenDataResponse<T>>(session: self.session, url: call.apiURL) { [weak self] (result) in
 76 |             guard let self = self else { return }
    |                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 77 |
 78 |             guard !self.isCancelled else { self.finish(); return }
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/DownloadAllPageOperation.swift:161:27: warning: 'as' test is always true
159 |             self.records[pageNumber] = elements
160 |
161 |         } catch let error as ParkingAPIClientError {
    |                           `- warning: 'as' test is always true
162 |             logger.error("Error downloading data: \(error)")
163 |             self.errors.append(error)
[11/17] Compiling StrasbourgParkAPI BaseOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/BaseOperation.swift:17:7: warning: class 'BaseOperation' must restate inherited '@unchecked Sendable' conformance
15 | }
16 |
17 | class BaseOperation: Operation {
   |       `- warning: class 'BaseOperation' must restate inherited '@unchecked Sendable' conformance
18 |
19 |     // MARK: - Helper Begin
[12/17] Compiling StrasbourgParkAPI Log.swift
[13/17] Compiling StrasbourgParkAPI ParkingAPIClient.swift
[14/17] Compiling StrasbourgParkAPI Endpoint.swift
[15/17] Emitting module StrasbourgParkAPI
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/BaseOperation.swift:17:7: warning: class 'BaseOperation' must restate inherited '@unchecked Sendable' conformance
15 | }
16 |
17 | class BaseOperation: Operation {
   |       `- warning: class 'BaseOperation' must restate inherited '@unchecked Sendable' conformance
18 |
19 |     // MARK: - Helper Begin
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/DownloadAllPageOperation.swift:20:13: warning: class 'DownloadAllPages' must restate inherited '@unchecked Sendable' conformance
 18 | }
 19 |
 20 | final class DownloadAllPages<T: Decodable>: BaseOperation, CompletableOperation {
    |             `- warning: class 'DownloadAllPages' must restate inherited '@unchecked Sendable' conformance
 21 |
 22 |     private let workingQueue: OperationQueue
/Users/admin/builder/spi-builder-workspace/Sources/StrasbourgParkAPI/Operations/DownloadOperation.swift:10:13: warning: class 'DownloadOperation' must restate inherited '@unchecked Sendable' conformance
 8 | import Foundation
 9 |
10 | final class DownloadOperation<T: Decodable>: BaseOperation, CompletableOperation {
   |             `- warning: class 'DownloadOperation' must restate inherited '@unchecked Sendable' conformance
11 |     private let url: URL
12 |     private let lock = NSLock()
[16/17] Compiling StrasbourgParkAPI ParkAPILegacy.swift
[17/17] Compiling StrasbourgParkAPI ParkAPIOpenData.swift
Build complete! (6.16s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.05s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.47s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "StrasbourgParkAPI",
  "name" : "StrasbourgParkAPI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "StrasbourgParkAPI",
      "targets" : [
        "StrasbourgParkAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StrasbourgParkAPITests",
      "module_type" : "SwiftTarget",
      "name" : "StrasbourgParkAPITests",
      "path" : "Tests/StrasbourgParkAPITests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/StrasbourgParkAPITests/samples",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "StrasbourgParkAPITests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "StrasbourgParkAPI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StrasbourgParkAPI",
      "module_type" : "SwiftTarget",
      "name" : "StrasbourgParkAPI",
      "path" : "Sources/StrasbourgParkAPI",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "StrasbourgParkAPI"
      ],
      "sources" : [
        "Core/Endpoint.swift",
        "Core/Log.swift",
        "Core/ParkAPILegacy.swift",
        "Core/ParkAPIOpenData.swift",
        "Core/ParkingAPIClient.swift",
        "Operations/BaseOperation.swift",
        "Operations/DownloadAllPageOperation.swift",
        "Operations/DownloadOperation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.