Build Information
Successful build of Swiftgger, reference 2.0.0-rc2 (afd6e6
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 12:29:20 UTC.
Swift 6 data race errors: 13
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: 2.0.0-rc2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mczachurski/swiftgger
* tag 2.0.0-rc2 -> FETCH_HEAD
HEAD is now at afd6e6c Merge branch 'master' of github.com:mczachurski/Swiftgger
Cloned https://github.com/mczachurski/swiftgger.git
Revision (git rev-parse @):
afd6e6ccd9e7200484f0eda30aa5781125e7585f
SUCCESS checkout https://github.com/mczachurski/swiftgger.git at 2.0.0-rc2
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.88s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (1.46s)
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.92s)
Fetching https://github.com/Flight-School/AnyCodable from cache
Fetched https://github.com/Flight-School/AnyCodable from cache (0.48s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.53s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/mczachurski/swiftgger.git
Working copy of https://github.com/mczachurski/swiftgger.git resolved at 2.0.0-rc2 (afd6e6c)
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/Species.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/APIBodyType.swift",
"APIModel/APIContact.swift",
"APIModel/APIController.swift",
"APIModel/APILicense.swift",
"APIModel/APILink.swift",
"APIModel/APIObject.swift",
"APIModel/APIObjectEncodable.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",
"Common/MirrorHelper.swift",
"Encoder/OpenAPISchemaConverter.swift",
"Encoder/OpenAPISchemaEncoder.swift",
"Encoder/OpenAPISchemaKeyedEncodingContainer.swift",
"Encoder/OpenAPISchemaStorage.swift",
"Encoder/OpenAPISchemaUnkeyedEncodingContainer.swift",
"Encoder/PropertyKey.swift",
"Extensions/Encodable+openEncode.swift",
"Extensions/String+snakeCase.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
[4/14] Write swiftgger-test-app-entitlement.plist
[4/14] Copying URLSession.template
[6/14] Write swiftgger-generator-entitlement.plist
[7/14] Write swift-version-2F0A5646E1D333AE.txt
[9/18] Emitting module AnyCodable
[10/18] Compiling AnyCodable AnyEncodable.swift
[11/18] Compiling AnyCodable AnyCodable.swift
[12/18] Compiling AnyCodable AnyDecodable.swift
[13/79] Compiling Swiftgger APILicense.swift
[14/79] Compiling Swiftgger APILink.swift
[15/79] Compiling Swiftgger APIObject.swift
[16/79] Compiling Swiftgger APIObjectEncodable.swift
[17/79] Compiling Swiftgger APIParameter.swift
[18/79] Compiling Swiftgger APIRequest.swift
[19/79] Compiling Swiftgger APIResponse.swift
[20/79] Emitting module Swiftgger
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' 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 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | 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
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | 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
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | 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
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | 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
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | 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
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | 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
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | 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
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | 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
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | 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
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | 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
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | 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
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | 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
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[21/85] Compiling Swiftgger OpenAPIHeader.swift
[22/85] Compiling Swiftgger OpenAPIInfo.swift
[23/85] Compiling Swiftgger OpenAPILicense.swift
[24/85] Compiling Swiftgger OpenAPILink.swift
[25/85] Compiling Swiftgger OpenAPIMediaType.swift
[26/85] Compiling Swiftgger OpenAPIOAuthFlow.swift
[27/85] Compiling Swiftgger APIServer.swift
[28/85] Compiling Swiftgger APIVariable.swift
[29/85] Compiling Swiftgger OpenAPIBuilder.swift
[30/85] Compiling Swiftgger OpenAPIInfoBuilder.swift
[31/85] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[32/85] Compiling Swiftgger OpenAPIOperationBuilder.swift
[33/85] Compiling Swiftgger OpenAPIParametersBuilder.swift
[34/85] Compiling Swiftgger OpenAPIPathsBuilder.swift
[35/85] Compiling Swiftgger OpenAPIRequestBuilder.swift
[36/85] Compiling Swiftgger OpenAPIResponsesBuilder.swift
[37/85] Compiling Swiftgger OpenAPISchemasBuilder.swift
[38/85] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
[39/85] Compiling Swiftgger OpenAPISecurityBuilder.swift
[40/85] Compiling Swiftgger OpenAPIServersBuilder.swift
[41/85] Compiling Swiftgger APIAction.swift
[42/85] Compiling Swiftgger APIAuthorizationFlow.swift
[43/85] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[44/85] Compiling Swiftgger APIAuthorizationType.swift
[45/85] Compiling Swiftgger APIBodyType.swift
[46/85] Compiling Swiftgger APIContact.swift
[47/85] Compiling Swiftgger APIController.swift
[48/85] Compiling Swiftgger OpenAPIContact.swift
[49/85] Compiling Swiftgger OpenAPIDiscriminator.swift
[50/85] Compiling Swiftgger OpenAPIDocument.swift
[51/85] Compiling Swiftgger OpenAPIEncoding.swift
[52/85] Compiling Swiftgger OpenAPIExample.swift
[53/85] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[54/85] Compiling Swiftgger OpenAPIOAuthFlows.swift
[55/85] Compiling Swiftgger OpenAPIOperation.swift
[56/85] Compiling Swiftgger OpenAPIParameter.swift
[57/85] Compiling Swiftgger OpenAPIPathItem.swift
[58/85] Compiling Swiftgger OpenAPIRequestBody.swift
[59/85] Compiling Swiftgger OpenAPIResponse.swift
[60/85] Compiling Swiftgger OpenAPITagsBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' 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 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | 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
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | 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
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | 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
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | 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
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | 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
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | 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
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | 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
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | 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
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | 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
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | 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
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | 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
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | 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
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[61/85] Compiling Swiftgger APIDataType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' 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 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | 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
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | 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
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | 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
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | 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
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | 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
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | 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
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | 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
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | 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
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | 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
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | 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
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | 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
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | 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
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[62/85] Compiling Swiftgger APIHttpMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' 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 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | 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
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | 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
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | 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
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | 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
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | 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
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | 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
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | 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
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | 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
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | 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
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | 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
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | 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
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | 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
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[63/85] Compiling Swiftgger APILocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' 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 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | 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
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | 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
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | 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
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | 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
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | 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
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | 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
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | 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
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | 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
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | 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
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | 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
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | 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
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | 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
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[64/85] Compiling Swiftgger MirrorHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' 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 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | 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
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | 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
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | 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
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | 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
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | 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
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | 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
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | 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
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | 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
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | 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
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | 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
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | 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
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | 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
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[65/85] Compiling Swiftgger OpenAPISchemaConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' 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 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | 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
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | 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
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | 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
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | 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
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | 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
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | 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
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | 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
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | 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
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | 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
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | 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
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | 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
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | 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
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[66/85] Compiling Swiftgger OpenAPISchemaEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' 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 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | 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
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | 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
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | 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
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | 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
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | 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
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | 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
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | 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
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | 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
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | 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
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | 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
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | 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
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96: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
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | 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
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[67/85] Compiling Swiftgger OpenAPISchemaKeyedEncodingContainer.swift
[68/85] Compiling Swiftgger OpenAPISchemaStorage.swift
[69/85] Compiling Swiftgger OpenAPISchemaUnkeyedEncodingContainer.swift
[70/85] Compiling Swiftgger PropertyKey.swift
[71/85] Compiling Swiftgger Encodable+openEncode.swift
[72/85] Compiling Swiftgger String+snakeCase.swift
[73/85] Compiling Swiftgger OpenAPIComponents.swift
[74/85] Compiling Swiftgger OpenAPISchema.swift
[75/85] Compiling Swiftgger OpenAPISecurityScheme.swift
[76/85] Compiling Swiftgger OpenAPIServer.swift
[77/85] Compiling Swiftgger OpenAPIServerVariable.swift
[78/85] Compiling Swiftgger OpenAPITag.swift
[79/85] Compiling Swiftgger OpenAPIXML.swift
[80/104] Compiling SwiftggerTestApp Program.swift
[81/104] Compiling SwiftggerTestApp main.swift
[82/104] Compiling SwiftggerTestApp Species.swift
[83/104] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[84/104] Compiling SwiftggerGenerator main.swift
[85/105] Compiling SwiftggerGenerator SwiftggerError.swift
[86/105] Compiling SwiftggerGenerator OptionType.swift
[87/105] Emitting module SwiftggerTestApp
[88/105] Compiling SwiftggerGenerator ModelSerializer.swift
[89/105] Compiling SwiftggerTestApp Fuel.swift
[90/105] Compiling SwiftggerGenerator Program.swift
[91/105] Compiling SwiftggerTestApp Vehicle.swift
[91/105] Write Objects.LinkFileList
[93/105] Compiling SwiftggerGenerator OpenAPISchema.swift
[94/105] Compiling SwiftggerGenerator String.swift
[95/105] Compiling SwiftggerGenerator ConsoleIO.swift
[96/105] Compiling SwiftggerGenerator OutputType.swift
[97/105] Compiling SwiftggerGenerator URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:18:13: warning: mutation of captured var 'data' in concurrently-executing code
16 |
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code
19 | response = $1
20 | error = $2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:19:13: warning: mutation of captured var 'response' in concurrently-executing code
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
19 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code
20 | error = $2
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:20:13: warning: mutation of captured var 'error' in concurrently-executing code
18 | data = $0
19 | response = $1
20 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code
21 |
22 | semaphore.signal()
[98/105] Compiling SwiftggerGenerator HttpClientGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:18:13: warning: mutation of captured var 'data' in concurrently-executing code
16 |
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code
19 | response = $1
20 | error = $2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:19:13: warning: mutation of captured var 'response' in concurrently-executing code
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
19 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code
20 | error = $2
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:20:13: warning: mutation of captured var 'error' in concurrently-executing code
18 | data = $0
19 | response = $1
20 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code
21 |
22 | semaphore.signal()
[99/105] Emitting module SwiftggerGenerator
[100/105] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[100/105] Write Objects.LinkFileList
[101/105] Linking swiftgger-test-app
[102/105] Linking swiftgger-generator
[103/105] Applying swiftgger-test-app
[104/105] Applying swiftgger-generator
Build complete! (8.50s)
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/Species.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/APIBodyType.swift",
"APIModel/APIContact.swift",
"APIModel/APIController.swift",
"APIModel/APILicense.swift",
"APIModel/APILink.swift",
"APIModel/APIObject.swift",
"APIModel/APIObjectEncodable.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",
"Common/MirrorHelper.swift",
"Encoder/OpenAPISchemaConverter.swift",
"Encoder/OpenAPISchemaEncoder.swift",
"Encoder/OpenAPISchemaKeyedEncodingContainer.swift",
"Encoder/OpenAPISchemaStorage.swift",
"Encoder/OpenAPISchemaUnkeyedEncodingContainer.swift",
"Encoder/PropertyKey.swift",
"Extensions/Encodable+openEncode.swift",
"Extensions/String+snakeCase.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.