The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Nextbike, reference master (4066a8), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 06:42:04 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.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
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.79s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (1.38s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
========================================
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": "nextbike",
      "name": "Nextbike",
      "url": "https://github.com/kiliankoe/Nextbike.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nextbike",
      "dependencies": [
        {
          "identity": "anycodable",
          "name": "AnyCodable",
          "url": "https://github.com/Flight-School/AnyCodable",
          "version": "0.6.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnyCodable",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/kiliankoe/Nextbike.git
[4/194] Fetching nextbike
Fetched https://github.com/kiliankoe/Nextbike.git from cache (0.71s)
Fetching https://github.com/Flight-School/AnyCodable from cache
Fetched https://github.com/Flight-School/AnyCodable from cache (0.43s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.49s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/kiliankoe/Nextbike.git
Working copy of https://github.com/kiliankoe/Nextbike.git resolved at master (4066a8f)
warning: '.resolve-product-dependencies': dependency 'nextbike' is not used by any target
Found 1 product dependencies
  - AnyCodable
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kiliankoe/Nextbike.git
https://github.com/kiliankoe/Nextbike.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/7] Compiling AnyCodable AnyDecodable.swift
[5/7] Compiling AnyCodable AnyCodable.swift
[6/7] Emitting module AnyCodable
[7/7] Compiling AnyCodable AnyEncodable.swift
[8/17] Compiling Nextbike NetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nextbike/Network/NetworkManager.swift:15:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkManager' may have shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | final class NetworkManager {
   |             `- note: class 'NetworkManager' does not conform to the 'Sendable' protocol
15 |     static let shared = NetworkManager()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Nextbike/Network/NetworkManager.swift:35:17: warning: capture of 'completion' with non-sendable type '(Result<T, any Error>) -> Void' in a '@Sendable' 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 'completion' with non-sendable type '(Result<T, any Error>) -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
36 |                 return
37 |             }
[9/17] Compiling Nextbike Place.swift
[10/17] Compiling Nextbike Country.swift
[11/17] Compiling Nextbike Endpoint.swift
[12/17] Compiling Nextbike Nextbike.swift
/Users/admin/builder/spi-builder-workspace/Sources/Nextbike/Nextbike.swift:26:17: warning: capture of 'completion' with non-sendable type '(Result<[Country], any Error>) -> Void' in a '@Sendable' closure
24 |                   let data = data
25 |             else {
26 |                 completion(.failure(error!))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<[Country], any Error>) -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 |                 return
28 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Nextbike/Nextbike.swift:53:17: warning: capture of 'completion' with non-sendable type '(Result<[Place], any Error>) -> Void' in a '@Sendable' closure
51 |                   let data = data
52 |             else {
53 |                 completion(.failure(error!))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<[Place], any Error>) -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
54 |                 return
55 |             }
[13/17] Compiling Nextbike Maps.swift
[14/17] Compiling Nextbike City.swift
[15/17] Emitting module Nextbike
/Users/admin/builder/spi-builder-workspace/Sources/Nextbike/Network/NetworkManager.swift:15:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkManager' may have shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | final class NetworkManager {
   |             `- note: class 'NetworkManager' does not conform to the 'Sendable' protocol
15 |     static let shared = NetworkManager()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     private init() {}
[16/17] Compiling Nextbike Bikes.swift
[17/17] Compiling Nextbike FlexzoneResponse.swift
Build complete! (10.36s)
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.