The Swift Package Index logo.Swift Package Index

Build Information

Successful build of StormGlass, reference main (4bf53a), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 01:59:26 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/cruisea-app/stormglass-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cruisea-app/stormglass-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4bf53a5 Update README.md
Cloned https://github.com/cruisea-app/stormglass-swift.git
Revision (git rev-parse @):
4bf53a5fffb0a051ed4741be7be469fc8a5d4b4f
SUCCESS checkout https://github.com/cruisea-app/stormglass-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/cruisea-app/stormglass-swift.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/20] Compiling StormGlass SGParameterEncodable.swift
[4/20] Compiling StormGlass SGConfiguration.swift
[5/20] Compiling StormGlass SGDataSource.swift
[6/20] Compiling StormGlass SGTideStationsAreaRequest.swift
[7/20] Compiling StormGlass SGTideStationsListRequest.swift
[8/20] Compiling StormGlass SGTideExtremesPointRequest.swift
[9/20] Compiling StormGlass SGTideSeaLevelPointRequest.swift
[10/20] Compiling StormGlass SGEndpoint.swift
[11/20] Compiling StormGlass SGResponseMetadata.swift
[12/20] Compiling StormGlass SGSolarPointRequest.swift
[13/20] Compiling StormGlass SGTideDatum.swift
[14/20] Compiling StormGlass SGWeatherPointRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/StormGlass/Networking/SGNetworking.swift:75:21: warning: capture of non-sendable type 'Endpoint.Response.Type' in an isolated closure
 73 |
 74 |                 if let error = error {
 75 |                     completion(.failure(error))
    |                     `- warning: capture of non-sendable type 'Endpoint.Response.Type' in an isolated closure
 76 |                     return
 77 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StormGlass/Networking/SGNetworking.swift:69:23: warning: capture of non-sendable type 'Endpoint.Type' in an isolated closure
 67 |     }()
 68 |
 69 |     public func fetch(completion: @escaping (Result<Endpoint.Response, Error>) -> Void) {
    |                       `- warning: capture of non-sendable type 'Endpoint.Type' in an isolated closure
 70 |         do {
 71 |             let task = try urlSession.dataTask(with: makeRequest()) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/StormGlass/Networking/SGNetworking.swift:86:37: warning: capture of non-sendable type 'Endpoint.Type' in an isolated closure
 84 |                 // Error Handling
 85 |
 86 |                 if let error = try? self.decoder.decode(SGErrorResponse.self, from: data) {
    |                                     `- warning: capture of non-sendable type 'Endpoint.Type' in an isolated closure
 87 |                     completion(.failure(error))
 88 |                     return
[15/20] Compiling StormGlass SGNetworking.swift
/Users/admin/builder/spi-builder-workspace/Sources/StormGlass/Networking/SGNetworking.swift:75:21: warning: capture of non-sendable type 'Endpoint.Response.Type' in an isolated closure
 73 |
 74 |                 if let error = error {
 75 |                     completion(.failure(error))
    |                     `- warning: capture of non-sendable type 'Endpoint.Response.Type' in an isolated closure
 76 |                     return
 77 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StormGlass/Networking/SGNetworking.swift:69:23: warning: capture of non-sendable type 'Endpoint.Type' in an isolated closure
 67 |     }()
 68 |
 69 |     public func fetch(completion: @escaping (Result<Endpoint.Response, Error>) -> Void) {
    |                       `- warning: capture of non-sendable type 'Endpoint.Type' in an isolated closure
 70 |         do {
 71 |             let task = try urlSession.dataTask(with: makeRequest()) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/StormGlass/Networking/SGNetworking.swift:86:37: warning: capture of non-sendable type 'Endpoint.Type' in an isolated closure
 84 |                 // Error Handling
 85 |
 86 |                 if let error = try? self.decoder.decode(SGErrorResponse.self, from: data) {
    |                                     `- warning: capture of non-sendable type 'Endpoint.Type' in an isolated closure
 87 |                     completion(.failure(error))
 88 |                     return
[16/20] Compiling StormGlass SGAstronomyPointRequest.swift
[17/20] Compiling StormGlass SGBioPointRequest.swift
[18/20] Compiling StormGlass SGElevationPointRequest.swift
[19/20] Compiling StormGlass SGCoordinate.swift
[20/20] Emitting module StormGlass
[21/21] Compiling StormGlass SGServiceError.swift
Build complete! (4.40s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "StormGlass",
  "name" : "StormGlass",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "StormGlass",
      "targets" : [
        "StormGlass"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StormGlassTests",
      "module_type" : "SwiftTarget",
      "name" : "StormGlassTests",
      "path" : "Tests/StormGlassTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/StormGlassTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "SGAstronomyPointRequestTests.swift",
        "SGBaseTests.swift",
        "SGBioPointRequestTests.swift",
        "SGElevationPointRequestTests.swift",
        "SGIntegrationTests.swift",
        "SGSolarPointRequestTests.swift",
        "SGTideExtremesPointRequestTests.swift",
        "SGTideSeaLevelPointRequestTests.swift",
        "SGTideStationsAreaRequestTests.swift",
        "SGTideStationsListRequestTests.swift",
        "SGWeatherPointRequestTests.swift"
      ],
      "target_dependencies" : [
        "StormGlass"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StormGlass",
      "module_type" : "SwiftTarget",
      "name" : "StormGlass",
      "path" : "Sources/StormGlass",
      "product_memberships" : [
        "StormGlass"
      ],
      "sources" : [
        "Endpoints/Astronomy/SGAstronomyPointRequest.swift",
        "Endpoints/Bio/SGBioPointRequest.swift",
        "Endpoints/Elevation/SGElevationPointRequest.swift",
        "Endpoints/SGCoordinate.swift",
        "Endpoints/SGEndpoint.swift",
        "Endpoints/SGResponseMetadata.swift",
        "Endpoints/Solar/SGSolarPointRequest.swift",
        "Endpoints/Tide/SGTideDatum.swift",
        "Endpoints/Tide/SGTideExtremesPointRequest.swift",
        "Endpoints/Tide/SGTideSeaLevelPointRequest.swift",
        "Endpoints/Tide/SGTideStationsAreaRequest.swift",
        "Endpoints/Tide/SGTideStationsListRequest.swift",
        "Endpoints/Weather/SGWeatherPointRequest.swift",
        "Networking/SGNetworking.swift",
        "Networking/SGParameterEncodable.swift",
        "SGConfiguration.swift",
        "SGDataSource.swift",
        "SGServiceError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.