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 main (62db0c), with Swift 5.9 for macOS (SPM) on 8 Nov 2024 22:00:10 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nonstrict-hq/CloudStorage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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] Emitting module CloudStorage
[2/3] Compiling CloudStorage CloudStorage.swift
[3/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 {
                   ^
error: fatalError
BUILD FAILURE 5.9 macosSpm