Build Information
Successful build of soto-codegenerator, reference 7.8.0 (b9edba
), with Swift 6.1 for Linux on 23 Jun 2025 12:00:20 UTC.
Swift 6 data race errors: 22
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soto-project/soto-codegenerator.git
Reference: 7.8.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/soto-project/soto-codegenerator
* tag 7.8.0 -> FETCH_HEAD
HEAD is now at b9edba3 Also search for files in directory structure of api-models-aws repository
Cloned https://github.com/soto-project/soto-codegenerator.git
Revision (git rev-parse @):
b9edba3b4991481beb0e057e85488a14c46e7844
SUCCESS checkout https://github.com/soto-project/soto-codegenerator.git at 7.8.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/soto-project/soto-codegenerator.git
https://github.com/soto-project/soto-codegenerator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "soto-smithy",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/soto-project/soto-smithy.git"
},
{
"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" : "swift-mustache",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/swift-mustache.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "soto-codegenerator",
"name" : "soto-codegenerator",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SotoCodeGenerator",
"targets" : [
"SotoCodeGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "SotoCodeGeneratorPlugin",
"targets" : [
"SotoCodeGeneratorPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "SotoCodeGeneratorTests",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGeneratorTests",
"path" : "Tests/SotoCodeGeneratorTests",
"sources" : [
"StringTests.swift",
"TypeNameTests.swift"
],
"target_dependencies" : [
"SotoCodeGeneratorLib"
],
"type" : "test"
},
{
"c99name" : "SotoCodeGeneratorPlugin",
"module_type" : "PluginTarget",
"name" : "SotoCodeGeneratorPlugin",
"path" : "Plugins/SotoCodeGeneratorPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"SotoCodeGeneratorPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"SotoCodeGenerator"
],
"type" : "plugin"
},
{
"c99name" : "SotoCodeGeneratorLib",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGeneratorLib",
"path" : "Sources/SotoCodeGeneratorLib",
"product_dependencies" : [
"SotoSmithy",
"SotoSmithyAWS",
"Mustache",
"Logging"
],
"product_memberships" : [
"SotoCodeGenerator",
"SotoCodeGeneratorPlugin"
],
"sources" : [
"AwsService+paginators.swift",
"AwsService+shapes.swift",
"AwsService+waiters.swift",
"AwsService.swift",
"ConfigFile.swift",
"Endpoints.swift",
"Glob.swift",
"Model+Patch.swift",
"Patch.swift",
"Smithy+CodeGeneration.swift",
"SotoCodeGen.swift",
"SotoTraits.swift",
"String.swift",
"Templates/Templates.swift",
"Templates/api.swift",
"Templates/comment.swift",
"Templates/enum.swift",
"Templates/enumWithValues.swift",
"Templates/error.swift",
"Templates/header.swift",
"Templates/paginators.swift",
"Templates/shapes.swift",
"Templates/struct.swift",
"Templates/waiters.swift"
],
"type" : "library"
},
{
"c99name" : "SotoCodeGenerator",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGenerator",
"path" : "Sources/SotoCodeGenerator",
"product_dependencies" : [
"ArgumentParser",
"Logging"
],
"product_memberships" : [
"SotoCodeGenerator",
"SotoCodeGeneratorPlugin"
],
"sources" : [
"SotoCodeGenerator.swift"
],
"target_dependencies" : [
"SotoCodeGeneratorLib"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/soto-project/soto-smithy.git
[1/1837] Fetching soto-smithy
[957/5673] Fetching soto-smithy, swift-log
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.55s)
Fetching https://github.com/hummingbird-project/swift-mustache.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/apple/swift-log.git from cache (0.75s)
[1/1820] Fetching swift-mustache
[1821/17200] Fetching swift-mustache, swift-argument-parser
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (1.44s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.45s)
Computing version for https://github.com/hummingbird-project/swift-mustache.git
Computed https://github.com/hummingbird-project/swift-mustache.git at 2.0.0 (6.09s)
Computing version for https://github.com/soto-project/soto-smithy.git
Computed https://github.com/soto-project/soto-smithy.git at 0.4.7 (1.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.92s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.93s)
Creating working copy for https://github.com/hummingbird-project/swift-mustache.git
Working copy of https://github.com/hummingbird-project/swift-mustache.git resolved at 2.0.0
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.1
Creating working copy for https://github.com/soto-project/soto-smithy.git
Working copy of https://github.com/soto-project/soto-smithy.git resolved at 0.4.7
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
[1/1] Compiling plugin SotoCodeGeneratorPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/39] Write sources
[18/39] Write swift-version-24593BA9C3E375BF.txt
[20/161] Emitting module ArgumentParserToolInfo
[21/161] Emitting module Logging
[22/161] Emitting module Mustache
[24/165] Compiling SotoSmithy ShapeId.swift
[25/165] Compiling SotoSmithy Smithy.swift
[26/165] Compiling Mustache Template.swift
[27/165] Compiling Mustache Transform.swift
[28/165] Compiling SotoSmithy Tokenizer.swift
[29/165] Compiling SotoSmithy BasicSelectors.swift
[30/165] Emitting module ArgumentParserToolInfo
[31/165] Compiling ArgumentParserToolInfo ToolInfo.swift
[32/166] Compiling SotoSmithy HttpProtocolComplianceTraits.swift
[33/166] Compiling SotoSmithy MqttProtocolBindingTraits.swift
[34/166] Compiling SotoSmithy ProtocolTraits.swift
[35/166] Compiling SotoSmithy ResourceTraits.swift
[36/166] Compiling SotoSmithy RulesTraits.swift
[41/171] Compiling SotoSmithy Shape.swift
[42/171] Compiling SotoSmithy SimpleShapes.swift
[43/171] Compiling SotoSmithy CustomTrait.swift
[44/176] Compiling ArgumentParserToolInfo ToolInfo.swift
[47/177] Emitting module SotoSmithy
[47/177] Wrapping AST for ArgumentParserToolInfo for debugging
[49/253] Compiling ArgumentParser EnumerableFlag.swift
[50/253] Compiling ArgumentParser Name.swift
[51/253] Compiling ArgumentParser Parsed.swift
[52/253] Compiling ArgumentParser ParsedValues.swift
[53/253] Compiling ArgumentParser ParserError.swift
[54/253] Compiling ArgumentParser SplitArguments.swift
[55/253] Compiling ArgumentParser DumpHelpGenerator.swift
[56/253] Compiling ArgumentParser HelpCommand.swift
[57/253] Compiling ArgumentParser HelpGenerator.swift
[58/253] Compiling ArgumentParser MessageInfo.swift
[59/253] Compiling Logging MetadataProvider.swift
[61/253] Compiling ArgumentParser ArgumentDecoder.swift
[62/253] Compiling ArgumentParser OptionGroup.swift
[63/253] Compiling ArgumentParser AsyncParsableCommand.swift
[64/253] Compiling ArgumentParser CommandConfiguration.swift
[65/253] Compiling ArgumentParser CommandGroup.swift
[66/253] Compiling ArgumentParser ArgumentHelp.swift
[67/253] Compiling ArgumentParser ArgumentDefinition.swift
[68/253] Compiling ArgumentParser ArgumentSet.swift
[69/253] Compiling ArgumentParser CommandParser.swift
[70/253] Compiling ArgumentParser InputKey.swift
[71/253] Emitting module Logging
[72/253] Emitting module ArgumentParser
[73/258] Compiling Logging LogHandler.swift
[74/258] Compiling Logging Logging.swift
[75/258] Compiling Logging Locks.swift
[78/259] Compiling Logging LogHandler.swift
[79/259] Compiling Logging Logging.swift
[81/260] Compiling ArgumentParser BashCompletionsGenerator.swift
[82/260] Compiling ArgumentParser CompletionsGenerator.swift
[83/260] Compiling ArgumentParser Argument.swift
[89/260] Compiling ArgumentParser ArgumentVisibility.swift
[90/260] Compiling ArgumentParser CompletionKind.swift
[96/260] Compiling ArgumentParser InputOrigin.swift
[97/260] Compiling ArgumentParser ExpressibleByArgument.swift
[98/260] Compiling ArgumentParser ParsableArguments.swift
[99/260] Compiling ArgumentParser ParsableArgumentsValidation.swift
[100/260] Compiling ArgumentParser ParsableCommand.swift
[111/260] Compiling ArgumentParser UsageGenerator.swift
[112/260] Compiling ArgumentParser CollectionExtensions.swift
[113/260] Compiling ArgumentParser Platform.swift
[114/260] Compiling ArgumentParser SequenceExtensions.swift
[115/260] Compiling ArgumentParser StringExtensions.swift
[117/260] Compiling ArgumentParser FishCompletionsGenerator.swift
[118/260] Compiling ArgumentParser ZshCompletionsGenerator.swift
[118/260] Wrapping AST for Logging for debugging
[119/260] Wrapping AST for ArgumentParserToolInfo for debugging
[121/260] Compiling ArgumentParser NameSpecification.swift
[122/260] Compiling ArgumentParser Option.swift
[126/261] Compiling ArgumentParser Errors.swift
[126/261] Wrapping AST for Logging for debugging
[128/261] Compiling ArgumentParser Flag.swift
[144/262] Emitting module SotoSmithy
[150/263] Wrapping AST for Mustache for debugging
[163/263] Wrapping AST for SotoSmithy for debugging
[164/263] Wrapping AST for Mustache for debugging
[172/272] Emitting module ArgumentParser
[172/277] Wrapping AST for SotoSmithy for debugging
[174/285] Compiling ArgumentParser CollectionExtensions.swift
[175/285] Compiling ArgumentParser Platform.swift
[176/285] Compiling ArgumentParser SequenceExtensions.swift
[177/285] Compiling ArgumentParser StringExtensions.swift
[178/285] Compiling ArgumentParser Tree.swift
[179/285] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[180/286] Emitting module SotoSmithyAWS
[181/287] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[182/287] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[183/287] Compiling SotoSmithyAWS AwsS3Traits.swift
[184/287] Compiling SotoSmithyAWS AwsIAMTraits.swift
[185/287] Compiling SotoSmithyAWS AwsS3Traits.swift
[186/287] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[209/287] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[210/287] Compiling SotoSmithyAWS AwsCoreTraits.swift
[211/287] Compiling SotoSmithyAWS Smithy.swift
[212/287] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[214/287] Compiling SotoSmithyAWS Smithy.swift
[215/287] Emitting module SotoSmithyAWS
[216/288] Compiling SotoSmithyAWS AwsIAMTraits.swift
[238/289] Compiling SotoSmithyAWS AwsCoreTraits.swift
[239/289] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[240/290] Wrapping AST for SotoSmithyAWS for debugging
[242/312] Wrapping AST for ArgumentParser for debugging
[253/312] Wrapping AST for SotoSmithyAWS for debugging
[255/334] Compiling SotoCodeGeneratorLib error.swift
[256/334] Compiling SotoCodeGeneratorLib header.swift
[257/334] Compiling SotoCodeGeneratorLib paginators.swift
[258/337] Compiling SotoCodeGeneratorLib api.swift
[259/337] Compiling SotoCodeGeneratorLib comment.swift
[260/337] Compiling SotoCodeGeneratorLib enum.swift
[261/337] Compiling SotoCodeGeneratorLib enumWithValues.swift
[262/337] Compiling SotoCodeGeneratorLib shapes.swift
[266/337] Compiling SotoCodeGeneratorLib Glob.swift
[267/337] Compiling SotoCodeGeneratorLib Model+Patch.swift
[268/337] Compiling SotoCodeGeneratorLib Patch.swift
[269/337] Compiling SotoCodeGeneratorLib Smithy+CodeGeneration.swift
[270/337] Compiling SotoCodeGeneratorLib SotoCodeGen.swift
[271/337] Compiling SotoCodeGeneratorLib SotoTraits.swift
[275/337] Compiling SotoCodeGeneratorLib String.swift
[276/337] Compiling SotoCodeGeneratorLib Templates.swift
[277/337] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[278/337] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[279/337] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[280/337] Compiling SotoCodeGeneratorLib AwsService.swift
[281/337] Compiling SotoCodeGeneratorLib ConfigFile.swift
[282/337] Compiling SotoCodeGeneratorLib Endpoints.swift
[283/337] Compiling SotoCodeGeneratorLib struct.swift
[284/337] Compiling SotoCodeGeneratorLib waiters.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Templates/Templates.swift:18:16: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Templates {
18 | static var values: [String: String] = [
| |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'values' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Templates/Templates.swift:18:16: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Templates {
18 | static var values: [String: String] = [
| |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'values' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Templates/Templates.swift:18:16: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Templates {
18 | static var values: [String: String] = [
| |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'values' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
[301/341] Emitting module SotoCodeGeneratorLib
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Templates/Templates.swift:18:16: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Templates {
18 | static var values: [String: String] = [
| |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'values' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
[301/341] Wrapping AST for ArgumentParser for debugging
[303/341] Compiling SotoCodeGeneratorLib shapes.swift
[304/341] Compiling SotoCodeGeneratorLib struct.swift
[305/341] Compiling SotoCodeGeneratorLib waiters.swift
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Templates/Templates.swift:18:16: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Templates {
18 | static var values: [String: String] = [
| |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'values' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Templates/Templates.swift:18:16: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Templates {
18 | static var values: [String: String] = [
| |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'values' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Templates/Templates.swift:18:16: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Templates {
18 | static var values: [String: String] = [
| |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'values' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoCodeGen.swift:75:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 | try await withThrowingTaskGroup(of: Void.self) { group in
74 | for file in modelFiles {
75 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | do {
77 | let model: SotoSmithy.Model
78 | if self.command.smithy {
| `- note: closure captures 'self' which is accessible to code in the current task
79 | model = try self.loadSmithy(filename: file)
80 | } else {
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoCodeGen.swift:75:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 | try await withThrowingTaskGroup(of: Void.self) { group in
74 | for file in modelFiles {
75 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | do {
77 | let model: SotoSmithy.Model
78 | if self.command.smithy {
| `- note: closure captures 'self' which is accessible to code in the current task
79 | model = try self.loadSmithy(filename: file)
80 | } else {
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoCodeGen.swift:75:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 | try await withThrowingTaskGroup(of: Void.self) { group in
74 | for file in modelFiles {
75 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | do {
77 | let model: SotoSmithy.Model
78 | if self.command.smithy {
| `- note: closure captures 'self' which is accessible to code in the current task
79 | model = try self.loadSmithy(filename: file)
80 | } else {
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoCodeGen.swift:75:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 | try await withThrowingTaskGroup(of: Void.self) { group in
74 | for file in modelFiles {
75 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | do {
77 | let model: SotoSmithy.Model
78 | if self.command.smithy {
| `- note: closure captures 'self' which is accessible to code in the current task
79 | model = try self.loadSmithy(filename: file)
80 | } else {
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoCodeGen.swift:75:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 | try await withThrowingTaskGroup(of: Void.self) { group in
74 | for file in modelFiles {
75 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | do {
77 | let model: SotoSmithy.Model
78 | if self.command.smithy {
| `- note: closure captures 'self' which is accessible to code in the current task
79 | model = try self.loadSmithy(filename: file)
80 | } else {
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoCodeGen.swift:75:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 | try await withThrowingTaskGroup(of: Void.self) { group in
74 | for file in modelFiles {
75 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | do {
77 | let model: SotoSmithy.Model
78 | if self.command.smithy {
| `- note: closure captures 'self' which is accessible to code in the current task
79 | model = try self.loadSmithy(filename: file)
80 | } else {
[324/341] Emitting module SotoCodeGeneratorLib
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Templates/Templates.swift:18:16: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Templates {
18 | static var values: [String: String] = [
| |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'values' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
[334/343] Wrapping AST for SotoCodeGeneratorLib for debugging
[338/347] Emitting module SotoCodeGenerator
[339/347] Compiling SotoCodeGenerator SotoCodeGenerator.swift
[341/348] Emitting module SotoCodeGenerator
[343/349] Wrapping AST for SotoCodeGenerator for debugging
[344/349] Write Objects.LinkFileList
[345/349] Wrapping AST for SotoCodeGenerator for debugging
[346/349] Write Objects.LinkFileList
[347/349] Linking SotoCodeGenerator-tool
[348/349] Linking SotoCodeGenerator
Build complete! (78.15s)
Build complete.
{
"dependencies" : [
{
"identity" : "soto-smithy",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/soto-project/soto-smithy.git"
},
{
"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" : "swift-mustache",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/swift-mustache.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "soto-codegenerator",
"name" : "soto-codegenerator",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SotoCodeGenerator",
"targets" : [
"SotoCodeGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "SotoCodeGeneratorPlugin",
"targets" : [
"SotoCodeGeneratorPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "SotoCodeGeneratorTests",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGeneratorTests",
"path" : "Tests/SotoCodeGeneratorTests",
"sources" : [
"StringTests.swift",
"TypeNameTests.swift"
],
"target_dependencies" : [
"SotoCodeGeneratorLib"
],
"type" : "test"
},
{
"c99name" : "SotoCodeGeneratorPlugin",
"module_type" : "PluginTarget",
"name" : "SotoCodeGeneratorPlugin",
"path" : "Plugins/SotoCodeGeneratorPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"SotoCodeGeneratorPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"SotoCodeGenerator"
],
"type" : "plugin"
},
{
"c99name" : "SotoCodeGeneratorLib",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGeneratorLib",
"path" : "Sources/SotoCodeGeneratorLib",
"product_dependencies" : [
"SotoSmithy",
"SotoSmithyAWS",
"Mustache",
"Logging"
],
"product_memberships" : [
"SotoCodeGenerator",
"SotoCodeGeneratorPlugin"
],
"sources" : [
"AwsService+paginators.swift",
"AwsService+shapes.swift",
"AwsService+waiters.swift",
"AwsService.swift",
"ConfigFile.swift",
"Endpoints.swift",
"Glob.swift",
"Model+Patch.swift",
"Patch.swift",
"Smithy+CodeGeneration.swift",
"SotoCodeGen.swift",
"SotoTraits.swift",
"String.swift",
"Templates/Templates.swift",
"Templates/api.swift",
"Templates/comment.swift",
"Templates/enum.swift",
"Templates/enumWithValues.swift",
"Templates/error.swift",
"Templates/header.swift",
"Templates/paginators.swift",
"Templates/shapes.swift",
"Templates/struct.swift",
"Templates/waiters.swift"
],
"type" : "library"
},
{
"c99name" : "SotoCodeGenerator",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGenerator",
"path" : "Sources/SotoCodeGenerator",
"product_dependencies" : [
"ArgumentParser",
"Logging"
],
"product_memberships" : [
"SotoCodeGenerator",
"SotoCodeGeneratorPlugin"
],
"sources" : [
"SotoCodeGenerator.swift"
],
"target_dependencies" : [
"SotoCodeGeneratorLib"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.