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 CloudStorage, reference 0.6.0 (62db0c), with Swift 5.9 for macOS (SPM) on 8 Nov 2024 21:58:45 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nonstrict-hq/CloudStorage.git
Reference: 0.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nonstrict-hq/CloudStorage
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at 62db0c9 Merge pull request #15 from Tabonx/main
Cloned https://github.com/nonstrict-hq/CloudStorage.git
Revision (git rev-parse @):
62db0c9e025430aae7caee899cc69cf15bc4579d
SUCCESS checkout https://github.com/nonstrict-hq/CloudStorage.git at 0.6.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/nonstrict-hq/CloudStorage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/3] Compiling CloudStorage CloudStorageSync.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudStorage/CloudStorageSync.swift:34:23: error: 'assumeIsolated(_:file:line:)' is only available in macOS 14.0 or newer
            MainActor.assumeIsolated {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudStorage/CloudStorageSync.swift:34:23: note: add 'if #available' version check
            MainActor.assumeIsolated {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudStorage/CloudStorageSync.swift:24:13: note: add @available attribute to enclosing initializer
    private init() {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudStorage/CloudStorageSync.swift:16:20: note: add @available attribute to enclosing class
public final class CloudStorageSync: ObservableObject {
                   ^
[2/3] Compiling CloudStorage CloudStorage.swift
[3/3] Emitting module CloudStorage
error: fatalError
BUILD FAILURE 5.9 macosSpm