Build Information
Failed to build SwiftWeather, reference 3.0.0 (827b5b), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 20:32:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/SwiftWeather.git
Reference: 3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wadetregaskis/SwiftWeather
* tag 3.0.0 -> FETCH_HEAD
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 3.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/wadetregaskis/SwiftWeather.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] SwiftWeather
[30 / 78]
[35 / 78]
[39 / 78]
[40 / 78]
[44 / 78]
[46 / 78]
[49 / 78]
[53 / 78]
[55 / 78]
[56 / 78]
[58 / 78]
[69 / 78] SwiftWeather
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line: cd /Users/admin/builder
/Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/WeatherErrors.swift:40:25: [1;31merror: [1;39mcannot use protocol 'LocalizedError' in a public or '@usableFromInline' conformance; 'Foundation' was not imported publicly[0;0m
[0;36m1 |[0;0m // Created by Wade Tregaskis on 28/8/2022.
[0;36m2 |[0;0m
[0;36m3 |[0;0m internal import Foundation
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol 'LocalizedError' imported as 'internal' from 'Foundation' here[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m public enum WeatherError: Error, @unchecked Sendable {
[0;36m:[0;0m
[0;36m38 |[0;0m }
[0;36m39 |[0;0m
[0;36m40 |[0;0m extension WeatherError: LocalizedError {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use protocol 'LocalizedError' in a public or '@usableFromInline' conformance; 'Foundation' was not imported publicly[0;0m
[0;36m41 |[0;0m private static let localisedStringsTable = "WeatherErrors"
[0;36m42 |[0;0m
Foundation.LocalizedError:2:17: [1;39mnote: [1;39mprotocol declared here[0;0m
[0;36m1 |[0;0m @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
[0;36m2 |[0;0m public protocol LocalizedError : Error {
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol declared here[0;0m
[0;36m3 |[0;0m var errorDescription: String? { get }
[0;36m4 |[0;0m var failureReason: String? { get }
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/AmbientWeather/AmbientWeather.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/AmbientWeather/AmbientWeatherDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/AmbientWeather/AmbientWeatherReport.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/AmbientWeather/AmbientWeatherSensor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/AmbientWeather/AmbientWeatherStationGeoType.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/AmbientWeather/AmbientWeatherStationGeolocation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/AmbientWeather/AmbientWeatherStationInfo.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/Extensions/Data+String.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/Extensions/Unit+Custom.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/Helpers/Zip.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/SwiftWeather.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/WeatherErrors.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/WeatherSensor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/Wunderground/Wunderground.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/Wunderground/WundergroundCurrentReport.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/Wunderground/WundergroundDevice.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftWeather/Wunderground/WundergroundError.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/Objects-normal/arm64/SwiftWeather-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature AccessLevelOnImport -enable-experimental-feature AccessLevelOnImport -enable-upcoming-feature BareSlashRegexLiterals -enable-experimental-feature BareSlashRegexLiterals -enable-upcoming-feature ConciseMagicFile -enable-experimental-feature ConciseMagicFile -enable-upcoming-feature DeprecateApplicationMain -enable-experimental-feature DeprecateApplicationMain -enable-upcoming-feature DisableOutwardActorInference -enable-experimental-feature DisableOutwardActorInference -enable-upcoming-feature DynamicActorIsolation -enable-experimental-feature DynamicActorIsolation -enable-upcoming-feature ExistentialAny -enable-experimental-feature ExistentialAny -enable-upcoming-feature ForwardTrailingClosures -enable-experimental-feature ForwardTrailingClosures -enable-upcoming-feature GlobalConcurrency -enable-experimental-feature GlobalConcurrency -enable-upcoming-feature ImplicitOpenExistentials -enable-experimental-feature ImplicitOpenExistentials -enable-upcoming-feature ImportObjcForwardDeclarations -enable-experimental-feature ImportObjcForwardDeclarations -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature InferSendableFromCaptures -enable-upcoming-feature InternalImportsByDefault -enable-experimental-feature InternalImportsByDefault -enable-upcoming-feature IsolatedDefaultValues -enable-experimental-feature IsolatedDefaultValues -enable-upcoming-feature StrictConcurrency -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftWeather -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/Objects-normal/arm64/SwiftWeather_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/Objects-normal/arm64/SwiftWeather.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/Objects-normal/arm64/SwiftWeather.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/Objects-normal/arm64/SwiftWeather-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/Objects-normal/arm64/SwiftWeather-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/Objects-normal/arm64/SwiftWeather-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/Objects-normal/arm64/SwiftWeather.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftWeather.build/Debug/SwiftWeather-t.build/Objects-normal/arm64/SwiftWeather.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm