Build Information
Successful build of soto-codegenerator, reference main (b9edba
), with Swift 6.1 for Linux on 23 Jun 2025 12:45:44 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: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/soto-project/soto-codegenerator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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/soto-project/soto-smithy.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1837] Fetching soto-smithy
[112/5673] Fetching soto-smithy, swift-log
Fetching https://github.com/hummingbird-project/swift-mustache.git
[5674/21053] Fetching soto-smithy, swift-log, swift-argument-parser
[5828/22873] Fetching soto-smithy, swift-log, swift-argument-parser, swift-mustache
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.51s)
[11210/21053] Fetching soto-smithy, swift-log, swift-argument-parser
Fetched https://github.com/soto-project/soto-smithy.git from cache (1.70s)
Fetched https://github.com/apple/swift-log.git from cache (1.70s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.71s)
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.33s)
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.00s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.00s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.16s)
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/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/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 Logging
[21/161] Emitting module ArgumentParserToolInfo
[22/161] Compiling ArgumentParserToolInfo ToolInfo.swift
[23/161] Compiling SotoSmithy HttpProtocolComplianceTraits.swift
[24/161] Compiling SotoSmithy MqttProtocolBindingTraits.swift
[25/161] Compiling SotoSmithy ProtocolTraits.swift
[26/161] Compiling SotoSmithy ResourceTraits.swift
[27/161] Compiling SotoSmithy RulesTraits.swift
[28/167] Emitting module SotoSmithy
[29/167] Emitting module ArgumentParserToolInfo
[30/167] Compiling ArgumentParserToolInfo ToolInfo.swift
[37/211] Wrapping AST for ArgumentParserToolInfo for debugging
[39/211] Compiling ArgumentParser NameSpecification.swift
[40/211] Compiling ArgumentParser Option.swift
[41/211] Compiling ArgumentParser ArgumentDefinition.swift
[42/211] Compiling ArgumentParser ArgumentSet.swift
[43/211] Compiling ArgumentParser CommandParser.swift
[44/211] Compiling ArgumentParser BashCompletionsGenerator.swift
[45/211] Compiling ArgumentParser CompletionsGenerator.swift
[46/211] Compiling ArgumentParser FishCompletionsGenerator.swift
[47/211] Compiling ArgumentParser ZshCompletionsGenerator.swift
[48/211] Compiling ArgumentParser Argument.swift
[49/211] Compiling ArgumentParser ArgumentHelp.swift
[50/211] Compiling ArgumentParser ArgumentVisibility.swift
[51/211] Compiling ArgumentParser CompletionKind.swift
[52/211] Compiling ArgumentParser Errors.swift
[53/211] Compiling ArgumentParser Flag.swift
[54/249] Compiling ArgumentParser ArgumentDecoder.swift
[55/249] Compiling ArgumentParser Name.swift
[56/249] Compiling ArgumentParser Parsed.swift
[57/249] Compiling ArgumentParser ParsedValues.swift
[58/249] Compiling ArgumentParser ParserError.swift
[59/249] Compiling ArgumentParser InputOrigin.swift
[60/249] Compiling ArgumentParser DumpHelpGenerator.swift
[61/249] Compiling ArgumentParser HelpCommand.swift
[62/249] Compiling ArgumentParser HelpGenerator.swift
[63/249] Compiling ArgumentParser MessageInfo.swift
[69/249] Compiling ArgumentParser EnumerableFlag.swift
[70/249] Compiling ArgumentParser ExpressibleByArgument.swift
[71/249] Compiling ArgumentParser ParsableArguments.swift
[72/249] Compiling ArgumentParser ParsableArgumentsValidation.swift
[73/249] Compiling ArgumentParser ParsableCommand.swift
[74/249] Compiling ArgumentParser Option.swift
[75/249] Compiling ArgumentParser OptionGroup.swift
[76/249] Compiling ArgumentParser AsyncParsableCommand.swift
[77/249] Compiling ArgumentParser CommandConfiguration.swift
[78/249] Compiling ArgumentParser CommandGroup.swift
[79/249] Emitting module ArgumentParser
[80/254] Compiling Logging MetadataProvider.swift
[82/254] Emitting module Logging
[83/254] Compiling Logging LogHandler.swift
[84/254] Compiling Logging Locks.swift
[85/254] Compiling Logging Logging.swift
[86/255] Compiling Logging Locks.swift
[87/255] Compiling Logging Logging.swift
[88/255] Compiling Logging LogHandler.swift
[89/256] Compiling ArgumentParser UsageGenerator.swift
[90/256] Compiling ArgumentParser CollectionExtensions.swift
[91/256] Compiling ArgumentParser Platform.swift
[92/256] Compiling ArgumentParser SequenceExtensions.swift
[93/256] Compiling ArgumentParser StringExtensions.swift
[95/256] Compiling ArgumentParser FishCompletionsGenerator.swift
[96/256] Compiling ArgumentParser ZshCompletionsGenerator.swift
[97/256] Compiling ArgumentParser BashCompletionsGenerator.swift
[98/256] Compiling ArgumentParser CompletionsGenerator.swift
[100/258] Compiling ArgumentParser Argument.swift
[101/258] Compiling ArgumentParser ArgumentHelp.swift
[105/258] Emitting module Mustache
[106/260] Compiling ArgumentParser Flag.swift
[107/260] Compiling ArgumentParser NameSpecification.swift
[109/260] Emitting module Mustache
[110/260] Compiling ArgumentParser ArgumentVisibility.swift
[111/260] Compiling ArgumentParser CompletionKind.swift
[112/260] Compiling ArgumentParser Errors.swift
[148/260] Emitting module SotoSmithy
[149/261] Emitting module ArgumentParser
[153/266] Wrapping AST for Logging for debugging
[154/266] Wrapping AST for ArgumentParserToolInfo for debugging
[157/266] Compiling ArgumentParser CollectionExtensions.swift
[158/266] Compiling ArgumentParser Platform.swift
[159/266] Compiling ArgumentParser SequenceExtensions.swift
[160/266] Compiling ArgumentParser StringExtensions.swift
[162/267] Wrapping AST for Logging for debugging
[164/267] Compiling Mustache Template.swift
[165/267] Compiling Mustache Transform.swift
[165/268] Wrapping AST for SotoSmithy for debugging
[170/285] Wrapping AST for Mustache for debugging
[173/285] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[174/286] Compiling SotoSmithyAWS Smithy.swift
[175/287] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[180/287] Compiling ArgumentParser Tree.swift
[180/287] Wrapping AST for Mustache for debugging
[187/287] Compiling SotoSmithyAWS AwsS3Traits.swift
[194/287] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[195/287] Compiling SotoSmithyAWS AwsS3Traits.swift
[196/287] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[197/287] Compiling ArgumentParser ArgumentDefinition.swift
[198/287] Compiling ArgumentParser ArgumentSet.swift
[199/287] Compiling ArgumentParser CommandParser.swift
[200/287] Compiling ArgumentParser InputKey.swift
[218/287] Compiling SotoSmithyAWS AwsIAMTraits.swift
[219/287] Compiling SotoSmithyAWS Smithy.swift
[220/287] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[221/287] Emitting module SotoSmithyAWS
[226/287] Compiling ArgumentParser SplitArguments.swift
[254/288] Emitting module SotoSmithyAWS
[256/288] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[257/288] Compiling SotoSmithyAWS AwsIAMTraits.swift
[257/288] Wrapping AST for ArgumentParser for debugging
[259/288] Compiling SotoSmithyAWS AwsCoreTraits.swift
[260/288] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[261/289] Compiling SotoSmithyAWS AwsCoreTraits.swift
[262/289] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[280/291] Wrapping AST for SotoSmithyAWS for debugging
[282/313] Wrapping AST for ArgumentParser for debugging
[284/335] Compiling SotoCodeGeneratorLib String.swift
[285/335] Compiling SotoCodeGeneratorLib Templates.swift
[286/335] Compiling SotoCodeGeneratorLib api.swift
[287/338] Compiling SotoCodeGeneratorLib error.swift
[288/338] Compiling SotoCodeGeneratorLib header.swift
[289/338] Compiling SotoCodeGeneratorLib paginators.swift
[293/341] Compiling SotoCodeGeneratorLib comment.swift
[294/341] Compiling SotoCodeGeneratorLib enum.swift
[295/341] Compiling SotoCodeGeneratorLib enumWithValues.swift
[296/341] Compiling SotoCodeGeneratorLib shapes.swift
[297/341] Compiling SotoCodeGeneratorLib struct.swift
[298/341] 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,
/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,
[308/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,
[309/341] Compiling SotoCodeGeneratorLib AwsService.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
[310/341] Compiling SotoCodeGeneratorLib ConfigFile.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
[311/341] Compiling SotoCodeGeneratorLib Endpoints.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
[312/341] Compiling SotoCodeGeneratorLib Smithy+CodeGeneration.swift
/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 {
[313/341] Compiling SotoCodeGeneratorLib SotoCodeGen.swift
/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 {
[314/341] Compiling SotoCodeGeneratorLib SotoTraits.swift
/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 {
[315/341] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[316/341] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[317/341] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[318/341] Compiling SotoCodeGeneratorLib Glob.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
[319/341] Compiling SotoCodeGeneratorLib Model+Patch.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
[320/341] Compiling SotoCodeGeneratorLib Patch.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/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,
[335/343] Wrapping AST for SotoCodeGeneratorLib for debugging
[338/347] Emitting module SotoCodeGenerator
[339/347] Compiling SotoCodeGenerator SotoCodeGenerator.swift
[342/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! (58.54s)
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.