The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Factory, reference main (bcca76), with Swift 6.2 (beta) for Linux on 18 Jul 2025 21:40:51 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 bcca76f Update README
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
bcca76f9243ace59477c8d077d25a97795eab5c4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hmlongco/Factory.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hmlongco/Factory.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.38s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3428] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.89s)
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.5
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/8] Copying PrivacyInfo.xcprivacy
[3/8] Write sources
[3/8] Copying PrivacyInfo.xcprivacy
[5/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/35] Compiling FactoryKit Scopes.swift
[10/36] Compiling FactoryKit resource_bundle_accessor.swift
[11/36] Emitting module Factory
[12/37] Compiling Factory Key.swift
[13/37] Compiling Factory Locking.swift
[14/37] Compiling Factory Modifiers.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Modifiers.swift:176:79: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
174 |             switch context {
175 |             case .arg, .args, .device, .simulator:
176 |                 registration.context(context, key: registration.key, factory: factory)
    |                                                                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
177 |             default:
178 |                 #if DEBUG
/host/spi-builder-workspace/Sources/Factory/Factory/Modifiers.swift:179:79: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
177 |             default:
178 |                 #if DEBUG
179 |                 registration.context(context, key: registration.key, factory: factory)
    |                                                                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
180 |                 #endif
181 |                 break
/host/spi-builder-workspace/Sources/Factory/Factory/Registrations.swift:98:23: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '(P) -> T' is not allowed; this will be an error in a future Swift language mode
 96 |             traceNewType = "F" // Factory { ... }
 97 |             #endif
 98 |             current = factory
    |                       `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '(P) -> T' is not allowed; this will be an error in a future Swift language mode
 99 |         }
100 |
[15/37] Compiling Factory Registrations.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Modifiers.swift:176:79: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
174 |             switch context {
175 |             case .arg, .args, .device, .simulator:
176 |                 registration.context(context, key: registration.key, factory: factory)
    |                                                                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
177 |             default:
178 |                 #if DEBUG
/host/spi-builder-workspace/Sources/Factory/Factory/Modifiers.swift:179:79: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
177 |             default:
178 |                 #if DEBUG
179 |                 registration.context(context, key: registration.key, factory: factory)
    |                                                                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
180 |                 #endif
181 |                 break
/host/spi-builder-workspace/Sources/Factory/Factory/Registrations.swift:98:23: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '(P) -> T' is not allowed; this will be an error in a future Swift language mode
 96 |             traceNewType = "F" // Factory { ... }
 97 |             #endif
 98 |             current = factory
    |                       `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '(P) -> T' is not allowed; this will be an error in a future Swift language mode
 99 |         }
100 |
[16/37] Compiling Factory Contexts.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Factory.swift:146:31: warning: converting @isolated(any) function of type '@isolated(any) @Sendable () -> T' to synchronous function type '@Sendable (Void) -> T' is not allowed; this will be an error in a future Swift language mode
144 |     @discardableResult
145 |     public func register(factory: @escaping VoidFactoryType<T>) -> Self {
146 |         registration.register(factory)
    |                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable () -> T' to synchronous function type '@Sendable (Void) -> T' is not allowed; this will be an error in a future Swift language mode
147 |         return self
148 |     }
/host/spi-builder-workspace/Sources/Factory/Factory/Factory.swift:239:31: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '@Sendable (P) -> T' is not allowed; this will be an error in a future Swift language mode
237 |     @discardableResult
238 |     public func register(factory: @escaping ParameterFactoryType<P, T>) -> Self {
239 |         registration.register(factory)
    |                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '@Sendable (P) -> T' is not allowed; this will be an error in a future Swift language mode
240 |         return self
241 |     }
[17/37] Compiling Factory Factory.swift
/host/spi-builder-workspace/Sources/Factory/Factory/Factory.swift:146:31: warning: converting @isolated(any) function of type '@isolated(any) @Sendable () -> T' to synchronous function type '@Sendable (Void) -> T' is not allowed; this will be an error in a future Swift language mode
144 |     @discardableResult
145 |     public func register(factory: @escaping VoidFactoryType<T>) -> Self {
146 |         registration.register(factory)
    |                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable () -> T' to synchronous function type '@Sendable (Void) -> T' is not allowed; this will be an error in a future Swift language mode
147 |         return self
148 |     }
/host/spi-builder-workspace/Sources/Factory/Factory/Factory.swift:239:31: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '@Sendable (P) -> T' is not allowed; this will be an error in a future Swift language mode
237 |     @discardableResult
238 |     public func register(factory: @escaping ParameterFactoryType<P, T>) -> Self {
239 |         registration.register(factory)
    |                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '@Sendable (P) -> T' is not allowed; this will be an error in a future Swift language mode
240 |         return self
241 |     }
[18/37] Compiling Factory Globals.swift
[19/37] Compiling Factory Injections.swift
[20/37] Compiling Factory Aliases.swift
[21/37] Compiling Factory Containers.swift
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Registrations.swift:98:23: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '(P) -> T' is not allowed; this will be an error in a future Swift language mode
 96 |             traceNewType = "F" // Factory { ... }
 97 |             #endif
 98 |             current = factory
    |                       `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '(P) -> T' is not allowed; this will be an error in a future Swift language mode
 99 |         }
100 |
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Registrations.swift:98:23: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '(P) -> T' is not allowed; this will be an error in a future Swift language mode
 96 |             traceNewType = "F" // Factory { ... }
 97 |             #endif
 98 |             current = factory
    |                       `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '(P) -> T' is not allowed; this will be an error in a future Swift language mode
 99 |         }
