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 NyaruDB2, reference v0.1.0-alpha1 (deb780), with Swift 5.9 for macOS (SPM) on 26 Apr 2025 12:01:00 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/galileostudio/nyarudb2.git
Reference: v0.1.0-alpha1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/galileostudio/nyarudb2
 * tag               v0.1.0-alpha1 -> FETCH_HEAD
HEAD is now at deb7809 Merge branch 'develop'
Cloned https://github.com/galileostudio/nyarudb2.git
Revision (git rev-parse @):
deb78093d59917248754fef39602d4209f8f50d4
SUCCESS checkout https://github.com/galileostudio/nyarudb2.git at v0.1.0-alpha1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/galileostudio/nyarudb2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/16] Compiling NyaruDB2 StatsEngine.swift
[2/17] Emitting module NyaruDB2
[3/17] Compiling NyaruDB2 CompressionMethod.swift
[4/17] Compiling NyaruDB2 Shard.swift
[5/17] Compiling NyaruDB2 CollectionCatalog.swift
[6/17] Compiling NyaruDB2 DocumentCollection.swift
[7/17] Compiling NyaruDB2 BTreeIndex.swift
[8/17] Compiling NyaruDB2 IndexManager.swift
[9/17] Compiling NyaruDB2 ShardManager.swift
[10/17] Compiling NyaruDB2 QueryEngine.swift
[11/17] Compiling NyaruDB2 QueryPlanner.swift
[12/17] Compiling NyaruDB2 DynamicDecoder.swift
[13/17] Compiling NyaruDB2 FileProtection.swift
[14/17] Compiling NyaruDB2 StorageEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/NyaruDB2/Core/StorageEngine/StorageEngine.swift:293:35: error: actor-isolated property 'indexManagers' cannot be passed 'inout' to 'async' function call
                if let existing = indexManagers[collection] {
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/NyaruDB2/Core/StorageEngine/StorageEngine.swift:21:16: note: property declared here
    public var indexManagers: [String: IndexManager<String>] = [:]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/NyaruDB2/Core/StorageEngine/StorageEngine.swift:298:21: error: actor-isolated property 'indexManagers' cannot be passed 'inout' to 'async' function call
                    indexManagers[collection] = newManager
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/NyaruDB2/Core/StorageEngine/StorageEngine.swift:21:16: note: property declared here
    public var indexManagers: [String: IndexManager<String>] = [:]
               ^
[15/17] Compiling NyaruDB2 NyaruDB2.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm