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 SwiftKueryORM, reference 1.0.1 (bce5e0), with Swift 6.0 for Linux on 28 Nov 2024 15:05:32 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.0-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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Swift-Kuery-ORM.git
Reference: 1.0.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/Kitura/Swift-Kuery-ORM
 * tag               1.0.1      -> FETCH_HEAD
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 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Kitura/Swift-Kuery-ORM.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -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.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
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Swift-Kuery.git
Fetching https://github.com/Kitura/TypeDecoder.git
[1/2546] Fetching kituracontracts
[332/8207] Fetching kituracontracts, swift-kuery
[774/8666] Fetching kituracontracts, swift-kuery, typedecoder
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.40s)
[2837/6120] Fetching swift-kuery, typedecoder
Fetched https://github.com/Kitura/TypeDecoder.git from cache (1.10s)
Fetched https://github.com/Kitura/Swift-Kuery.git from cache (1.12s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 2.0.0 (0.46s)
Computing version for https://github.com/Kitura/Swift-Kuery.git
Computed https://github.com/Kitura/Swift-Kuery.git at 4.0.0 (0.54s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.23s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.60s)
Fetching https://github.com/apple/swift-log.git
[1/3709] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.40s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.0 (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.47s)
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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
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.2
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
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/15] Emitting module Logging
[9/15] Compiling Logging MetadataProvider.swift
[10/15] Compiling Logging Locks.swift
[11/15] Compiling Logging LogHandler.swift
[12/15] Compiling Logging Logging.swift
[14/18] Compiling TypeDecoder OrderedDictionary.swift
[15/18] Emitting module TypeDecoder
[16/18] Compiling TypeDecoder TypeDecoder.swift
[18/19] Emitting module LoggerAPI
[19/19] Compiling LoggerAPI Logger.swift
[21/73] 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: ",")
[22/74] Compiling KituraContracts Coder.swift
[23/74] Compiling KituraContracts ClosureAliases.swift
[24/74] Compiling KituraContracts BodyFormat.swift
[25/74] Compiling SwiftKuery AggregateColumnExpression.swift
[26/74] Compiling SwiftKuery AuxiliaryTable.swift
[27/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):
[28/74] Emitting module KituraContracts
[29/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! }
[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/80] Emitting module SwiftKuery
[39/80] Compiling SwiftKuery Buildable.swift
[40/80] Compiling SwiftKuery Column.swift
[41/80] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[42/80] Compiling SwiftKuery ColumnCreator.swift
[43/80] Compiling SwiftKuery Condition.swift
[44/80] Compiling SwiftKuery OrderBy.swift
[45/80] Compiling SwiftKuery Parameter.swift
[46/80] Compiling SwiftKuery Predicate.swift
[47/80] Compiling SwiftKuery PreparedStatement.swift
[48/80] Compiling SwiftKuery Query.swift
[49/80] Compiling SwiftKuery QueryBuilder.swift
[50/80] Compiling SwiftKuery QueryError.swift
[51/80] Compiling SwiftKuery QueryResult.swift
[52/80] Compiling SwiftKuery QuerySuffixProtocol.swift
[53/80] Compiling SwiftKuery Raw.swift
[54/80] Compiling SwiftKuery RawField.swift
[55/80] Compiling SwiftKuery ResultFetcher.swift
[56/80] Compiling SwiftKuery ResultSet.swift
[57/80] Compiling SwiftKuery SQLDataType.swift
[58/80] Compiling SwiftKuery ScalarColumnExpression.swift
[59/80] Compiling SwiftKuery Select.swift
[60/80] Compiling SwiftKuery SpecialOperators_Extensions.swift
[61/80] Compiling SwiftKuery String+Buildable.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
[74/80] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[75/80] Compiling SwiftKuery Table.swift
[76/80] Compiling SwiftKuery Union.swift
[77/80] Compiling SwiftKuery Update.swift
[78/80] Compiling SwiftKuery Utils.swift
[79/80] Compiling SwiftKuery With.swift
[81/81] Compiling KituraContracts Contracts.swift
BUILD FAILURE 6.0 linux