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

Successful build of AWSLambdaSwift, reference 0.2.0 (007267), with Swift 6.2 (beta) for Linux on 18 Jun 2025 07:27:29 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/tonisuter/aws-lambda-swift.git
Reference: 0.2.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/tonisuter/aws-lambda-swift
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 0072674 Update for Swift 5.1
Cloned https://github.com/tonisuter/aws-lambda-swift.git
Revision (git rev-parse @):
00726748c8de14d4ca0bff540d9dc8d5bc7a900f
SUCCESS checkout https://github.com/tonisuter/aws-lambda-swift.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tonisuter/aws-lambda-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling AWSLambdaSwift RuntimeError.swift
[4/10] Compiling AWSLambdaSwift Runtime.swift
[5/10] Compiling AWSLambdaSwift Context.swift
[6/10] Compiling AWSLambdaSwift JSONHandlers.swift
[7/10] Emitting module AWSLambdaSwift
[8/10] Compiling AWSLambdaSwift CodableHandlers.swift
[9/10] Compiling AWSLambdaSwift Types.swift
[10/10] Compiling AWSLambdaSwift URLSession+Utils.swift
/host/spi-builder-workspace/Sources/AWSLambdaSwift/URLSession+Utils.swift:21:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
19 |
20 |         let dataTask = self.dataTask(with: urlRequest) {
21 |             data = $0
   |             `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
22 |             response = $1
23 |             error = $2
/host/spi-builder-workspace/Sources/AWSLambdaSwift/URLSession+Utils.swift:22:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
20 |         let dataTask = self.dataTask(with: urlRequest) {
21 |             data = $0
22 |             response = $1
   |             `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
23 |             error = $2
24 |
/host/spi-builder-workspace/Sources/AWSLambdaSwift/URLSession+Utils.swift:23:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
21 |             data = $0
22 |             response = $1
23 |             error = $2
   |             `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
24 |
25 |             dispatchGroup.leave()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete! (8.79s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AWSLambdaSwift",
  "name" : "AWSLambdaSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AWSLambdaSwift",
      "targets" : [
        "AWSLambdaSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AWSLambdaSwift",
      "module_type" : "SwiftTarget",
      "name" : "AWSLambdaSwift",
      "path" : "Sources/AWSLambdaSwift",
      "product_memberships" : [
        "AWSLambdaSwift"
      ],
      "sources" : [
        "CodableHandlers.swift",
        "Context.swift",
        "JSONHandlers.swift",
        "Runtime.swift",
        "RuntimeError.swift",
        "Types.swift",
        "URLSession+Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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
Done.