Build Information
Failed to build SwiftWeather, reference main (827b5b), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 16:56:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/SwiftWeather.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wadetregaskis/SwiftWeather
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 827b5b3 Added "Unit" prefixes to the custom units, as it Foundation's convention.
Cloned https://github.com/wadetregaskis/SwiftWeather.git
Revision (git rev-parse @):
827b5b3dbd27c9362bc3517e28d668e9cf735180
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/SwiftWeather.git at main
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swiftweather",
"name": "SwiftWeather",
"url": "https://github.com/wadetregaskis/SwiftWeather.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftWeather",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/wadetregaskis/SwiftWeather.git
[1/1527] Fetching swiftweather
Fetched https://github.com/wadetregaskis/SwiftWeather.git from cache (0.82s)
Creating working copy for https://github.com/wadetregaskis/SwiftWeather.git
Working copy of https://github.com/wadetregaskis/SwiftWeather.git resolved at main (827b5b3)
warning: '.resolve-product-dependencies': dependency 'swiftweather' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/wadetregaskis/SwiftWeather.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/19] Compiling SwiftWeather AmbientWeather.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/AmbientWeather/AmbientWeatherDevice.swift:87:42: warning: sending 'report' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
85 |
86 | for report in reports {
87 | continuation.yield(report)
| |- warning: sending 'report' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| |- note: 'report' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
88 |
89 | if Task.isCancelled {
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[4/19] Compiling SwiftWeather AmbientWeatherDevice.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/AmbientWeather/AmbientWeatherDevice.swift:87:42: warning: sending 'report' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
85 |
86 | for report in reports {
87 | continuation.yield(report)
| |- warning: sending 'report' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| |- note: 'report' used after being passed as a 'sending' parameter; Later uses could race
| `- note: access can happen concurrently
88 |
89 | if Task.isCancelled {
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[5/19] Compiling SwiftWeather WundergroundCurrentReport.swift
[6/19] Compiling SwiftWeather AmbientWeatherStationInfo.swift
[7/19] Compiling SwiftWeather Data+String.swift
[8/19] Compiling SwiftWeather AmbientWeatherStationGeoType.swift
[9/19] Compiling SwiftWeather AmbientWeatherStationGeolocation.swift
[10/19] Compiling SwiftWeather AmbientWeatherReport.swift
[11/19] Compiling SwiftWeather AmbientWeatherSensor.swift
[12/19] Compiling SwiftWeather WundergroundDevice.swift
[13/19] Compiling SwiftWeather Unit+Custom.swift
[14/19] Compiling SwiftWeather Zip.swift
[15/19] Compiling SwiftWeather WeatherSensor.swift
[16/19] Compiling SwiftWeather Wunderground.swift
[17/19] Emitting module SwiftWeather
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/WeatherErrors.swift:40:25: error: cannot use protocol 'LocalizedError' in a public or '@usableFromInline' conformance; 'Foundation' was not imported publicly
1 | // Created by Wade Tregaskis on 28/8/2022.
2 |
3 | internal import Foundation
| `- note: protocol 'LocalizedError' imported as 'internal' from 'Foundation' here
4 |
5 | public enum WeatherError: Error, @unchecked Sendable {
:
38 | }
39 |
40 | extension WeatherError: LocalizedError {
| `- error: cannot use protocol 'LocalizedError' in a public or '@usableFromInline' conformance; 'Foundation' was not imported publicly
41 | private static let localisedStringsTable = "WeatherErrors"
42 |
Foundation.LocalizedError:2:17: note: protocol declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public protocol LocalizedError : Error {
| `- note: protocol declared here
3 | var errorDescription: String? { get }
4 | var failureReason: String? { get }
[18/19] Compiling SwiftWeather SwiftWeather.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/WeatherErrors.swift:40:25: error: cannot use protocol 'LocalizedError' in a public or '@usableFromInline' conformance; 'Foundation' was not imported publicly
1 | // Created by Wade Tregaskis on 28/8/2022.
2 |
3 | internal import Foundation
| `- note: protocol 'LocalizedError' imported as 'internal' from 'Foundation' here
4 |
5 | public enum WeatherError: Error, @unchecked Sendable {
:
38 | }
39 |
40 | extension WeatherError: LocalizedError {
| `- error: cannot use protocol 'LocalizedError' in a public or '@usableFromInline' conformance; 'Foundation' was not imported publicly
41 | private static let localisedStringsTable = "WeatherErrors"
42 |
Foundation.LocalizedError:2:17: note: protocol declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public protocol LocalizedError : Error {
| `- note: protocol declared here
3 | var errorDescription: String? { get }
4 | var failureReason: String? { get }
[19/19] Compiling SwiftWeather WeatherErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/WeatherErrors.swift:40:25: error: cannot use protocol 'LocalizedError' in a public or '@usableFromInline' conformance; 'Foundation' was not imported publicly
1 | // Created by Wade Tregaskis on 28/8/2022.
2 |
3 | internal import Foundation
| `- note: protocol 'LocalizedError' imported as 'internal' from 'Foundation' here
4 |
5 | public enum WeatherError: Error, @unchecked Sendable {
:
38 | }
39 |
40 | extension WeatherError: LocalizedError {
| `- error: cannot use protocol 'LocalizedError' in a public or '@usableFromInline' conformance; 'Foundation' was not imported publicly
41 | private static let localisedStringsTable = "WeatherErrors"
42 |
Foundation.LocalizedError:2:17: note: protocol declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | public protocol LocalizedError : Error {
| `- note: protocol declared here
3 | var errorDescription: String? { get }
4 | var failureReason: String? { get }
[20/20] Compiling SwiftWeather WundergroundError.swift
BUILD FAILURE 6.3 macosSpm