Build Information
Successful build of soto-codegenerator, reference main (8a5986
), with Swift 6.0 for Linux on 16 Apr 2025 17:38:08 UTC.
Swift 6 data race errors: 11
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soto-project/soto-codegenerator.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/soto-project/soto-codegenerator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/soto-project/soto-codegenerator.git
https://github.com/soto-project/soto-codegenerator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "soto-smithy",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/soto-project/soto-smithy.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-mustache",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/swift-mustache.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "soto-codegenerator",
"name" : "soto-codegenerator",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SotoCodeGenerator",
"targets" : [
"SotoCodeGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "SotoCodeGeneratorPlugin",
"targets" : [
"SotoCodeGeneratorPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "SotoCodeGeneratorTests",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGeneratorTests",
"path" : "Tests/SotoCodeGeneratorTests",
"sources" : [
"StringTests.swift",
"TypeNameTests.swift"
],
"target_dependencies" : [
"SotoCodeGeneratorLib"
],
"type" : "test"
},
{
"c99name" : "SotoCodeGeneratorPlugin",
"module_type" : "PluginTarget",
"name" : "SotoCodeGeneratorPlugin",
"path" : "Plugins/SotoCodeGeneratorPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"SotoCodeGeneratorPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"SotoCodeGenerator"
],
"type" : "plugin"
},
{
"c99name" : "SotoCodeGeneratorLib",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGeneratorLib",
"path" : "Sources/SotoCodeGeneratorLib",
"product_dependencies" : [
"SotoSmithy",
"SotoSmithyAWS",
"Mustache",
"Logging"
],
"product_memberships" : [
"SotoCodeGenerator",
"SotoCodeGeneratorPlugin"
],
"sources" : [
"AwsService+paginators.swift",
"AwsService+shapes.swift",
"AwsService+waiters.swift",
"AwsService.swift",
"ConfigFile.swift",
"Endpoints.swift",
"Glob.swift",
"Model+Patch.swift",
"Patch.swift",
"Smithy+CodeGeneration.swift",
"SotoCodeGen.swift",
"SotoTraits.swift",
"String.swift",
"Templates/Templates.swift",
"Templates/api.swift",
"Templates/comment.swift",
"Templates/enum.swift",
"Templates/enumWithValues.swift",
"Templates/error.swift",
"Templates/header.swift",
"Templates/paginators.swift",
"Templates/shapes.swift",
"Templates/struct.swift",
"Templates/waiters.swift"
],
"type" : "library"
},
{
"c99name" : "SotoCodeGenerator",
"module_type" : "SwiftTarget",
"name" : "SotoCodeGenerator",
"path" : "Sources/SotoCodeGenerator",
"product_dependencies" : [
"ArgumentParser",
"Logging"
],
"product_memberships" : [
"SotoCodeGenerator",
"SotoCodeGeneratorPlugin"
],
"sources" : [
"SotoCodeGenerator.swift"
],
"target_dependencies" : [
"SotoCodeGeneratorLib"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/hummingbird-project/swift-mustache.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1814] Fetching swift-mustache
[1815/5646] Fetching swift-mustache, swift-log
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.26s)
[2683/3832] Fetching swift-log
Fetching https://github.com/soto-project/soto-smithy.git
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
[1/14842] Fetching swift-argument-parser
[6977/16679] Fetching swift-argument-parser, soto-smithy
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.20s)
[12319/14842] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.73s)
Computing version for https://github.com/hummingbird-project/swift-mustache.git
Computed https://github.com/hummingbird-project/swift-mustache.git at 2.0.0 (1.86s)
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.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.48s)
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.51s)
Creating working copy for https://github.com/soto-project/soto-smithy.git
Working copy of https://github.com/soto-project/soto-smithy.git resolved at 0.4.7
Creating working copy for https://github.com/apple/swift-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/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/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 GenerateManual
[2/2] Compiling plugin SotoCodeGeneratorPlugin
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/82] Emitting module Mustache
[13/84] Emitting module SotoSmithy
[14/89] Compiling Mustache Library.swift
[15/89] Compiling Mustache Mirror.swift
[16/89] Compiling Mustache Parent.swift
[17/89] Compiling Mustache Parser.swift
[18/89] Compiling Mustache Sequence.swift
[19/89] Compiling SotoSmithy HttpProtocolComplianceTraits.swift
[20/89] Compiling SotoSmithy MqttProtocolBindingTraits.swift
[21/89] Compiling SotoSmithy ProtocolTraits.swift
[22/89] Compiling SotoSmithy ResourceTraits.swift
[23/89] Compiling SotoSmithy RulesTraits.swift
[24/89] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/89] Emitting module ArgumentParserToolInfo
[26/90] Compiling Mustache SequenceContext.swift
[27/90] Compiling Mustache String.swift
[28/90] Compiling Mustache Template+FileSystem.swift
[29/90] Compiling Mustache Template+Parser.swift
[30/90] Compiling Mustache Template+Render.swift
[31/90] Compiling Mustache Template.swift
[32/90] Compiling Mustache Transform.swift
[34/90] Compiling SotoSmithy SingleValueTrait.swift
[35/90] Compiling SotoSmithy StaticTrait.swift
[36/90] Compiling SotoSmithy Trait.swift
[37/90] Compiling SotoSmithy TraitList.swift
[38/90] Compiling SotoSmithy AuthenticationTraits.swift
[39/90] Compiling SotoSmithy BehaviourTraits.swift
[40/90] Compiling SotoSmithy ConstraintTraits.swift
[41/90] Compiling SotoSmithy DocumentationTraits.swift
[42/90] Compiling SotoSmithy EndpointTraits.swift
[43/90] Compiling SotoSmithy HttpProtocolBindingTraits.swift
[43/90] Wrapping AST for ArgumentParserToolInfo for debugging
[45/128] Compiling Logging Locks.swift
[46/128] Compiling Logging Logging.swift
[47/128] Emitting module Logging
[48/128] Compiling Logging MetadataProvider.swift
[49/128] Compiling Logging LogHandler.swift
[50/129] Wrapping AST for Logging for debugging
[52/129] Compiling ArgumentParser UsageGenerator.swift
[53/129] Compiling SotoSmithy SuppressTrait.swift
[54/129] Compiling SotoSmithy TypeRefinementTraits.swift
[55/129] Compiling SotoSmithy WaitersTraits.swift
[56/129] Compiling SotoSmithy XmlBindingTraits.swift
[57/129] Compiling ArgumentParser ArgumentVisibility.swift
[58/129] Compiling ArgumentParser CompletionKind.swift
[59/129] Compiling ArgumentParser Errors.swift
[60/129] Compiling ArgumentParser Flag.swift
[61/129] Compiling ArgumentParser NameSpecification.swift
[62/129] Compiling ArgumentParser Option.swift
[67/134] Compiling ArgumentParser CommandConfiguration.swift
[68/134] Compiling ArgumentParser CommandGroup.swift
[69/134] Compiling ArgumentParser ZshCompletionsGenerator.swift
[70/134] Compiling ArgumentParser Argument.swift
[71/134] Compiling ArgumentParser ArgumentHelp.swift
[72/134] Compiling ArgumentParser BashCompletionsGenerator.swift
[73/134] Compiling ArgumentParser CompletionsGenerator.swift
[74/134] Compiling ArgumentParser FishCompletionsGenerator.swift
[77/134] Compiling ArgumentParser OptionGroup.swift
[78/134] Compiling ArgumentParser AsyncParsableCommand.swift
[85/135] Compiling ArgumentParser EnumerableFlag.swift
[86/135] Compiling ArgumentParser ExpressibleByArgument.swift
[87/135] Compiling ArgumentParser ParsableArguments.swift
[88/135] Compiling ArgumentParser ParsableArgumentsValidation.swift
[89/135] Compiling ArgumentParser ParsableCommand.swift
[98/136] Emitting module ArgumentParser
[103/136] Compiling ArgumentParser ArgumentDecoder.swift
[108/136] Wrapping AST for Mustache for debugging
[109/136] Wrapping AST for SotoSmithy for debugging
[111/136] Compiling ArgumentParser CollectionExtensions.swift
[112/136] Compiling ArgumentParser Platform.swift
[113/136] Compiling ArgumentParser SequenceExtensions.swift
[114/136] Compiling ArgumentParser StringExtensions.swift
[115/136] Compiling ArgumentParser Tree.swift
[116/144] Compiling ArgumentParser DumpHelpGenerator.swift
[117/144] Compiling ArgumentParser HelpCommand.swift
[118/144] Compiling ArgumentParser HelpGenerator.swift
[119/144] Compiling ArgumentParser MessageInfo.swift
[121/144] Compiling SotoSmithyAWS Smithy.swift
[122/144] Compiling ArgumentParser Name.swift
[123/144] Compiling ArgumentParser Parsed.swift
[124/144] Compiling ArgumentParser ParsedValues.swift
[125/144] Compiling ArgumentParser ParserError.swift
[126/144] Compiling ArgumentParser SplitArguments.swift
[127/145] Compiling SotoSmithyAWS AwsS3Traits.swift
[128/145] Compiling ArgumentParser ArgumentDefinition.swift
[129/145] Compiling ArgumentParser ArgumentSet.swift
[130/145] Compiling ArgumentParser CommandParser.swift
[131/145] Compiling ArgumentParser InputKey.swift
[132/145] Compiling ArgumentParser InputOrigin.swift
[133/146] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[135/146] Compiling SotoSmithyAWS AwsIAMTraits.swift
[135/146] Wrapping AST for ArgumentParser for debugging
[137/146] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[138/146] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[139/146] Emitting module SotoSmithyAWS
[140/146] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[141/146] Compiling SotoSmithyAWS AwsCoreTraits.swift
[142/147] Wrapping AST for SotoSmithyAWS for debugging
[144/169] 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: annotate 'patches' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[145/169] 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: annotate 'patches' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[146/169] 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: annotate 'patches' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[147/172] 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: annotate 'patches' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'values' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
[148/172] Compiling SotoCodeGeneratorLib shapes.swift
[149/172] Compiling SotoCodeGeneratorLib struct.swift
[150/172] Compiling SotoCodeGeneratorLib waiters.swift
[151/172] Compiling SotoCodeGeneratorLib comment.swift
[152/172] Compiling SotoCodeGeneratorLib enum.swift
[153/172] Compiling SotoCodeGeneratorLib enumWithValues.swift
[154/172] 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: annotate 'values' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
[155/172] 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: annotate 'values' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
[156/172] 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: annotate 'values' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | "api": apiTemplate,
20 | "comment": commentTemplate,
[157/172] 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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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 {
[158/172] 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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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 {
[159/172] 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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'staticName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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 {
[160/172] Compiling SotoCodeGeneratorLib error.swift
[161/172] Compiling SotoCodeGeneratorLib header.swift
[162/172] Compiling SotoCodeGeneratorLib paginators.swift
[163/172] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[164/172] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[165/172] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[166/172] Compiling SotoCodeGeneratorLib AwsService.swift
[167/172] Compiling SotoCodeGeneratorLib ConfigFile.swift
[168/172] Compiling SotoCodeGeneratorLib Endpoints.swift
[169/173] Wrapping AST for SotoCodeGeneratorLib for debugging
[171/175] Emitting module SotoCodeGenerator
[172/175] Compiling SotoCodeGenerator SotoCodeGenerator.swift
[173/176] Wrapping AST for SotoCodeGenerator for debugging
[174/176] Write Objects.LinkFileList
[175/176] Linking SotoCodeGenerator
Build complete! (30.08s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.