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.1 for macOS (SPM) on 18 Jul 2025 21:41:38 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/Factory.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2094] Fetching swift-docc-plugin
[211/5522] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.18s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.18s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.1.0 (4.19s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.63s)
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/18916] 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 main (bcca76f)
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
[3/8] Copying PrivacyInfo.xcprivacy
[7/8] Write swift-version-2F0A5646E1D333AE.txt
[9/35] Compiling FactoryKit Resolver.swift
[10/35] Compiling FactoryKit Scopes.swift
[11/35] Compiling FactoryKit Resolutions.swift
[12/36] Compiling Factory Key.swift
[13/36] Compiling Factory Locking.swift
[14/36] Compiling Factory Scopes.swift
[15/36] Compiling Factory Resolutions.swift
[16/36] Compiling Factory Resolver.swift
[17/37] Compiling FactoryKit resource_bundle_accessor.swift
[18/37] Compiling Factory resource_bundle_accessor.swift
[19/37] Compiling Factory Modifiers.swift
[20/37] Compiling Factory Registrations.swift
[21/37] Compiling FactoryKit Locking.swift
[22/37] Compiling FactoryKit Modifiers.swift
[23/37] Compiling FactoryKit Registrations.swift
[24/37] Emitting module Factory
[25/37] Compiling FactoryKit Factory.swift
[26/37] Compiling FactoryKit Globals.swift
[27/37] Compiling FactoryKit Containers.swift
[28/37] Compiling FactoryKit Contexts.swift
[29/37] Compiling Factory Aliases.swift
[30/37] Compiling Factory Containers.swift
[33/37] Emitting module FactoryKit
[38/39] Emitting module FactoryTesting
[39/39] Compiling FactoryTesting ContainerTrait.swift
Build complete! (21.20s)
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/main
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/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 {
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 {
Conversion complete! (0.22s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/hmlongco/factory/main'
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Emitting module SymbolKit
[8/57] Compiling SymbolKit Identifier.swift
[9/57] Compiling SymbolKit KindIdentifier.swift
[10/57] Compiling SymbolKit Location.swift
[11/57] Compiling SymbolKit Mutability.swift
[12/57] Compiling SymbolKit SemanticVersion.swift
[13/57] Compiling SymbolKit AccessControl.swift
[14/57] Compiling SymbolKit Availability.swift
[15/57] Compiling SymbolKit AvailabilityItem.swift
[16/57] Compiling SymbolKit Domain.swift
[17/57] Compiling SymbolKit DeclarationFragments.swift
[18/57] Compiling SymbolKit Fragment.swift
[19/57] Compiling SymbolKit FragmentKind.swift
[20/57] Compiling SymbolKit FunctionParameter.swift
[21/57] Compiling SymbolKit FunctionSignature.swift
[22/57] Compiling SymbolKit Mixin+Equals.swift
[23/57] Compiling SymbolKit Mixin+Hash.swift
[24/57] Compiling SymbolKit Mixin.swift
[25/57] Compiling SymbolKit LineList.swift
[26/57] Compiling SymbolKit Position.swift
[27/57] Compiling SymbolKit GenericConstraint.swift
[28/57] Compiling SymbolKit GenericParameter.swift
[29/57] Compiling SymbolKit Generics.swift
[30/57] Compiling SymbolKit Namespace.swift
[31/57] Compiling SymbolKit SourceRange.swift
[32/57] Compiling SymbolKit Metadata.swift
[33/57] Compiling SymbolKit Module.swift
[34/57] Compiling SymbolKit OperatingSystem.swift
[35/57] Compiling SymbolKit Platform.swift
[36/57] Compiling SymbolKit Symbol.swift
[37/57] Compiling SymbolKit SymbolKind.swift
[38/57] Compiling SymbolKit SymbolGraph.swift
[39/57] Compiling SymbolKit GraphCollector.swift
[40/57] Compiling SymbolKit Names.swift
[41/57] Compiling SymbolKit SPI.swift
[42/57] Compiling SymbolKit Snippet.swift
[43/57] Compiling SymbolKit Extension.swift
[44/57] Compiling SymbolKit Relationship.swift
[45/57] Compiling SymbolKit RelationshipKind.swift
[46/57] Compiling SymbolKit SourceOrigin.swift
[47/57] Compiling SymbolKit GenericConstraints.swift
[48/57] Compiling SymbolKit Swift.swift
[49/57] Emitting module Snippets
[50/57] Compiling Snippets SnippetParser.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 SymbolGraph+Snippet.swift
[58/61] Compiling snippet_extract SnippetBuildCommand.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.08s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/15] Compiling Factory Resolutions.swift
[3/16] Compiling Factory Modifiers.swift
[4/16] Compiling Factory Key.swift
[5/16] Compiling Factory Locking.swift
[6/16] Compiling Factory Scopes.swift
[7/16] Compiling Factory Contexts.swift
[8/16] Compiling Factory Factory.swift
[9/16] Compiling Factory Globals.swift
[10/16] Compiling Factory Injections.swift
[11/16] Emitting module Factory
[12/16] Compiling Factory Registrations.swift
[13/16] Compiling Factory Resolver.swift
[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! (0.95s)
     518
4	/Users/admin/builder/spi-builder-workspace/.docs/hmlongco/factory/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/hmlongco/factory/main
File count: 518
Doc size:   4.0MB
Preparing doc bundle ...
Uploading prod-hmlongco-factory-main-2087120a.zip to s3://spi-docs-inbox/prod-hmlongco-factory-main-2087120a.zip
Copying... [15%]
Copying... [22%]
Copying... [37%]
Copying... [44%]
Copying... [52%]
Copying... [67%]
Copying... [74%]
Copying... [81%]
Copying... [96%]
Copying... [100%]
Done.