Build Information
Failed to build swift-aws-lambda-events, reference 1.4.0 (02b0e3), with Swift 5.10 for Linux on 1 Dec 2025 07:49:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awslabs/swift-aws-lambda-events.git
Reference: 1.4.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/awslabs/swift-aws-lambda-events
* tag 1.4.0 -> FETCH_HEAD
HEAD is now at 02b0e34 Modernize CI and use Swiftlang's GitHub actions instead of Swift NIO's (#109)
Cloned https://github.com/awslabs/swift-aws-lambda-events.git
Revision (git rev-parse @):
02b0e3455e2850fb8b1d6d018e700d06703a979b
SUCCESS checkout https://github.com/awslabs/swift-aws-lambda-events.git at 1.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/awslabs/swift-aws-lambda-events.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:29cd06ed395b3a820a5601000e78fbe5268c851b388429ada04eeea41d67dbe0
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-http-types.git
[1/943] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.22s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.61s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling HTTPTypes ISOLatin1String.swift
[5/13] Compiling HTTPTypes HTTPResponse.swift
[6/13] Compiling HTTPTypes NIOLock.swift
[7/13] Compiling HTTPTypes HTTPFields.swift
[8/13] Compiling HTTPTypes HTTPField.swift
[9/13] Compiling HTTPTypes HTTPFieldName.swift
[10/13] Compiling HTTPTypes HTTPParsedFields.swift
[11/13] Compiling HTTPTypes HTTPRequest+URL.swift
[12/13] Compiling HTTPTypes HTTPRequest.swift
[13/13] Emitting module HTTPTypes
[15/38] Compiling AWSLambdaEvents DecodableRequest.swift
[16/38] Compiling AWSLambdaEvents EncodableResponse.swift
[17/38] Compiling AWSLambdaEvents SQS+Decode.swift
[18/41] Compiling AWSLambdaEvents DateWrappers.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:32: error: unknown attribute 'retroactive'
extension HTTPResponse.Status: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:1: error: inheritance from non-protocol type 'any Codable' (aka 'any Decodable & Encodable')
extension HTTPResponse.Status: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:31: error: unknown attribute 'retroactive'
extension HTTPRequest.Method: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:1: error: inheritance from non-protocol type 'any Codable' (aka 'any Decodable & Encodable')
extension HTTPRequest.Method: @retroactive Codable {
^
[19/41] Compiling AWSLambdaEvents HTTP.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:32: error: unknown attribute 'retroactive'
extension HTTPResponse.Status: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:1: error: inheritance from non-protocol type 'any Codable' (aka 'any Decodable & Encodable')
extension HTTPResponse.Status: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:31: error: unknown attribute 'retroactive'
extension HTTPRequest.Method: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:1: error: inheritance from non-protocol type 'any Codable' (aka 'any Decodable & Encodable')
extension HTTPRequest.Method: @retroactive Codable {
^
[20/41] Compiling AWSLambdaEvents RFC5322DateParseStrategy.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:32: error: unknown attribute 'retroactive'
extension HTTPResponse.Status: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:1: error: inheritance from non-protocol type 'any Codable' (aka 'any Decodable & Encodable')
extension HTTPResponse.Status: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:31: error: unknown attribute 'retroactive'
extension HTTPRequest.Method: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:1: error: inheritance from non-protocol type 'any Codable' (aka 'any Decodable & Encodable')
extension HTTPRequest.Method: @retroactive Codable {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/41] Emitting module AWSLambdaEvents
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:32: error: unknown attribute 'retroactive'
extension HTTPResponse.Status: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:1: error: inheritance from non-protocol type 'any Codable' (aka 'any Decodable & Encodable')
extension HTTPResponse.Status: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:31: error: unknown attribute 'retroactive'
extension HTTPRequest.Method: @retroactive Codable {
^
/host/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:1: error: inheritance from non-protocol type 'any Codable' (aka 'any Decodable & Encodable')
extension HTTPRequest.Method: @retroactive Codable {
^
[22/41] Compiling AWSLambdaEvents SNS.swift
[23/41] Compiling AWSLambdaEvents SQS.swift
[24/41] Compiling AWSLambdaEvents Base64.swift
[25/41] Compiling AWSLambdaEvents LambdaGatewayProxyEvent.swift
[26/41] Compiling AWSLambdaEvents S3.swift
[27/41] Compiling AWSLambdaEvents SES.swift
[28/41] Compiling AWSLambdaEvents ALB.swift
[29/41] Compiling AWSLambdaEvents APIGateway+Encodable.swift
[30/41] Compiling AWSLambdaEvents APIGateway+V2.swift
[31/41] Compiling AWSLambdaEvents APIGateway+WebSockets.swift
[32/41] Compiling AWSLambdaEvents APIGateway.swift
[33/41] Compiling AWSLambdaEvents APIGatewayLambdaAuthorizers.swift
[34/41] Compiling AWSLambdaEvents AWSRegion.swift
[35/41] Compiling AWSLambdaEvents AppSync.swift
[36/41] Compiling AWSLambdaEvents Cognito.swift
[37/41] Compiling AWSLambdaEvents DynamoDB.swift
[38/41] Compiling AWSLambdaEvents FunctionURL.swift
[39/41] Compiling AWSLambdaEvents BedrockAgent.swift
[40/41] Compiling AWSLambdaEvents CloudFormation.swift
[41/41] Compiling AWSLambdaEvents Cloudwatch.swift
error: fatalError
BUILD FAILURE 5.10 linux