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 master (525403), with Swift 5.9 for macOS (SPM) on 19 Apr 2025 03:34:26 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/Delegated
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 525403e Update README.md
Cloned https://github.com/dreymonde/Delegated.git
Revision (git rev-parse @):
525403eca2abd1be5123f50e9889e3efac7cc2ba
SUCCESS checkout https://github.com/dreymonde/Delegated.git at master
========================================
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] Emitting module Delegated
[3/3] Compiling Delegated Delegated.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm