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 Android on 24 Jun 2025 06:24:36 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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.79s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (4.15s)
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.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
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
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/8] Write sources
[4/8] Copying PrivacyInfo.xcprivacy
[7/8] Write swift-version-8C5A4AE7A8CE2BA.txt
[9/35] Compiling Factory Contexts.swift
[10/35] Compiling Factory Factory.swift
[11/36] 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 |
[12/36] 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 |
[13/36] Compiling Factory Resolutions.swift
[14/36] Compiling Factory Resolver.swift
[15/36] Compiling Factory Key.swift
[16/36] Compiling Factory Locking.swift
[17/37] Compiling Factory Globals.swift
[18/37] Compiling Factory Injections.swift
[19/37] Compiling Factory Scopes.swift
[20/37] Compiling FactoryKit Resolver.swift
[21/37] Compiling FactoryKit Scopes.swift
[22/37] Compiling Factory resource_bundle_accessor.swift
[23/37] Compiling FactoryKit resource_bundle_accessor.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 |     }
/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/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/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 |
[30/37] Emitting module Factory
[31/37] Compiling Factory Aliases.swift
[32/37] Compiling Factory Containers.swift
[33/38] Emitting module FactoryKit
/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 |     }
[40/41] Compiling FactoryTesting ContainerTrait.swift
[41/41] Emitting module FactoryTesting
Build complete! (55.40s)
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"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.