Build Information
Failed to build KituraOpenAPI, reference master (100cfa
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 18:00:00 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.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/Kitura-OpenAPI.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/Kitura-OpenAPI
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 100cfa8 Misc community version (#34)
Cloned https://github.com/Kitura/Kitura-OpenAPI.git
Revision (git rev-parse @):
100cfa87e8dcf5be92788f7d89466da8b703592b
SUCCESS checkout https://github.com/Kitura/Kitura-OpenAPI.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/Kitura/Kitura-OpenAPI.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.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/Swift-cfenv.git
Fetching https://github.com/Kitura/Kitura.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/1604] Fetching swift-cfenv
[884/2375] Fetching swift-cfenv, loggerapi
[1775/19284] Fetching swift-cfenv, loggerapi, kitura
Fetched https://github.com/Kitura/Swift-cfenv.git from cache (0.87s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.88s)
Fetched https://github.com/Kitura/Kitura.git from cache (1.58s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (2.05s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
Computing version for https://github.com/Kitura/Swift-cfenv.git
Computed https://github.com/Kitura/Swift-cfenv.git at 6.0.200 (0.92s)
Fetching https://github.com/Kitura/Configuration.git
[1/1135] Fetching configuration
Fetched https://github.com/Kitura/Configuration.git from cache (0.25s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.97s)
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-net.git
[1/2546] Fetching kituracontracts
[129/12090] Fetching kituracontracts, kitura-net
[1046/12549] Fetching kituracontracts, kitura-net, typedecoder
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetched https://github.com/Kitura/KituraContracts.git from cache (1.00s)
[9049/10003] Fetching kitura-net, typedecoder
[10004/10441] Fetching kitura-net, typedecoder, kitura-templateengine
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.45s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (1.48s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (1.51s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (2.33s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.95s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSignals.git
[1/681] Fetching bluesignals
[682/2758] Fetching bluesignals, bluesslservice
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.45s)
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.76s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.76s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (3.81s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.50s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.47s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (1.15s)
Computing version for https://github.com/Kitura/Configuration.git
Computed https://github.com/Kitura/Configuration.git at 3.1.0 (0.62s)
Fetching https://github.com/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git from cache (0.59s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (1.64s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.0.0 (0.44s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.45s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.50s)
Creating working copy for https://github.com/Kitura/Swift-cfenv.git
Working copy of https://github.com/Kitura/Swift-cfenv.git resolved at 6.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/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/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.0.0
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/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Creating working copy for https://github.com/Kitura/Configuration.git
Working copy of https://github.com/Kitura/Configuration.git resolved at 3.1.0
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/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/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.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/17] Write sources
[14/17] Compiling CHTTPParser utils.c
[15/17] Write swift-version-24593BA9C3E375BF.txt
[16/25] Compiling CHTTPParser http_parser.c
[18/33] Emitting module TypeDecoder
[19/33] Compiling KituraTemplateEngine TemplateEngine.swift
[20/33] Emitting module KituraTemplateEngine
[22/34] Compiling Logging MetadataProvider.swift
[23/34] Emitting module Signals
[24/34] Compiling Signals Signals.swift
[26/35] Compiling Logging LogHandler.swift
[27/35] Emitting module Logging
[28/35] Compiling Logging Logging.swift
[29/35] Compiling Logging Locks.swift
[31/38] Compiling Socket SocketProtocols.swift
[32/38] Compiling Socket SocketUtils.swift
[33/38] Compiling TypeDecoder OrderedDictionary.swift
[34/38] Compiling TypeDecoder TypeDecoder.swift
[36/39] Emitting module LoggerAPI
[37/39] Compiling LoggerAPI Logger.swift
[39/40] Emitting module Socket
[40/40] Compiling Socket Socket.swift
[42/55] Emitting module FileKit
[43/55] Compiling FileKit FileKit.swift
[44/55] 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):
[46/58] Compiling KituraContracts ClosureAliases.swift
[47/58] Compiling KituraContracts Coder.swift
[48/58] 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! }
[49/63] 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: ",")
[50/63] Compiling Configuration Deserializer.swift
[51/63] Compiling Configuration PLISTDeserializer.swift
[52/63] Compiling Configuration JSONDeserializer.swift
[53/63] Compiling KituraContracts BodyFormat.swift
[54/63] Compiling KituraContracts BodyDecoder.swift
[55/63] Compiling KituraContracts BodyEncoder.swift
[56/63] Emitting module KituraContracts
[57/63] Compiling Configuration ConfigurationNode.swift
[58/63] Emitting module Configuration
[59/63] Compiling Configuration ConfigurationManager.swift
[61/71] Emitting module SSLService
[62/71] Compiling CloudFoundryEnv Service.swift
[63/71] Compiling CloudFoundryEnv DateUtils.swift
[64/71] Compiling CloudFoundryEnv JSONUtils.swift
[65/71] Emitting module CloudFoundryEnv
[66/71] Compiling CloudFoundryEnv CollectionUtils.swift
[67/71] Compiling SSLService SSLPointerTricks.swift
[68/71] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:8: error: cannot find 'SSL_get_peer_certificate' in scope
1320 | }
1321 |
1322 | if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
| `- error: cannot find 'SSL_get_peer_certificate' in scope
1323 |
1324 | let rc = SSL_get_verify_result(.make(optional: sslConnect))
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:34: error: cannot infer contextual base in reference to member 'make'
1320 | }
1321 |
1322 | if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
| `- error: cannot infer contextual base in reference to member 'make'
1323 |
1324 | let rc = SSL_get_verify_result(.make(optional: sslConnect))
[69/71] Compiling CloudFoundryEnv App.swift
BUILD FAILURE 6.2 linux