This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of AWSLambdaSwift with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tonisuter/aws-lambda-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tonisuter/aws-lambda-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/10] Compiling AWSLambdaSwift JSONHandlers.swift
[4/10] Compiling AWSLambdaSwift URLSession+Utils.swift
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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()
[5/10] Compiling AWSLambdaSwift Runtime.swift
[6/10] Compiling AWSLambdaSwift RuntimeError.swift
[7/10] Compiling AWSLambdaSwift CodableHandlers.swift
[8/10] Compiling AWSLambdaSwift Context.swift
[9/10] Compiling AWSLambdaSwift Types.swift
[10/10] Emitting module AWSLambdaSwift
Build complete! (18.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AWSLambdaSwift",
  "name" : "AWSLambdaSwift",
  "path" : "/Users/admin/builder/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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.