Build Information
Successful build of MacroLambda, reference 0.5.0 (30b9cd
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 07:59:49 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroLambda.git
Reference: 0.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Macro-swift/MacroLambda
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 30b9cd5 Merge branch 'develop'
Cloned https://github.com/Macro-swift/MacroLambda.git
Revision (git rev-parse @):
30b9cd5164f6a723e57b9b95d03706542a5f0d96
SUCCESS checkout https://github.com/Macro-swift/MacroLambda.git at 0.5.0
Fetching https://github.com/Macro-swift/Macro.git
Fetching https://github.com/Macro-swift/MacroExpress.git
Fetching https://github.com/swift-server/swift-aws-lambda-runtime.git from cache
[1/1628] Fetching macro
[50/2919] Fetching macro, macroexpress
Fetched https://github.com/Macro-swift/MacroExpress.git from cache (0.93s)
Fetched https://github.com/swift-server/swift-aws-lambda-runtime.git from cache (0.93s)
Fetched https://github.com/Macro-swift/Macro.git from cache (0.93s)
Computing version for https://github.com/swift-server/swift-aws-lambda-runtime.git
Computed https://github.com/swift-server/swift-aws-lambda-runtime.git at 0.5.2 (1.54s)
Fetching https://github.com/swift-server/swift-backtrace.git
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-log.git from cache
[1/631] Fetching swift-backtrace
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.89s)
Fetched https://github.com/apple/swift-log.git from cache (0.90s)
Fetched https://github.com/apple/swift-nio.git from cache (0.90s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.4 (1.48s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.93s)
Computing version for https://github.com/Macro-swift/MacroExpress.git
Computed https://github.com/Macro-swift/MacroExpress.git at 1.0.6 (0.56s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/559] Fetching mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.64s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (1.23s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.72s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.69s)
Fetched https://github.com/apple/swift-collections.git from cache (0.70s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.70s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/Macro-swift/Macro.git
Working copy of https://github.com/Macro-swift/Macro.git resolved at 1.0.4
Creating working copy for https://github.com/Macro-swift/MacroExpress.git
Working copy of https://github.com/Macro-swift/MacroExpress.git resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/swift-server/swift-aws-lambda-runtime.git
Working copy of https://github.com/swift-server/swift-aws-lambda-runtime.git resolved at 0.5.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "macrolambda",
"name": "MacroLambda",
"url": "https://github.com/Macro-swift/MacroLambda.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MacroLambda",
"dependencies": [
{
"identity": "macro",
"name": "Macro",
"url": "https://github.com/Macro-swift/Macro.git",
"version": "1.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Macro",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.82.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
},
{
"identity": "macroexpress",
"name": "MacroExpress",
"url": "https://github.com/Macro-swift/MacroExpress.git",
"version": "1.0.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MacroExpress",
"dependencies": [
{
"identity": "macro",
"name": "Macro",
"url": "https://github.com/Macro-swift/Macro.git",
"version": "1.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Macro",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.82.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
},
{
"identity": "mustache",
"name": "Mustache",
"url": "https://github.com/AlwaysRightInstitute/mustache.git",
"version": "1.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mustache",
"dependencies": [
]
}
]
},
{
"identity": "swift-aws-lambda-runtime",
"name": "swift-aws-lambda-runtime",
"url": "https://github.com/swift-server/swift-aws-lambda-runtime.git",
"version": "0.5.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-aws-lambda-runtime",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.82.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
},
{
"identity": "swift-backtrace",
"name": "swift-backtrace",
"url": "https://github.com/swift-server/swift-backtrace.git",
"version": "1.3.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-backtrace",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/Macro-swift/MacroLambda.git
[1/145] Fetching macrolambda
Fetched https://github.com/Macro-swift/MacroLambda.git from cache (0.59s)
Fetching https://github.com/Macro-swift/Macro.git from cache
Fetching https://github.com/swift-server/swift-aws-lambda-runtime.git from cache
Fetching https://github.com/Macro-swift/MacroExpress.git from cache
Fetched https://github.com/swift-server/swift-aws-lambda-runtime.git from cache (0.55s)
Fetched https://github.com/Macro-swift/MacroExpress.git from cache (0.55s)
Fetched https://github.com/Macro-swift/Macro.git from cache (0.55s)
Computing version for https://github.com/swift-server/swift-aws-lambda-runtime.git
Computed https://github.com/swift-server/swift-aws-lambda-runtime.git at 0.5.2 (0.60s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/swift-server/swift-backtrace.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.68s)
Fetched https://github.com/apple/swift-nio.git from cache (0.69s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.4 (0.74s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.48s)
Computing version for https://github.com/Macro-swift/MacroExpress.git
Computed https://github.com/Macro-swift/MacroExpress.git at 1.0.6 (0.03s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git from cache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.42s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (0.49s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.03s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Fetched https://github.com/apple/swift-collections.git from cache (0.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.2
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
Creating working copy for https://github.com/Macro-swift/Macro.git
Working copy of https://github.com/Macro-swift/Macro.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/Macro-swift/MacroLambda.git
Working copy of https://github.com/Macro-swift/MacroLambda.git resolved at 0.5.0 (30b9cd5)
Creating working copy for https://github.com/Macro-swift/MacroExpress.git
Working copy of https://github.com/Macro-swift/MacroExpress.git resolved at 1.0.6
Creating working copy for https://github.com/swift-server/swift-aws-lambda-runtime.git
Working copy of https://github.com/swift-server/swift-aws-lambda-runtime.git resolved at 0.5.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
warning: '.resolve-product-dependencies': dependency 'macrolambda' is not used by any target
Found 3 product dependencies
- Macro
- MacroExpress
- swift-aws-lambda-runtime
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Macro-swift/MacroLambda.git
https://github.com/Macro-swift/MacroLambda.git
{
"dependencies" : [
{
"identity" : "macro",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Macro-swift/Macro.git"
},
{
"identity" : "macroexpress",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Macro-swift/MacroExpress.git"
},
{
"identity" : "swift-aws-lambda-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-aws-lambda-runtime.git"
}
],
"manifest_display_name" : "MacroLambda",
"name" : "MacroLambda",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MacroLambdaCore",
"targets" : [
"MacroLambdaCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MacroLambda",
"targets" : [
"MacroLambda"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MacroLambdaCore",
"module_type" : "SwiftTarget",
"name" : "MacroLambdaCore",
"path" : "Sources/MacroLambdaCore",
"product_dependencies" : [
"MacroCore",
"http",
"express",
"AWSLambdaRuntime",
"AWSLambdaEvents"
],
"product_memberships" : [
"MacroLambdaCore",
"MacroLambda"
],
"sources" : [
"LambdaNIOConversions.swift",
"LambdaRequest.swift",
"LambdaResponse.swift",
"LambdaServer.swift",
"Process.swift",
"lambda.swift"
],
"type" : "library"
},
{
"c99name" : "MacroLambda",
"module_type" : "SwiftTarget",
"name" : "MacroLambda",
"path" : "Sources/MacroLambda",
"product_dependencies" : [
"AWSLambdaRuntime",
"MacroExpress"
],
"product_memberships" : [
"MacroLambda"
],
"sources" : [
"LambdaExpress.swift",
"ReExports.swift"
],
"target_dependencies" : [
"MacroLambdaCore"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/57] Write sources
[12/57] Copying PrivacyInfo.xcprivacy
[12/57] Write sources
[29/57] Compiling CNIOWindows shim.c
[30/57] Compiling CNIOWASI CNIOWASI.c
[30/57] Compiling CNIOWindows WSAStartup.c
[32/57] Compiling CNIOLinux shim.c
[32/57] Compiling CNIOLinux liburing_shims.c
[34/57] Write swift-version-2F0A5646E1D333AE.txt
[35/57] Compiling CBacktrace state.c
[36/57] Compiling CBacktrace sort.c
[37/57] Compiling CBacktrace simple.c
[38/57] Compiling _AtomicsShims.c
[39/77] Compiling CNIOLLHTTP c_nio_http.c
[40/79] Compiling CNIOLLHTTP c_nio_api.c
[41/88] Compiling CNIOLLHTTP c_nio_llhttp.c
[42/111] Compiling CNIODarwin shim.c
[43/111] Compiling CBacktrace print.c
[44/111] Compiling CBacktrace posix.c
[45/111] Compiling CBacktrace mmapio.c
[46/111] Compiling CBacktrace mmap.c
[47/111] Compiling CBacktrace fileline.c
[48/111] Compiling CBacktrace elf.c
[49/111] Compiling CBacktrace dwarf.c
[50/111] Compiling CBacktrace backtrace.c
[52/111] Emitting module _NIOBase64
[53/111] Compiling _NIOBase64 Base64.swift
[53/111] Write sources
[56/111] Compiling CBacktrace atomic.c
[58/144] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[59/144] Compiling Atomics ManagedAtomic.swift
[60/144] Compiling Atomics ManagedAtomicLazyReference.swift
[61/144] Compiling Atomics AtomicMemoryOrderings.swift
[62/144] Compiling Atomics DoubleWord.swift
[63/144] Compiling AWSLambdaEvents APIGateway.swift
[64/144] Compiling AWSLambdaEvents AWSRegion.swift
[65/144] Compiling AWSLambdaEvents ALB.swift
[66/144] Compiling AWSLambdaEvents APIGateway+V2.swift
[67/144] Compiling AWSLambdaEvents AppSync.swift
[68/144] Compiling AWSLambdaEvents Cloudwatch.swift
[69/144] Compiling Atomics AtomicOptionalWrappable.swift
[70/144] Compiling Atomics AtomicReference.swift
[71/144] Compiling Atomics AtomicStorage.swift
[72/144] Compiling Atomics AtomicValue.swift
[73/144] Emitting module InternalCollectionsUtilities
[74/144] Compiling AWSLambdaEvents DynamoDB.swift
[75/144] Compiling AWSLambdaEvents S3.swift
[78/145] Compiling Atomics UnsafeAtomic.swift
[79/145] Compiling Atomics UnsafeAtomicLazyReference.swift
[82/147] Compiling _NIODataStructures _TinyArray.swift
[83/147] Compiling _NIODataStructures PriorityQueue.swift
[84/147] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[85/147] Emitting module _NIODataStructures
[86/147] Compiling _NIODataStructures Heap.swift
[87/147] Compiling Atomics IntegerOperations.swift
[88/147] Compiling Atomics Unmanaged extensions.swift
[95/150] Emitting module Logging
[96/150] Compiling Logging Logging.swift
[97/150] Compiling Logging MetadataProvider.swift
[98/150] Compiling Logging LogHandler.swift
[99/150] Compiling Logging Locks.swift
[100/166] Compiling Backtrace Demangle.swift
[101/166] Emitting module Backtrace
[102/166] Compiling Backtrace Backtrace.swift
[103/166] Compiling DequeModule Deque._UnsafeHandle.swift
[104/166] Compiling DequeModule Deque.swift
[105/166] Compiling DequeModule Deque+Codable.swift
[106/166] Compiling DequeModule Deque+Collection.swift
[106/166] Compiling c-nioatomics.c
[108/166] Compiling DequeModule _DequeBuffer.swift
[109/166] Compiling DequeModule _DequeSlot.swift
[110/166] Compiling DequeModule _DequeBufferHeader.swift
[111/166] Compiling DequeModule Deque+CustomReflectable.swift
[112/166] Compiling DequeModule Deque+Descriptions.swift
[113/166] Compiling DequeModule Deque+Testing.swift
[114/166] Compiling DequeModule Deque._Storage.swift
[117/167] Compiling DequeModule Deque+Extras.swift
[118/167] Compiling DequeModule Deque+Hashable.swift
[121/167] Compiling DequeModule _UnsafeWrappedBuffer.swift
[124/167] Compiling DequeModule Deque+Equatable.swift
[125/167] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[126/167] Emitting module DequeModule
[126/167] Compiling c-atomics.c
[128/167] Emitting module Atomics
[129/173] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[130/173] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[131/173] Emitting module NIOConcurrencyHelpers
[132/173] Compiling xsys socket.swift
[133/173] Compiling xsys time.swift
[134/173] Compiling xsys timespec.swift
[135/174] Compiling xsys ntohs.swift
[136/174] Compiling xsys sockaddr_any.swift
[137/174] Compiling NIOConcurrencyHelpers lock.swift
[138/174] Compiling NIOConcurrencyHelpers atomics.swift
[139/174] Compiling NIOConcurrencyHelpers NIOLock.swift
[140/235] Compiling xsys timeval_any.swift
[141/235] Compiling NIOCore NIOLoopBound.swift
[142/235] Compiling NIOCore NIOScheduledCallback.swift
[143/235] Compiling NIOCore NIOSendable.swift
[144/235] Compiling NIOCore RecvByteBufferAllocator.swift
[145/235] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[146/235] Compiling NIOCore SocketAddresses.swift
[147/241] Compiling NIOCore AddressedEnvelope.swift
[148/241] Compiling NIOCore AsyncAwaitSupport.swift
[149/241] Compiling AWSLambdaEvents SQS.swift
[150/241] Compiling AWSLambdaEvents DateWrappers.swift
[151/241] Compiling NIOCore AsyncChannel.swift
[152/241] Compiling NIOCore AsyncChannelHandler.swift
[153/241] Compiling AWSLambdaEvents Base64.swift
[154/241] Emitting module xsys
[155/241] Compiling NIOCore NIOAsyncSequenceProducer.swift
[156/241] Compiling NIOCore Interfaces.swift
[157/241] Compiling NIOCore AsyncChannelInboundStream.swift
[158/241] Compiling NIOCore AsyncChannelOutboundWriter.swift
[159/242] Emitting module mime
[160/242] Compiling mime MIME.swift
[161/242] Compiling AWSLambdaEvents SNS.swift
[162/242] Compiling AWSLambdaEvents SES.swift
[163/242] Compiling Mustache MustacheRendering.swift
[164/242] Compiling Mustache MustacheRenderingContext.swift
[165/242] Compiling Mustache MustacheParser.swift
[166/242] Compiling Mustache HTMLEscape.swift
[167/242] Compiling Mustache Helpers.swift
[168/242] Compiling Mustache MustacheNode.swift
[169/242] Emitting module Mustache
[170/242] Compiling Mustache Mustachable.swift
[171/242] Compiling Mustache SimpleKVC.swift
[180/242] Emitting module AWSLambdaEvents
[181/242] Compiling NIOCore SocketOptionProvider.swift
[182/242] Compiling NIOCore SystemCallHelpers.swift
[183/242] Compiling NIOCore TimeAmount+Duration.swift
[184/242] Compiling NIOCore TypeAssistedChannelHandler.swift
[185/242] Compiling NIOCore UniversalBootstrapSupport.swift
[186/242] Compiling NIOCore Utilities.swift
[187/242] Compiling AWSLambdaEvents HTTP.swift
[188/242] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[189/242] Compiling NIOCore NIOAsyncWriter.swift
[190/242] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[191/242] Compiling NIOCore BSDSocketAPI.swift
[192/242] Compiling NIOCore ByteBuffer-aux.swift
[193/242] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[194/242] Compiling NIOCore ByteBuffer-conversions.swift
[203/242] Compiling NIOCore Linux.swift
[204/242] Compiling NIOCore MarkedCircularBuffer.swift
[205/242] Compiling NIOCore MulticastChannel.swift
[206/242] Compiling NIOCore NIOAny.swift
[207/242] Compiling NIOCore NIOCloseOnErrorHandler.swift
[208/242] Compiling NIOCore GlobalSingletons.swift
[209/242] Compiling NIOCore IO.swift
[210/242] Compiling NIOCore IOData.swift
[211/242] Compiling NIOCore IPProtocol.swift
[212/242] Compiling NIOCore IntegerBitPacking.swift
[213/242] Compiling NIOCore IntegerTypes.swift
[214/242] Compiling NIOCore Channel.swift
[215/242] Compiling NIOCore ChannelHandler.swift
[216/242] Compiling NIOCore ChannelHandlers.swift
[217/242] Compiling NIOCore ChannelInvoker.swift
[218/242] Compiling NIOCore ChannelOption.swift
[219/242] Compiling NIOCore ChannelPipeline.swift
[220/242] Compiling NIOCore CircularBuffer.swift
[221/242] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[222/242] Compiling NIOCore EventLoopFuture+Deprecated.swift
[223/242] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[224/242] Compiling NIOCore EventLoopFuture.swift
[225/242] Compiling NIOCore FileDescriptor.swift
[226/242] Compiling NIOCore FileHandle.swift
[227/242] Compiling NIOCore FileRegion.swift
[228/242] Compiling NIOCore ByteBuffer-core.swift
[229/242] Compiling NIOCore ByteBuffer-hex.swift
[230/242] Compiling NIOCore ByteBuffer-int.swift
[231/242] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[232/242] Compiling NIOCore ByteBuffer-multi-int.swift
[233/242] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[234/242] Compiling NIOCore ByteBuffer-views.swift
[235/242] Compiling NIOCore Codec.swift
[236/242] Compiling NIOCore ConvenienceOptionSupport.swift
[237/242] Compiling NIOCore DeadChannel.swift
[238/242] Compiling NIOCore DispatchQueue+WithFuture.swift
[239/242] Compiling NIOCore EventLoop+Deprecated.swift
[240/242] Compiling NIOCore EventLoop+SerialExecutor.swift
[241/242] Compiling NIOCore EventLoop.swift
[242/242] Emitting module NIOCore
[243/295] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[244/295] Compiling NIOEmbedded AsyncTestingChannel.swift
[245/295] Emitting module NIOEmbedded
[246/295] Compiling NIOEmbedded Embedded.swift
[247/295] Compiling NIOPosix GetaddrinfoResolver.swift
[248/295] Compiling NIOPosix HappyEyeballs.swift
[249/295] Compiling NIOPosix IO.swift
[250/295] Compiling NIOPosix IntegerBitPacking.swift
[251/295] Compiling NIOPosix IntegerTypes.swift
[252/295] Compiling NIOPosix Linux.swift
[253/295] Compiling NIOPosix SocketProtocols.swift
[254/295] Compiling NIOPosix System.swift
[255/295] Compiling NIOPosix Thread.swift
[256/295] Compiling NIOPosix ThreadPosix.swift
[257/295] Compiling NIOPosix ThreadWindows.swift
[258/300] Emitting module NIOPosix
[259/300] Compiling NIOPosix BSDSocketAPICommon.swift
[260/300] Compiling NIOPosix BSDSocketAPIPosix.swift
[261/300] Compiling NIOPosix BSDSocketAPIWindows.swift
[262/300] Compiling NIOPosix BaseSocket.swift
[263/300] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[264/300] Compiling NIOPosix BaseSocketChannel.swift
[265/300] Compiling NIOPosix PooledRecvBufferAllocator.swift
[266/300] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[267/300] Compiling NIOPosix PosixSingletons.swift
[268/300] Compiling NIOPosix RawSocketBootstrap.swift
[269/300] Compiling NIOPosix Resolver.swift
[270/300] Compiling NIOPosix LinuxCPUSet.swift
[271/300] Compiling NIOPosix LinuxUring.swift
[272/300] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[273/300] Compiling NIOPosix NIOThreadPool.swift
[274/300] Compiling NIOPosix NonBlockingFileIO.swift
[275/300] Compiling NIOPosix SelectorKqueue.swift
[276/300] Compiling NIOPosix SelectorUring.swift
[277/300] Compiling NIOPosix ServerSocket.swift
[278/300] Compiling NIOPosix Socket.swift
[279/300] Compiling NIOPosix SocketChannel.swift
[280/300] Compiling NIOPosix Selectable.swift
[281/300] Compiling NIOPosix SelectableChannel.swift
[282/300] Compiling NIOPosix SelectableEventLoop.swift
[283/300] Compiling NIOPosix SelectorEpoll.swift
[284/300] Compiling NIOPosix SelectorGeneric.swift
[285/300] Compiling NIOPosix PendingDatagramWritesManager.swift
[286/300] Compiling NIOPosix PendingWritesManager.swift
[287/300] Compiling NIOPosix PipeChannel.swift
[288/300] Compiling NIOPosix PipePair.swift
[289/300] Compiling NIOPosix Pool.swift
[290/300] Compiling NIOPosix UnsafeTransfer.swift
[291/300] Compiling NIOPosix Utilities.swift
[292/300] Compiling NIOPosix VsockAddress.swift
[293/300] Compiling NIOPosix VsockChannelEvents.swift
[294/300] Compiling NIOPosix resource_bundle_accessor.swift
[295/300] Compiling NIOPosix BaseStreamSocketChannel.swift
[296/300] Compiling NIOPosix Bootstrap.swift
[297/300] Compiling NIOPosix ControlMessage.swift
[298/300] Compiling NIOPosix DatagramVectorReadManager.swift
[299/300] Compiling NIOPosix Errors+Any.swift
[300/300] Compiling NIOPosix FileDescriptor.swift
[301/302] Emitting module NIO
[302/302] Compiling NIO Exports.swift
[303/326] Emitting module _NIOConcurrency
[304/326] Compiling _NIOConcurrency Empty.swift
[305/326] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[306/326] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[307/326] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[308/327] Emitting module NIOFoundationCompat
[309/327] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[310/327] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[311/327] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[312/327] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[313/327] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[314/327] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[315/365] Emitting module NIOHTTP1
[316/365] Compiling MacroCore JSError.swift
[317/365] Compiling MacroCore JSON.swift
[318/365] Compiling MacroCore EventListenerSet.swift
[319/365] Compiling MacroCore ListenerType.swift
[320/365] Compiling MacroCore BufferStrings.swift
[321/365] Compiling MacroCore ErrorEmitter.swift
[322/365] Compiling MacroCore BufferDeprecations.swift
[323/365] Compiling MacroCore BufferHexEncoding.swift
[324/365] Compiling MacroCore Buffer.swift
[325/365] Compiling MacroCore BufferData.swift
[326/365] Compiling MacroCore CollectionStubs.swift
[327/365] Compiling MacroCore Math.swift
[328/376] Compiling MacroCore MacroError.swift
[329/376] Compiling MacroCore NextTick.swift
[330/376] Compiling MacroCore CommandLine.swift
[331/376] Compiling MacroCore DetectXcode.swift
[332/380] Compiling MacroCore ReadableByteStreamType.swift
[333/380] Compiling MacroCore ReadableStreamBase.swift
[334/380] Compiling MacroCore ReadableStreamType.swift
[335/380] Compiling MacroCore WritableByteStream.swift
[336/380] Compiling AWSLambdaRuntimeCore LambdaContext.swift
[337/381] Compiling AWSLambdaRuntimeCore LambdaHandler.swift
[338/381] Compiling AWSLambdaRuntimeCore LambdaLifecycle.swift
[339/381] Compiling AWSLambdaRuntimeCore Lambda.swift
[340/381] Compiling AWSLambdaRuntimeCore Lambda+String.swift
[341/381] Compiling AWSLambdaRuntimeCore LambdaConfiguration.swift
[342/381] Compiling MacroCore StringStubs.swift
[343/381] Compiling MacroCore ToString.swift
[344/381] Compiling MacroCore LeftPad.swift
[345/381] Compiling MacroCore MacroCore.swift
[353/381] Compiling MacroCore Object.swift
[354/381] Compiling MacroCore Environment.swift
[355/381] Compiling MacroCore Process.swift
[356/381] Compiling MacroCore Warnings.swift
[357/381] Compiling MacroCore Regex.swift
[358/381] Compiling MacroCore Concat.swift
[359/381] Compiling MacroCore DuplexStreamType.swift
[360/381] Compiling MacroCore Pipe.swift
[361/381] Compiling MacroCore ReadableByteStream.swift
[362/381] Compiling MacroCore CollectionUtils.swift
[363/381] Compiling MacroCore Console.swift
[364/381] Compiling MacroCore Dirname.swift
[365/381] Compiling MacroCore EnvironmentValues.swift
[366/381] Compiling AWSLambdaRuntimeCore LambdaRunner.swift
[367/381] Compiling AWSLambdaRuntimeCore LambdaRuntimeClient.swift
[368/381] Compiling MacroCore WritableByteStreamType.swift
[369/381] Compiling MacroCore WritableStreamBase.swift
[370/381] Compiling MacroCore WritableStreamType.swift
[371/381] Compiling MacroCore StringEncoding.swift
[372/381] Compiling AWSLambdaRuntimeCore HTTPClient.swift
[373/381] Compiling AWSLambdaRuntimeCore Lambda+LocalServer.swift
[377/381] Compiling AWSLambdaRuntimeCore Utils.swift
[378/381] Emitting module MacroCore
[379/381] Emitting module AWSLambdaRuntimeCore
[382/412] Compiling http OutgoingMessage.swift
[383/413] Compiling fs AsyncWrapper.swift
[384/413] Compiling fs StatStruct.swift
[385/413] Compiling fs ResultExtensions.swift
[386/414] Compiling http HTTPHeadersHolder.swift
[387/414] Compiling AWSLambdaRuntime Lambda+Codable.swift
[388/414] Emitting module AWSLambdaRuntime
[389/414] Compiling AWSLambdaRuntime Context+Foundation.swift
[390/414] Compiling http http.swift
[391/414] Compiling fs FileWriteStream.swift
[392/414] Compiling http URLSessionClientRequest.swift
[393/414] Compiling http BasicAuth.swift
[394/414] Compiling fs FileStream.swift
[395/414] Compiling http Globals.swift
[396/414] Compiling http IncomingMessage.swift
[397/414] Compiling http Agent.swift
[398/414] Compiling http ClientRequest.swift
[399/414] Compiling fs fs.swift
[400/414] Compiling http URLRequestInit.swift
[401/414] Compiling http URLSessionAgent.swift
[402/414] Emitting module fs
[403/416] Compiling http ServerResponse.swift
[404/416] Compiling http QueryString.swift
[413/416] Compiling http Server.swift
[414/416] Emitting module http
[415/416] Compiling dotenv dotenv.swift
[416/416] Emitting module dotenv
[417/430] Compiling connect Session.swift
[418/430] Compiling connect ServeStatic.swift
[419/430] Compiling connect Pause.swift
[420/430] Compiling connect Middleware.swift
[421/430] Compiling connect Connect.swift
[422/430] Compiling connect CookieParser.swift
[423/430] Compiling connect Cookies.swift
[424/430] Compiling connect CrossCompile.swift
[425/430] Compiling connect Logger.swift
[426/430] Compiling connect MethodOverride.swift
[427/430] Compiling connect BodyParser.swift
[428/430] Compiling connect CORS.swift
[429/430] Compiling connect QS.swift
[430/430] Emitting module connect
[431/431] Compiling connect TypeIs.swift
[432/462] Compiling multer MulterStorage.swift
[433/463] Compiling multer Multer.swift
[434/463] Compiling express Mustache.swift
[435/463] Compiling express Render.swift
[436/463] Compiling express Express.swift
[437/463] Compiling express ExpressWrappedDictionary.swift
[438/463] Emitting module multer
[439/463] Compiling express RoutePattern.swift
[440/463] Compiling express Router.swift
[441/463] Compiling express ServerResponse.swift
[442/464] Compiling multer Utilities.swift
[443/464] Compiling multer MultiPartParser.swift
[444/464] Compiling multer ProcessingContext.swift
[445/464] Compiling multer PartType.swift
[446/464] Compiling multer MulterError.swift
[449/464] Compiling express BasicAuth.swift
[450/464] Compiling express ErrorMiddleware.swift
[451/464] Compiling express Route.swift
[452/464] Compiling express RouteFactories.swift
[455/464] Compiling express RouteKeeper.swift
[456/464] Compiling express RouteMounts.swift
[457/464] Emitting module express
[458/464] Compiling express IncomingMessage.swift
[459/464] Compiling express JSON.swift
[462/464] Compiling express MiddlewareObject.swift
[463/464] Compiling express Module.swift
[464/464] Compiling express Settings.swift
[465/473] Emitting module MacroExpress
[466/473] Compiling MacroExpress MacroExpress.swift
[467/473] Compiling MacroLambdaCore LambdaRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaRequest.swift:92:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'APIGateway.V2.Request?' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | enum LambdaRequestKey: EnvironmentKey {
92 | static let defaultValue : APIGateway.V2.Request? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'APIGateway.V2.Request?' may have shared mutable state; this is an error in the Swift 6 language mode
93 | static let loggingKey = "lambda-request"
94 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaEvents/APIGateway+V2.swift:21:19: note: struct 'Request' does not conform to the 'Sendable' protocol
19 | extension APIGateway.V2 {
20 | /// APIGateway.V2.Request contains data coming from the new HTTP API Gateway
21 | public struct Request: Codable {
| `- note: struct 'Request' does not conform to the 'Sendable' protocol
22 | /// Context contains the information to identify the AWS account and resources invoking the Lambda function.
23 | public struct Context: Codable {
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaRequest.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSLambdaEvents'
11 | import struct Logging.Logger
12 | import struct NIOHTTP1.HTTPRequestHead
13 | import enum AWSLambdaEvents.APIGateway
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSLambdaEvents'
14 | import struct MacroCore.Buffer
15 | import protocol MacroCore.EnvironmentKey
:
90 |
91 | enum LambdaRequestKey: EnvironmentKey {
92 | static let defaultValue : APIGateway.V2.Request? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | static let loggingKey = "lambda-request"
94 | }
[468/473] Emitting module MacroLambdaCore
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaNIOConversions.swift:89:15: warning: instance method 'caseInsensitiveCompare' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
87 | for ( name, value ) in self {
88 | // This is all not good. But neither is the JSON gateway :-)
89 | if name.caseInsensitiveCompare("Set-Cookie") == .orderedSame ||
| |- warning: instance method 'caseInsensitiveCompare' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
90 | name.caseInsensitiveCompare("Cookie") == .orderedSame
91 | {
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaNIOConversions.swift:89:56: warning: enum case 'orderedSame' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
87 | for ( name, value ) in self {
88 | // This is all not good. But neither is the JSON gateway :-)
89 | if name.caseInsensitiveCompare("Set-Cookie") == .orderedSame ||
| |- warning: enum case 'orderedSame' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
90 | name.caseInsensitiveCompare("Cookie") == .orderedSame
91 | {
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaNIOConversions.swift:90:15: warning: instance method 'caseInsensitiveCompare' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
88 | // This is all not good. But neither is the JSON gateway :-)
89 | if name.caseInsensitiveCompare("Set-Cookie") == .orderedSame ||
90 | name.caseInsensitiveCompare("Cookie") == .orderedSame
| |- warning: instance method 'caseInsensitiveCompare' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
91 | {
92 | cookies.append(value)
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaNIOConversions.swift:90:56: warning: enum case 'orderedSame' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
88 | // This is all not good. But neither is the JSON gateway :-)
89 | if name.caseInsensitiveCompare("Set-Cookie") == .orderedSame ||
90 | name.caseInsensitiveCompare("Cookie") == .orderedSame
| |- warning: enum case 'orderedSame' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
91 | {
92 | cookies.append(value)
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaRequest.swift:92:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'APIGateway.V2.Request?' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | enum LambdaRequestKey: EnvironmentKey {
92 | static let defaultValue : APIGateway.V2.Request? = nil
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'APIGateway.V2.Request?' may have shared mutable state; this is an error in the Swift 6 language mode
93 | static let loggingKey = "lambda-request"
94 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaEvents/APIGateway+V2.swift:21:19: note: struct 'Request' does not conform to the 'Sendable' protocol
19 | extension APIGateway.V2 {
20 | /// APIGateway.V2.Request contains data coming from the new HTTP API Gateway
21 | public struct Request: Codable {
| `- note: struct 'Request' does not conform to the 'Sendable' protocol
22 | /// Context contains the information to identify the AWS account and resources invoking the Lambda function.
23 | public struct Context: Codable {
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaRequest.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSLambdaEvents'
11 | import struct Logging.Logger
12 | import struct NIOHTTP1.HTTPRequestHead
13 | import enum AWSLambdaEvents.APIGateway
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSLambdaEvents'
14 | import struct MacroCore.Buffer
15 | import protocol MacroCore.EnvironmentKey
:
90 |
91 | enum LambdaRequestKey: EnvironmentKey {
92 | static let defaultValue : APIGateway.V2.Request? = nil
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | static let loggingKey = "lambda-request"
94 | }
[469/473] Compiling MacroLambdaCore LambdaResponse.swift
[470/473] Compiling MacroLambdaCore Process.swift
[471/473] Compiling MacroLambdaCore LambdaNIOConversions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaNIOConversions.swift:89:15: warning: instance method 'caseInsensitiveCompare' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
87 | for ( name, value ) in self {
88 | // This is all not good. But neither is the JSON gateway :-)
89 | if name.caseInsensitiveCompare("Set-Cookie") == .orderedSame ||
| |- warning: instance method 'caseInsensitiveCompare' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
90 | name.caseInsensitiveCompare("Cookie") == .orderedSame
91 | {
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaNIOConversions.swift:89:56: warning: enum case 'orderedSame' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
87 | for ( name, value ) in self {
88 | // This is all not good. But neither is the JSON gateway :-)
89 | if name.caseInsensitiveCompare("Set-Cookie") == .orderedSame ||
| |- warning: enum case 'orderedSame' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
90 | name.caseInsensitiveCompare("Cookie") == .orderedSame
91 | {
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaNIOConversions.swift:90:15: warning: instance method 'caseInsensitiveCompare' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
88 | // This is all not good. But neither is the JSON gateway :-)
89 | if name.caseInsensitiveCompare("Set-Cookie") == .orderedSame ||
90 | name.caseInsensitiveCompare("Cookie") == .orderedSame
| |- warning: instance method 'caseInsensitiveCompare' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
91 | {
92 | cookies.append(value)
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaNIOConversions.swift:90:56: warning: enum case 'orderedSame' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
88 | // This is all not good. But neither is the JSON gateway :-)
89 | if name.caseInsensitiveCompare("Set-Cookie") == .orderedSame ||
90 | name.caseInsensitiveCompare("Cookie") == .orderedSame
| |- warning: enum case 'orderedSame' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
91 | {
92 | cookies.append(value)
[472/473] Compiling MacroLambdaCore lambda.swift
[473/473] Compiling MacroLambdaCore LambdaServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaServer.swift:190:21: warning: type 'APIGatewayProxyLambda.Out' (aka 'APIGateway.V2.Response') does not conform to the 'Sendable' protocol
188 | let promise = context.eventLoop.makePromise(of: Out.self)
189 | server.handle(context: context, request: event) { result in
190 | promise.completeWith(result)
| `- warning: type 'APIGatewayProxyLambda.Out' (aka 'APIGateway.V2.Response') does not conform to the 'Sendable' protocol
191 | }
192 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaEvents/APIGateway+V2.swift:95:19: note: struct 'Response' does not conform to the 'Sendable' protocol
93 |
94 | extension APIGateway.V2 {
95 | public struct Response: Codable {
| `- note: struct 'Response' does not conform to the 'Sendable' protocol
96 | public var statusCode: HTTPResponseStatus
97 | public var headers: HTTPHeaders?
/Users/admin/builder/spi-builder-workspace/Sources/MacroLambdaCore/LambdaServer.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSLambdaEvents'
20 | import protocol AWSLambdaRuntime.EventLoopLambdaHandler
21 | import enum AWSLambdaRuntime.Lambda
22 | import enum AWSLambdaEvents.APIGateway
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSLambdaEvents'
23 | import express
24 |
[474/476] Emitting module MacroLambda
[475/476] Compiling MacroLambda ReExports.swift
[476/476] Compiling MacroLambda LambdaExpress.swift
Build complete! (24.64s)
Build complete.
{
"dependencies" : [
{
"identity" : "macro",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Macro-swift/Macro.git"
},
{
"identity" : "macroexpress",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Macro-swift/MacroExpress.git"
},
{
"identity" : "swift-aws-lambda-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-aws-lambda-runtime.git"
}
],
"manifest_display_name" : "MacroLambda",
"name" : "MacroLambda",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MacroLambdaCore",
"targets" : [
"MacroLambdaCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MacroLambda",
"targets" : [
"MacroLambda"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MacroLambdaCore",
"module_type" : "SwiftTarget",
"name" : "MacroLambdaCore",
"path" : "Sources/MacroLambdaCore",
"product_dependencies" : [
"MacroCore",
"http",
"express",
"AWSLambdaRuntime",
"AWSLambdaEvents"
],
"product_memberships" : [
"MacroLambdaCore",
"MacroLambda"
],
"sources" : [
"LambdaNIOConversions.swift",
"LambdaRequest.swift",
"LambdaResponse.swift",
"LambdaServer.swift",
"Process.swift",
"lambda.swift"
],
"type" : "library"
},
{
"c99name" : "MacroLambda",
"module_type" : "SwiftTarget",
"name" : "MacroLambda",
"path" : "Sources/MacroLambda",
"product_dependencies" : [
"AWSLambdaRuntime",
"MacroExpress"
],
"product_memberships" : [
"MacroLambda"
],
"sources" : [
"LambdaExpress.swift",
"ReExports.swift"
],
"target_dependencies" : [
"MacroLambdaCore"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.