Build Information
Failed to build SwiftKueryORM, reference master (bce5e0
), with Swift 6.1 for Linux on 26 Apr 2025 22:20:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/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.1
Building package at path: $PWD
https://github.com/Kitura/Swift-Kuery-ORM.git
https://github.com/Kitura/Swift-Kuery-ORM.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-kuery",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/Swift-Kuery.git"
},
{
"identity" : "kituracontracts",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/KituraContracts.git"
},
{
"identity" : "typedecoder",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/TypeDecoder.git"
}
],
"manifest_display_name" : "SwiftKueryORM",
"name" : "SwiftKueryORM",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftKueryORM",
"targets" : [
"SwiftKueryORM"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftKueryORMTests",
"module_type" : "SwiftTarget",
"name" : "SwiftKueryORMTests",
"path" : "Tests/SwiftKueryORMTests",
"product_dependencies" : [
"KituraContracts"
],
"sources" : [
"CommonUtils.swift",
"Test.swift",
"TestDelete.swift",
"TestFind.swift",
"TestId.swift",
"TestSave.swift",
"TestTable.swift",
"TestUpdate.swift"
],
"target_dependencies" : [
"SwiftKueryORM"
],
"type" : "test"
},
{
"c99name" : "SwiftKueryORM",
"module_type" : "SwiftTarget",
"name" : "SwiftKueryORM",
"path" : "Sources/SwiftKueryORM",
"product_dependencies" : [
"SwiftKuery",
"KituraContracts",
"TypeDecoder"
],
"product_memberships" : [
"SwiftKueryORM"
],
"sources" : [
"Database.swift",
"DatabaseDecoder.swift",
"DatabaseEncoder.swift",
"Model.swift",
"TableInfo.swift",
"TypeAliases.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
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
[460/6120] Fetching typedecoder, swift-kuery
[744/8666] Fetching typedecoder, swift-kuery, kituracontracts
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.84s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.85s)
Fetched https://github.com/Kitura/Swift-Kuery.git from cache (0.86s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 2.0.0 (1.31s)
Computing version for https://github.com/Kitura/Swift-Kuery.git
Computed https://github.com/Kitura/Swift-Kuery.git at 4.0.0 (0.46s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.21s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.67s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.34s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.0 (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.59s)
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
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/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/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.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
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/15] Compiling Logging MetadataProvider.swift
[9/15] Compiling Logging LogHandler.swift
[10/15] Emitting module Logging
[11/15] Compiling Logging Locks.swift
[12/15] Compiling Logging Logging.swift
[13/16] Compiling TypeDecoder OrderedDictionary.swift
[14/16] Emitting module TypeDecoder
[15/16] Compiling TypeDecoder TypeDecoder.swift
[18/19] Emitting module LoggerAPI
[19/19] Compiling LoggerAPI Logger.swift
[21/73] 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):
[22/73] 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! }
[23/74] Compiling KituraContracts ClosureAliases.swift
[24/74] Compiling SwiftKuery AggregateColumnExpression.swift
[25/74] Compiling SwiftKuery AuxiliaryTable.swift
[26/74] Emitting module KituraContracts
[27/74] Compiling KituraContracts BodyFormat.swift
[28/74] Compiling KituraContracts Coder.swift
[29/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: ",")
[30/74] Emitting module SwiftKuery
[31/80] Compiling SwiftKuery OrderBy.swift
[32/80] Compiling SwiftKuery Parameter.swift
[33/80] Compiling SwiftKuery Predicate.swift
[34/80] Compiling SwiftKuery PreparedStatement.swift
[35/80] Compiling SwiftKuery Query.swift
[36/80] Compiling SwiftKuery QueryBuilder.swift
[37/80] Compiling SwiftKuery Index.swift
[38/80] Compiling SwiftKuery IndexColumn.swift
[39/80] Compiling SwiftKuery IndexColumnOrdered.swift
[40/80] Compiling SwiftKuery Insert.swift
[41/80] Compiling SwiftKuery Join.swift
[42/80] Compiling SwiftKuery Migration.swift
[45/80] Compiling SwiftKuery Buildable.swift
[46/80] Compiling SwiftKuery Column.swift
[47/80] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[48/80] Compiling SwiftKuery ColumnCreator.swift
[49/80] Compiling SwiftKuery Condition.swift
[50/80] Compiling KituraContracts Contracts.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/9] Compiling Logging LogHandler.swift
[3/9] Compiling Logging MetadataProvider.swift
[4/9] Compiling Logging Locks.swift
[5/9] Emitting module Logging
[6/9] Compiling Logging Logging.swift
[8/10] Emitting module TypeDecoder
[9/10] Compiling TypeDecoder TypeDecoder.swift
[10/10] Compiling TypeDecoder OrderedDictionary.swift
[12/13] Emitting module LoggerAPI
[13/13] Compiling LoggerAPI Logger.swift
[15/67] Compiling KituraContracts BodyFormat.swift
[16/67] Compiling KituraContracts Coder.swift
[17/68] Compiling KituraContracts ClosureAliases.swift
[18/68] 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! }
[19/68] 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):
[20/68] 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: ",")
[21/68] Compiling SwiftKuery Field.swift
[22/68] Compiling SwiftKuery Filter.swift
[23/68] Emitting module KituraContracts
[24/68] Compiling SwiftKuery QueryError.swift
[25/68] Compiling SwiftKuery QueryResult.swift
[26/68] Compiling SwiftKuery QuerySuffixProtocol.swift
[27/68] Compiling SwiftKuery Raw.swift
[28/68] Compiling SwiftKuery RawField.swift
[29/68] Compiling SwiftKuery ResultFetcher.swift
[30/74] Compiling SwiftKuery Index.swift
[31/74] Compiling SwiftKuery IndexColumn.swift
[32/74] Compiling SwiftKuery IndexColumnOrdered.swift
[33/74] Compiling SwiftKuery Insert.swift
[34/74] Compiling SwiftKuery Join.swift
[35/74] Compiling SwiftKuery Migration.swift
[36/74] Compiling SwiftKuery ResultSet.swift
[37/74] Compiling SwiftKuery SQLDataType.swift
[38/74] Compiling SwiftKuery ScalarColumnExpression.swift
[39/74] Compiling SwiftKuery Select.swift
[40/74] Compiling SwiftKuery SpecialOperators_Extensions.swift
[41/74] Compiling SwiftKuery String+Buildable.swift
[42/74] Compiling SwiftKuery OrderBy.swift
[43/74] Compiling SwiftKuery Parameter.swift
[44/74] Compiling SwiftKuery Predicate.swift
[45/74] Compiling SwiftKuery PreparedStatement.swift
[46/74] Compiling SwiftKuery Query.swift
[47/74] Compiling SwiftKuery QueryBuilder.swift
[48/74] Compiling KituraContracts Contracts.swift
[49/74] Compiling SwiftKuery ConditionalClause.swift
[50/74] Compiling SwiftKuery Connection.swift
[51/74] Compiling SwiftKuery ConnectionPool.swift
[52/74] Compiling SwiftKuery ConnectionPoolConnection.swift
[53/74] Compiling SwiftKuery ConnectionPoolOptions.swift
[54/74] Compiling SwiftKuery Delete.swift
[55/74] Compiling SwiftKuery AggregateColumnExpression.swift
[56/74] Compiling SwiftKuery AuxiliaryTable.swift
[57/74] Compiling SwiftKuery Buildable.swift
[58/74] Compiling SwiftKuery Column.swift
[59/74] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[60/74] Compiling SwiftKuery ColumnCreator.swift
[61/74] Compiling SwiftKuery Condition.swift
[62/74] Emitting module SwiftKuery
BUILD FAILURE 6.1 linux