The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FoundationToolz, reference 0.5.8 (7bd4fd), with Swift 6.2 for macOS (SPM) on 1 Dec 2025 08:57:24 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nohype-ai/FoundationToolz.git
Reference: 0.5.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nohype-ai/FoundationToolz
 * tag               0.5.8      -> FETCH_HEAD
HEAD is now at 7bd4fd7 Update dependency version
Cloned https://github.com/nohype-ai/FoundationToolz.git
Revision (git rev-parse @):
7bd4fd7714ec934d0457f5682efd464051b2ef43
SUCCESS checkout https://github.com/nohype-ai/FoundationToolz.git at 0.5.8
Fetching https://github.com/flowtoolz/SwiftyToolz.git
[1/754] Fetching swiftytoolz
Fetched https://github.com/flowtoolz/SwiftyToolz.git from cache (0.73s)
Computing version for https://github.com/flowtoolz/SwiftyToolz.git
Computed https://github.com/flowtoolz/SwiftyToolz.git at 0.5.6 (1.27s)
Creating working copy for https://github.com/flowtoolz/SwiftyToolz.git
Working copy of https://github.com/flowtoolz/SwiftyToolz.git resolved at 0.5.6
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "foundationtoolz",
      "name": "FoundationToolz",
      "url": "https://github.com/nohype-ai/FoundationToolz.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FoundationToolz",
      "dependencies": [
        {
          "identity": "swiftytoolz",
          "name": "SwiftyToolz",
          "url": "https://github.com/flowtoolz/SwiftyToolz.git",
          "version": "0.5.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyToolz",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nohype-ai/FoundationToolz.git
[1/869] Fetching foundationtoolz
Fetched https://github.com/nohype-ai/FoundationToolz.git from cache (0.84s)
Fetching https://github.com/flowtoolz/SwiftyToolz.git from cache
Fetched https://github.com/flowtoolz/SwiftyToolz.git from cache (0.44s)
Computing version for https://github.com/flowtoolz/SwiftyToolz.git
Computed https://github.com/flowtoolz/SwiftyToolz.git at 0.5.6 (0.50s)
Creating working copy for https://github.com/flowtoolz/SwiftyToolz.git
Working copy of https://github.com/flowtoolz/SwiftyToolz.git resolved at 0.5.6
Creating working copy for https://github.com/nohype-ai/FoundationToolz.git
Working copy of https://github.com/nohype-ai/FoundationToolz.git resolved at 0.5.8 (7bd4fd7)
warning: '.resolve-product-dependencies': dependency 'foundationtoolz' is not used by any target
Found 1 product dependencies
  - SwiftyToolz
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nohype-ai/FoundationToolz.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-49B95AFC49DCD68C.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/25] Emitting module SwiftyToolz
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftyToolz/Code/Log.swift:200:24: error: static property 'nextEntryID' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
198 |     }
199 |
200 |     private static var nextEntryID = 0
    |                        |- error: static property 'nextEntryID' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
    |                        |- note: convert 'nextEntryID' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'nextEntryID' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 |     // MARK: - Levels
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[5/25] Compiling SwiftyToolz BackgroundActor.swift
[6/25] Compiling SwiftyToolz BuildEnvironment.swift
[7/25] Compiling SwiftyToolz Clipboard.swift
[8/27] Compiling SwiftyToolz Dictionary+SwiftyToolz.swift
[9/27] Compiling SwiftyToolz Int+SwiftyToolz.swift
[10/27] Compiling SwiftyToolz Set+SwiftyToolz.swift
[11/27] Compiling SwiftyToolz String+SwiftyToolz.swift
[12/27] Compiling SwiftyToolz Copyable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftyToolz/Code/Log.swift:200:24: error: static property 'nextEntryID' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
198 |     }
199 |
200 |     private static var nextEntryID = 0
    |                        |- error: static property 'nextEntryID' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
    |                        |- note: convert 'nextEntryID' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'nextEntryID' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 |     // MARK: - Levels
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[13/27] Compiling SwiftyToolz JSON.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftyToolz/Code/Log.swift:200:24: error: static property 'nextEntryID' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
198 |     }
199 |
200 |     private static var nextEntryID = 0
    |                        |- error: static property 'nextEntryID' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
    |                        |- note: convert 'nextEntryID' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'nextEntryID' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 |     // MARK: - Levels
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[14/27] Compiling SwiftyToolz Log.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftyToolz/Code/Log.swift:200:24: error: static property 'nextEntryID' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
198 |     }
199 |
200 |     private static var nextEntryID = 0
    |                        |- error: static property 'nextEntryID' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
    |                        |- note: convert 'nextEntryID' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'nextEntryID' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 |     // MARK: - Levels
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[15/27] Compiling SwiftyToolz URLString.swift
[16/27] Compiling SwiftyToolz WeakArray.swift
[17/27] Compiling SwiftyToolz Timeout.swift
[18/27] Compiling SwiftyToolz Color.swift
[19/27] Compiling SwiftyToolz ReadableError.swift
[20/27] Compiling SwiftyToolz Array+SwiftyToolz.swift
[21/27] Compiling SwiftyToolz Collection+Sum.swift
[22/27] Compiling SwiftyToolz Task+SwiftyToolz.swift
[23/27] Compiling SwiftyToolz SwiftHelpers.swift
[24/27] Compiling SwiftyToolz Optional+SwiftyToolz.swift
[25/27] Compiling SwiftyToolz Sequence+Async.swift
[26/27] Compiling SwiftyToolz Font.swift
[27/27] Compiling SwiftyToolz Geometry.swift
BUILD FAILURE 6.2 macosSpm