The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Inject, reference 1.0.3 (b9d6a6), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 10:08:27 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MaximBazarov/Inject.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MaximBazarov/Inject
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at b9d6a63 Fix: Multiple .permanent instances keys are different when instantiated from different places. (#6)
Cloned https://github.com/MaximBazarov/Inject.git
Revision (git rev-parse @):
b9d6a63ab39cc24df4d1c39fe25b7f56bd0a59db
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/MaximBazarov/Inject.git at 1.0.3
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "inject",
      "name": "Inject",
      "url": "https://github.com/MaximBazarov/Inject.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Inject",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/MaximBazarov/Inject.git
[1/194] Fetching inject
Fetched https://github.com/MaximBazarov/Inject.git from cache (0.73s)
Creating working copy for https://github.com/MaximBazarov/Inject.git
Working copy of https://github.com/MaximBazarov/Inject.git resolved at 1.0.3 (b9d6a63)
warning: '.resolve-product-dependencies': dependency 'inject' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/MaximBazarov/Inject.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/10] Compiling Inject Scope.swift
[4/10] Compiling Inject Injectable.swift
[5/10] Compiling Inject Lifespan.swift
[6/10] Compiling Inject Injected-PropertyWrapper.swift
[7/10] Compiling Inject DependencyKey.swift
[8/10] Compiling Inject Dependency.swift
[9/10] Emitting module Inject
[10/10] Compiling Inject DefaultValues.swift
Build complete! (3.75s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Inject",
  "name" : "Inject",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Inject",
      "targets" : [
        "Inject"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Inject_Tests",
      "module_type" : "SwiftTarget",
      "name" : "Inject-Tests",
      "path" : "Tests",
      "sources" : [
        "Permanent-Local-Tests.swift",
        "Permanent-Shared-Tests.swift",
        "Temporary-Local-Tests.swift",
        "Temporary-Shared-Tests.swift",
        "Utility/Samples.swift",
        "Utility/id.swift"
      ],
      "target_dependencies" : [
        "Inject"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Inject",
      "module_type" : "SwiftTarget",
      "name" : "Inject",
      "path" : "Sources",
      "product_memberships" : [
        "Inject"
      ],
      "sources" : [
        "DefaultValues.swift",
        "Dependency.swift",
        "DependencyKey.swift",
        "Injectable.swift",
        "Injected-PropertyWrapper.swift",
        "Lifespan.swift",
        "Scope.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/maximbazarov/inject/1.0.3
Repository:               MaximBazarov/Inject
Swift version used:       6.3
Target:                   Inject
Extracting symbol information for 'Inject'...
Finished extracting symbol information for 'Inject'. (29.40s)
Building documentation for 'Inject'...
warning: 'Scope' doesn't exist at '/Inject/Dependency'
   --> Inject.md:109:50-109:55
107 | ```
108 |
109 + But you can alter it with `.shared` ``Dependency/Scope`` to provide the same instance to all consumers with `.shared` ``Dependency/Scope`` preferred.
110 | Also, you can configure a `.permanent` ``Lifespan`` to hold it until the termination of the app.
111 |
warning: 'Scope' doesn't exist at '/Inject/Dependency'
   --> Inject.md:109:132-109:137
107 | ```
108 |
109 + But you can alter it with `.shared` ``Dependency/Scope`` to provide the same instance to all consumers with `.shared` ``Dependency/Scope`` preferred.
110 | Also, you can configure a `.permanent` ``Lifespan`` to hold it until the termination of the app.
111 |
warning: 'Scope' doesn't exist at '/Inject/Dependency'
  --> ../Injected-PropertyWrapper.swift:33:35-33:40
31 | /// service.instance.doSomething()
32 | /// ```
33 + /// Depending on the ``Dependency/Scope`` and ``Lifespan``
34 | /// provided it will be the new or shared instance.
35 | @MainActor
warning: 'Scope' doesn't exist at '/Inject/Dependency'
  --> ../Injected-PropertyWrapper.swift:46:22-46:27
44 |
45 |     /// Returns a ``Dependency`` configured with given
46 +     /// ``Dependency/Scope`` and ``Lifespan``.
47 |     ///
48 |     /// - Parameters:
warning: 'Scope' doesn't exist at '/Inject/Dependency'
  --> ../Injected-PropertyWrapper.swift:51:33-51:38
49 |     ///   - keyPath: keyPath in the ``DefaultValues``
50 |     ///   - lifespan: ``Lifespan`` **`.temporary`** by default.
51 +     ///   - scope: ``Dependency/Scope`` **`.local`** by default.
52 |     public init(
53 |         _ keyPath: DefaultValues.KeyPath<Value>,
Finished building documentation for 'Inject' (0.57s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/maximbazarov/inject/1.0.3
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.09s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (1.89s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.12s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.85s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
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
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Compiling Snippets SnippetParser.swift
[8/53] Emitting module SymbolKit
[9/57] Emitting module Snippets
[10/57] Compiling SymbolKit Mixin+Equals.swift
[11/57] Compiling SymbolKit Mixin+Hash.swift
[12/57] Compiling SymbolKit Mixin.swift
[13/57] Compiling SymbolKit LineList.swift
[14/57] Compiling SymbolKit Position.swift
[15/57] Compiling SymbolKit Names.swift
[16/57] Compiling SymbolKit SPI.swift
[17/57] Compiling SymbolKit Snippet.swift
[18/57] Compiling SymbolKit Extension.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 GenericConstraint.swift
[24/57] Compiling SymbolKit GenericParameter.swift
[25/57] Compiling SymbolKit Generics.swift
[26/57] Compiling SymbolKit Namespace.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 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 SemanticVersion.swift
[38/57] Compiling SymbolKit AccessControl.swift
[39/57] Compiling SymbolKit Availability.swift
[40/57] Compiling SymbolKit AvailabilityItem.swift
[41/57] Compiling SymbolKit Domain.swift
[42/57] Compiling SymbolKit Symbol.swift
[43/57] Compiling SymbolKit SymbolKind.swift
[44/57] Compiling SymbolKit SymbolGraph.swift
[45/57] Compiling SymbolKit GraphCollector.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] Compiling snippet_extract SnippetBuildCommand.swift
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.38s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'Inject' complete! (0.19s)
      96
2	/Users/admin/builder/spi-builder-workspace/.docs/maximbazarov/inject/1.0.3
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/maximbazarov/inject/1.0.3
File count: 96
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-maximbazarov-inject-1.0.3-03af9e18.zip to s3://spi-docs-inbox/prod-maximbazarov-inject-1.0.3-03af9e18.zip
Copying... [17%]
Copying... [33%]
Copying... [50%]
Copying... [66%]
Copying... [83%]
Copying... [99%]
Copying... [100%]
Done.