The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build OpenWeatherKit, reference 2.2.0 (c7910a), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 14:10:26 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bourvill/OpenWeatherKit.git
Reference: 2.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bourvill/OpenWeatherKit
 * tag               2.2.0      -> FETCH_HEAD
HEAD is now at c7910a8 Merge pull request #5 from bourvill/release/2.2.0
Cloned https://github.com/bourvill/OpenWeatherKit.git
Revision (git rev-parse @):
c7910a8d78a142301c61bcc800e5137bb48711bd
SUCCESS checkout https://github.com/bourvill/OpenWeatherKit.git at 2.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/bourvill/OpenWeatherKit.git
[8/380] Fetching openweatherkit
Fetched https://github.com/bourvill/OpenWeatherKit.git from cache (0.91s)
Creating working copy for https://github.com/bourvill/OpenWeatherKit.git
Working copy of https://github.com/bourvill/OpenWeatherKit.git resolved at 2.2.0 (c7910a8)
error: 'openweatherkit': Source files for target OpenWeatherKit should be located under 'Sources/OpenWeatherKit', or a custom sources path can be set with the 'path' property in Package.swift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bourvill/OpenWeatherKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
error: 'spi-builder-workspace': Source files for target OpenWeatherKit should be located under 'Sources/OpenWeatherKit', or a custom sources path can be set with the 'path' property in Package.swift
BUILD FAILURE 6.0 macosSpm