Build Information
Successful build of Breeze, reference main (75766d
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 15:12:32 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-serverless/Breeze.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swift-serverless/swift-sls-adapter
Fetching https://github.com/stencilproject/Stencil.git
[11/1021] Fetching spectre
[165/2432] Fetching spectre, pathkit
[335/2651] Fetching spectre, pathkit, swift-sls-adapter
[850/7840] Fetching spectre, pathkit, swift-sls-adapter, stencil
[1424/17776] Fetching spectre, pathkit, swift-sls-adapter, stencil, yams
[1703/30171] Fetching spectre, pathkit, swift-sls-adapter, stencil, yams, swift-argument-parser
Fetched https://github.com/kylef/PathKit.git from cache (0.95s)
[2144/28760] Fetching spectre, swift-sls-adapter, stencil, yams, swift-argument-parser
Fetched https://github.com/swift-serverless/swift-sls-adapter from cache (1.88s)
Fetched https://github.com/jpsim/Yams.git from cache (1.88s)
Fetched https://github.com/stencilproject/Stencil.git from cache (1.88s)
Fetched https://github.com/kylef/Spectre.git from cache (1.88s)
[11727/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.72s)
Computing version for https://github.com/swift-serverless/swift-sls-adapter
Computed https://github.com/swift-serverless/swift-sls-adapter at 0.2.1 (0.56s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.2 (0.58s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.0 (0.55s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.56s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.30s)
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
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.2.2
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.0
========================================
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": "breeze",
"name": "Breeze",
"url": "https://github.com/swift-serverless/Breeze.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Breeze",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "stencil",
"name": "Stencil",
"url": "https://github.com/stencilproject/Stencil.git",
"version": "0.15.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Stencil",
"dependencies": [
{
"identity": "pathkit",
"name": "PathKit",
"url": "https://github.com/kylef/PathKit.git",
"version": "1.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
"dependencies": [
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
},
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
},
{
"identity": "swift-sls-adapter",
"name": "swift-sls-adapter",
"url": "https://github.com/swift-serverless/swift-sls-adapter",
"version": "0.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sls-adapter",
"dependencies": [
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams.git",
"version": "5.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/swift-serverless/Breeze.git
[1/1237] Fetching breeze
Fetched https://github.com/swift-serverless/Breeze.git from cache (1.03s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/stencilproject/Stencil.git from cache
Fetching https://github.com/swift-serverless/swift-sls-adapter from cache
Fetched https://github.com/swift-serverless/swift-sls-adapter from cache (0.52s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.60s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.60s)
Computing version for https://github.com/swift-serverless/swift-sls-adapter
Computed https://github.com/swift-serverless/swift-sls-adapter at 0.2.1 (0.02s)
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.70s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.02s)
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/PathKit.git from cache (0.50s)
Fetched https://github.com/kylef/Spectre.git from cache (0.50s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.03s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.02s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.02s)
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.41s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
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/swift-serverless/Breeze.git
Working copy of https://github.com/swift-serverless/Breeze.git resolved at main (75766d6)
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/swift-serverless/swift-sls-adapter
Working copy of https://github.com/swift-serverless/swift-sls-adapter resolved at 0.2.1
Found 3 product dependencies
- swift-argument-parser
- Stencil
- swift-sls-adapter
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/swift-serverless/Breeze.git
{
"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" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[5/20] Write breeze-entitlement.plist
[9/20] Copying Resources
[10/20] Write swift-version--7754E27361AE5C74.txt
[11/24] Compiling reader.c
[12/24] Compiling writer.c
[13/24] Compiling api.c
[14/24] Compiling scanner.c
[15/24] Compiling emitter.c
[16/24] Compiling parser.c
[18/39] Emitting module ArgumentParserToolInfo
[19/39] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/77] Compiling ArgumentParser Flag.swift
[21/77] Compiling ArgumentParser NameSpecification.swift
[22/78] Compiling ArgumentParser ArgumentHelp.swift
[23/78] Compiling ArgumentParser ArgumentVisibility.swift
[24/78] Compiling ArgumentParser CompletionKind.swift
[25/78] Compiling ArgumentParser Errors.swift
[26/82] Compiling ArgumentParser Platform.swift
[27/82] Compiling ArgumentParser SequenceExtensions.swift
[28/82] Compiling ArgumentParser StringExtensions.swift
[29/82] Compiling ArgumentParser Tree.swift
[32/82] Compiling ArgumentParser Option.swift
[33/82] Compiling ArgumentParser OptionGroup.swift
[34/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/82] Compiling ArgumentParser CompletionsGenerator.swift
[36/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[37/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/82] Compiling ArgumentParser Argument.swift
[39/82] Compiling ArgumentParser ParsableArguments.swift
[40/82] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/82] Compiling ArgumentParser ParsableCommand.swift
[42/82] Compiling ArgumentParser ArgumentDecoder.swift
[43/82] Emitting module ArgumentParser
[44/82] Compiling ArgumentParser InputOrigin.swift
[45/82] Compiling ArgumentParser Name.swift
[46/82] Compiling ArgumentParser Parsed.swift
[47/82] Compiling ArgumentParser ParsedValues.swift
[48/82] Compiling ArgumentParser ArgumentDefinition.swift
[49/82] Compiling ArgumentParser ArgumentSet.swift
[50/82] Compiling ArgumentParser CommandParser.swift
[51/82] Compiling ArgumentParser InputKey.swift
[52/82] Emitting module PathKit
[53/82] Compiling PathKit PathKit.swift
[54/82] Compiling Yams Tag.swift
[55/82] Compiling Yams YamlError.swift
[56/82] Compiling Yams Resolver.swift
[57/82] Compiling Yams String+Yams.swift
[58/82] Compiling Yams Representer.swift
[65/82] Emitting module Yams
[68/114] Compiling ArgumentParser ParserError.swift
[69/114] Compiling ArgumentParser SplitArguments.swift
[70/114] Compiling ArgumentParser DumpHelpGenerator.swift
[71/114] Compiling ArgumentParser HelpCommand.swift
[72/114] Compiling ArgumentParser AsyncParsableCommand.swift
[73/114] Compiling ArgumentParser CommandConfiguration.swift
[74/114] Compiling ArgumentParser EnumerableFlag.swift
[75/114] Compiling ArgumentParser ExpressibleByArgument.swift
[76/114] Compiling ArgumentParser HelpGenerator.swift
[77/114] Compiling ArgumentParser MessageInfo.swift
[78/114] Compiling ArgumentParser UsageGenerator.swift
[79/114] Compiling ArgumentParser CollectionExtensions.swift
[80/114] Compiling Stencil Context.swift
[81/114] Compiling Stencil DynamicMemberLookup.swift
[82/114] Compiling Stencil Environment.swift
[83/116] Compiling SLSAdapter YAMLContent.swift
[84/116] Compiling SLSAdapter Resource.swift
[85/116] Compiling SLSAdapter ServerlessConfig.swift
[86/116] Compiling SLSAdapter Region.swift
[87/116] Compiling Stencil IfTag.swift
[88/116] Compiling Stencil Include.swift
[89/116] Compiling Stencil NowTag.swift
[90/116] Compiling Stencil Parser.swift
[91/116] Compiling Stencil Template.swift
[92/116] Compiling Stencil Tokenizer.swift
[93/116] Compiling Stencil Inheritance.swift
[94/116] Compiling Stencil KeyPath.swift
[95/116] Compiling Stencil LazyValueWrapper.swift
[96/116] Compiling Stencil Lexer.swift
[97/116] Emitting module Stencil
[98/116] Compiling Stencil Loader.swift
[99/116] Compiling Stencil Node.swift
[100/116] Compiling Stencil Errors.swift
[101/116] Compiling Stencil Expression.swift
[102/116] Compiling Stencil Extension.swift
[103/116] Compiling Stencil FilterTag.swift
[104/116] Compiling Stencil Filters.swift
[105/116] Compiling Stencil ForTag.swift
[106/116] Compiling Stencil TrimBehaviour.swift
[107/116] Compiling Stencil Variable.swift
[108/116] Compiling SLSAdapter Function.swift
[109/116] Compiling SLSAdapter Package.swift
[110/116] Compiling SLSAdapter Function+Extensions.swift
[111/116] Emitting module SLSAdapter
[112/116] Compiling SLSAdapter CodableDefault.swift
[113/116] Compiling SLSAdapter Provider.swift
[114/128] Emitting module BreezeCommand
/Users/admin/builder/spi-builder-workspace/Sources/BreezeCommand/BreezeCommand.swift:35:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | static let configuration: CommandConfiguration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
36 | commandName: "breeze",
37 | abstract: "Breeze command line",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/BreezeCommand/BreezeCommand.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
13 | // limitations under the License.
14 |
15 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
16 | import Foundation
17 |
:
33 | }
34 |
35 | static let configuration: CommandConfiguration = CommandConfiguration(
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | commandName: "breeze",
37 | abstract: "Breeze command line",
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | func writeSLS(targetPath: String, ymlFileName: String) throws {
/Users/admin/builder/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)
/Users/admin/builder/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 | ///
/Users/admin/builder/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: annotate 'decoder' with '@MainActor' if property should only be accessed from the main actor
| `- 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)
[115/129] Compiling BreezeCommand Stencil+Extensions.swift
[116/129] Compiling BreezeCommand ServerlessConfig+DynamoDBLambdaAPI.swift
[117/129] Compiling BreezeCommand GenerateLambdaAPI.swift
[118/129] Compiling BreezeCommand HttpAPILambdaParams.swift
[119/129] Compiling BreezeCommand BreezeConfig+ServerlessConfig.swift
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | func writeSLS(targetPath: String, ymlFileName: String) throws {
/Users/admin/builder/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)
/Users/admin/builder/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 | ///
/Users/admin/builder/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: annotate 'decoder' with '@MainActor' if property should only be accessed from the main actor
| `- 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)
[120/129] Compiling BreezeCommand BreezeConfig.swift
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | func writeSLS(targetPath: String, ymlFileName: String) throws {
/Users/admin/builder/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)
/Users/admin/builder/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 | ///
/Users/admin/builder/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: annotate 'decoder' with '@MainActor' if property should only be accessed from the main actor
| `- 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)
[121/129] Compiling BreezeCommand BreezeCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/BreezeCommand/BreezeCommand.swift:35:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | static let configuration: CommandConfiguration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
36 | commandName: "breeze",
37 | abstract: "Breeze command line",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/BreezeCommand/BreezeCommand.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
13 | // limitations under the License.
14 |
15 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
16 | import Foundation
17 |
:
33 | }
34 |
35 | static let configuration: CommandConfiguration = CommandConfiguration(
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | commandName: "breeze",
37 | abstract: "Breeze command line",
[122/129] Compiling BreezeCommand BreezeCommandError.swift
/Users/admin/builder/spi-builder-workspace/Sources/BreezeCommand/BreezeCommand.swift:35:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | static let configuration: CommandConfiguration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
36 | commandName: "breeze",
37 | abstract: "Breeze command line",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/BreezeCommand/BreezeCommand.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
13 | // limitations under the License.
14 |
15 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
16 | import Foundation
17 |
:
33 | }
34 |
35 | static let configuration: CommandConfiguration = CommandConfiguration(
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | commandName: "breeze",
37 | abstract: "Breeze command line",
[123/129] Compiling BreezeCommand GenerateGithubWebhook.swift
[124/129] Compiling BreezeCommand Foundation+Extensions.swift
[125/129] Compiling BreezeCommand GenerateWebhook.swift
[126/129] Compiling BreezeCommand resource_bundle_accessor.swift
[126/129] Write Objects.LinkFileList
[127/129] Linking breeze
[128/129] Applying breeze
Build complete! (22.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" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/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"
}
Done.