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, reference master (291647), with Swift 6.0 for Linux on 31 Oct 2024 06:09:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vincent-pradeilles/KeyPathKit.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/vincent-pradeilles/KeyPathKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2916474 Merge pull request #21 from BenoitCaron/master
Cloned https://github.com/vincent-pradeilles/KeyPathKit.git
Revision (git rev-parse @):
2916474bd021c4263d228f5ce633aa26cf739c01
SUCCESS checkout https://github.com/vincent-pradeilles/KeyPathKit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vincent-pradeilles/KeyPathKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/32] Emitting module KeyPathKit
[4/36] Compiling KeyPathKit dropPredicate.swift
[5/36] Compiling KeyPathKit filterPredicate.swift
[6/36] Compiling KeyPathKit firstPredicate.swift
[7/36] Compiling KeyPathKit prefixPredicate.swift
[8/36] Compiling KeyPathKit sum.swift
[9/36] Compiling KeyPathKit KeyPathSingleTypePredicate+Operators.swift
[10/36] Compiling KeyPathKit KeyPathSingleTypePredicate.swift
[11/36] Compiling KeyPathKit containsPredicate.swift
[12/36] Compiling KeyPathKit between.swift
[13/36] Compiling KeyPathKit contains.swift
[14/36] Compiling KeyPathKit distinct.swift
[15/36] Compiling KeyPathKit drop.swift
[16/36] Compiling KeyPathKit min.swift
[17/36] Compiling KeyPathKit or.swift
[18/36] Compiling KeyPathKit prefix.swift
[19/36] Compiling KeyPathKit sorted.swift
[20/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.
11 | extension Sequence {
12 |     public func filter(where attribute: KeyPath<Element, String>, like regex: String) -> [Element] {
13 |         let predicate = NSPredicate(format:"SELF MATCHES %@", regex)
   |                         `- 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.
14 |         return filter { predicate.evaluate(with: $0[keyPath: attribute]) }
15 |     }
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | extension NSPredicate {
2 |     @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |     public convenience init(format predicateFormat: String, _ args: any CVarArg...)
  |                        `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 | }
[21/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.
11 | extension Sequence {
12 |     public func filter(where attribute: KeyPath<Element, String>, like regex: String) -> [Element] {
13 |         let predicate = NSPredicate(format:"SELF MATCHES %@", regex)
   |                         `- 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.
14 |         return filter { predicate.evaluate(with: $0[keyPath: attribute]) }
15 |     }
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | extension NSPredicate {
2 |     @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |     public convenience init(format predicateFormat: String, _ args: any CVarArg...)
  |                        `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 | }
[22/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.
11 | extension Sequence {
12 |     public func filter(where attribute: KeyPath<Element, String>, like regex: String) -> [Element] {
13 |         let predicate = NSPredicate(format:"SELF MATCHES %@", regex)
   |                         `- 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.
14 |         return filter { predicate.evaluate(with: $0[keyPath: attribute]) }
15 |     }
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | extension NSPredicate {
2 |     @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |     public convenience init(format predicateFormat: String, _ args: any CVarArg...)
  |                        `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 | }
[23/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.
11 | extension Sequence {
12 |     public func filter(where attribute: KeyPath<Element, String>, like regex: String) -> [Element] {
13 |         let predicate = NSPredicate(format:"SELF MATCHES %@", regex)
   |                         `- 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.
14 |         return filter { predicate.evaluate(with: $0[keyPath: attribute]) }
15 |     }
Foundation.NSPredicate:3:24: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | extension NSPredicate {
2 |     @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 |     public convenience init(format predicateFormat: String, _ args: any CVarArg...)
  |                        `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 | }
[24/36] Compiling KeyPathKit DoubleTypePredicate+Operators.swift
[25/36] Compiling KeyPathKit DoubleTypePredicate.swift
[26/36] Compiling KeyPathKit joinPredicate.swift
[27/36] Compiling KeyPathKit and.swift
[28/36] Compiling KeyPathKit average.swift
[29/36] Compiling KeyPathKit join.swift
[30/36] Compiling KeyPathKit map.swift
[31/36] Compiling KeyPathKit mapTo.swift
[32/36] Compiling KeyPathKit max.swift
[33/36] Compiling KeyPathKit filterMore.swift
[34/36] Compiling KeyPathKit first.swift
[35/36] Compiling KeyPathKit flatMap.swift
[36/36] Compiling KeyPathKit groupBy.swift
BUILD FAILURE 6.0 linux