The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftDI with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/litecode/swiftdi.git
Reference: 1.0.1
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/litecode/swiftdi
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 9fc3502 Update to new Xcode 11 beta 3 API
Cloned https://github.com/litecode/swiftdi.git into spi-builder-workspace
9fc3502b1d1a48dc2d96136911f6abe279853254
SUCCESS checkout https://github.com/litecode/swiftdi.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Building for debugging...
[1/13] Compiling SwiftDI DIContainer.swift
[2/13] Compiling SwiftDI DIContainerConvertible.swift
[3/14] Compiling SwiftDI Utils.swift
[4/14] Compiling SwiftDI Extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/14] Compiling SwiftDI Injectable.swift
[6/14] Compiling SwiftDI Resolver.swift
[7/14] Compiling SwiftDI DIObject.swift
[8/14] Compiling SwiftDI DIPart.swift
[9/14] Compiling SwiftDI DIComponentContext.swift
[10/14] Compiling SwiftDI DIComponentManager.swift
[11/14] Compiling SwiftDI SwiftDI.swift
[12/14] Emitting module SwiftDI
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:107: error: cannot find type 'BindableObject' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                                                                          ^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:29: warning: property wrapper's 'wrapperValue' property should be renamed to 'projectedValue'; use of 'wrapperValue' is deprecated
    public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
                            ^~~~~~~~~~~~
                            projectedValue
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:43: error: cannot find type 'ObjectBinding' in scope
    public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
                                          ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:17:24: error: cannot find type 'ObjectBinding' in scope
    var _bindingValue: ObjectBinding<BindableObjectType>
                       ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:60: error: cannot find type 'DynamicViewProperty' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                           ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:11: error: 'InjectableObjectBinding' is only available in macOS 10.15 or newer
extension InjectableObjectBinding: InjectableProperty {
          ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:1: note: add @available attribute to enclosing extension
extension InjectableObjectBinding: InjectableProperty {
^
[13/14] Compiling SwiftDI InjectableObjectBinding.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:107: error: cannot find type 'BindableObject' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                                                                          ^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:29: warning: property wrapper's 'wrapperValue' property should be renamed to 'projectedValue'; use of 'wrapperValue' is deprecated
    public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
                            ^~~~~~~~~~~~
                            projectedValue
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:43: error: cannot find type 'ObjectBinding' in scope
    public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
                                          ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:17:24: error: cannot find type 'ObjectBinding' in scope
    var _bindingValue: ObjectBinding<BindableObjectType>
                       ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:60: error: cannot find type 'DynamicViewProperty' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                           ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:20:34: error: cannot convert value of type 'BindableObjectType.Type' to expected argument type 'AnyClass' (aka 'any AnyObject.Type')
        let bundle = Bundle(for: BindableObjectType.self)
                                 ^
                                                         as! AnyClass
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:22:25: error: cannot find 'ObjectBinding' in scope
        _bindingValue = ObjectBinding<BindableObjectType>(initialValue: value)
                        ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:11: error: 'InjectableObjectBinding' is only available in macOS 10.15 or newer
extension InjectableObjectBinding: InjectableProperty {
          ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:1: note: add @available attribute to enclosing extension
extension InjectableObjectBinding: InjectableProperty {
^
[14/14] Compiling SwiftDI InjectableProperty.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:107: error: cannot find type 'BindableObject' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                                                                          ^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:29: warning: property wrapper's 'wrapperValue' property should be renamed to 'projectedValue'; use of 'wrapperValue' is deprecated
    public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
                            ^~~~~~~~~~~~
                            projectedValue
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:43: error: cannot find type 'ObjectBinding' in scope
    public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
                                          ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:17:24: error: cannot find type 'ObjectBinding' in scope
    var _bindingValue: ObjectBinding<BindableObjectType>
                       ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:60: error: cannot find type 'DynamicViewProperty' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                           ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:20:34: error: cannot convert value of type 'BindableObjectType.Type' to expected argument type 'AnyClass' (aka 'any AnyObject.Type')
        let bundle = Bundle(for: BindableObjectType.self)
                                 ^
                                                         as! AnyClass
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:22:25: error: cannot find 'ObjectBinding' in scope
        _bindingValue = ObjectBinding<BindableObjectType>(initialValue: value)
                        ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:11: error: 'InjectableObjectBinding' is only available in macOS 10.15 or newer
extension InjectableObjectBinding: InjectableProperty {
          ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:1: note: add @available attribute to enclosing extension
extension InjectableObjectBinding: InjectableProperty {
^
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module SwiftDI
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:107: error: cannot find type 'BindableObject' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                                                                          ^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:29: warning: property wrapper's 'wrapperValue' property should be renamed to 'projectedValue'; use of 'wrapperValue' is deprecated
    public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
                            ^~~~~~~~~~~~
                            projectedValue
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:43: error: cannot find type 'ObjectBinding' in scope
    public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
                                          ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:17:24: error: cannot find type 'ObjectBinding' in scope
    var _bindingValue: ObjectBinding<BindableObjectType>
                       ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:60: error: cannot find type 'DynamicViewProperty' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                           ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:11: error: 'InjectableObjectBinding' is only available in macOS 10.15 or newer
extension InjectableObjectBinding: InjectableProperty {
          ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:1: note: add @available attribute to enclosing extension
extension InjectableObjectBinding: InjectableProperty {
^
[2/3] Compiling SwiftDI InjectableObjectBinding.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:107: error: cannot find type 'BindableObject' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                                                                          ^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:29: warning: property wrapper's 'wrapperValue' property should be renamed to 'projectedValue'; use of 'wrapperValue' is deprecated
    public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
                            ^~~~~~~~~~~~
                            projectedValue
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:43: error: cannot find type 'ObjectBinding' in scope
    public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
                                          ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:17:24: error: cannot find type 'ObjectBinding' in scope
    var _bindingValue: ObjectBinding<BindableObjectType>
                       ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:60: error: cannot find type 'DynamicViewProperty' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                           ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:20:34: error: cannot convert value of type 'BindableObjectType.Type' to expected argument type 'AnyClass' (aka 'any AnyObject.Type')
        let bundle = Bundle(for: BindableObjectType.self)
                                 ^
                                                         as! AnyClass
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:22:25: error: cannot find 'ObjectBinding' in scope
        _bindingValue = ObjectBinding<BindableObjectType>(initialValue: value)
                        ^~~~~~~~~~~~~
[3/3] Compiling SwiftDI InjectableProperty.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:107: error: cannot find type 'BindableObject' in scope
public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
                                                                                                          ^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:11: error: 'InjectableObjectBinding' is only available in macOS 10.15 or newer
extension InjectableObjectBinding: InjectableProperty {
          ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:1: note: add @available attribute to enclosing extension
extension InjectableObjectBinding: InjectableProperty {
^
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm