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

Successful build of Factory, reference v2.4.11 (98e965), with Swift 6.1 for Linux on 5 May 2025 19:50:11 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/Factory.git
Reference: v2.4.11
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/hmlongco/Factory
 * tag               v2.4.11    -> FETCH_HEAD
HEAD is now at 98e965b Updates for 2.4.11
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
98e965ba52769132a298769894f9741f8c291509
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hmlongco/Factory.git at v2.4.11
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hmlongco/Factory.git
https://github.com/hmlongco/Factory.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Factory",
  "name" : "Factory",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Factory",
      "targets" : [
        "Factory"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FactoryTesting",
      "targets" : [
        "FactoryTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FactoryTests",
      "module_type" : "SwiftTarget",
      "name" : "FactoryTests",
      "path" : "Tests/FactoryTests",
      "sources" : [
        "FactoryComponentTests.swift",
        "FactoryContainerTests.swift",
        "FactoryContextTests.swift",
        "FactoryCoreTests.swift",
        "FactoryDefectTests.swift",
        "FactoryFunctionalTests.swift",
        "FactoryInjectionTests.swift",
        "FactoryIsolationTests.swift",
        "FactoryMultithreadingTests.swift",
        "FactoryParameterTests.swift",
        "FactoryResolverTests.swift",
        "FactoryScopeTests.swift",
        "MockServices.swift",
        "ParallelServices.swift",
        "ParallelTests.swift",
        "ParallelXCTest.swift",
        "XCTestExtensions.swift"
      ],
      "target_dependencies" : [
        "Factory",
        "FactoryTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FactoryTesting",
      "module_type" : "SwiftTarget",
      "name" : "FactoryTesting",
      "path" : "Sources/FactoryTesting",
      "product_memberships" : [
        "FactoryTesting"
      ],
      "sources" : [
        "ContainerTrait.swift"
      ],
      "target_dependencies" : [
        "Factory"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Factory",
      "module_type" : "SwiftTarget",
      "name" : "Factory",
      "path" : "Sources/Factory",
      "product_memberships" : [
        "Factory",
        "FactoryTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Factory/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Factory/Aliases.swift",
        "Factory/Containers.swift",
        "Factory/Contexts.swift",
        "Factory/Factory.swift",
        "Factory/Globals.swift",
        "Factory/Injections.swift",
        "Factory/Key.swift",
        "Factory/Locking.swift",
        "Factory/Modifiers.swift",
        "Factory/Registrations.swift",
        "Factory/Resolutions.swift",
        "Factory/Resolver.swift",
        "Factory/Scopes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.85s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (3.41s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.92s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Copying PrivacyInfo.xcprivacy
[3/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/20] Compiling Factory Scopes.swift
[8/21] Compiling Factory Aliases.swift
[9/21] Compiling Factory Containers.swift
[10/21] Compiling Factory Resolutions.swift
[11/21] Compiling Factory Resolver.swift
[12/21] Compiling Factory Contexts.swift
[13/21] Compiling Factory Factory.swift
[14/21] Emitting module Factory
[15/21] Compiling Factory Modifiers.swift
[16/21] Compiling Factory Registrations.swift
[17/21] Compiling Factory Globals.swift
[18/21] Compiling Factory Injections.swift
[19/21] Compiling Factory Key.swift
[20/21] Compiling Factory Locking.swift
[21/21] Compiling Factory resource_bundle_accessor.swift
[23/24] Compiling FactoryTesting ContainerTrait.swift
[24/24] Emitting module FactoryTesting
Build complete! (30.38s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Factory",
  "name" : "Factory",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Factory",
      "targets" : [
        "Factory"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FactoryTesting",
      "targets" : [
        "FactoryTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FactoryTests",
      "module_type" : "SwiftTarget",
      "name" : "FactoryTests",
      "path" : "Tests/FactoryTests",
      "sources" : [
        "FactoryComponentTests.swift",
        "FactoryContainerTests.swift",
        "FactoryContextTests.swift",
        "FactoryCoreTests.swift",
        "FactoryDefectTests.swift",
        "FactoryFunctionalTests.swift",
        "FactoryInjectionTests.swift",
        "FactoryIsolationTests.swift",
        "FactoryMultithreadingTests.swift",
        "FactoryParameterTests.swift",
        "FactoryResolverTests.swift",
        "FactoryScopeTests.swift",
        "MockServices.swift",
        "ParallelServices.swift",
        "ParallelTests.swift",
        "ParallelXCTest.swift",
        "XCTestExtensions.swift"
      ],
      "target_dependencies" : [
        "Factory",
        "FactoryTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FactoryTesting",
      "module_type" : "SwiftTarget",
      "name" : "FactoryTesting",
      "path" : "Sources/FactoryTesting",
      "product_memberships" : [
        "FactoryTesting"
      ],
      "sources" : [
        "ContainerTrait.swift"
      ],
      "target_dependencies" : [
        "Factory"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Factory",
      "module_type" : "SwiftTarget",
      "name" : "Factory",
      "path" : "Sources/Factory",
      "product_memberships" : [
        "Factory",
        "FactoryTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Factory/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Factory/Aliases.swift",
        "Factory/Containers.swift",
        "Factory/Contexts.swift",
        "Factory/Factory.swift",
        "Factory/Globals.swift",
        "Factory/Injections.swift",
        "Factory/Key.swift",
        "Factory/Locking.swift",
        "Factory/Modifiers.swift",
        "Factory/Registrations.swift",
        "Factory/Resolutions.swift",
        "Factory/Resolver.swift",
        "Factory/Scopes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.