100 |
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Modifiers.swift:176:79: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
174 |             switch context {
175 |             case .arg, .args, .device, .simulator:
176 |                 registration.context(context, key: registration.key, factory: factory)
    |                                                                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
177 |             default:
178 |                 #if DEBUG
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Modifiers.swift:179:79: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
177 |             default:
178 |                 #if DEBUG
179 |                 registration.context(context, key: registration.key, factory: factory)
    |                                                                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
180 |                 #endif
181 |                 break
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Modifiers.swift:176:79: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
174 |             switch context {
175 |             case .arg, .args, .device, .simulator:
176 |                 registration.context(context, key: registration.key, factory: factory)
    |                                                                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
177 |             default:
178 |                 #if DEBUG
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Modifiers.swift:179:79: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
177 |             default:
178 |                 #if DEBUG
179 |                 registration.context(context, key: registration.key, factory: factory)
    |                                                                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (Self.P) -> Self.T' to synchronous function type '@Sendable (Self.P) -> Self.T' is not allowed; this will be an error in a future Swift language mode
180 |                 #endif
181 |                 break
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Factory.swift:146:31: warning: converting @isolated(any) function of type '@isolated(any) @Sendable () -> T' to synchronous function type '@Sendable (Void) -> T' is not allowed; this will be an error in a future Swift language mode
144 |     @discardableResult
145 |     public func register(factory: @escaping VoidFactoryType<T>) -> Self {
146 |         registration.register(factory)
    |                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable () -> T' to synchronous function type '@Sendable (Void) -> T' is not allowed; this will be an error in a future Swift language mode
147 |         return self
148 |     }
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Factory.swift:239:31: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '@Sendable (P) -> T' is not allowed; this will be an error in a future Swift language mode
237 |     @discardableResult
238 |     public func register(factory: @escaping ParameterFactoryType<P, T>) -> Self {
239 |         registration.register(factory)
    |                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '@Sendable (P) -> T' is not allowed; this will be an error in a future Swift language mode
240 |         return self
241 |     }
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Factory.swift:146:31: warning: converting @isolated(any) function of type '@isolated(any) @Sendable () -> T' to synchronous function type '@Sendable (Void) -> T' is not allowed; this will be an error in a future Swift language mode
144 |     @discardableResult
145 |     public func register(factory: @escaping VoidFactoryType<T>) -> Self {
146 |         registration.register(factory)
    |                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable () -> T' to synchronous function type '@Sendable (Void) -> T' is not allowed; this will be an error in a future Swift language mode
147 |         return self
148 |     }
/host/spi-builder-workspace/Sources/FactoryKit/FactoryKit/Factory.swift:239:31: warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '@Sendable (P) -> T' is not allowed; this will be an error in a future Swift language mode
237 |     @discardableResult
238 |     public func register(factory: @escaping ParameterFactoryType<P, T>) -> Self {
239 |         registration.register(factory)
    |                               `- warning: converting @isolated(any) function of type '@isolated(any) @Sendable (P) -> T' to synchronous function type '@Sendable (P) -> T' is not allowed; this will be an error in a future Swift language mode
240 |         return self
241 |     }
[32/37] Emitting module FactoryKit
[33/37] Compiling FactoryKit Resolver.swift
[35/38] Compiling Factory Resolutions.swift
[36/38] Compiling Factory Resolver.swift
[37/38] Compiling Factory Scopes.swift
[38/38] Compiling Factory resource_bundle_accessor.swift
[40/41] Emitting module FactoryTesting
[41/41] Compiling FactoryTesting ContainerTrait.swift
Build complete! (49.60s)
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" : "FactoryKit",
      "targets" : [
        "FactoryKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "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" : [
        "FactoryTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FactoryTesting",
      "module_type" : "SwiftTarget",
      "name" : "FactoryTesting",
      "path" : "Sources/FactoryTesting",
      "product_memberships" : [
        "FactoryTesting"
      ],
      "sources" : [
        "ContainerTrait.swift"
      ],
      "target_dependencies" : [
        "FactoryKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FactoryKit",
      "module_type" : "SwiftTarget",
      "name" : "FactoryKit",
      "path" : "Sources/FactoryKit",
      "product_memberships" : [
        "FactoryKit",
        "FactoryTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/FactoryKit/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "FactoryKit/Containers.swift",
        "FactoryKit/Contexts.swift",
        "FactoryKit/Factory.swift",
        "FactoryKit/Globals.swift",
        "FactoryKit/Injections.swift",
        "FactoryKit/Key.swift",
        "FactoryKit/Locking.swift",
        "FactoryKit/Modifiers.swift",
        "FactoryKit/Registrations.swift",
        "FactoryKit/Resolutions.swift",
        "FactoryKit/Resolver.swift",
        "FactoryKit/Scopes.swift"
      ],
      "type" : "library"
    },
    {
      "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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.