Build Information
Successful build of AWSLambdaSwift, reference 0.2.0 (007267
), with Swift 6.1 for Linux on 25 Apr 2025 16:19:14 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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.61.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.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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling AWSLambdaSwift Types.swift
[4/10] Compiling AWSLambdaSwift RuntimeError.swift
[5/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()
[6/10] Compiling AWSLambdaSwift CodableHandlers.swift
[7/10] Compiling AWSLambdaSwift Context.swift
[8/10] Compiling AWSLambdaSwift JSONHandlers.swift
[9/10] Emitting module AWSLambdaSwift
[10/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
/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 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
Build complete! (6.71s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.