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 Linux on 19 Apr 2025 03:33:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/dreymonde/Delegated.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/3] Emitting module Delegated
[2/3] Compiling Delegated Delegated.swift
[3/3] Compiling Delegated Delegated_5.9.swift
/host/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
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/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
        ^
/host/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
        ^
/host/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
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:50:23: error: type of expression is ambiguous without a type annotation
        self.callback = callback
        ~~~~~~~~~~~~~~^~~~~~~~~~
/host/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
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/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
                                  ^
/host/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
                                  ^
/host/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#>,
/host/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:23:16: note: 'wrappedValue' declared here
    public var wrappedValue: (repeat each Input) -> Void {
               ^
/host/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
                                  ^
/host/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
                                  ^
/host/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#>,
/host/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:23:16: note: 'wrappedValue' declared here
    public var wrappedValue: (repeat each Input) -> Void {
               ^
/host/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 }
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/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
               ^
/host/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
               ^
/host/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
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:126:23: error: type of expression is ambiguous without a type annotation
        self.callback = callback
        ~~~~~~~~~~~~~~^~~~~~~~~~
/host/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 }
        ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/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
                                  ^
/host/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
                                  ^
/host/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#>,
/host/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:99:16: note: 'wrappedValue' declared here
    public var wrappedValue: (repeat each Input) -> Output? {
               ^
/host/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
                                  ^
/host/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
                                  ^
/host/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#>,
/host/spi-builder-workspace/Sources/Delegated/Delegated_5.9.swift:99:16: note: 'wrappedValue' declared here
    public var wrappedValue: (repeat each Input) -> Output? {
               ^
error: fatalError
BUILD FAILURE 5.9 linux