The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AWSLambdaSwift, reference master (007267), with Swift 6.1 for Android on 27 May 2025 15:46:43 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tonisuter/aws-lambda-swift.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/tonisuter/aws-lambda-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tonisuter/aws-lambda-swift.git
https://github.com/tonisuter/aws-lambda-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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
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
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
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
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
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
24 |
25 |             dispatchGroup.leave()
[4/10] Compiling AWSLambdaSwift Runtime.swift
/host/spi-builder-workspace/Sources/AWSLambdaSwift/Runtime.swift:7:26: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  5 |
  6 | public func log(_ object: Any, flush: Bool = false) {
  7 |     fputs("\(object)\n", stderr)
    |                          `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  8 |     if flush {
  9 |         fflush(stderr)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/AWSLambdaSwift/Runtime.swift:9:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  7 |     fputs("\(object)\n", stderr)
  8 |     if flush {
  9 |         fflush(stderr)
    |                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 10 |     }
 11 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
[5/10] Compiling AWSLambdaSwift RuntimeError.swift
[6/10] Compiling AWSLambdaSwift Types.swift
[7/10] Compiling AWSLambdaSwift Context.swift
[8/10] Compiling AWSLambdaSwift CodableHandlers.swift
[9/10] Emitting module AWSLambdaSwift
[10/10] Compiling AWSLambdaSwift JSONHandlers.swift
Build complete! (13.52s)
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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.