The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Delegated, reference 3.0.0 (631872), with Swift 5.9 for macOS (SPM) on 19 Apr 2025 03:34:52 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dreymonde/Delegated.git
Reference: 3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/Delegated
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at 6318724 Delegated 3.0: use variadic types instead of Delegated0, Delegated1 etc.
Cloned https://github.com/dreymonde/Delegated.git
Revision (git rev-parse @):
6318724057036b4be3472b613fba425e9dfa9170
SUCCESS checkout https://github.com/dreymonde/Delegated.git at 3.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/dreymonde/Delegated.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/3] Compiling Delegated Delegated_5.9.swift
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:18:23: error: type of expression is ambiguous without a type annotation
        self.callback = { (_: repeat each Input) -> Void in
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:24:9: error: pack expansion requires that 'repeat each Input' and 'each Input' have the same shape
        callback
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:24:9: error: cannot convert return expression of type '(repeat each Input) -> Void' to return type '(repeat each Input) -> Void'
        callback
        ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:41:23: error: type of expression is ambiguous without a type annotation
        self.callback = { [weak target] (input: repeat each Input) -> Void in
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:50:23: error: type of expression is ambiguous without a type annotation
        self.callback = callback
        ~~~~~~~~~~~~~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:54:23: error: type of expression is ambiguous without a type annotation
        self.callback = { (_: repeat each Input) -> Void in
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:69:35: error: pack expansion requires that 'each Input' and 'repeat each Input' have the same shape
        self.delegate(to: target) { (target, input: repeat each Input) in
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:69:35: error: cannot convert value of type '(Target, repeat each Input) -> Swift.Void' to expected argument type '(Target, repeat each Input) -> Swift.Void'
        self.delegate(to: target) { (target, input: repeat each Input) in
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:70:54: error: missing argument for parameter #1 in call
            target[keyPath: delegation].wrappedValue(repeat each input)
                                                     ^
                                                     <#repeat each Input#>,
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:23:16: note: 'wrappedValue' declared here
    public var wrappedValue: (repeat each Input) -> Void {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:79:35: error: pack expansion requires that 'each Input' and 'repeat each Input' have the same shape
        self.delegate(to: target) { (target, input: repeat each Input) in
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:79:35: error: cannot convert value of type '(Target, repeat each Input) -> Swift.Void' to expected argument type '(Target, repeat each Input) -> Swift.Void'
        self.delegate(to: target) { (target, input: repeat each Input) in
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:81:54: error: missing argument for parameter #1 in call
            target[keyPath: delegation].wrappedValue(repeat each output)
                                                     ^
                                                     <#repeat each OtherInput#>,
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:23:16: note: 'wrappedValue' declared here
    public var wrappedValue: (repeat each Input) -> Void {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:96:23: error: type of expression is ambiguous without a type annotation
        self.callback = { (_: repeat each Input) -> Output? in return nil }
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:100:16: error: pack expansion requires that 'repeat each Input' and 'each Input' have the same shape
        return callback
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:100:16: error: cannot convert return expression of type '(repeat each Input) -> Output?' to return type '(repeat each Input) -> Output?'
        return callback
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:117:23: error: type of expression is ambiguous without a type annotation
        self.callback = { [weak target] (input: repeat each Input) -> Output? in
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:126:23: error: type of expression is ambiguous without a type annotation
        self.callback = callback
        ~~~~~~~~~~~~~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:130:23: error: type of expression is ambiguous without a type annotation
        self.callback = { (_: repeat each Input) -> Output? in return nil }
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:143:35: error: pack expansion requires that 'each Input' and 'repeat each Input' have the same shape
        self.delegate(to: target) { (target, input: repeat each Input) in
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:143:35: error: cannot convert value of type '(Target, repeat each Input) -> Output?' to expected argument type '(Target, repeat each Input) -> Output?'
        self.delegate(to: target) { (target, input: repeat each Input) in
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:144:54: error: missing argument for parameter #1 in call
            target[keyPath: delegation].wrappedValue(repeat each input)
                                                     ^
                                                     <#repeat each Input#>,
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:99:16: note: 'wrappedValue' declared here
    public var wrappedValue: (repeat each Input) -> Output? {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:153:35: error: pack expansion requires that 'each Input' and 'repeat each Input' have the same shape
        self.delegate(to: target) { (target, input: repeat each Input) in
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:153:35: error: cannot convert value of type '(Target, repeat each Input) -> Output?' to expected argument type '(Target, repeat each Input) -> Output?'
        self.delegate(to: target) { (target, input: repeat each Input) in
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:155:61: error: missing argument for parameter #1 in call
            return target[keyPath: delegation].wrappedValue(repeat each output)
                                                            ^
                                                            <#repeat each OtherInput#>,
/Users/admin/builder/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:99:16: note: 'wrappedValue' declared here
    public var wrappedValue: (repeat each Input) -> Output? {
               ^
[2/3] Compiling Delegated Delegated.swift
[3/3] Emitting module Delegated
error: fatalError
BUILD FAILURE 5.9 macosSpm