The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build KeyPathKit, reference 1.6.1 (7d7728), with Swift 6.1 for Linux on 25 Apr 2025 11:53:09 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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:             6.1
Building package at path:  $PWD
https://github.com/vincent-pradeilles/KeyPathKit.git
https://github.com/vincent-pradeilles/KeyPathKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "KeyPathKit",
  "name" : "KeyPathKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "KeyPathKit",
      "targets" : [
        "KeyPathKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KeyPathKit",
      "module_type" : "SwiftTarget",
      "name" : "KeyPathKit",
      "path" : "Sources",
      "product_memberships" : [
        "KeyPathKit"
      ],
      "sources" : [
        "DoubleTypePredicate/DoubleTypePredicate+Operators.swift",
        "DoubleTypePredicate/DoubleTypePredicate.swift",
        "DoubleTypePredicate/joinPredicate.swift",
        "Operators/and.swift",
        "Operators/average.swift",
        "Operators/between.swift",
        "Operators/contains.swift",
        "Operators/distinct.swift",
        "Operators/drop.swift",
        "Operators/filter.swift",
        "Operators/filterIn.swift",
        "Operators/filterLess.swift",
        "Operators/filterLike.swift",
        "Operators/filterMore.swift",
        "Operators/first.swift",
        "Operators/flatMap.swift",
        "Operators/groupBy.swift",
        "Operators/join.swift",
        "Operators/map.swift",
        "Operators/mapTo.swift",
        "Operators/max.swift",
        "Operators/min.swift",
        "Operators/or.swift",
        "Operators/prefix.swift",
        "Operators/sorted.swift",
        "Operators/sum.swift",
        "SingleTypePredicate/KeyPathSingleTypePredicate+Operators.swift",
        "SingleTypePredicate/KeyPathSingleTypePredicate.swift",
        "SingleTypePredicate/containsPredicate.swift",
        "SingleTypePredicate/dropPredicate.swift",
        "SingleTypePredicate/filterPredicate.swift",
        "SingleTypePredicate/firstPredicate.swift",
        "SingleTypePredicate/prefixPredicate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/32] Emitting module KeyPathKit
[4/32] 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.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class 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 |
[5/32] 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.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class 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 |
[6/32] 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.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class 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 |
[7/32] 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.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class 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 |
[8/36] Compiling KeyPathKit DoubleTypePredicate+Operators.swift
[9/36] Compiling KeyPathKit DoubleTypePredicate.swift
[10/36] Compiling KeyPathKit joinPredicate.swift
[11/36] Compiling KeyPathKit and.swift
[12/36] Compiling KeyPathKit average.swift
[13/36] Compiling KeyPathKit between.swift
[14/36] Compiling KeyPathKit contains.swift
[15/36] Compiling KeyPathKit distinct.swift
[16/36] Compiling KeyPathKit drop.swift
[17/36] Compiling KeyPathKit sum.swift
[18/36] Compiling KeyPathKit KeyPathSingleTypePredicate+Operators.swift
[19/36] Compiling KeyPathKit KeyPathSingleTypePredicate.swift
[20/36] Compiling KeyPathKit containsPredicate.swift
[21/36] Compiling KeyPathKit min.swift
[22/36] Compiling KeyPathKit or.swift
[23/36] Compiling KeyPathKit prefix.swift
[24/36] Compiling KeyPathKit sorted.swift
[25/36] Compiling KeyPathKit join.swift
[26/36] Compiling KeyPathKit map.swift
[27/36] Compiling KeyPathKit mapTo.swift
[28/36] Compiling KeyPathKit max.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 dropPredicate.swift
[34/36] Compiling KeyPathKit filterPredicate.swift
[35/36] Compiling KeyPathKit firstPredicate.swift
[36/36] Compiling KeyPathKit prefixPredicate.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/31] 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.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class 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 |
[3/31] 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.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class 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 |
[4/31] 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.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class 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 |
[5/31] 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.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class 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 |
[6/35] Emitting module KeyPathKit
[7/35] Compiling KeyPathKit between.swift
[8/35] Compiling KeyPathKit contains.swift
[9/35] Compiling KeyPathKit distinct.swift
[10/35] Compiling KeyPathKit drop.swift
[11/35] Compiling KeyPathKit DoubleTypePredicate+Operators.swift
[12/35] Compiling KeyPathKit DoubleTypePredicate.swift
[13/35] Compiling KeyPathKit joinPredicate.swift
[14/35] Compiling KeyPathKit and.swift
[15/35] Compiling KeyPathKit average.swift
[16/35] Compiling KeyPathKit filterMore.swift
[17/35] Compiling KeyPathKit first.swift
[18/35] Compiling KeyPathKit flatMap.swift
[19/35] Compiling KeyPathKit groupBy.swift
[20/35] Compiling KeyPathKit min.swift
[21/35] Compiling KeyPathKit or.swift
[22/35] Compiling KeyPathKit prefix.swift
[23/35] Compiling KeyPathKit sorted.swift
[24/35] Compiling KeyPathKit sum.swift
[25/35] Compiling KeyPathKit KeyPathSingleTypePredicate+Operators.swift
[26/35] Compiling KeyPathKit KeyPathSingleTypePredicate.swift
[27/35] Compiling KeyPathKit containsPredicate.swift
[28/35] Compiling KeyPathKit dropPredicate.swift
[29/35] Compiling KeyPathKit filterPredicate.swift
[30/35] Compiling KeyPathKit firstPredicate.swift
[31/35] Compiling KeyPathKit prefixPredicate.swift
[32/35] Compiling KeyPathKit join.swift
[33/35] Compiling KeyPathKit map.swift
[34/35] Compiling KeyPathKit mapTo.swift
[35/35] Compiling KeyPathKit max.swift
BUILD FAILURE 6.1 linux