Build Information
Successful build of Inject, reference 1.0.3 (b9d6a6
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 16:00:11 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.57.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",
"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",
"dependencies": [
]
}
]
}
Fetching https://github.com/MaximBazarov/Inject.git
[1/194] Fetching inject
Fetched https://github.com/MaximBazarov/Inject.git from cache (0.81s)
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.0
Building package at path: $PWD
https://github.com/MaximBazarov/Inject.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling Inject Scope.swift
[4/10] Compiling Inject Lifespan.swift
[5/10] Compiling Inject DefaultValues.swift
[6/10] Compiling Inject Dependency.swift
[7/10] Compiling Inject DependencyKey.swift
[8/10] Compiling Inject Injected-PropertyWrapper.swift
[9/10] Emitting module Inject
[10/10] Compiling Inject Injectable.swift
Build complete! (9.13s)
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.0
Target: Inject
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 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'Inject'...
Finished extracting symbol information for 'Inject'. (3.04s)
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.11s)
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/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.31s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.62s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.22s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Compiling SymbolKit Symbol.swift
[10/53] Compiling SymbolKit SymbolKind.swift
[11/53] Compiling SymbolKit SymbolGraph.swift
[12/53] Compiling SymbolKit GraphCollector.swift
[13/57] Compiling SymbolKit SourceRange.swift
[14/57] Compiling SymbolKit Metadata.swift
[15/57] Compiling SymbolKit Module.swift
[16/57] Compiling SymbolKit OperatingSystem.swift
[17/57] Compiling SymbolKit Platform.swift
[18/57] Compiling SymbolKit Mixin+Equals.swift
[19/57] Compiling SymbolKit Mixin+Hash.swift
[20/57] Compiling SymbolKit Mixin.swift
[21/57] Compiling SymbolKit LineList.swift
[22/57] Compiling SymbolKit Position.swift
[23/57] Emitting module SymbolKit
[24/57] Compiling SymbolKit Names.swift
[25/57] Compiling SymbolKit SPI.swift
[26/57] Compiling SymbolKit Snippet.swift
[27/57] Compiling SymbolKit Extension.swift
[28/57] Compiling SymbolKit Relationship.swift
[29/57] Compiling SymbolKit RelationshipKind.swift
[30/57] Compiling SymbolKit SourceOrigin.swift
[31/57] Compiling SymbolKit GenericConstraints.swift
[32/57] Compiling SymbolKit Swift.swift
[33/57] Compiling SymbolKit SemanticVersion.swift
[34/57] Compiling SymbolKit AccessControl.swift
[35/57] Compiling SymbolKit Availability.swift
[36/57] Compiling SymbolKit AvailabilityItem.swift
[37/57] Compiling SymbolKit Domain.swift
[38/57] Compiling SymbolKit Identifier.swift
[39/57] Compiling SymbolKit KindIdentifier.swift
[40/57] Compiling SymbolKit Location.swift
[41/57] Compiling SymbolKit Mutability.swift
[42/57] Compiling SymbolKit DeclarationFragments.swift
[43/57] Compiling SymbolKit Fragment.swift
[44/57] Compiling SymbolKit FragmentKind.swift
[45/57] Compiling SymbolKit FunctionParameter.swift
[46/57] Compiling SymbolKit FunctionSignature.swift
[47/57] Compiling SymbolKit GenericConstraint.swift
[48/57] Compiling SymbolKit GenericParameter.swift
[49/57] Compiling SymbolKit Generics.swift
[50/57] Compiling SymbolKit Namespace.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] Compiling snippet_extract SnippetBuildCommand.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.72s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/9] Compiling Inject Injectable.swift
[3/9] Compiling Inject DependencyKey.swift
[4/9] Compiling Inject Injected-PropertyWrapper.swift
[5/9] Compiling Inject Lifespan.swift
[6/9] Compiling Inject Dependency.swift
[7/9] Compiling Inject Scope.swift
[8/9] Compiling Inject DefaultValues.swift
[9/9] Emitting module Inject
Build of target: 'Inject' complete! (0.90s)
94
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: 94
Doc size: 2.0MB
Preparing doc bundle ...
Uploading prod-maximbazarov-inject-1.0.3-c1e8d757.zip to s3://spi-docs-inbox/prod-maximbazarov-inject-1.0.3-c1e8d757.zip
Copying... [18%]
Copying... [35%]
Copying... [53%]
Copying... [70%]
Copying... [88%]
Copying... [100%]
Done.