Build Information
Successful build of Swiftgger, reference 1.5.0 (25d9ea
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 12:30:16 UTC.
Swift 6 data race errors: 12
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mczachurski/swiftgger.git
Reference: 1.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mczachurski/swiftgger
* tag 1.5.0 -> FETCH_HEAD
HEAD is now at 25d9ea8 Merge pull request #22 from mczachurski/feature/swift-generator
Cloned https://github.com/mczachurski/swiftgger.git
Revision (git rev-parse @):
25d9ea884067764ab314cd3bf7e0ca19867b3f45
SUCCESS checkout https://github.com/mczachurski/swiftgger.git at 1.5.0
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.78s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (1.35s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
========================================
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": "swiftgger",
"name": "Swiftgger",
"url": "https://github.com/mczachurski/swiftgger.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftgger",
"dependencies": [
{
"identity": "anycodable",
"name": "AnyCodable",
"url": "https://github.com/Flight-School/AnyCodable",
"version": "0.6.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnyCodable",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/mczachurski/swiftgger.git
[1/941] Fetching swiftgger
Fetched https://github.com/mczachurski/swiftgger.git from cache (0.95s)
Fetching https://github.com/Flight-School/AnyCodable from cache
Fetched https://github.com/Flight-School/AnyCodable from cache (0.44s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.49s)
Creating working copy for https://github.com/mczachurski/swiftgger.git
Working copy of https://github.com/mczachurski/swiftgger.git resolved at 1.5.0 (25d9ea8)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Found 1 product dependencies
- AnyCodable
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mczachurski/swiftgger.git
https://github.com/mczachurski/swiftgger.git
{
"dependencies" : [
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
}
],
"manifest_display_name" : "Swiftgger",
"name" : "Swiftgger",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Swiftgger",
"targets" : [
"Swiftgger"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swiftgger-generator",
"targets" : [
"SwiftggerGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "swiftgger-test-app",
"targets" : [
"SwiftggerTestApp"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftggerTests",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTests",
"path" : "Tests/SwiftggerTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftggerTests/openapi.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"OpenAPIDocumentDecodableTests.swift",
"OpenAPIInfoBuilderTests.swift",
"OpenAPIParametersBuilderTests.swift",
"OpenAPIPathsBuilderTests.swift",
"OpenAPISchemasBuilderTests.swift",
"OpenAPISecurityBuilderTests.swift",
"OpenAPIServersBuilderTests.swift",
"OpenAPITagsBuilderTests.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "test"
},
{
"c99name" : "SwiftggerTestApp",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTestApp",
"path" : "Sources/SwiftggerTestApp",
"product_memberships" : [
"swiftgger-test-app"
],
"sources" : [
"Models/Fuel.swift",
"Models/Vehicle.swift",
"Program.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "SwiftggerGenerator",
"module_type" : "SwiftTarget",
"name" : "SwiftggerGenerator",
"path" : "Sources/SwiftggerGenerator",
"product_memberships" : [
"swiftgger-generator"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/URLSession.template",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ConsoleOutput/ConsoleIO.swift",
"ConsoleOutput/OutputType.swift",
"Extensions/OpenAPISchema.swift",
"Extensions/String.swift",
"Extensions/URLSession.swift",
"HttpClientGenerator.swift",
"ModelSerializer.swift",
"OptionType.swift",
"Program.swift",
"SwiftggerError.swift",
"TemplateFileGenerator.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "Swiftgger",
"module_type" : "SwiftTarget",
"name" : "Swiftgger",
"path" : "Sources/Swiftgger",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"Swiftgger",
"swiftgger-generator",
"swiftgger-test-app"
],
"sources" : [
"APIModel/APIAction.swift",
"APIModel/APIAuthorizationFlow.swift",
"APIModel/APIAuthorizationOAuth2Type.swift",
"APIModel/APIAuthorizationType.swift",
"APIModel/APIContact.swift",
"APIModel/APIController.swift",
"APIModel/APILicense.swift",
"APIModel/APILink.swift",
"APIModel/APIObject.swift",
"APIModel/APIParameter.swift",
"APIModel/APIRequest.swift",
"APIModel/APIResponse.swift",
"APIModel/APIServer.swift",
"APIModel/APIVariable.swift",
"Builder/OpenAPIBuilder.swift",
"Builder/OpenAPIInfoBuilder.swift",
"Builder/OpenAPIMediaTypeBuilder.swift",
"Builder/OpenAPIOperationBuilder.swift",
"Builder/OpenAPIParametersBuilder.swift",
"Builder/OpenAPIPathsBuilder.swift",
"Builder/OpenAPIRequestBuilder.swift",
"Builder/OpenAPIResponsesBuilder.swift",
"Builder/OpenAPISchemasBuilder.swift",
"Builder/OpenAPISecurityActionsBuilder.swift",
"Builder/OpenAPISecurityBuilder.swift",
"Builder/OpenAPIServersBuilder.swift",
"Builder/OpenAPITagsBuilder.swift",
"Common/APIDataType.swift",
"Common/APIHttpMethod.swift",
"Common/APILocation.swift",
"OpenAPIModel/OpenAPIComponents.swift",
"OpenAPIModel/OpenAPIContact.swift",
"OpenAPIModel/OpenAPIDiscriminator.swift",
"OpenAPIModel/OpenAPIDocument.swift",
"OpenAPIModel/OpenAPIEncoding.swift",
"OpenAPIModel/OpenAPIExample.swift",
"OpenAPIModel/OpenAPIExternalDocumentation.swift",
"OpenAPIModel/OpenAPIHeader.swift",
"OpenAPIModel/OpenAPIInfo.swift",
"OpenAPIModel/OpenAPILicense.swift",
"OpenAPIModel/OpenAPILink.swift",
"OpenAPIModel/OpenAPIMediaType.swift",
"OpenAPIModel/OpenAPIOAuthFlow.swift",
"OpenAPIModel/OpenAPIOAuthFlows.swift",
"OpenAPIModel/OpenAPIOperation.swift",
"OpenAPIModel/OpenAPIParameter.swift",
"OpenAPIModel/OpenAPIPathItem.swift",
"OpenAPIModel/OpenAPIRequestBody.swift",
"OpenAPIModel/OpenAPIResponse.swift",
"OpenAPIModel/OpenAPISchema.swift",
"OpenAPIModel/OpenAPISecurityScheme.swift",
"OpenAPIModel/OpenAPIServer.swift",
"OpenAPIModel/OpenAPIServerVariable.swift",
"OpenAPIModel/OpenAPITag.swift",
"OpenAPIModel/OpenAPIXML.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
Building for debugging...
[0/14] Write sources
[1/14] Write swiftgger-generator-entitlement.plist
[1/14] Write swiftgger-test-app-entitlement.plist
[4/14] Copying URLSession.template
[4/14] Write sources
[7/14] Write swift-version-2F0A5646E1D333AE.txt
[9/18] Compiling AnyCodable AnyCodable.swift
[10/18] Compiling AnyCodable AnyEncodable.swift
[11/18] Emitting module AnyCodable
[12/18] Compiling AnyCodable AnyDecodable.swift
[13/69] Emitting module Swiftgger
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[14/74] Compiling Swiftgger APILicense.swift
[15/74] Compiling Swiftgger APILink.swift
[16/74] Compiling Swiftgger APIObject.swift
[17/74] Compiling Swiftgger APIParameter.swift
[18/74] Compiling Swiftgger APIRequest.swift
[19/74] Compiling Swiftgger APIResponse.swift
[20/74] Compiling Swiftgger APIAction.swift
[21/74] Compiling Swiftgger APIAuthorizationFlow.swift
[22/74] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[23/74] Compiling Swiftgger APIAuthorizationType.swift
[24/74] Compiling Swiftgger APIContact.swift
[25/74] Compiling Swiftgger APIController.swift
[26/74] Compiling Swiftgger APIServer.swift
[27/74] Compiling Swiftgger APIVariable.swift
[28/74] Compiling Swiftgger OpenAPIBuilder.swift
[29/74] Compiling Swiftgger OpenAPIInfoBuilder.swift
[30/74] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[31/74] Compiling Swiftgger OpenAPIOperationBuilder.swift
[32/74] Compiling Swiftgger OpenAPIComponents.swift
[33/74] Compiling Swiftgger OpenAPIContact.swift
[34/74] Compiling Swiftgger OpenAPIDiscriminator.swift
[35/74] Compiling Swiftgger OpenAPIDocument.swift
[36/74] Compiling Swiftgger OpenAPIEncoding.swift
[37/74] Compiling Swiftgger OpenAPILink.swift
[38/74] Compiling Swiftgger OpenAPIMediaType.swift
[39/74] Compiling Swiftgger OpenAPIOAuthFlow.swift
[40/74] Compiling Swiftgger OpenAPIOAuthFlows.swift
[41/74] Compiling Swiftgger OpenAPIOperation.swift
[42/74] Compiling Swiftgger OpenAPIExample.swift
[43/74] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[44/74] Compiling Swiftgger OpenAPIHeader.swift
[45/74] Compiling Swiftgger OpenAPIInfo.swift
[46/74] Compiling Swiftgger OpenAPILicense.swift
[47/74] Compiling Swiftgger OpenAPIParametersBuilder.swift
[48/74] Compiling Swiftgger OpenAPIPathsBuilder.swift
[49/74] Compiling Swiftgger OpenAPIRequestBuilder.swift
[50/74] Compiling Swiftgger OpenAPIResponsesBuilder.swift
[51/74] Compiling Swiftgger OpenAPISchemasBuilder.swift
[52/74] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
[53/74] Compiling Swiftgger OpenAPIParameter.swift
[54/74] Compiling Swiftgger OpenAPIPathItem.swift
[55/74] Compiling Swiftgger OpenAPIRequestBody.swift
[56/74] Compiling Swiftgger OpenAPIResponse.swift
[57/74] Compiling Swiftgger OpenAPISchema.swift
[58/74] Compiling Swiftgger OpenAPISecurityBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[59/74] Compiling Swiftgger OpenAPIServersBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[60/74] Compiling Swiftgger OpenAPITagsBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[61/74] Compiling Swiftgger APIDataType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[62/74] Compiling Swiftgger APIHttpMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[63/74] Compiling Swiftgger APILocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[64/74] Compiling Swiftgger OpenAPISecurityScheme.swift
[65/74] Compiling Swiftgger OpenAPIServer.swift
[66/74] Compiling Swiftgger OpenAPIServerVariable.swift
[67/74] Compiling Swiftgger OpenAPITag.swift
[68/74] Compiling Swiftgger OpenAPIXML.swift
[69/92] Compiling SwiftggerTestApp Vehicle.swift
[70/92] Compiling SwiftggerTestApp Program.swift
[71/92] Compiling SwiftggerTestApp Fuel.swift
[72/92] Compiling SwiftggerTestApp main.swift
[73/92] Emitting module SwiftggerTestApp
[73/92] Write Objects.LinkFileList
[75/92] Compiling SwiftggerGenerator main.swift
[76/93] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[77/93] Compiling SwiftggerGenerator SwiftggerError.swift
[78/93] Emitting module SwiftggerGenerator
[79/93] Compiling SwiftggerGenerator OpenAPISchema.swift
[80/93] Compiling SwiftggerGenerator String.swift
[81/93] Compiling SwiftggerGenerator Program.swift
[82/93] Compiling SwiftggerGenerator OptionType.swift
[83/93] Compiling SwiftggerGenerator ConsoleIO.swift
[84/93] Compiling SwiftggerGenerator OutputType.swift
[85/93] Compiling SwiftggerGenerator ModelSerializer.swift
[86/93] Compiling SwiftggerGenerator URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:20:13: warning: mutation of captured var 'data' in concurrently-executing code
18 |
19 | let dataTask = self.dataTask(with: urlrequest) {
20 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code
21 | response = $1
22 | error = $2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:21:13: warning: mutation of captured var 'response' in concurrently-executing code
19 | let dataTask = self.dataTask(with: urlrequest) {
20 | data = $0
21 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code
22 | error = $2
23 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:22:13: warning: mutation of captured var 'error' in concurrently-executing code
20 | data = $0
21 | response = $1
22 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code
23 |
24 | semaphore.signal()
[87/93] Compiling SwiftggerGenerator HttpClientGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:20:13: warning: mutation of captured var 'data' in concurrently-executing code
18 |
19 | let dataTask = self.dataTask(with: urlrequest) {
20 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code
21 | response = $1
22 | error = $2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:21:13: warning: mutation of captured var 'response' in concurrently-executing code
19 | let dataTask = self.dataTask(with: urlrequest) {
20 | data = $0
21 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code
22 | error = $2
23 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:22:13: warning: mutation of captured var 'error' in concurrently-executing code
20 | data = $0
21 | response = $1
22 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code
23 |
24 | semaphore.signal()
[88/93] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[88/93] Write Objects.LinkFileList
[89/93] Linking swiftgger-test-app
[90/93] Applying swiftgger-test-app
[91/93] Linking swiftgger-generator
[92/93] Applying swiftgger-generator
Build complete! (8.38s)
Build complete.
{
"dependencies" : [
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
}
],
"manifest_display_name" : "Swiftgger",
"name" : "Swiftgger",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Swiftgger",
"targets" : [
"Swiftgger"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swiftgger-generator",
"targets" : [
"SwiftggerGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "swiftgger-test-app",
"targets" : [
"SwiftggerTestApp"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftggerTests",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTests",
"path" : "Tests/SwiftggerTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftggerTests/openapi.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"OpenAPIDocumentDecodableTests.swift",
"OpenAPIInfoBuilderTests.swift",
"OpenAPIParametersBuilderTests.swift",
"OpenAPIPathsBuilderTests.swift",
"OpenAPISchemasBuilderTests.swift",
"OpenAPISecurityBuilderTests.swift",
"OpenAPIServersBuilderTests.swift",
"OpenAPITagsBuilderTests.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "test"
},
{
"c99name" : "SwiftggerTestApp",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTestApp",
"path" : "Sources/SwiftggerTestApp",
"product_memberships" : [
"swiftgger-test-app"
],
"sources" : [
"Models/Fuel.swift",
"Models/Vehicle.swift",
"Program.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "SwiftggerGenerator",
"module_type" : "SwiftTarget",
"name" : "SwiftggerGenerator",
"path" : "Sources/SwiftggerGenerator",
"product_memberships" : [
"swiftgger-generator"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/URLSession.template",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ConsoleOutput/ConsoleIO.swift",
"ConsoleOutput/OutputType.swift",
"Extensions/OpenAPISchema.swift",
"Extensions/String.swift",
"Extensions/URLSession.swift",
"HttpClientGenerator.swift",
"ModelSerializer.swift",
"OptionType.swift",
"Program.swift",
"SwiftggerError.swift",
"TemplateFileGenerator.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "Swiftgger",
"module_type" : "SwiftTarget",
"name" : "Swiftgger",
"path" : "Sources/Swiftgger",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"Swiftgger",
"swiftgger-generator",
"swiftgger-test-app"
],
"sources" : [
"APIModel/APIAction.swift",
"APIModel/APIAuthorizationFlow.swift",
"APIModel/APIAuthorizationOAuth2Type.swift",
"APIModel/APIAuthorizationType.swift",
"APIModel/APIContact.swift",
"APIModel/APIController.swift",
"APIModel/APILicense.swift",
"APIModel/APILink.swift",
"APIModel/APIObject.swift",
"APIModel/APIParameter.swift",
"APIModel/APIRequest.swift",
"APIModel/APIResponse.swift",
"APIModel/APIServer.swift",
"APIModel/APIVariable.swift",
"Builder/OpenAPIBuilder.swift",
"Builder/OpenAPIInfoBuilder.swift",
"Builder/OpenAPIMediaTypeBuilder.swift",
"Builder/OpenAPIOperationBuilder.swift",
"Builder/OpenAPIParametersBuilder.swift",
"Builder/OpenAPIPathsBuilder.swift",
"Builder/OpenAPIRequestBuilder.swift",
"Builder/OpenAPIResponsesBuilder.swift",
"Builder/OpenAPISchemasBuilder.swift",
"Builder/OpenAPISecurityActionsBuilder.swift",
"Builder/OpenAPISecurityBuilder.swift",
"Builder/OpenAPIServersBuilder.swift",
"Builder/OpenAPITagsBuilder.swift",
"Common/APIDataType.swift",
"Common/APIHttpMethod.swift",
"Common/APILocation.swift",
"OpenAPIModel/OpenAPIComponents.swift",
"OpenAPIModel/OpenAPIContact.swift",
"OpenAPIModel/OpenAPIDiscriminator.swift",
"OpenAPIModel/OpenAPIDocument.swift",
"OpenAPIModel/OpenAPIEncoding.swift",
"OpenAPIModel/OpenAPIExample.swift",
"OpenAPIModel/OpenAPIExternalDocumentation.swift",
"OpenAPIModel/OpenAPIHeader.swift",
"OpenAPIModel/OpenAPIInfo.swift",
"OpenAPIModel/OpenAPILicense.swift",
"OpenAPIModel/OpenAPILink.swift",
"OpenAPIModel/OpenAPIMediaType.swift",
"OpenAPIModel/OpenAPIOAuthFlow.swift",
"OpenAPIModel/OpenAPIOAuthFlows.swift",
"OpenAPIModel/OpenAPIOperation.swift",
"OpenAPIModel/OpenAPIParameter.swift",
"OpenAPIModel/OpenAPIPathItem.swift",
"OpenAPIModel/OpenAPIRequestBody.swift",
"OpenAPIModel/OpenAPIResponse.swift",
"OpenAPIModel/OpenAPISchema.swift",
"OpenAPIModel/OpenAPISecurityScheme.swift",
"OpenAPIModel/OpenAPIServer.swift",
"OpenAPIModel/OpenAPIServerVariable.swift",
"OpenAPIModel/OpenAPITag.swift",
"OpenAPIModel/OpenAPIXML.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.