The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Nextbike, reference master (4066a8), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 23:18:33 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/kiliankoe/Nextbike.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/Nextbike
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4066a8f Add links to API documentations
Cloned https://github.com/kiliankoe/Nextbike.git
Revision (git rev-parse @):
4066a8f2a466703803590a1cd347d4aa8876c1e9
SUCCESS checkout https://github.com/kiliankoe/Nextbike.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kiliankoe/Nextbike.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/7] Compiling AnyCodable AnyCodable.swift
[5/7] Emitting module AnyCodable
[6/7] Compiling AnyCodable AnyEncodable.swift
[7/7] Compiling AnyCodable AnyDecodable.swift
[8/17] Compiling Nextbike Endpoint.swift
[9/17] Compiling Nextbike Place.swift
[10/17] Compiling Nextbike City.swift
[11/17] Compiling Nextbike Country.swift
[12/17] Emitting module Nextbike
[13/17] Compiling Nextbike Bikes.swift
[14/17] Compiling Nextbike Maps.swift
[15/17] Compiling Nextbike Nextbike.swift
[16/17] Compiling Nextbike NetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nextbike/Network/NetworkManager.swift:35:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
33 |         let task = session.dataTask(with: request) { data, response, error in
34 |             guard error == nil, let data = data else {
35 |                 completion(.failure(error!))
   |                 `- warning: capture of non-sendable type 'T.Type' in an isolated closure
36 |                 return
37 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Nextbike/Network/NetworkManager.swift:21:32: warning: capture of non-sendable type 'T.Type' in an isolated closure
19 |     func request<T: Decodable>(_ endpoint: Endpoint,
20 |                                session: URLSession = .shared,
21 |                                completion: @escaping (Result<T, Error>) -> Void) {
   |                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure
22 |         var request = URLRequest(url: endpoint.url)
23 |         request.httpMethod = endpoint.method.rawValue
[17/17] Compiling Nextbike FlexzoneResponse.swift
Build complete! (10.59s)
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.75s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (1.29s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Build complete.
{
  "dependencies" : [
    {
      "identity" : "anycodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flight-School/AnyCodable"
    }
  ],
  "manifest_display_name" : "Nextbike",
  "name" : "Nextbike",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Nextbike",
      "targets" : [
        "Nextbike"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NextbikeTests",
      "module_type" : "SwiftTarget",
      "name" : "NextbikeTests",
      "path" : "Tests/NextbikeTests",
      "sources" : [
        "NextbikeTests.swift"
      ],
      "target_dependencies" : [
        "Nextbike"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Nextbike",
      "module_type" : "SwiftTarget",
      "name" : "Nextbike",
      "path" : "Sources/Nextbike",
      "product_dependencies" : [
        "AnyCodable"
      ],
      "product_memberships" : [
        "Nextbike"
      ],
      "sources" : [
        "Endpoints/Bikes.swift",
        "Endpoints/Maps.swift",
        "Models/City.swift",
        "Models/Country.swift",
        "Models/FlexzoneResponse.swift",
        "Models/Place.swift",
        "Network/Endpoint.swift",
        "Network/NetworkManager.swift",
        "Nextbike.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.