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 2.5.3 (ccc898), with Swift 6.1 for macOS (SPM) on 31 May 2025 09:40:12 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/Factory.git
Reference: 2.5.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hmlongco/Factory
 * tag               2.5.3      -> FETCH_HEAD
HEAD is now at ccc898f Update factory from factorykit
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
ccc898f21992ebc130bc04cc197460a5ae230bcf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hmlongco/Factory.git at 2.5.3
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2049] Fetching swift-docc-plugin
[227/5442] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.25s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.1.0 (4.61s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.67s)
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
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "factory",
      "name": "Factory",
      "url": "https://github.com/hmlongco/Factory.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Factory",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/hmlongco/Factory.git
[1/18308] Fetching factory
Fetched https://github.com/hmlongco/Factory.git from cache (1.40s)
Creating working copy for https://github.com/hmlongco/Factory.git
Working copy of https://github.com/hmlongco/Factory.git resolved at 2.5.3 (ccc898f)
warning: '.resolve-product-dependencies': dependency 'factory' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hmlongco/Factory.git
https://github.com/hmlongco/Factory.git
{
  "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" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
[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-2F0A5646E1D333AE.txt
[9/35] Compiling FactoryKit Resolver.swift
[10/36] Compiling FactoryKit Scopes.swift
[11/36] Compiling FactoryKit Locking.swift
[12/36] Compiling FactoryKit Resolutions.swift
[13/36] Compiling FactoryKit Registrations.swift
[14/36] Compiling Factory Registrations.swift
[15/37] Compiling FactoryKit resource_bundle_accessor.swift
[16/37] Compiling Factory resource_bundle_accessor.swift
[17/37] Compiling Factory Aliases.swift
[18/37] Compiling Factory Containers.swift
[19/37] Compiling Factory Key.swift
[20/37] Compiling Factory Locking.swift
[21/37] Compiling FactoryKit Factory.swift
[22/37] Compiling FactoryKit Globals.swift
[23/37] Compiling FactoryKit Modifiers.swift
[24/37] Emitting module FactoryKit
[27/37] Compiling Factory Resolutions.swift
[28/37] Compiling Factory Resolver.swift
[29/37] Compiling Factory Scopes.swift
[32/37] Compiling Factory Globals.swift
[33/37] Compiling Factory Injections.swift
[34/37] Compiling Factory Modifiers.swift
[35/37] Emitting module Factory
[38/39] Compiling FactoryTesting ContainerTrait.swift
[39/39] Emitting module FactoryTesting
Build complete! (22.15s)
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" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/hmlongco/factory/2.5.3
Repository:               hmlongco/Factory
Swift version used:       6.1
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.1.0"),
Target:                   Factory
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            4633b45fc732d8c55568be09dd852f9dc1582c25 -> FETCH_HEAD
HEAD is now at 4633b45 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Generating documentation for 'Factory'...
Converting documentation...
warning: 'Containers' doesn't exist at '/Factory/Container'
  --> Sources/Factory/Factory/Containers.swift:48:15-48:25
46 | ///  If the Container's @TaskLocal macro provided `withValue` function is used, the aforementioned scope of the container will be isolated to that task.
47 | ///
48 + ///  See <doc:Containers> for more information.
   |               ├─suggestion: Replace 'Containers' with 'SharedContainer-Implementations'
   |               ╰─suggestion: Replace 'Containers' with 'ManagedContainer-Implementations'
49 | public final class Container: SharedContainer {
50 |     /// Define the default shared container.
warning: 'Containers' doesn't exist at '/Factory/SharedContainer'
  --> Sources/Factory/Factory/Containers.swift:74:15-74:25
72 | /// The default ``Container`` provided is a SharedContainer. It can be used in both roles as needed.
73 | ///
74 + ///  See <doc:Containers> for more information.
75 | public protocol SharedContainer: ManagedContainer {
76 |     /// Defines a single "shared" container for that container type.
warning: 'Containers' doesn't exist at '/Factory/ManagedContainer'
   --> Sources/Factory/Factory/Containers.swift:146:15-146:25
144 | /// }
145 | /// ```
146 + ///  See <doc:Containers> for more information.
147 | public protocol ManagedContainer: AnyObject, Sendable {
148 |     /// Defines the ContainerManager used to manage registrations, resolutions, and scope caching for that container. Encapsulating the code in
warning: 'Contexts' doesn't exist at '/Factory/ParameterFactory/context(_:factory:)'
   --> Sources/Factory/Factory/Modifiers.swift:170:18-170:26
168 |     /// A context might be be when running in SwiftUI preview mode, or when running unit tests.
169 |     ///
170 +     /// See <doc:Contexts>
171 |     @discardableResult
172 |     public func context(_ contexts: FactoryContextType..., factory: @escaping ParameterFactoryType<P, T>) -> Self {
warning: 'Contexts' doesn't exist at '/Factory/Factory/context(_:factory:)'
   --> Sources/Factory/Factory/Modifiers.swift:170:18-170:26
168 |     /// A context might be be when running in SwiftUI preview mode, or when running unit tests.
169 |     ///
170 +     /// See <doc:Contexts>
171 |     @discardableResult
172 |     public func context(_ contexts: FactoryContextType..., factory: @escaping ParameterFactoryType<P, T>) -> Self {
warning: 'Contexts' doesn't exist at '/Factory/FactoryModifying/context(_:factory:)'
   --> Sources/Factory/Factory/Modifiers.swift:170:18-170:26
168 |     /// A context might be be when running in SwiftUI preview mode, or when running unit tests.
169 |     ///
170 +     /// See <doc:Contexts>
171 |     @discardableResult
172 |     public func context(_ contexts: FactoryContextType..., factory: @escaping ParameterFactoryType<P, T>) -> Self {
Conversion complete! (0.23s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/hmlongco/factory/2.5.3'
Building for debugging...
[0/8] Write sources
[0/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Emitting module SymbolKit
[8/57] Emitting module Snippets
[9/57] Compiling Snippets Snippet.swift
[10/57] Compiling SymbolKit GenericConstraint.swift
[11/57] Compiling SymbolKit GenericParameter.swift
[12/57] Compiling SymbolKit Generics.swift
[13/57] Compiling SymbolKit Namespace.swift
[14/57] Compiling SymbolKit SemanticVersion.swift
[15/57] Compiling SymbolKit AccessControl.swift
[16/57] Compiling SymbolKit Availability.swift
[17/57] Compiling SymbolKit AvailabilityItem.swift
[18/57] Compiling SymbolKit Domain.swift
[19/57] Compiling SymbolKit Mixin+Equals.swift
[20/57] Compiling SymbolKit Mixin+Hash.swift
[21/57] Compiling SymbolKit Mixin.swift
[22/57] Compiling SymbolKit LineList.swift
[23/57] Compiling SymbolKit Position.swift
[24/57] Compiling SymbolKit Symbol.swift
[25/57] Compiling SymbolKit SymbolKind.swift
[26/57] Compiling SymbolKit SymbolGraph.swift
[27/57] Compiling SymbolKit GraphCollector.swift
[28/57] Compiling SymbolKit Names.swift
[29/57] Compiling SymbolKit SPI.swift
[30/57] Compiling SymbolKit Snippet.swift
[31/57] Compiling SymbolKit Extension.swift
[32/57] Compiling SymbolKit Relationship.swift
[33/57] Compiling SymbolKit RelationshipKind.swift
[34/57] Compiling SymbolKit SourceOrigin.swift
[35/57] Compiling SymbolKit GenericConstraints.swift
[36/57] Compiling SymbolKit Swift.swift
[37/57] Compiling SymbolKit DeclarationFragments.swift
[38/57] Compiling SymbolKit Fragment.swift
[39/57] Compiling SymbolKit FragmentKind.swift
[40/57] Compiling SymbolKit FunctionParameter.swift
[41/57] Compiling SymbolKit FunctionSignature.swift
[42/57] Compiling SymbolKit Identifier.swift
[43/57] Compiling SymbolKit KindIdentifier.swift
[44/57] Compiling SymbolKit Location.swift
[45/57] Compiling SymbolKit Mutability.swift
[46/57] Compiling SymbolKit SourceRange.swift
[47/57] Compiling SymbolKit Metadata.swift
[48/57] Compiling SymbolKit Module.swift
[49/57] Compiling SymbolKit OperatingSystem.swift
[50/57] Compiling SymbolKit Platform.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.10s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/15] Compiling Factory Modifiers.swift
[3/15] Compiling Factory Resolver.swift
[4/15] Compiling Factory Scopes.swift
[5/15] Compiling Factory Resolutions.swift
[6/16] Compiling Factory Globals.swift
[7/16] Compiling Factory Injections.swift
[8/16] Compiling Factory Contexts.swift
[9/16] Compiling Factory Factory.swift
[10/16] Compiling Factory Key.swift
[11/16] Compiling Factory Locking.swift
[12/16] Compiling Factory Registrations.swift
[13/16] Emitting module Factory
[14/16] Compiling Factory Aliases.swift
[15/16] Compiling Factory Containers.swift
[16/16] Compiling Factory resource_bundle_accessor.swift
Build of target: 'Factory' complete! (1.14s)
     518
4	/Users/admin/builder/spi-builder-workspace/.docs/hmlongco/factory/2.5.3
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/hmlongco/factory/2.5.3
File count: 518
Doc size:   4.0MB
Preparing doc bundle ...
Uploading prod-hmlongco-factory-2.5.3-411d4f6a.zip to s3://spi-docs-inbox/prod-hmlongco-factory-2.5.3-411d4f6a.zip
Copying... [15%]
Copying... [22%]
Copying... [37%]
Copying... [44%]
Copying... [52%]
Copying... [67%]
Copying... [74%]
Copying... [81%]
Copying... [96%]
Copying... [100%]
Done.