The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-aws-lambda-events, reference main (02b0e3), with Swift 5.10 for macOS (SPM) on 1 Dec 2025 07:52:12 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awslabs/swift-aws-lambda-events.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/awslabs/swift-aws-lambda-events
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/awslabs/swift-aws-lambda-events.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-33747A42983211AE.txt
[4/13] Compiling HTTPTypes HTTPRequest.swift
[5/13] Compiling HTTPTypes ISOLatin1String.swift
[6/13] Compiling HTTPTypes NIOLock.swift
[7/13] Compiling HTTPTypes HTTPResponse.swift
[8/13] Compiling HTTPTypes HTTPParsedFields.swift
[9/13] Compiling HTTPTypes HTTPFieldName.swift
[10/13] Compiling HTTPTypes HTTPFields.swift
[11/13] Emitting module HTTPTypes
[12/13] Compiling HTTPTypes HTTPField.swift
[13/13] Compiling HTTPTypes HTTPRequest+URL.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/38] Emitting module AWSLambdaEvents
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:32: error: unknown attribute 'retroactive'
extension HTTPResponse.Status: @retroactive Codable {
                               ^
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:31: error: unknown attribute 'retroactive'
extension HTTPRequest.Method: @retroactive Codable {
                              ^
/Users/admin/builder/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 {
^
[15/40] Compiling AWSLambdaEvents S3.swift
[16/40] Compiling AWSLambdaEvents SES.swift
[17/40] Compiling AWSLambdaEvents Base64.swift
[18/40] Compiling AWSLambdaEvents DateWrappers.swift
[19/40] Compiling AWSLambdaEvents EncodableResponse.swift
[20/40] Compiling AWSLambdaEvents SQS+Decode.swift
[21/40] Compiling AWSLambdaEvents Cognito.swift
[22/40] Compiling AWSLambdaEvents AWSRegion.swift
[23/40] Compiling AWSLambdaEvents AppSync.swift
[24/40] Compiling AWSLambdaEvents BedrockAgent.swift
[25/40] Compiling AWSLambdaEvents ALB.swift
[26/40] Compiling AWSLambdaEvents APIGateway+Encodable.swift
[27/40] Compiling AWSLambdaEvents APIGateway+V2.swift
[28/40] Compiling AWSLambdaEvents HTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:32: error: unknown attribute 'retroactive'
extension HTTPResponse.Status: @retroactive Codable {
                               ^
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:31: error: unknown attribute 'retroactive'
extension HTTPRequest.Method: @retroactive Codable {
                              ^
/Users/admin/builder/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 {
^
[29/40] Compiling AWSLambdaEvents RFC5322DateParseStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:78:32: error: unknown attribute 'retroactive'
extension HTTPResponse.Status: @retroactive Codable {
                               ^
/Users/admin/builder/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 {
^
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaEvents/Utils/HTTP.swift:90:31: error: unknown attribute 'retroactive'
extension HTTPRequest.Method: @retroactive Codable {
                              ^
/Users/admin/builder/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 {
^
[30/40] Compiling AWSLambdaEvents APIGateway+WebSockets.swift
[31/40] Compiling AWSLambdaEvents APIGateway.swift
[32/40] Compiling AWSLambdaEvents APIGatewayLambdaAuthorizers.swift
[33/40] Compiling AWSLambdaEvents CloudFormation.swift
[34/40] Compiling AWSLambdaEvents Cloudwatch.swift
[35/40] Compiling AWSLambdaEvents DecodableRequest.swift
[36/40] Compiling AWSLambdaEvents SNS.swift
[37/40] Compiling AWSLambdaEvents SQS.swift
[38/40] Compiling AWSLambdaEvents DynamoDB.swift
[39/40] Compiling AWSLambdaEvents FunctionURL.swift
[40/40] Compiling AWSLambdaEvents LambdaGatewayProxyEvent.swift
error: fatalError
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 (1.25s)
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.37s)
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
BUILD FAILURE 5.10 macosSpm