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 (8a145c), with Swift 6.2 (beta) for Linux on 24 Jun 2025 06:23:57 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 8a145c8 Merge pull request #311 from danielepantaleone/bugfix/version-number-in-readme
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
8a145c81b3045a872c5f1a37418a4dc109827618
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-3":/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/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.47s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (3.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.94s)
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.4
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] Write sources
[5/8] Copying PrivacyInfo.xcprivacy
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/35] Compiling FactoryKit Resolver.swift
[10/35] Compiling FactoryKit Locking.swift
/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
[11/35] Compiling FactoryKit Modifiers.swift
/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/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 |     }
/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 |     }
[14/36] Compiling FactoryKit Registrations.swift
[15/36] Compiling FactoryKit Resolutions.swift
[16/37] Emitting module Factory
[17/37] Compiling FactoryKit Injections.swift
[18/37] Compiling FactoryKit Key.swift
[19/37] Emitting module FactoryKit
[20/37] Compiling FactoryKit Factory.swift
/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 |     }
[21/37] Compiling FactoryKit Globals.swift
/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 |     }
[22/37] Compiling FactoryKit Containers.swift
[23/37] Compiling FactoryKit Contexts.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 |
[26/37] Compiling FactoryKit Scopes.swift
[27/37] Compiling Factory resource_bundle_accessor.swift
[30/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 |
[31/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 |
[36/37] Compiling Factory Scopes.swift
[37/37] Compiling FactoryKit resource_bundle_accessor.swift
[40/41] Compiling FactoryTesting ContainerTrait.swift
[41/41] Emitting module FactoryTesting
Build complete! (40.52s)
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.