The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftDI, reference master (0836fd), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 23:15:47 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/litecode/swiftdi.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/25] Compiling SwiftDI Never.swift
[4/25] Compiling SwiftDI Inject.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/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>
[6/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>
[7/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>
[8/27] 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
[9/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
[10/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
[11/27] Compiling SwiftDI DIPart.swift
[12/27] Compiling SwiftDI DIPartBuildable.swift
[13/27] Compiling SwiftDI DIRegister.swift
[14/27] Compiling SwiftDI Resolver.swift
[15/27] Compiling SwiftDI SwiftDI.swift
[16/27] Compiling SwiftDI DITuplePart.swift
[17/27] Compiling SwiftDI EmptyDIPart.swift
[18/27] Compiling SwiftDI View+SwiftDI.swift
[19/27] Compiling SwiftDI Extensions.swift
[20/27] Compiling SwiftDI DIGroup.swift
[21/27] Compiling SwiftDI DIObject+DIPartBuildable.swift
[22/27] Compiling SwiftDI DIPart+DIPartBuildable.swift
[23/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 {
[24/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 {
[25/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 {
[26/27] Compiling SwiftDI EnvironmentInject.swift
[27/27] Compiling SwiftDI EnvironmentObservedInject.swift
BUILD FAILURE 6.2 macosSpm