Build Information
Failed to build KituraContracts, reference 2.1.0 (b98f08), with Swift 6.2 for Wasm on 20 Jul 2026 07:40:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/KituraContracts.git
Reference: 2.1.0
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/KituraContracts
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at b98f087 Merge pull request #67 from Kitura/Issue-65-2.1.0
Cloned https://github.com/Kitura/KituraContracts.git
Revision (git rev-parse @):
b98f087943d308e2e4331def11d7bbbe46a76dcd
SUCCESS checkout https://github.com/Kitura/KituraContracts.git at 2.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Kitura/KituraContracts.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/Kitura/LoggerAPI.git
[1/784] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.75s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.1.0 (0.92s)
Fetching https://github.com/apple/swift-log.git
[1/7788] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.67s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.0
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.1.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling Logging Logger+With.swift
[6/15] Compiling Logging Logger+Attributes.swift
[7/16] Emitting module Logging
[8/16] Compiling Logging MultiplexLogHandler.swift
[9/16] Compiling Logging StreamLogHandler.swift
[10/16] Compiling Logging SwiftLogNoOpLogHandler.swift
[11/16] Compiling Logging Locks.swift
[12/16] Compiling Logging Logger.swift
[13/16] Compiling Logging LogEvent.swift
[14/16] Compiling Logging LogHandler.swift
[15/16] Compiling Logging LoggingSystem.swift
[16/16] Compiling Logging MetadataProvider.swift
[18/19] Compiling LoggerAPI Logger.swift
[19/19] Emitting module LoggerAPI
[21/29] Compiling KituraContracts QueryDecoder.swift
/host/spi-builder-workspace/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/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/30] Compiling KituraContracts QueryEncoder.swift
/host/spi-builder-workspace/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/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: ",")
[23/30] Compiling KituraContracts Coder.swift
[24/30] Compiling KituraContracts Extensions.swift
/host/spi-builder-workspace/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! }
[25/30] Compiling KituraContracts ClosureAliases.swift
[26/30] Emitting module KituraContracts
[27/30] Compiling KituraContracts BodyDecoder.swift
[28/30] Compiling KituraContracts BodyEncoder.swift
[29/30] Compiling KituraContracts BodyFormat.swift
[30/30] Compiling KituraContracts Contracts.swift
BUILD FAILURE 6.2 wasm