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 main (f350e0), with Swift 6.0 for Linux on 11 Oct 2024 00:49:33 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/Factory.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/hmlongco/Factory
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f350e0d Updated documentation for DynamicInjected
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
f350e0d71ba241b392f70519a67e769d5e3858d4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hmlongco/Factory.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/hmlongco/Factory.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2038] Fetching swift-docc-plugin
[226/5148] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.40s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.1.0 (2.02s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.48s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[2/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/19] Compiling Factory Resolutions.swift
[7/19] Compiling Factory Resolver.swift
[8/19] Compiling Factory Scopes.swift
[9/20] Compiling Factory Contexts.swift
[10/20] Compiling Factory Factory.swift
[11/20] Emitting module Factory
[12/20] Compiling Factory Aliases.swift
[13/20] Compiling Factory Containers.swift
[14/20] Compiling Factory Key.swift
[15/20] Compiling Factory Locking.swift
[16/20] Compiling Factory Globals.swift
[17/20] Compiling Factory Injections.swift
[18/20] Compiling Factory Modifiers.swift
[19/20] Compiling Factory Registrations.swift
[20/20] Compiling Factory resource_bundle_accessor.swift
Build complete! (25.86s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.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" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Factory",
      "targets" : [
        "Factory"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "6"
  ],
  "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",
        "XCTestExtensions.swift"
      ],
      "target_dependencies" : [
        "Factory"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Factory",
      "module_type" : "SwiftTarget",
      "name" : "Factory",
      "path" : "Sources/Factory",
      "product_memberships" : [
        "Factory"
      ],
      "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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.