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 master (bce5e0), with Swift 6.0 for Linux on 28 Nov 2024 15:05:33 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 -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: 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.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-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 -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/Swift-Kuery.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/TypeDecoder.git
[1/459] Fetching typedecoder
[130/6120] Fetching typedecoder, swift-kuery
[966/8666] Fetching typedecoder, swift-kuery, kituracontracts
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.21s)
[2831/8207] Fetching swift-kuery, kituracontracts
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.37s)
[2718/5661] Fetching swift-kuery
Fetched https://github.com/Kitura/Swift-Kuery.git from cache (0.99s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 2.0.0 (0.49s)
Computing version for https://github.com/Kitura/Swift-Kuery.git
Computed https://github.com/Kitura/Swift-Kuery.git at 4.0.0 (0.49s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.19s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.48s)
Fetching https://github.com/apple/swift-log.git
[1/3709] 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.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.41s)
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/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/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] Compiling TypeDecoder OrderedDictionary.swift
[10/15] Emitting module TypeDecoder
[11/15] Compiling Logging MetadataProvider.swift
[12/15] Emitting module Logging
[13/15] Compiling Logging Locks.swift
[14/15] Compiling Logging Logging.swift
[16/18] Compiling TypeDecoder TypeDecoder.swift
[17/19] Compiling LoggerAPI Logger.swift
[18/19] Emitting module LoggerAPI
[21/73] Compiling KituraContracts ClosureAliases.swift
[22/74] Compiling SwiftKuery AggregateColumnExpression.swift
[23/74] Compiling SwiftKuery AuxiliaryTable.swift
[24/74] Compiling KituraContracts BodyFormat.swift
[25/74] Compiling SwiftKuery Index.swift
[26/74] Compiling SwiftKuery IndexColumn.swift
[27/74] Compiling SwiftKuery IndexColumnOrdered.swift
[28/74] Compiling SwiftKuery Insert.swift
[29/74] Compiling SwiftKuery Join.swift
[30/74] Compiling SwiftKuery Migration.swift
[31/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: ",")
[32/76] 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! }
[33/76] Compiling KituraContracts Coder.swift
[34/80] 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):
[35/80] Compiling SwiftKuery OrderBy.swift
[36/80] Compiling SwiftKuery Parameter.swift
[37/80] Compiling SwiftKuery Predicate.swift
[38/80] Compiling SwiftKuery PreparedStatement.swift
[39/80] Compiling SwiftKuery Query.swift
[40/80] Compiling SwiftKuery QueryBuilder.swift
[41/80] Emitting module KituraContracts
[42/80] Emitting module SwiftKuery
[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
[51/80] Compiling SwiftKuery QueryError.swift
[52/80] Compiling SwiftKuery QueryResult.swift
[53/80] Compiling SwiftKuery QuerySuffixProtocol.swift
[54/80] Compiling SwiftKuery Raw.swift
[55/80] Compiling SwiftKuery RawField.swift
[56/80] Compiling SwiftKuery ResultFetcher.swift
[57/80] Compiling SwiftKuery ResultSet.swift
[58/80] Compiling SwiftKuery SQLDataType.swift
[59/80] Compiling SwiftKuery ScalarColumnExpression.swift
[60/80] Compiling SwiftKuery Select.swift
[61/80] Compiling SwiftKuery SpecialOperators_Extensions.swift
[62/80] Compiling SwiftKuery String+Buildable.swift
[63/80] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[64/80] Compiling SwiftKuery Table.swift
[65/80] Compiling SwiftKuery Union.swift
[66/80] Compiling SwiftKuery Update.swift
[67/80] Compiling SwiftKuery Utils.swift
[68/80] Compiling SwiftKuery With.swift
[69/80] Compiling SwiftKuery ConditionalClause.swift
[70/80] Compiling SwiftKuery Connection.swift
[71/80] Compiling SwiftKuery ConnectionPool.swift
[72/80] Compiling SwiftKuery ConnectionPoolConnection.swift
[73/80] Compiling SwiftKuery ConnectionPoolOptions.swift
[74/80] Compiling SwiftKuery Delete.swift
BUILD FAILURE 6.0 linux