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 KeyPathKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vincent-pradeilles/KeyPathKit.git
Reference: 1.6.1
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/vincent-pradeilles/KeyPathKit
 * tag               1.6.1      -> FETCH_HEAD
HEAD is now at 7d77281 Update to version 1.6.1
Cloned https://github.com/vincent-pradeilles/KeyPathKit.git
Revision (git rev-parse @):
7d7728142a7f80f7d0ad396d153389ab5dde23ae
SUCCESS checkout https://github.com/vincent-pradeilles/KeyPathKit.git at 1.6.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/vincent-pradeilles/KeyPathKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/32] Emitting module KeyPathKit
[4/36] Compiling KeyPathKit DoubleTypePredicate+Operators.swift
[5/36] Compiling KeyPathKit DoubleTypePredicate.swift
[6/36] Compiling KeyPathKit joinPredicate.swift
[7/36] Compiling KeyPathKit and.swift
[8/36] Compiling KeyPathKit average.swift
[9/36] Compiling KeyPathKit min.swift
[10/36] Compiling KeyPathKit or.swift
[11/36] Compiling KeyPathKit prefix.swift
[12/36] Compiling KeyPathKit sorted.swift
[13/36] Compiling KeyPathKit dropPredicate.swift
[14/36] Compiling KeyPathKit filterPredicate.swift
[15/36] Compiling KeyPathKit firstPredicate.swift
[16/36] Compiling KeyPathKit prefixPredicate.swift
[17/36] Compiling KeyPathKit join.swift
[18/36] Compiling KeyPathKit map.swift
[19/36] Compiling KeyPathKit mapTo.swift
[20/36] Compiling KeyPathKit max.swift
[21/36] Compiling KeyPathKit between.swift
[22/36] Compiling KeyPathKit contains.swift
[23/36] Compiling KeyPathKit distinct.swift
[24/36] Compiling KeyPathKit drop.swift
[25/36] Compiling KeyPathKit sum.swift
[26/36] Compiling KeyPathKit KeyPathSingleTypePredicate+Operators.swift
[27/36] Compiling KeyPathKit KeyPathSingleTypePredicate.swift
[28/36] Compiling KeyPathKit containsPredicate.swift
[29/36] Compiling KeyPathKit filterMore.swift
[30/36] Compiling KeyPathKit first.swift
[31/36] Compiling KeyPathKit flatMap.swift
[32/36] Compiling KeyPathKit groupBy.swift
[33/36] Compiling KeyPathKit filter.swift
/host/spi-builder-workspace/Sources/Operators/filterLike.swift:13:25: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let predicate = NSPredicate(format:"SELF MATCHES %@", regex)
                        ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
[34/36] Compiling KeyPathKit filterIn.swift
/host/spi-builder-workspace/Sources/Operators/filterLike.swift:13:25: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let predicate = NSPredicate(format:"SELF MATCHES %@", regex)
                        ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
[35/36] Compiling KeyPathKit filterLess.swift
/host/spi-builder-workspace/Sources/Operators/filterLike.swift:13:25: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let predicate = NSPredicate(format:"SELF MATCHES %@", regex)
                        ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
[36/36] Compiling KeyPathKit filterLike.swift
/host/spi-builder-workspace/Sources/Operators/filterLike.swift:13:25: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let predicate = NSPredicate(format:"SELF MATCHES %@", regex)
                        ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling KeyPathKit filterLess.swift
[3/6] Compiling KeyPathKit filterLike.swift
/host/spi-builder-workspace/Sources/Operators/filterLike.swift:13:25: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
        let predicate = NSPredicate(format:"SELF MATCHES %@", regex)
                        ^
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
    public convenience init(format predicateFormat: String, _ args: any CVarArg...)
                       ^
[4/21] Compiling KeyPathKit filterIn.swift
[5/21] Compiling KeyPathKit filter.swift
[6/21] Emitting module KeyPathKit
[7/33] Compiling KeyPathKit filterPredicate.swift
[8/33] Compiling KeyPathKit firstPredicate.swift
[9/33] Compiling KeyPathKit prefixPredicate.swift
[10/33] Compiling KeyPathKit filterMore.swift
[11/33] Compiling KeyPathKit first.swift
[12/33] Compiling KeyPathKit flatMap.swift
[13/33] Compiling KeyPathKit groupBy.swift
[14/33] Compiling KeyPathKit between.swift
[15/33] Compiling KeyPathKit contains.swift
[16/33] Compiling KeyPathKit distinct.swift
[17/33] Compiling KeyPathKit drop.swift
[18/33] Compiling KeyPathKit prefix.swift
[19/33] Compiling KeyPathKit sorted.swift
[20/33] Compiling KeyPathKit sum.swift
[21/33] Compiling KeyPathKit DoubleTypePredicate+Operators.swift
[22/33] Compiling KeyPathKit joinPredicate.swift
[23/33] Compiling KeyPathKit and.swift
[24/33] Compiling KeyPathKit average.swift
[25/33] Compiling KeyPathKit KeyPathSingleTypePredicate+Operators.swift
[26/33] Compiling KeyPathKit containsPredicate.swift
[27/33] Compiling KeyPathKit dropPredicate.swift
[28/33] Compiling KeyPathKit max.swift
[29/33] Compiling KeyPathKit min.swift
[30/33] Compiling KeyPathKit or.swift
[31/33] Compiling KeyPathKit join.swift
[32/33] Compiling KeyPathKit map.swift
[33/33] Compiling KeyPathKit mapTo.swift
error: fatalError
BUILD FAILURE 5.10 linux