Build Information
Successful build of Breeze, reference main (75766d
), with Swift 6.1 for Linux on 29 Apr 2025 06:59:15 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/swift-serverless/Breeze.git
Reference: main
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/swift-serverless/Breeze
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 75766d6 Fix wrong runtime in LambdaAPI x86 (#14)
Cloned https://github.com/swift-serverless/Breeze.git
Revision (git rev-parse @):
75766d69ea7ee87e77fe49e4ccefb07959826de0
SUCCESS checkout https://github.com/swift-serverless/Breeze.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/swift-serverless/Breeze.git
https://github.com/swift-serverless/Breeze.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "stencil",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stencilproject/Stencil.git"
},
{
"identity" : "swift-sls-adapter",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-serverless/swift-sls-adapter"
}
],
"manifest_display_name" : "Breeze",
"name" : "Breeze",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "breeze",
"targets" : [
"BreezeCommand"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BreezeCommandTests",
"module_type" : "SwiftTarget",
"name" : "BreezeCommandTests",
"path" : "Tests/BreezeCommandTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/BreezeCommandTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BreezeCommandTests.swift",
"Fixtures.swift",
"GenerateGithubWebhookTests.swift",
"GenerateLambdaAPITests.swift",
"GenerateWebhookTests.swift",
"XCTest+Extensions.swift"
],
"target_dependencies" : [
"BreezeCommand"
],
"type" : "test"
},
{
"c99name" : "BreezeCommand",
"module_type" : "SwiftTarget",
"name" : "BreezeCommand",
"path" : "Sources/BreezeCommand",
"product_dependencies" : [
"ArgumentParser",
"SLSAdapter",
"Stencil"
],
"product_memberships" : [
"breeze"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/BreezeCommand/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BreezeCommand.swift",
"BreezeCommandError.swift",
"BreezeConfig+ServerlessConfig.swift",
"BreezeConfig.swift",
"Foundation+Extensions.swift",
"GenerateGitHubWebhook/GenerateGithubWebhook.swift",
"GenerateGithubWebhook/HttpAPILambdaParams.swift",
"GenerateLambdaAPI/GenerateLambdaAPI.swift",
"GenerateLambdaAPI/ServerlessConfig+DynamoDBLambdaAPI.swift",
"GenerateWebhook/GenerateWebhook.swift",
"Stencil+Extensions.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/swift-serverless/swift-sls-adapter
Fetching https://github.com/apple/swift-argument-parser.git
[1/5293] Fetching stencil
[266/5512] Fetching stencil, swift-sls-adapter
[5513/20462] Fetching stencil, swift-sls-adapter, swift-argument-parser
Fetched https://github.com/swift-serverless/swift-sls-adapter from cache (0.79s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.79s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.80s)
Computing version for https://github.com/swift-serverless/swift-sls-adapter
Computed https://github.com/swift-serverless/swift-sls-adapter at 0.2.1 (1.37s)
Fetching https://github.com/jpsim/Yams.git
[1/10337] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.10s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (1.68s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[338/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Fetched https://github.com/kylef/PathKit.git from cache (0.25s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.81s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.21s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.57s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.55s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Creating working copy for https://github.com/swift-serverless/swift-sls-adapter
Working copy of https://github.com/swift-serverless/swift-sls-adapter resolved at 0.2.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/25] Write sources
[8/25] Copying Resources
[9/25] Compiling reader.c
[10/25] Compiling writer.c
[11/25] Compiling api.c
[12/25] Compiling emitter.c
[13/25] Compiling parser.c
[13/25] Write swift-version-24593BA9C3E375BF.txt
[15/25] Compiling scanner.c
[17/48] Emitting module Yams
[18/50] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/50] Emitting module ArgumentParserToolInfo
[20/51] Wrapping AST for ArgumentParserToolInfo for debugging
[22/89] Compiling ArgumentParser ParsableArguments.swift
[23/89] Compiling ArgumentParser ParsableArgumentsValidation.swift
[24/89] Compiling ArgumentParser OptionGroup.swift
[25/89] Compiling ArgumentParser AsyncParsableCommand.swift
[26/89] Compiling ArgumentParser CommandConfiguration.swift
[27/89] Compiling ArgumentParser CommandGroup.swift
[28/89] Compiling ArgumentParser EnumerableFlag.swift
[29/89] Compiling ArgumentParser ExpressibleByArgument.swift
[30/89] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/89] Compiling ArgumentParser Argument.swift
[32/89] Compiling ArgumentParser ArgumentHelp.swift
[33/89] Compiling ArgumentParser NameSpecification.swift
[34/89] Compiling ArgumentParser Option.swift
[35/89] Compiling ArgumentParser BashCompletionsGenerator.swift
[36/89] Compiling ArgumentParser CompletionsGenerator.swift
[37/89] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/89] Compiling ArgumentParser ArgumentVisibility.swift
[39/89] Compiling ArgumentParser CompletionKind.swift
[40/89] Compiling ArgumentParser Errors.swift
[41/89] Compiling ArgumentParser Flag.swift
[42/90] Emitting module PathKit
[43/90] Compiling PathKit PathKit.swift
[45/97] Wrapping AST for Yams for debugging
[45/97] Wrapping AST for PathKit for debugging
[48/122] Compiling SLSAdapter Package.swift
[49/123] Compiling SLSAdapter Region.swift
[50/123] Compiling SLSAdapter ServerlessConfig.swift
[51/123] Compiling SLSAdapter Resource.swift
[52/123] Emitting module Stencil
[53/125] Compiling Stencil Loader.swift
[54/125] Compiling Stencil Node.swift
[55/125] Compiling Stencil NowTag.swift
[56/125] Emitting module SLSAdapter
[57/125] Compiling SLSAdapter YAMLContent.swift
[58/125] Compiling Stencil IfTag.swift
[59/125] Compiling Stencil Include.swift
[60/125] Compiling Stencil Inheritance.swift
[61/125] Compiling Stencil FilterTag.swift
[62/125] Compiling Stencil Filters.swift
[63/125] Compiling Stencil ForTag.swift
[64/125] Compiling SLSAdapter Function.swift
[65/125] Compiling Stencil Errors.swift
[66/125] Compiling Stencil Expression.swift
[67/125] Compiling Stencil KeyPath.swift
[68/125] Compiling Stencil LazyValueWrapper.swift
[69/125] Compiling Stencil Lexer.swift
[70/125] Compiling Stencil Parser.swift
[71/125] Compiling Stencil Template.swift
[72/125] Compiling Stencil Tokenizer.swift
[73/125] Compiling Stencil Context.swift
[74/125] Compiling Stencil DynamicMemberLookup.swift
[75/125] Compiling Stencil Environment.swift
[78/125] Compiling Stencil Extension.swift
[85/130] Compiling Stencil TrimBehaviour.swift
[86/130] Compiling Stencil Variable.swift
[87/131] Emitting module ArgumentParser
[94/131] Compiling SLSAdapter Provider.swift
[96/132] Wrapping AST for Stencil for debugging
[97/132] Wrapping AST for SLSAdapter for debugging
[99/132] Compiling ArgumentParser CollectionExtensions.swift
[100/132] Compiling ArgumentParser Platform.swift
[101/132] Compiling ArgumentParser SequenceExtensions.swift
[102/132] Compiling ArgumentParser StringExtensions.swift
[103/132] Compiling ArgumentParser Tree.swift
[115/132] Compiling ArgumentParser ArgumentSet.swift
[116/132] Compiling ArgumentParser CommandParser.swift
[117/132] Compiling ArgumentParser InputKey.swift
[118/132] Compiling ArgumentParser InputOrigin.swift
[119/132] Compiling ArgumentParser Name.swift
[120/132] Compiling ArgumentParser Parsed.swift
[121/132] Compiling ArgumentParser ParsedValues.swift
[122/132] Compiling ArgumentParser ParserError.swift
[123/132] Compiling ArgumentParser SplitArguments.swift
[124/132] Compiling ArgumentParser DumpHelpGenerator.swift
[125/132] Compiling ArgumentParser HelpCommand.swift
[126/132] Compiling ArgumentParser HelpGenerator.swift
[127/132] Compiling ArgumentParser MessageInfo.swift
[128/132] Compiling ArgumentParser UsageGenerator.swift
[129/133] Wrapping AST for ArgumentParser for debugging
[131/145] Compiling BreezeCommand Stencil+Extensions.swift
[132/146] Compiling BreezeCommand GenerateWebhook.swift
[133/146] Compiling BreezeCommand Foundation+Extensions.swift
[134/146] Compiling BreezeCommand GenerateGithubWebhook.swift
[135/146] Compiling BreezeCommand ServerlessConfig+DynamoDBLambdaAPI.swift
[136/146] Compiling BreezeCommand HttpAPILambdaParams.swift
[137/146] Compiling BreezeCommand GenerateLambdaAPI.swift
[138/146] Compiling BreezeCommand resource_bundle_accessor.swift
[139/146] Compiling BreezeCommand BreezeCommand.swift
[140/146] Compiling BreezeCommand BreezeCommandError.swift
[141/146] Compiling BreezeCommand BreezeConfig+ServerlessConfig.swift
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig+ServerlessConfig.swift:21:24: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
19 | extension ServerlessConfig {
20 |
21 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | func writeSLS(targetPath: String, ymlFileName: String) throws {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig+ServerlessConfig.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
14 |
15 | import Foundation
16 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
17 | import SLSAdapter
18 |
19 | extension ServerlessConfig {
20 |
21 | private static let encoder = YAMLEncoder()
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | func writeSLS(targetPath: String, ymlFileName: String) throws {
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig.swift:64:16: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | extension BreezeConfig {
64 | static let decoder = YAMLDecoder()
| `- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
65 | static func load(from url: URL) throws -> BreezeConfig {
66 | let paramsYML = try Data(contentsOf: url)
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
14 |
15 | import Foundation
16 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
17 |
18 | struct BreezeConfig: Codable {
:
62 |
63 | extension BreezeConfig {
64 | static let decoder = YAMLDecoder()
| |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | static func load(from url: URL) throws -> BreezeConfig {
66 | let paramsYML = try Data(contentsOf: url)
[142/146] Compiling BreezeCommand BreezeConfig.swift
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig+ServerlessConfig.swift:21:24: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
19 | extension ServerlessConfig {
20 |
21 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | func writeSLS(targetPath: String, ymlFileName: String) throws {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig+ServerlessConfig.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
14 |
15 | import Foundation
16 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
17 | import SLSAdapter
18 |
19 | extension ServerlessConfig {
20 |
21 | private static let encoder = YAMLEncoder()
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | func writeSLS(targetPath: String, ymlFileName: String) throws {
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig.swift:64:16: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | extension BreezeConfig {
64 | static let decoder = YAMLDecoder()
| `- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
65 | static func load(from url: URL) throws -> BreezeConfig {
66 | let paramsYML = try Data(contentsOf: url)
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
14 |
15 | import Foundation
16 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
17 |
18 | struct BreezeConfig: Codable {
:
62 |
63 | extension BreezeConfig {
64 | static let decoder = YAMLDecoder()
| |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | static func load(from url: URL) throws -> BreezeConfig {
66 | let paramsYML = try Data(contentsOf: url)
[143/146] Emitting module BreezeCommand
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig+ServerlessConfig.swift:21:24: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
19 | extension ServerlessConfig {
20 |
21 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | func writeSLS(targetPath: String, ymlFileName: String) throws {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig+ServerlessConfig.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
14 |
15 | import Foundation
16 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
17 | import SLSAdapter
18 |
19 | extension ServerlessConfig {
20 |
21 | private static let encoder = YAMLEncoder()
| |- note: add '@MainActor' to make static property 'encoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | func writeSLS(targetPath: String, ymlFileName: String) throws {
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig.swift:64:16: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | extension BreezeConfig {
64 | static let decoder = YAMLDecoder()
| `- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
65 | static func load(from url: URL) throws -> BreezeConfig {
66 | let paramsYML = try Data(contentsOf: url)
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/BreezeCommand/BreezeConfig.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
14 |
15 | import Foundation
16 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
17 |
18 | struct BreezeConfig: Codable {
:
62 |
63 | extension BreezeConfig {
64 | static let decoder = YAMLDecoder()
| |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | static func load(from url: URL) throws -> BreezeConfig {
66 | let paramsYML = try Data(contentsOf: url)
[144/147] Wrapping AST for BreezeCommand for debugging
[145/147] Write Objects.LinkFileList
[146/147] Linking breeze
Build complete! (24.79s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "stencil",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stencilproject/Stencil.git"
},
{
"identity" : "swift-sls-adapter",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-serverless/swift-sls-adapter"
}
],
"manifest_display_name" : "Breeze",
"name" : "Breeze",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "breeze",
"targets" : [
"BreezeCommand"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BreezeCommandTests",
"module_type" : "SwiftTarget",
"name" : "BreezeCommandTests",
"path" : "Tests/BreezeCommandTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/BreezeCommandTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BreezeCommandTests.swift",
"Fixtures.swift",
"GenerateGithubWebhookTests.swift",
"GenerateLambdaAPITests.swift",
"GenerateWebhookTests.swift",
"XCTest+Extensions.swift"
],
"target_dependencies" : [
"BreezeCommand"
],
"type" : "test"
},
{
"c99name" : "BreezeCommand",
"module_type" : "SwiftTarget",
"name" : "BreezeCommand",
"path" : "Sources/BreezeCommand",
"product_dependencies" : [
"ArgumentParser",
"SLSAdapter",
"Stencil"
],
"product_memberships" : [
"breeze"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/BreezeCommand/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BreezeCommand.swift",
"BreezeCommandError.swift",
"BreezeConfig+ServerlessConfig.swift",
"BreezeConfig.swift",
"Foundation+Extensions.swift",
"GenerateGitHubWebhook/GenerateGithubWebhook.swift",
"GenerateGithubWebhook/HttpAPILambdaParams.swift",
"GenerateLambdaAPI/GenerateLambdaAPI.swift",
"GenerateLambdaAPI/ServerlessConfig+DynamoDBLambdaAPI.swift",
"GenerateWebhook/GenerateWebhook.swift",
"Stencil+Extensions.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
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.