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 Superhighway, reference main (deb5bc), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 14:49:18 UTC.

Swift 6 data race errors: 0

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/rhysforyou/Superhighway.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rhysforyou/Superhighway
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at deb5bcb add support for swift-http-types
Cloned https://github.com/rhysforyou/Superhighway.git
Revision (git rev-parse @):
deb5bcb28b34fa5f9d47f7a9dbc5e7b82a558d2f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/rhysforyou/Superhighway.git at main
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-http-types.git from cache
[1/2049] Fetching swift-docc-plugin
[227/5424] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.08s)
[513/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.17s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.17s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (1.80s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 0.2.0 (0.59s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.63s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 0.2.0
========================================
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": "superhighway",
      "name": "Superhighway",
      "url": "https://github.com/rhysforyou/Superhighway.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Superhighway",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rhysforyou/Superhighway.git
[1/499] Fetching superhighway
Fetched https://github.com/rhysforyou/Superhighway.git from cache (0.76s)
Creating working copy for https://github.com/rhysforyou/Superhighway.git
Working copy of https://github.com/rhysforyou/Superhighway.git resolved at main (deb5bcb)
warning: '.resolve-product-dependencies': dependency 'superhighway' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rhysforyou/Superhighway.git
https://github.com/rhysforyou/Superhighway.git
{
  "dependencies" : [
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Superhighway",
  "name" : "Superhighway",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Superhighway",
      "targets" : [
        "Superhighway"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SuperhighwayTests",
      "module_type" : "SwiftTarget",
      "name" : "SuperhighwayTests",
      "path" : "Tests/SuperhighwayTests",
      "sources" : [
        "CombineIntegrationTests.swift",
        "ConcurrencyIntegrationTests.swift",
        "EndpointTests.swift",
        "HTTPStubURLProtocol.swift",
        "TestFixtures.swift",
        "URLSessionIntegrationTests.swift"
      ],
      "target_dependencies" : [
        "Superhighway"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Superhighway",
      "module_type" : "SwiftTarget",
      "name" : "Superhighway",
      "path" : "Sources/Superhighway",
      "product_memberships" : [
        "Superhighway"
      ],
      "sources" : [
        "Endpoint.swift",
        "URLSession+Endpoint.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTPTypesSuperhighway",
      "module_type" : "SwiftTarget",
      "name" : "HTTPTypesSuperhighway",
      "path" : "Sources/HTTPTypesSuperhighway",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPTypesFoundation"
      ],
      "sources" : [
        "Endpoint+HTTPTypes.swift"
      ],
      "target_dependencies" : [
        "Superhighway"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/17] Compiling HTTPTypes HTTPFieldName.swift
[9/17] Compiling HTTPTypes ISOLatin1String.swift
[10/17] Compiling HTTPTypes HTTPResponse.swift
[11/17] Compiling HTTPTypes HTTPRequest.swift
[12/17] Compiling HTTPTypes HTTPField.swift
[13/17] Compiling HTTPTypes HTTPFields.swift
[14/17] Emitting module HTTPTypes
[15/23] Compiling Superhighway URLSession+Endpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:21:11: warning: capture of 'onComplete' with non-sendable type '(Result<Response, any Error>) -> Void' in a '@Sendable' closure
 19 |       completionHandler: { data, response, error in
 20 |         if let error {
 21 |           onComplete(.failure(error))
    |           |- warning: capture of 'onComplete' with non-sendable type '(Result<Response, any Error>) -> Void' in a '@Sendable' closure
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 22 |           return
 23 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:30:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in a '@Sendable' closure
 28 |         }
 29 |
 30 |         guard endpoint.expectedStatusCode(urlResponse.statusCode) else {
    |               `- warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in a '@Sendable' closure
 31 |           onComplete(
 32 |             .failure(
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/Endpoint.swift:74:15: note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
 72 | /// let (people, _) = try await URLSession.shared.response(for: endpoint)
 73 | /// ```
 74 | public struct Endpoint<Response> {
    |               `- note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
 75 |   /// The underlying `URLRequest` for this endpoint
 76 |   public let request: URLRequest
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:42:38: warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in an isolated closure; this is an error in the Swift 6 language mode
 40 |         }
 41 |
 42 |         onComplete(Result.init { try endpoint.parse(data, response) })
    |                                      `- warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in an isolated closure; this is an error in the Swift 6 language mode
 43 |       }
 44 |     )
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/Endpoint.swift:74:15: note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
 72 | /// let (people, _) = try await URLSession.shared.response(for: endpoint)
 73 | /// ```
 74 | public struct Endpoint<Response> {
    |               `- note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
 75 |   /// The underlying `URLRequest` for this endpoint
 76 |   public let request: URLRequest
[16/23] Compiling Superhighway Endpoint.swift
[17/23] Emitting module Superhighway
[18/23] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[19/23] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[20/23] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[21/23] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[22/23] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[23/23] Emitting module HTTPTypesFoundation
[24/25] Compiling HTTPTypesSuperhighway Endpoint+HTTPTypes.swift
[25/25] Emitting module HTTPTypesSuperhighway
Build complete! (14.24s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Superhighway",
  "name" : "Superhighway",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Superhighway",
      "targets" : [
        "Superhighway"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SuperhighwayTests",
      "module_type" : "SwiftTarget",
      "name" : "SuperhighwayTests",
      "path" : "Tests/SuperhighwayTests",
      "sources" : [
        "CombineIntegrationTests.swift",
        "ConcurrencyIntegrationTests.swift",
        "EndpointTests.swift",
        "HTTPStubURLProtocol.swift",
        "TestFixtures.swift",
        "URLSessionIntegrationTests.swift"
      ],
      "target_dependencies" : [
        "Superhighway"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Superhighway",
      "module_type" : "SwiftTarget",
      "name" : "Superhighway",
      "path" : "Sources/Superhighway",
      "product_memberships" : [
        "Superhighway"
      ],
      "sources" : [
        "Endpoint.swift",
        "URLSession+Endpoint.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTPTypesSuperhighway",
      "module_type" : "SwiftTarget",
      "name" : "HTTPTypesSuperhighway",
      "path" : "Sources/HTTPTypesSuperhighway",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPTypesFoundation"
      ],
      "sources" : [
        "Endpoint+HTTPTypes.swift"
      ],
      "target_dependencies" : [
        "Superhighway"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.