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.1 for macOS (SPM) on 4 Jun 2025 04:51:37 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: 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 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
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[227/5444] 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.71s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.70s)
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/18611] Fetching factory
Fetched https://github.com/hmlongco/Factory.git from cache (1.47s)
Creating working copy for https://github.com/hmlongco/Factory.git
Working copy of https://github.com/hmlongco/Factory.git resolved at main (8a145c8)
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
[4/8] Write sources
[7/8] Write swift-version-2F0A5646E1D333AE.txt
[9/35] Compiling Factory Scopes.swift
[10/35] Compiling FactoryKit Scopes.swift
[11/37] Compiling Factory Resolver.swift
[12/37] Compiling Factory Resolutions.swift
[13/37] Compiling FactoryKit Resolver.swift
[14/37] Compiling FactoryKit Locking.swift
[15/37] Compiling FactoryKit Resolutions.swift
[16/37] Compiling FactoryKit Registrations.swift
[17/37] Compiling FactoryKit resource_bundle_accessor.swift
[18/37] Compiling Factory resource_bundle_accessor.swift
[19/37] Compiling Factory Registrations.swift
[20/37] Compiling Factory Key.swift
[21/37] Compiling Factory Locking.swift
[22/37] Compiling Factory Contexts.swift
[23/37] Compiling Factory Factory.swift
[24/37] Compiling Factory Modifiers.swift
[25/37] Compiling Factory Globals.swift
[26/37] Compiling Factory Injections.swift
[27/37] Compiling FactoryKit Modifiers.swift
[30/37] Compiling Factory Aliases.swift
[31/37] Emitting module Factory
[32/37] Compiling Factory Containers.swift
[35/37] Emitting module FactoryKit
[38/39] Compiling FactoryTesting ContainerTrait.swift
[39/39] Emitting module FactoryTesting
Build complete! (21.28s)
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/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 {
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 {
Conversion complete! (0.23s)
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
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Relationship.swift
[8/57] Compiling SymbolKit RelationshipKind.swift
[9/57] Compiling SymbolKit SourceOrigin.swift
[10/57] Compiling SymbolKit GenericConstraints.swift
[11/57] Compiling SymbolKit Swift.swift
[12/57] Compiling Snippets SnippetParser.swift
[13/57] Compiling Snippets Snippet.swift
[14/57] Emitting module Snippets
[15/57] Compiling SymbolKit GenericConstraint.swift
[16/57] Compiling SymbolKit GenericParameter.swift
[17/57] Compiling SymbolKit Generics.swift
[18/57] Compiling SymbolKit Namespace.swift
[19/57] Compiling SymbolKit Identifier.swift
[20/57] Compiling SymbolKit KindIdentifier.swift
[21/57] Compiling SymbolKit Location.swift
[22/57] Compiling SymbolKit Mutability.swift
[23/57] Compiling SymbolKit Symbol.swift
[24/57] Compiling SymbolKit SymbolKind.swift
[25/57] Compiling SymbolKit SymbolGraph.swift
[26/57] Compiling SymbolKit GraphCollector.swift
[27/57] Compiling SymbolKit DeclarationFragments.swift
[28/57] Compiling SymbolKit Fragment.swift
[29/57] Compiling SymbolKit FragmentKind.swift
[30/57] Compiling SymbolKit FunctionParameter.swift
[31/57] Compiling SymbolKit FunctionSignature.swift
[32/57] Compiling SymbolKit SourceRange.swift
[33/57] Compiling SymbolKit Metadata.swift
[34/57] Compiling SymbolKit Module.swift
[35/57] Compiling SymbolKit OperatingSystem.swift
[36/57] Compiling SymbolKit Platform.swift
[37/57] Compiling SymbolKit Mixin+Equals.swift
[38/57] Compiling SymbolKit Mixin+Hash.swift
[39/57] Compiling SymbolKit Mixin.swift
[40/57] Compiling SymbolKit LineList.swift
[41/57] Compiling SymbolKit Position.swift
[42/57] Compiling SymbolKit SemanticVersion.swift
[43/57] Compiling SymbolKit AccessControl.swift
[44/57] Compiling SymbolKit Availability.swift
[45/57] Compiling SymbolKit AvailabilityItem.swift
[46/57] Compiling SymbolKit Domain.swift
[47/57] Compiling SymbolKit Names.swift
[48/57] Compiling SymbolKit SPI.swift
[49/57] Compiling SymbolKit Snippet.swift
[50/57] Compiling SymbolKit Extension.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 SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[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! (3.97s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/15] Compiling Factory Scopes.swift
[3/16] Emitting module Factory
[4/16] Compiling Factory Resolutions.swift
[5/16] Compiling Factory Resolver.swift
[6/16] Compiling Factory Globals.swift
[7/16] Compiling Factory Injections.swift
[8/16] Compiling Factory Key.swift
[9/16] Compiling Factory Locking.swift
[10/16] Compiling Factory Modifiers.swift
[11/16] Compiling Factory Contexts.swift
[12/16] Compiling Factory Factory.swift
[13/16] Compiling Factory Aliases.swift
[14/16] Compiling Factory Containers.swift
[15/16] Compiling Factory Registrations.swift
[16/16] Compiling Factory resource_bundle_accessor.swift
Build of target: 'Factory' complete! (1.43s)
     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-4f8872e4.zip to s3://spi-docs-inbox/prod-hmlongco-factory-main-4f8872e4.zip
Copying... [15%]
Copying... [22%]
Copying... [37%]
Copying... [44%]
Copying... [52%]
Copying... [67%]
Copying... [74%]
Copying... [81%]
Copying... [96%]
Copying... [100%]
Done.