Build Information
Successful build of soto-codegenerator, reference 7.7.0 (8a5986
), with Swift 6.0 for macOS (SPM) on 16 Apr 2025 17:41:11 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soto-project/soto-codegenerator.git
Reference: 7.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/soto-project/soto-smithy.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/hummingbird-project/swift-mustache.git
[1/1837] Fetching soto-smithy
[38/3651] Fetching soto-smithy, swift-mustache
[1116/7483] Fetching soto-smithy, swift-mustache, swift-log
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.88s)
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.88s)
[958/3832] Fetching swift-log
[1611/18674] Fetching swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.60s)
Fetched https://github.com/apple/swift-log.git from cache (1.60s)
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.20s)
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.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.45s)
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.45s)
Creating working copy for https://github.com/soto-project/soto-smithy.git
Working copy of https://github.com/soto-project/soto-smithy.git resolved at 0.4.7
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/hummingbird-project/swift-mustache.git
Working copy of https://github.com/hummingbird-project/swift-mustache.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "soto-codegenerator",
"name": "soto-codegenerator",
"url": "https://github.com/soto-project/soto-codegenerator.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/soto-codegenerator",
"dependencies": [
{
"identity": "soto-smithy",
"name": "soto-smithy",
"url": "https://github.com/soto-project/soto-smithy.git",
"version": "0.4.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/soto-smithy",
"dependencies": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "swift-mustache",
"name": "swift-mustache",
"url": "https://github.com/hummingbird-project/swift-mustache.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-mustache",
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/soto-project/soto-codegenerator.git
[1/3533] Fetching soto-codegenerator
Fetched https://github.com/soto-project/soto-codegenerator.git from cache (1.48s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/soto-project/soto-smithy.git from cache
Fetching https://github.com/hummingbird-project/swift-mustache.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.55s)
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.55s)
Fetched https://github.com/soto-project/soto-smithy.git from cache (0.55s)
Computing version for https://github.com/hummingbird-project/swift-mustache.git
Computed https://github.com/hummingbird-project/swift-mustache.git at 2.0.0 (0.03s)
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.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.03s)
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.04s)
Creating working copy for https://github.com/soto-project/soto-smithy.git
Working copy of https://github.com/soto-project/soto-smithy.git resolved at 0.4.7
Creating working copy for https://github.com/hummingbird-project/swift-mustache.git
Working copy of https://github.com/hummingbird-project/swift-mustache.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-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-codegenerator.git
Working copy of https://github.com/soto-project/soto-codegenerator.git resolved at 7.7.0 (8a5986c)
Found 4 product dependencies
- soto-smithy
- swift-argument-parser
- swift-mustache
- swift-log
========================================
Build
========================================
Selected platform: macosSpm
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
{
"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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SotoCodeGeneratorPlugin
Building for debugging...
[2/15] Write sources
[7/15] Write SotoCodeGenerator-entitlement.plist
[7/15] Write sources
[11/15] Write swift-version-5BDAB9E9C0126B9D.txt
[13/78] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/78] Emitting module ArgumentParserToolInfo
[15/117] Compiling ArgumentParser ParsedValues.swift
[16/117] Compiling ArgumentParser HelpGenerator.swift
[17/117] Compiling ArgumentParser MessageInfo.swift
[18/117] Compiling ArgumentParser UsageGenerator.swift
[19/121] Compiling ArgumentParser HelpCommand.swift
[20/121] Compiling ArgumentParser InputOrigin.swift
[21/121] Compiling ArgumentParser Name.swift
[22/121] Compiling ArgumentParser Parsed.swift
[23/121] Compiling ArgumentParser Argument.swift
[24/121] Compiling ArgumentParser CommandConfiguration.swift
[25/121] Compiling ArgumentParser CommandGroup.swift
[26/121] Compiling ArgumentParser EnumerableFlag.swift
[27/121] Compiling ArgumentParser ArgumentDecoder.swift
[28/121] Compiling ArgumentParser ArgumentDefinition.swift
[29/121] Compiling ArgumentParser ArgumentSet.swift
[30/121] Compiling ArgumentParser CommandParser.swift
[31/121] Compiling ArgumentParser InputKey.swift
[32/121] Compiling ArgumentParser ParserError.swift
[33/121] Compiling ArgumentParser SplitArguments.swift
[34/121] Compiling ArgumentParser DumpHelpGenerator.swift
[35/121] Compiling ArgumentParser ExpressibleByArgument.swift
[36/121] Compiling ArgumentParser NameSpecification.swift
[37/121] Compiling ArgumentParser Option.swift
[38/121] Compiling ArgumentParser OptionGroup.swift
[39/121] Compiling ArgumentParser AsyncParsableCommand.swift
[40/121] Compiling ArgumentParser ParsableArguments.swift
[41/121] Compiling ArgumentParser ParsableArgumentsValidation.swift
[42/121] Compiling ArgumentParser ParsableCommand.swift
[43/121] Compiling SotoSmithy SuppressTrait.swift
[44/121] Compiling SotoSmithy TypeRefinementTraits.swift
[45/121] Compiling SotoSmithy WaitersTraits.swift
[46/121] Compiling SotoSmithy XmlBindingTraits.swift
[47/121] Compiling ArgumentParser BashCompletionsGenerator.swift
[48/121] Compiling ArgumentParser CompletionsGenerator.swift
[49/121] Compiling ArgumentParser FishCompletionsGenerator.swift
[50/121] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/121] Compiling ArgumentParser ArgumentHelp.swift
[53/121] Compiling ArgumentParser ArgumentVisibility.swift
[54/121] Compiling ArgumentParser CompletionKind.swift
[55/121] Compiling ArgumentParser Errors.swift
[56/121] Compiling ArgumentParser Flag.swift
[57/125] Emitting module ArgumentParser
[70/125] Compiling Logging LogHandler.swift
[71/125] Compiling Logging MetadataProvider.swift
[72/125] Emitting module Logging
[73/125] Compiling Logging Logging.swift
[74/125] Compiling Logging Locks.swift
[75/125] Compiling ArgumentParser Platform.swift
[76/125] Compiling ArgumentParser SequenceExtensions.swift
[77/125] Compiling ArgumentParser StringExtensions.swift
[78/125] Compiling ArgumentParser Tree.swift
[79/125] Emitting module SotoSmithy
[84/125] Compiling Mustache Template.swift
[89/126] Emitting module Mustache
[123/135] Compiling Mustache Transform.swift
[124/135] Compiling SotoSmithyAWS AwsProtocolTraits.swift
[125/135] Compiling SotoSmithyAWS AwsS3Traits.swift
[126/135] Compiling SotoSmithyAWS AwsIAMTraits.swift
[127/135] Compiling SotoSmithyAWS AwsAuthenticationTraits.swift
[128/135] Compiling SotoSmithyAWS AwsCloudFormationTraits.swift
[129/135] Compiling SotoSmithyAWS AwsApiGatewayTraits.swift
[130/135] Compiling SotoSmithyAWS AwsCoreTraits.swift
[131/135] Compiling SotoSmithyAWS Smithy.swift
[132/135] Emitting module SotoSmithyAWS
[133/158] Compiling SotoCodeGeneratorLib error.swift
[134/158] Compiling SotoCodeGeneratorLib header.swift
[135/160] Compiling SotoCodeGeneratorLib struct.swift
[136/160] Compiling SotoCodeGeneratorLib waiters.swift
[137/160] Compiling SotoCodeGeneratorLib paginators.swift
[138/160] Compiling SotoCodeGeneratorLib shapes.swift
[139/160] Compiling SotoCodeGeneratorLib enum.swift
[140/160] Compiling SotoCodeGeneratorLib enumWithValues.swift
[141/160] Compiling SotoCodeGeneratorLib Glob.swift
/Users/admin/builder/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")) },
/Users/admin/builder/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
/Users/admin/builder/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")) },
/Users/admin/builder/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
[142/160] Compiling SotoCodeGeneratorLib Model+Patch.swift
/Users/admin/builder/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")) },
/Users/admin/builder/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
/Users/admin/builder/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")) },
/Users/admin/builder/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
[143/160] Compiling SotoCodeGeneratorLib Patch.swift
/Users/admin/builder/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")) },
/Users/admin/builder/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
/Users/admin/builder/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")) },
/Users/admin/builder/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
[144/160] Emitting module SotoCodeGeneratorLib
/Users/admin/builder/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")) },
/Users/admin/builder/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
/Users/admin/builder/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")) },
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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(
/Users/admin/builder/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,
[145/160] Compiling SotoCodeGeneratorLib AwsService+paginators.swift
[146/160] Compiling SotoCodeGeneratorLib AwsService+shapes.swift
[147/160] Compiling SotoCodeGeneratorLib AwsService+waiters.swift
[148/160] Compiling SotoCodeGeneratorLib Smithy+CodeGeneration.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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(
/Users/admin/builder/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 {
[149/160] Compiling SotoCodeGeneratorLib SotoCodeGen.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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(
/Users/admin/builder/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 {
[150/160] Compiling SotoCodeGeneratorLib SotoTraits.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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(
/Users/admin/builder/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 {
[151/160] Compiling SotoCodeGeneratorLib String.swift
/Users/admin/builder/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,
[152/160] Compiling SotoCodeGeneratorLib Templates.swift
/Users/admin/builder/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,
[153/160] Compiling SotoCodeGeneratorLib AwsService.swift
[154/160] Compiling SotoCodeGeneratorLib ConfigFile.swift
[155/160] Compiling SotoCodeGeneratorLib Endpoints.swift
[156/160] Compiling SotoCodeGeneratorLib api.swift
[157/160] Compiling SotoCodeGeneratorLib comment.swift
[158/162] Compiling SotoCodeGenerator SotoCodeGenerator.swift
[159/162] Emitting module SotoCodeGenerator
[159/162] Write Objects.LinkFileList
[160/162] Linking SotoCodeGenerator
[161/162] Applying SotoCodeGenerator
Build complete! (23.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" : "/Users/admin/builder/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"
}
Done.