The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Forge, reference main (896007), with Swift 6.1 for macOS (SPM) on 30 Mar 2026 05:48:33 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tatejennings/forge.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tatejennings/forge
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8960070 docs: regenerate DocC documentation [skip ci]
Cloned https://github.com/tatejennings/forge.git
Revision (git rev-parse @):
89600705c8e307b63a5885efbc703ec8761fd569
SUCCESS checkout https://github.com/tatejennings/forge.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tatejennings/forge.git
https://github.com/tatejennings/forge.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Forge",
  "name" : "Forge",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "Forge",
      "targets" : [
        "Forge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ForgeTests",
      "module_type" : "SwiftTarget",
      "name" : "ForgeTests",
      "path" : "Tests/ForgeTests",
      "sources" : [
        "AppContainerTests.swift",
        "ContainerTests.swift",
        "Fixtures/TestAppContainerExtension.swift",
        "Fixtures/TestContainer.swift",
        "Fixtures/TestServices.swift",
        "KeyPathNameTests.swift",
        "KeyPathOverrideTests.swift",
        "OverrideTests.swift",
        "PreviewTests.swift",
        "ScopeTests.swift"
      ],
      "target_dependencies" : [
        "Forge"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Forge",
      "module_type" : "SwiftTarget",
      "name" : "Forge",
      "path" : "Sources/Forge",
      "product_memberships" : [
        "Forge"
      ],
      "sources" : [
        "AppContainer.swift",
        "Container.swift",
        "ContainerInject.swift",
        "Forge.swift",
        "Inject.swift",
        "Internal/KeyPathName.swift",
        "Internal/Lock.swift",
        "Internal/PreviewContext.swift",
        "OverrideBuilder.swift",
        "Scope.swift",
        "SharedContainer.swift",
        "Unimplemented.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/14] Compiling Forge Scope.swift
[4/15] Compiling Forge Unimplemented.swift
[5/15] Compiling Forge OverrideBuilder.swift
[6/15] Compiling Forge Lock.swift
[7/15] Compiling Forge SharedContainer.swift
[8/15] Compiling Forge ContainerInject.swift
/Users/admin/builder/spi-builder-workspace/Sources/Forge/Forge.swift:30:23: warning: static property 'defaultContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |     ///
29 |     /// - Note: Must be set on the main thread before any background work begins.
30 |     public static var defaultContainer: Container? = AppContainer.shared
   |                       |- warning: static property 'defaultContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultContainer' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'defaultContainer' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[9/15] Compiling Forge Forge.swift
/Users/admin/builder/spi-builder-workspace/Sources/Forge/Forge.swift:30:23: warning: static property 'defaultContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |     ///
29 |     /// - Note: Must be set on the main thread before any background work begins.
30 |     public static var defaultContainer: Container? = AppContainer.shared
   |                       |- warning: static property 'defaultContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultContainer' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'defaultContainer' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[10/15] Compiling Forge KeyPathName.swift
[11/15] Compiling Forge Inject.swift
[12/15] Compiling Forge AppContainer.swift
[13/15] Compiling Forge Container.swift
[14/15] Compiling Forge PreviewContext.swift
[15/15] Emitting module Forge
/Users/admin/builder/spi-builder-workspace/Sources/Forge/Forge.swift:30:23: warning: static property 'defaultContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |     ///
29 |     /// - Note: Must be set on the main thread before any background work begins.
30 |     public static var defaultContainer: Container? = AppContainer.shared
   |                       |- warning: static property 'defaultContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultContainer' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'defaultContainer' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
Build complete! (4.61s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Forge",
  "name" : "Forge",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "Forge",
      "targets" : [
        "Forge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ForgeTests",
      "module_type" : "SwiftTarget",
      "name" : "ForgeTests",
      "path" : "Tests/ForgeTests",
      "sources" : [
        "AppContainerTests.swift",
        "ContainerTests.swift",
        "Fixtures/TestAppContainerExtension.swift",
        "Fixtures/TestContainer.swift",
        "Fixtures/TestServices.swift",
        "KeyPathNameTests.swift",
        "KeyPathOverrideTests.swift",
        "OverrideTests.swift",
        "PreviewTests.swift",
        "ScopeTests.swift"
      ],
      "target_dependencies" : [
        "Forge"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Forge",
      "module_type" : "SwiftTarget",
      "name" : "Forge",
      "path" : "Sources/Forge",
      "product_memberships" : [
        "Forge"
      ],
      "sources" : [
        "AppContainer.swift",
        "Container.swift",
        "ContainerInject.swift",
        "Forge.swift",
        "Inject.swift",
        "Internal/KeyPathName.swift",
        "Internal/Lock.swift",
        "Internal/PreviewContext.swift",
        "OverrideBuilder.swift",
        "Scope.swift",
        "SharedContainer.swift",
        "Unimplemented.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.