Build Information
Successful build of soto-codegenerator, reference 7.7.0 (8a5986
), with Swift 6.1 for Linux on 1 May 2025 09:57:47 UTC.
Swift 6 data race errors: 22
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soto-project/soto-codegenerator.git
Reference: 7.7.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/soto-project/soto-codegenerator
* tag 7.7.0 -> FETCH_HEAD
HEAD is now at 8a5986c Generate error map for error types with extended information (#92)
Cloned https://github.com/soto-project/soto-codegenerator.git
Revision (git rev-parse @):
8a5986ca766f9b5fb674eb6670f5dd19131c1e9b
SUCCESS checkout https://github.com/soto-project/soto-codegenerator.git at 7.7.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/soto-project/soto-codegenerator.git
https://github.com/soto-project/soto-codegenerator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "soto-smithy",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/soto-project/soto-smithy.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-mustache",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/swift-mustache.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "soto-codegenerator",
"name" : "soto-codegenerator",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SotoCodeGenerator",
"targets" : [
"SotoCodeGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "SotoCodeGeneratorPlugin",
"targets" : [
"SotoCodeGeneratorPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "SotoCodeGeneratorTests",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGeneratorTests",
"path" : "Tests/SotoCodeGeneratorTests",
"sources" : [
"StringTests.swift",
"TypeNameTests.swift"
],
"target_dependencies" : [
"SotoCodeGeneratorLib"
],
"type" : "test"
},
{
"c99name" : "SotoCodeGeneratorPlugin",
"module_type" : "PluginTarget",
"name" : "SotoCodeGeneratorPlugin",
"path" : "Plugins/SotoCodeGeneratorPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"SotoCodeGeneratorPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"SotoCodeGenerator"
],
"type" : "plugin"
},
{
"c99name" : "SotoCodeGeneratorLib",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGeneratorLib",
"path" : "Sources/SotoCodeGeneratorLib",
"product_dependencies" : [
"SotoSmithy",
"SotoSmithyAWS",
"Mustache",
"Logging"
],
"product_memberships" : [
"SotoCodeGenerator",
"SotoCodeGeneratorPlugin"
],
"sources" : [
"AwsService+paginators.swift",
"AwsService+shapes.swift",
"AwsService+waiters.swift",
"AwsService.swift",
"ConfigFile.swift",
"Endpoints.swift",
"Glob.swift",
"Model+Patch.swift",
"Patch.swift",
"Smithy+CodeGeneration.swift",
"SotoCodeGen.swift",
"SotoTraits.swift",
"String.swift",
"Templates/Templates.swift",
"Templates/api.swift",
"Templates/comment.swift",
"Templates/enum.swift",
"Templates/enumWithValues.swift",
"Templates/error.swift",
"Templates/header.swift",
"Templates/paginators.swift",
"Templates/shapes.swift",
"Templates/struct.swift",
"Templates/waiters.swift"
],
"type" : "library"
},
{
"c99name" : "SotoCodeGenerator",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGenerator",
"path" : "Sources/SotoCodeGenerator",
"product_dependencies" : [
"ArgumentParser",
"Logging"
],
"product_memberships" : [
"SotoCodeGenerator",
"SotoCodeGeneratorPlugin"
],
"sources" : [
"SotoCodeGenerator.swift"
],
"target_dependencies" : [
"SotoCodeGeneratorLib"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/soto-project/soto-smithy.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/hummingbird-project/swift-mustache.git
Fetching https://github.com/apple/swift-log.git
[1/1837] Fetching soto-smithy
[1838/3651] Fetching soto-smithy, swift-mustache
[3652/7487] Fetching soto-smithy, swift-mustache, swift-log
[7488/22437] Fetching soto-smithy, swift-mustache, swift-log, swift-argument-parser
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.85s)
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.85s)
Fetched https://github.com/apple/swift-log.git from cache (0.86s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.86s)
Computing version for https://github.com/hummingbird-project/swift-mustache.git
Computed https://github.com/hummingbird-project/swift-mustache.git at 2.0.0 (3.17s)
Computing version for https://github.com/soto-project/soto-smithy.git
Computed https://github.com/soto-project/soto-smithy.git at 0.4.7 (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.57s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/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
[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 Mustache
[22/165] Compiling Mustache Sequence.swift
[23/165] Compiling Mustache SequenceContext.swift
[24/165] Compiling Mustache Template.swift
[25/165] Compiling Mustache Transform.swift
[28/165] Emitting module ArgumentParserToolInfo
[29/165] Compiling ArgumentParserToolInfo ToolInfo.swift
[31/166] Emitting module ArgumentParserToolInfo
[32/167] Compiling SotoSmithy HttpProtocolComplianceTraits.swift
[33/167] Compiling SotoSmithy MqttProtocolBindingTraits.swift
[34/167] Compiling SotoSmithy ProtocolTraits.swift
[35/167] Compiling SotoSmithy ResourceTraits.swift
[36/167] Compiling SotoSmithy RulesTraits.swift
[39/172] Emitting module SotoSmithy
[40/172] Compiling SotoSmithy BehaviourTraits.swift
[41/172] Compiling SotoSmithy ConstraintTraits.swift
[42/172] Compiling SotoSmithy DocumentationTraits.swift
[43/172] Compiling SotoSmithy EndpointTraits.swift
[44/172] Compiling SotoSmithy HttpProtocolBindingTraits.swift
[44/177] Wrapping AST for ArgumentParserToolInfo for debugging
[46/253] Compiling ArgumentParser Option.swift
[47/253] Compiling ArgumentParser ExpressibleByArgument.swift
[48/253] Compiling ArgumentParser ParsableArguments.swift
[49/253] Compiling ArgumentParser ParsableArgumentsValidation.swift
[50/253] Compiling ArgumentParser ParsableCommand.swift
[51/253] Compiling ArgumentParser ArgumentVisibility.swift
[52/253] Compiling ArgumentParser CompletionKind.swift
[53/253] Compiling ArgumentParser Errors.swift
[54/253] Compiling ArgumentParser Flag.swift
[55/253] Compiling ArgumentParser NameSpecification.swift
[56/253] Compiling ArgumentParser OptionGroup.swift
[57/253] Compiling ArgumentParser AsyncParsableCommand.swift
[58/253] Compiling ArgumentParser CommandConfiguration.swift
[59/253] Compiling ArgumentParser CommandGroup.swift
[60/253] Compiling ArgumentParser EnumerableFlag.swift
[61/253] Compiling Logging MetadataProvider.swift
[63/253] Compiling Logging Locks.swift
[64/253] Emitting module Logging
[66/253] Compiling Logging Locks.swift
[67/253] Compiling Logging LogHandler.swift
[68/253] Compiling Logging Logging.swift
[69/254] Compiling Logging LogHandler.swift
[70/254] Compiling Logging Logging.swift
[71/255] Compiling ArgumentParser InputOrigin.swift
[72/255] Compiling ArgumentParser Name.swift
[73/255] Compiling ArgumentParser Parsed.swift
[74/255] Compiling ArgumentParser ParsedValues.swift
[75/255] Compiling ArgumentParser ParserError.swift
[76/255] Compiling ArgumentParser ArgumentHelp.swift
[82/255] Compiling ArgumentParser ArgumentDecoder.swift
[83/255] Compiling ArgumentParser ArgumentDefinition.swift
[84/255] Compiling ArgumentParser ArgumentSet.swift
[85/255] Compiling ArgumentParser CommandParser.swift
[86/255] Compiling ArgumentParser InputKey.swift
[87/255] Compiling ArgumentParser SplitArguments.swift
[88/255] Compiling ArgumentParser DumpHelpGenerator.swift
[89/255] Compiling ArgumentParser HelpCommand.swift
[90/255] Compiling ArgumentParser HelpGenerator.swift
[91/255] Compiling ArgumentParser MessageInfo.swift
[93/255] Compiling ArgumentParser CompletionsGenerator.swift
[94/255] Compiling ArgumentParser FishCompletionsGenerator.swift
[106/255] Compiling ArgumentParser BashCompletionsGenerator.swift
[106/255] Wrapping AST for Logging for debugging
[107/255] Wrapping AST for ArgumentParserToolInfo for debugging
[109/255] Emitting module ArgumentParser
[109/260] Wrapping AST for Logging for debugging
[113/260] Compiling ArgumentParser ZshCompletionsGenerator.swift
[114/260] Compiling ArgumentParser Argument.swift
[138/262] Compiling ArgumentParser UsageGenerator.swift
[140/262] Compiling ArgumentParser CollectionExtensions.swift
[142/262] Compiling ArgumentParser Platform.swift
[145/262] Compiling ArgumentParser SequenceExtensions.swift
[147/262] Compiling ArgumentParser StringExtensions.swift
[154/262] Emitting module SotoSmithy
[160/263] Emitting module ArgumentParser
[163/268] Compiling ArgumentParser CollectionExtensions.swift
[164/268] Compiling ArgumentParser Platform.swift
[165/268] Compiling ArgumentParser SequenceExtensions.swift
[166/268] Compiling ArgumentParser StringExtensions.swift
[169/269] Wrapping AST for Mustache for debugging
[171/269] Wrapping AST for SotoSmithy for debugging
[179/285] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[180/286] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[182/287] Compiling SotoSmithyAWS AwsS3Traits.swift
[187/287] Compiling ArgumentParser Tree.swift
[188/287] Emitting module SotoSmithyAWS
[216/287] Compiling SotoSmithyAWS AwsS3Traits.swift
[244/287] Compiling SotoSmithyAWS Smithy.swift
[245/287] Compiling SotoSmithyAWS AwsIAMTraits.swift
[246/287] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[247/287] Compiling SotoSmithyAWS AwsIAMTraits.swift
[248/287] Emitting module SotoSmithyAWS
[249/287] Compiling SotoSmithyAWS Smithy.swift
[250/287] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[251/287] Compiling SotoSmithyAWS AwsCoreTraits.swift
[252/287] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[253/288] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[254/288] Compiling SotoSmithyAWS AwsCoreTraits.swift
[255/288] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[267/290] Wrapping AST for SotoSmithyAWS for debugging
[281/335] Wrapping AST for ArgumentParser for debugging
[283/335] Compiling SotoCodeGeneratorLib comment.swift
[284/335] Compiling SotoCodeGeneratorLib enum.swift
[285/335] Compiling SotoCodeGeneratorLib enumWithValues.swift
[286/335] Compiling SotoCodeGeneratorLib error.swift
[287/335] Compiling SotoCodeGeneratorLib header.swift
[288/335] Compiling SotoCodeGeneratorLib paginators.swift
[294/341] Wrapping AST for ArgumentParser for debugging
[296/341] Compiling SotoCodeGeneratorLib shapes.swift
[297/341] Compiling SotoCodeGeneratorLib struct.swift
[298/341] Compiling SotoCodeGeneratorLib waiters.swift
[302/341] Compiling SotoCodeGeneratorLib String.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,
[303/341] Compiling SotoCodeGeneratorLib Templates.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,
[304/341] Compiling SotoCodeGeneratorLib api.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,
[308/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
[309/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
[310/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
[311/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 {
[312/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 {
[313/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 {
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoCodeGen.swift:75:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 | try await withThrowingTaskGroup(of: Void.self) { group in
74 | for file in modelFiles {
75 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | do {
77 | let model: SotoSmithy.Model
78 | if self.command.smithy {
| `- note: closure captures 'self' which is accessible to code in the current task
79 | model = try self.loadSmithy(filename: file)
80 | } else {
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoCodeGen.swift:75:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 | try await withThrowingTaskGroup(of: Void.self) { group in
74 | for file in modelFiles {
75 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | do {
77 | let model: SotoSmithy.Model
78 | if self.command.smithy {
| `- note: closure captures 'self' which is accessible to code in the current task
79 | model = try self.loadSmithy(filename: file)
80 | } else {
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoCodeGen.swift:75:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
73 | try await withThrowingTaskGroup(of: Void.self) { group in
74 | for file in modelFiles {
75 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
76 | do {
77 | let model: SotoSmithy.Model
78 | if self.command.smithy {
| `- note: closure captures 'self' which is accessible to code in the current task
79 | model = try self.loadSmithy(filename: file)
80 | } else {
[320/341] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[321/341] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[322/341] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[323/341] Compiling SotoCodeGeneratorLib AwsService.swift
[324/341] Compiling SotoCodeGeneratorLib ConfigFile.swift
[325/341] Compiling SotoCodeGeneratorLib Endpoints.swift
[326/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,
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:19:16: warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| `- warning: static property 'patches' is not concurrency-safe because non-'Sendable' type '[String : [ShapeId : any ShapePatch]]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Model+Patch.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
16 | import SotoSmithyAWS
17 |
18 | extension Model {
19 | static let patches: [String: [ShapeId: ShapePatch]] = [
| |- note: add '@MainActor' to make static property 'patches' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | "ACM": [
21 | "com.amazonaws.acm#KeyAlgorithm$RSA_1024": EditTraitPatch { _ in EnumValueTrait(value: .string("RSA-1024")) },
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Patch.swift:18:10: note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
16 |
17 | /// Protocol for patching a Smithy shape.
18 | protocol ShapePatch {
| `- note: protocol 'ShapePatch' does not conform to the 'Sendable' protocol
19 | /// Patch Smithy Shape.
20 | /// - Parameter shape: Original Shape
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:20:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| `- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
15 | // traits used by the Soto code generator.
16 |
17 | import SotoSmithy
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SotoSmithy'
18 |
19 | struct SotoInputShapeTrait: StaticTrait {
20 | static let staticName: ShapeId = "soto.api#inputShape"
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:24:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | struct SotoOutputShapeTrait: StaticTrait {
24 | static let staticName: ShapeId = "soto.api#outputShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:28:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | struct SotoErrorShapeTrait: StaticTrait {
28 | static let staticName: ShapeId = "soto.api#errorShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:32:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | struct SotoRequestShapeTrait: StaticTrait {
32 | static let staticName: ShapeId = "soto.api#requestShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public let operationShape: OperationShape
34 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:40:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct SotoResponseShapeTrait: StaticTrait {
40 | static let staticName: ShapeId = "soto.api#responseShape"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public let operationShape: OperationShape
42 | public init(operationShape: OperationShape) {
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:48:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | struct SotoAuthUnsignedPayloadTrait: StaticTrait {
48 | static let staticName: ShapeId = "soto.api#unsignedPayload"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | var selector: Selector { TypeSelector<StructureShape>() }
50 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:53:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | struct SotoExtensibleEnumTrait: StaticTrait {
53 | static let staticName: ShapeId = "soto.api#extensibleEnum"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | var selector: Selector { TraitSelector<EnumTrait>() }
55 | }
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:58:16: warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct SotoStubTrait: StaticTrait {
58 | static let staticName: ShapeId = "soto.api#stub"
| |- warning: static property 'staticName' is not concurrency-safe because non-'Sendable' type 'ShapeId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/spi-builder-workspace/.build/checkouts/soto-smithy/Sources/SotoSmithy/Core/ShapeId.swift:16:15: note: struct 'ShapeId' does not conform to the 'Sendable' protocol
14 |
15 | /// Identifier for shape in model
16 | public struct ShapeId: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ShapeId' does not conform to the 'Sendable' protocol
17 | /// Raw string value
18 | public let rawValue: String
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/SotoTraits.swift:63:23: warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// Indicates that associated PaginatedTrait requires to check a `IsTruncated` flag
62 | public struct SotoPaginationTruncatedTrait: StaticTrait {
63 | public static var staticName: ShapeId = "soto.api#paginationTruncated"
| |- warning: static property 'staticName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'staticName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'staticName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public var selector: Selector {
65 | AndSelector(
/host/spi-builder-workspace/Sources/SotoCodeGeneratorLib/Templates/Templates.swift:18:16: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | enum Templates {
18 | static var values: [String: String] = [
| |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'values' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
[334/343] Wrapping AST for SotoCodeGeneratorLib for debugging
[338/347] Emitting module SotoCodeGenerator
[339/347] Compiling SotoCodeGenerator SotoCodeGenerator.swift
[340/348] Wrapping AST for SotoCodeGenerator for debugging
[341/348] Write Objects.LinkFileList
[343/348] Emitting module SotoCodeGenerator
[344/348] Compiling SotoCodeGenerator SotoCodeGenerator.swift
[345/349] Wrapping AST for SotoCodeGenerator for debugging
[346/349] Write Objects.LinkFileList
[347/349] Linking SotoCodeGenerator
[348/349] Linking SotoCodeGenerator-tool
Build complete! (53.71s)
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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.