Build Information
Failed to build KituraCORS, reference 2.1.201 (fd98bd
), with Swift 6.1 for Linux on 26 Apr 2025 05:40:59 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/Kitura/Kitura-CORS.git
Reference: 2.1.201
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/Kitura-CORS
* tag 2.1.201 -> FETCH_HEAD
HEAD is now at fd98bd7 Add sameAsOrigin in AllowedOrigins (#45)
Cloned https://github.com/Kitura/Kitura-CORS.git
Revision (git rev-parse @):
fd98bd76a458a7530866a465b5b4b558ffbc5198
SUCCESS checkout https://github.com/Kitura/Kitura-CORS.git at 2.1.201
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kitura/Kitura-CORS.git
https://github.com/Kitura/Kitura-CORS.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "kitura",
"requirement" : {
"range" : [
{
"lower_bound" : "2.9.200",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/Kitura.git"
}
],
"manifest_display_name" : "KituraCORS",
"name" : "KituraCORS",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "KituraCORS",
"targets" : [
"KituraCORS"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KituraCORSTests",
"module_type" : "SwiftTarget",
"name" : "KituraCORSTests",
"path" : "Tests/KituraCORSTests",
"sources" : [
"KituraTest.swift",
"TestBasicCORS.swift",
"TestCORSOptions.swift"
],
"target_dependencies" : [
"KituraCORS"
],
"type" : "test"
},
{
"c99name" : "KituraCORS",
"module_type" : "SwiftTarget",
"name" : "KituraCORS",
"path" : "Sources/KituraCORS",
"product_dependencies" : [
"Kitura"
],
"product_memberships" : [
"KituraCORS"
],
"sources" : [
"AllowedOrigins.swift",
"CORS.swift",
"Options.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
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
Fetching https://github.com/Kitura/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (1.23s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (1.98s)
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/459] Fetching typedecoder
[15/3005] Fetching typedecoder, kituracontracts
[970/3776] Fetching typedecoder, kituracontracts, loggerapi
[994/13320] Fetching typedecoder, kituracontracts, loggerapi, kitura-net
[1190/13758] Fetching typedecoder, kituracontracts, loggerapi, kitura-net, kitura-templateengine
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.37s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.37s)
[5186/12528] Fetching kituracontracts, kitura-net, kitura-templateengine
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.56s)
[5306/9982] Fetching kitura-net, kitura-templateengine
[9983/13818] Fetching kitura-net, kitura-templateengine, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.92s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.93s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (1.58s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.67s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2077] Fetching bluesslservice
[542/2731] Fetching bluesslservice, bluesignals
[2732/5673] Fetching bluesslservice, bluesignals, bluesocket
[4519/5019] Fetching bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.31s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.43s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.43s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (1.16s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.68s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.66s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.21s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.86s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.64s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.67s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.57s)
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
Creating working copy for https://github.com/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
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/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
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/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.200
Building for debugging...
[0/14] Write sources
[11/14] Compiling CHTTPParser utils.c
[12/14] Compiling CHTTPParser http_parser.c
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/30] Emitting module Signals
[16/30] Emitting module KituraTemplateEngine
[17/30] Compiling KituraTemplateEngine TemplateEngine.swift
[18/31] Compiling Logging LogHandler.swift
[19/31] Emitting module Socket
[21/31] Compiling Logging Logging.swift
[22/31] Emitting module Logging
[23/31] Compiling Logging Locks.swift
[24/31] Compiling Logging MetadataProvider.swift
[25/32] Compiling Socket SocketProtocols.swift
[27/32] Compiling TypeDecoder OrderedDictionary.swift
[28/32] Emitting module TypeDecoder
[29/32] Compiling TypeDecoder TypeDecoder.swift
[31/34] Compiling Socket SocketUtils.swift
[32/35] Compiling Signals Signals.swift
[33/36] Emitting module LoggerAPI
[35/36] Compiling LoggerAPI Logger.swift
[37/46] Compiling KituraContracts BodyDecoder.swift
[38/46] Compiling KituraContracts BodyEncoder.swift
[39/46] Compiling KituraContracts BodyFormat.swift
[40/47] Compiling KituraContracts ClosureAliases.swift
[41/47] 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! }
[42/47] Compiling KituraContracts Coder.swift
[43/47] 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):
[44/47] 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: ",")
[45/47] Emitting module KituraContracts
[46/47] Compiling Socket Socket.swift
[48/51] Compiling KituraContracts Contracts.swift
[49/51] Emitting module SSLService
[50/51] Compiling SSLService SSLPointerTricks.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/14] Emitting module KituraTemplateEngine
[3/17] Compiling Logging MetadataProvider.swift
[4/17] Compiling KituraTemplateEngine TemplateEngine.swift
[5/18] Compiling Socket SocketUtils.swift
[7/18] Compiling Socket SocketProtocols.swift
[8/18] Compiling Logging LogHandler.swift
[9/18] Emitting module Signals
[10/18] Compiling Signals Signals.swift
[11/19] Emitting module Logging
[13/19] Compiling Logging Locks.swift
[14/19] Compiling Logging Logging.swift
[16/20] Emitting module TypeDecoder
[17/20] Compiling TypeDecoder OrderedDictionary.swift
[18/20] Compiling TypeDecoder TypeDecoder.swift
[20/23] Compiling LoggerAPI Logger.swift
[21/23] Emitting module LoggerAPI
[23/33] Compiling KituraContracts ClosureAliases.swift
[24/34] Compiling KituraContracts BodyFormat.swift
[25/34] Emitting module KituraContracts
[26/34] Compiling KituraContracts BodyDecoder.swift
[27/34] Compiling KituraContracts BodyEncoder.swift
[28/34] 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):
[29/34] 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/34] Compiling KituraContracts Coder.swift
[31/34] 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! }
[32/34] Emitting module Socket
[33/34] Compiling Socket Socket.swift
[35/35] Compiling KituraContracts Contracts.swift
BUILD FAILURE 6.1 linux