The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Forge, reference main (896007), with Swift 6.1 for Linux on 30 Mar 2026 05:46:56 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tatejennings/forge.git
https://github.com/tatejennings/forge.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Forge",
  "name" : "Forge",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Forge SharedContainer.swift
[4/15] Compiling Forge Unimplemented.swift
[5/15] Compiling Forge OverrideBuilder.swift
[6/15] Emitting module Forge
/host/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 |
[7/15] Compiling Forge Scope.swift
[8/15] Compiling Forge Inject.swift
[9/15] Compiling Forge KeyPathName.swift
[10/15] Compiling Forge ContainerInject.swift
/host/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 |
[11/15] Compiling Forge Forge.swift
/host/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 |
[12/15] Compiling Forge AppContainer.swift
[13/15] Compiling Forge Container.swift
[14/15] Compiling Forge Lock.swift
[15/15] Compiling Forge PreviewContext.swift
Build complete! (7.80s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Forge",
  "name" : "Forge",
  "path" : "/host/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"
}
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Done.