The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AvWeather, reference master (1de683), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 13:10:56 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/bmonty/AvWeather.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bmonty/AvWeather
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1de6833 Support for TAF, async/await, and example application. (#6)
Cloned https://github.com/bmonty/AvWeather.git
Revision (git rev-parse @):
1de68338b6d122c2cf707bbe3398ecbb58fa7f1e
SUCCESS checkout https://github.com/bmonty/AvWeather.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bmonty/AvWeather.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/12] Compiling AvWeather SigmetRequest.swift
[4/12] Compiling AvWeather TAFRequest.swift
[5/12] Compiling AvWeather MetarRequest.swift
[6/12] Compiling AvWeather AWCRequest.swift
[7/12] Compiling AvWeather Metar.swift
[8/12] Compiling AvWeather Sigmet.swift
[9/12] Emitting module AvWeather
[10/12] Compiling AvWeather AvWeatherError.swift
[11/12] Compiling AvWeather TAF.swift
[12/12] Compiling AvWeather AWCClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/AvWeather/AWCClient.swift:44:17: warning: capture of non-sendable type 'T.Response.Type' in an isolated closure
 42 |         let task = session.dataTask(with: getUrl(for: request)) { data, response, error in
 43 |             guard let httpResponse = response as? HTTPURLResponse else {
 44 |                 completion(.failure(AvWeatherError.generic(message: "Can't get HTTP response info.")))
    |                 `- warning: capture of non-sendable type 'T.Response.Type' in an isolated closure
 45 |                 return
 46 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AvWeather/AWCClient.swift:41:38: warning: capture of non-sendable type 'T.Type' in an isolated closure
 39 |
 40 |     public func send<T: AWCRequest>(_ request: T,
 41 |                                      completion: @escaping AWCClientCallback<T.Response>) {
    |                                      `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 42 |         let task = session.dataTask(with: getUrl(for: request)) { data, response, error in
 43 |             guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/AvWeather/AWCClient.swift:53:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
 51 |             }
 52 |
 53 |             if ((T.self is TAFRequest.Type || T.self is MetarRequest.Type) && httpResponse.mimeType != "text/xml") ||
    |                  `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 54 |                 (T.self is SigmetRequest.Type && httpResponse.mimeType != "application/json") {
 55 |                 completion(.failure(AvWeatherError.server(message: "Server sent data with wrong mime type.")))
Build complete! (4.69s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AvWeather",
  "name" : "AvWeather",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AvWeather",
      "targets" : [
        "AvWeather"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AvWeatherTests",
      "module_type" : "SwiftTarget",
      "name" : "AvWeatherTests",
      "path" : "Tests/AvWeatherTests",
      "sources" : [
        "MetarTests.swift",
        "SigmetTests.swift",
        "TAFTests.swift",
        "URLProtocolAvWeatherMock.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "AvWeather"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AvWeather",
      "module_type" : "SwiftTarget",
      "name" : "AvWeather",
      "path" : "Sources/AvWeather",
      "product_memberships" : [
        "AvWeather"
      ],
      "sources" : [
        "AWCClient.swift",
        "Models/AvWeatherError.swift",
        "Models/Metar.swift",
        "Models/Sigmet.swift",
        "Models/TAF.swift",
        "Requests/AWCRequest.swift",
        "Requests/MetarRequest.swift",
        "Requests/SigmetRequest.swift",
        "Requests/TAFRequest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.