Build Information
Failed to build SwiftDI, reference master (0836fd), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 19:41:54 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/litecode/swiftdi.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/litecode/swiftdi
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0836fd6 Merge pull request #10 from benyo/patch-1
Cloned https://github.com/litecode/swiftdi.git
Revision (git rev-parse @):
0836fd68479ed3ee0c4f83c0ab2ad148b08a0ac1
SUCCESS checkout https://github.com/litecode/swiftdi.git at master
========================================
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": "swiftdi",
"name": "SwiftDI",
"url": "https://github.com/litecode/swiftdi.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftdi",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/litecode/swiftdi.git
[1/1150] Fetching swiftdi
Fetched https://github.com/litecode/swiftdi.git from cache (1.41s)
Creating working copy for https://github.com/litecode/swiftdi.git
Working copy of https://github.com/litecode/swiftdi.git resolved at master (0836fd6)
warning: '.resolve-product-dependencies': dependency 'swiftdi' 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/litecode/swiftdi.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] Emitting module SwiftDI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | import Foundation
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 | public static func buildBlock() -> EmptyDIPart {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
| | `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
31 | var type: Any.Type {
32 | return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
| | `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
38 | var type: Any.Type {
39 | return Value.self
[4/27] Compiling SwiftDI InjectableProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
| | `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
31 | var type: Any.Type {
32 | return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
| | `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
38 | var type: Any.Type {
39 | return Value.self
[5/27] Compiling SwiftDI Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
| | `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
31 | var type: Any.Type {
32 | return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
| | `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
38 | var type: Any.Type {
39 | return Value.self
[6/27] Compiling SwiftDI Never.swift
[7/27] Compiling SwiftDI Inject.swift
[8/27] Compiling SwiftDI DIObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | import Foundation
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 | public static func buildBlock() -> EmptyDIPart {
[9/27] Compiling SwiftDI AnyDIPart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | import Foundation
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 | public static func buildBlock() -> EmptyDIPart {
[10/27] Compiling SwiftDI DIBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
8 | import Foundation
9 |
10 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 | public static func buildBlock() -> EmptyDIPart {
[11/27] Compiling SwiftDI DITuplePart.swift
[12/27] Compiling SwiftDI EmptyDIPart.swift
[13/27] Compiling SwiftDI DIComponentContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead [#DeprecatedDeclaration]
27 |
28 | public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 | part.load(container: self)
| `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead [#DeprecatedDeclaration]
30 | }
31 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[14/27] Compiling SwiftDI DIComponentManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead [#DeprecatedDeclaration]
27 |
28 | public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 | part.load(container: self)
| `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead [#DeprecatedDeclaration]
30 | }
31 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[15/27] Compiling SwiftDI DIContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead [#DeprecatedDeclaration]
27 |
28 | public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 | part.load(container: self)
| `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead [#DeprecatedDeclaration]
30 | }
31 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16/27] Compiling SwiftDI DIGroup.swift
[17/27] Compiling SwiftDI DIObject+DIPartBuildable.swift
[18/27] Compiling SwiftDI DIPart+DIPartBuildable.swift
[19/27] Compiling SwiftDI DIPart.swift
[20/27] Compiling SwiftDI DIPartBuildable.swift
[21/27] Compiling SwiftDI DIRegister.swift
[22/27] Compiling SwiftDI Resolver.swift
[23/27] Compiling SwiftDI SwiftDI.swift
[24/27] Compiling SwiftDI View+SwiftDI.swift
[25/27] Compiling SwiftDI Extensions.swift
[26/27] Compiling SwiftDI EnvironmentInject.swift
[27/27] Compiling SwiftDI EnvironmentObservedInject.swift
BUILD FAILURE 6.3 macosSpm