The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AvWeather, reference 0.0.7 (bce1d6), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 13:10:34 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: 0.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bmonty/AvWeather
 * tag               0.0.7      -> FETCH_HEAD
HEAD is now at bce1d6a Merge pull request #5 from bmonty/multiple_stations
Cloned https://github.com/bmonty/AvWeather.git
Revision (git rev-parse @):
bce1d6a321be8cd651501c3a71430a344553f33a
SUCCESS checkout https://github.com/bmonty/AvWeather.git at 0.0.7
========================================
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/8] Compiling AvWeather ADDSRequest.swift
[4/8] Compiling AvWeather MetarRequest.swift
[5/8] Compiling AvWeather ADDSClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/AvWeather/ADDSClient.swift:26:17: warning: capture of non-sendable type 'T.Response.Type' in an isolated closure
24 |         let task = session.dataTask(with: getUrl(for: request)) { data, response, error in
25 |             guard let httpResponse = response as? HTTPURLResponse else {
26 |                 completion(.failure(AvWeatherError.generic(message: "Can't get HTTP response info.")))
   |                 `- warning: capture of non-sendable type 'T.Response.Type' in an isolated closure
27 |                 return
28 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AvWeather/ADDSClient.swift:23:38: warning: capture of non-sendable type 'T.Type' in an isolated closure
21 |
22 |     public func send<T: ADDSRequest>(_ request: T,
23 |                                      completion: @escaping ADDSClientCallback<T.Response>) {
   |                                      `- warning: capture of non-sendable type 'T.Type' in an isolated closure
24 |         let task = session.dataTask(with: getUrl(for: request)) { data, response, error in
25 |             guard let httpResponse = response as? HTTPURLResponse else {
/Users/admin/builder/spi-builder-workspace/Sources/AvWeather/ADDSClient.swift:42:44: warning: capture of non-sendable type 'T.Type' in an isolated closure
40 |             if let data = data {
41 |                 do {
42 |                     let addsResponse = try request.decode(with: data)
   |                                            `- warning: capture of non-sendable type 'T.Type' in an isolated closure
43 |                     completion(.success(addsResponse))
44 |                 } catch {
[6/8] Emitting module AvWeather
[7/8] Compiling AvWeather AvWeatherError.swift
[8/8] Compiling AvWeather Metar.swift
/Users/admin/builder/spi-builder-workspace/Sources/AvWeather/Models/Metar.swift:55:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 53 |
 54 |         /// Unique ID for this object.
 55 |         public let id = UUID()
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'id' case to silence this warning
    |                    `- note: make the property mutable instead
 56 |         /// Reported sky cover (i.e. CLR, FEW, SCT, OVC, etc.).
 57 |         public let skyCover: SkyCoverConditions
Build complete! (3.57s)
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",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "AvWeather"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AvWeather",
      "module_type" : "SwiftTarget",
      "name" : "AvWeather",
      "path" : "Sources/AvWeather",
      "product_memberships" : [
        "AvWeather"
      ],
      "sources" : [
        "ADDSClient.swift",
        "Models/AvWeatherError.swift",
        "Models/Metar.swift",
        "Requests/ADDSRequest.swift",
        "Requests/MetarRequest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.