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 SwiftKueryORM, reference master (bce5e0), with Swift 6.2 (beta) for Linux on 19 Jun 2025 10:51:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Swift-Kuery-ORM.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/Kitura/Swift-Kuery-ORM
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bce5e01 Adding a public typealias for Database (#132)
Cloned https://github.com/Kitura/Swift-Kuery-ORM.git
Revision (git rev-parse @):
bce5e015494d714d0974d2dc4336c1c58fd58411
SUCCESS checkout https://github.com/Kitura/Swift-Kuery-ORM.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kitura/Swift-Kuery-ORM.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Swift-Kuery.git
Fetching https://github.com/Kitura/TypeDecoder.git
[1/459] Fetching typedecoder
[89/3005] Fetching typedecoder, kituracontracts
[334/8666] Fetching typedecoder, kituracontracts, swift-kuery
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.84s)
[3238/8207] Fetching kituracontracts, swift-kuery
Fetched https://github.com/Kitura/KituraContracts.git from cache (1.59s)
Fetched https://github.com/Kitura/Swift-Kuery.git from cache (1.61s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 2.0.0 (2.02s)
Computing version for https://github.com/Kitura/Swift-Kuery.git
Computed https://github.com/Kitura/Swift-Kuery.git at 4.0.0 (0.48s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.27s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.66s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.39s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.0 (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.40s)
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/Swift-Kuery.git
Working copy of https://github.com/Kitura/Swift-Kuery.git resolved at 4.0.0
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/15] Compiling Logging LogHandler.swift
[9/15] Emitting module TypeDecoder
[10/15] Emitting module Logging
[11/15] Compiling Logging Locks.swift
[12/15] Compiling Logging Logging.swift
[13/15] Compiling Logging MetadataProvider.swift
[15/18] Compiling TypeDecoder OrderedDictionary.swift
[16/18] Compiling TypeDecoder TypeDecoder.swift
[18/19] Emitting module LoggerAPI
[19/19] Compiling LoggerAPI Logger.swift
[21/73] Compiling KituraContracts ClosureAliases.swift
[22/74] Compiling KituraContracts BodyDecoder.swift
[23/74] Compiling KituraContracts BodyEncoder.swift
[24/74] Compiling KituraContracts QueryEncoder.swift
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryEncoder.swift:352:29: error: 'let' binding pattern cannot appear in an expression
350 |         case let fieldValue as Date:
351 |             switch encoder.dateEncodingStrategy {
352 |             case .formatted(let formatter):
    |                             `- error: 'let' binding pattern cannot appear in an expression
353 |                 encoder.dictionary[fieldName] = formatter.string(from: fieldValue)
354 |                 encoder.anyDictionary[fieldName] = fieldValue
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryEncoder.swift:406:29: error: 'let' binding pattern cannot appear in an expression
404 |                     fatalError("ISO8601DateFormatter is unavailable on this platform.")
405 |                 }
406 |             case .formatted(let formatter):
    |                             `- error: 'let' binding pattern cannot appear in an expression
407 |                 let strs: [String] = fieldValue.map { formatter.string(from: $0) }
408 |                 encoder.dictionary[fieldName] = strs.joined(separator: ",")
[25/74] Compiling KituraContracts QueryDecoder.swift
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryDecoder.swift:210:29: error: 'let' binding pattern cannot appear in an expression
208 |                     fatalError("ISO8601DateFormatter is unavailable on this platform.")
209 |                 }
210 |             case .formatted(let formatted):
    |                             `- error: 'let' binding pattern cannot appear in an expression
211 |                 return try decodeType(fieldValue?.date(formatted), to: T.self)
212 |             case .custom(let closure):
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryDecoder.swift:233:29: error: 'let' binding pattern cannot appear in an expression
231 |                     fatalError("ISO8601DateFormatter is unavailable on this platform.")
232 |                 }
233 |             case .formatted(let formatter):
    |                             `- error: 'let' binding pattern cannot appear in an expression
234 |                 return try decodeType(fieldValue?.dateArray(formatter), to: T.self)
235 |             case .custom(let closure):
[26/74] Compiling KituraContracts BodyFormat.swift
[27/74] Compiling KituraContracts Coder.swift
[28/74] Compiling KituraContracts Extensions.swift
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/Extensions.swift:214:25: error: 'let' binding pattern cannot appear in an expression
212 |
213 |         switch decoderStrategy {
214 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
215 |             let strs: [String] = self.components(separatedBy: ",")
216 |             let dates = strs.map { formatter.date(from: $0) }.filter { $0 != nil }.map { $0! }
[29/74] Emitting module SwiftKuery
[30/80] Emitting module KituraContracts
[31/80] Compiling SwiftKuery QueryError.swift
[32/80] Compiling SwiftKuery QueryResult.swift
[33/80] Compiling SwiftKuery QuerySuffixProtocol.swift
[34/80] Compiling SwiftKuery Raw.swift
[35/80] Compiling SwiftKuery RawField.swift
[36/80] Compiling SwiftKuery ResultFetcher.swift
[37/80] Compiling KituraContracts Contracts.swift
[38/80] Compiling SwiftKuery OrderBy.swift
[39/80] Compiling SwiftKuery Parameter.swift
[40/80] Compiling SwiftKuery Predicate.swift
[41/80] Compiling SwiftKuery PreparedStatement.swift
[42/80] Compiling SwiftKuery Query.swift
[43/80] Compiling SwiftKuery QueryBuilder.swift
[44/80] Compiling SwiftKuery ResultSet.swift
[45/80] Compiling SwiftKuery SQLDataType.swift
[46/80] Compiling SwiftKuery ScalarColumnExpression.swift
[47/80] Compiling SwiftKuery Select.swift
[48/80] Compiling SwiftKuery SpecialOperators_Extensions.swift
[49/80] Compiling SwiftKuery String+Buildable.swift
[50/80] Compiling SwiftKuery Index.swift
[51/80] Compiling SwiftKuery IndexColumn.swift
[52/80] Compiling SwiftKuery IndexColumnOrdered.swift
[53/80] Compiling SwiftKuery Insert.swift
[54/80] Compiling SwiftKuery Join.swift
[55/80] Compiling SwiftKuery Migration.swift
[56/80] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[57/80] Compiling SwiftKuery Table.swift
[58/80] Compiling SwiftKuery Union.swift
[59/80] Compiling SwiftKuery Update.swift
[60/80] Compiling SwiftKuery Utils.swift
[61/80] Compiling SwiftKuery With.swift
[62/80] Compiling SwiftKuery Field.swift
[63/80] Compiling SwiftKuery Filter.swift
[64/80] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[65/80] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[66/80] Compiling SwiftKuery ForeignKey.swift
[67/80] Compiling SwiftKuery Having.swift
[68/80] Compiling SwiftKuery ConditionalClause.swift
[69/80] Compiling SwiftKuery Connection.swift
[70/80] Compiling SwiftKuery ConnectionPool.swift
[71/80] Compiling SwiftKuery ConnectionPoolConnection.swift
[72/80] Compiling SwiftKuery ConnectionPoolOptions.swift
[73/80] Compiling SwiftKuery Delete.swift
[76/80] Compiling SwiftKuery Buildable.swift
[77/80] Compiling SwiftKuery Column.swift
[78/80] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[79/80] Compiling SwiftKuery ColumnCreator.swift
[80/80] Compiling SwiftKuery Condition.swift
BUILD FAILURE 6.2 linux