Build Information
Successful build of Swiftgger, reference 1.5.0 (25d9ea
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 17:19:51 UTC.
Swift 6 data race errors: 12
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
[17/69] Compiling Swiftgger APIRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
[18/69] Compiling Swiftgger APIResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
[19/74] Compiling Swiftgger APIAction.swift
[20/74] Compiling Swiftgger APIAuthorizationFlow.swift
[21/74] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[22/74] Compiling Swiftgger APIAuthorizationType.swift
[23/74] Compiling Swiftgger APIContact.swift
[24/74] Compiling Swiftgger APIController.swift
[25/74] Emitting module Swiftgger
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[26/74] Compiling Swiftgger APIServer.swift
[27/74] Compiling Swiftgger APIVariable.swift
[28/74] Compiling Swiftgger OpenAPIBuilder.swift
[29/74] Compiling Swiftgger OpenAPIInfoBuilder.swift
[30/74] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[31/74] Compiling Swiftgger OpenAPIOperationBuilder.swift
[32/74] Compiling Swiftgger OpenAPIExample.swift
[33/74] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[34/74] Compiling Swiftgger OpenAPIHeader.swift
[35/74] Compiling Swiftgger OpenAPIInfo.swift
[36/74] Compiling Swiftgger OpenAPILicense.swift
[37/74] Compiling Swiftgger OpenAPIComponents.swift
[38/74] Compiling Swiftgger OpenAPIContact.swift
[39/74] Compiling Swiftgger OpenAPIDiscriminator.swift
[40/74] Compiling Swiftgger OpenAPIDocument.swift
[41/74] Compiling Swiftgger OpenAPIEncoding.swift
[42/74] Compiling Swiftgger OpenAPISecurityScheme.swift
[43/74] Compiling Swiftgger OpenAPIServer.swift
[44/74] Compiling Swiftgger OpenAPIServerVariable.swift
[45/74] Compiling Swiftgger OpenAPITag.swift
[46/74] Compiling Swiftgger OpenAPIXML.swift
[47/74] Compiling Swiftgger OpenAPILink.swift
[48/74] Compiling Swiftgger OpenAPIMediaType.swift
[49/74] Compiling Swiftgger OpenAPIOAuthFlow.swift
[50/74] Compiling Swiftgger OpenAPIOAuthFlows.swift
[51/74] Compiling Swiftgger OpenAPIOperation.swift
[52/74] Compiling Swiftgger OpenAPIParametersBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[53/74] Compiling Swiftgger OpenAPIPathsBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[54/74] Compiling Swiftgger OpenAPIRequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[55/74] Compiling Swiftgger OpenAPIResponsesBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[56/74] Compiling Swiftgger OpenAPISchemasBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[57/74] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[58/74] Compiling Swiftgger OpenAPISecurityBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[59/74] Compiling Swiftgger OpenAPIServersBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[60/74] Compiling Swiftgger OpenAPITagsBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[61/74] Compiling Swiftgger APIDataType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[62/74] Compiling Swiftgger APIHttpMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[63/74] Compiling Swiftgger APILocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[64/74] Compiling Swiftgger OpenAPIParameter.swift
[65/74] Compiling Swiftgger OpenAPIPathItem.swift
[66/74] Compiling Swiftgger OpenAPIRequestBody.swift
[67/74] Compiling Swiftgger OpenAPIResponse.swift
[68/74] Compiling Swiftgger OpenAPISchema.swift
[69/92] Compiling SwiftggerGenerator main.swift
[70/93] Compiling SwiftggerTestApp main.swift
[71/93] Compiling SwiftggerTestApp Vehicle.swift
[72/93] Compiling SwiftggerTestApp Fuel.swift
[73/93] Emitting module SwiftggerTestApp
[74/93] Compiling SwiftggerTestApp Program.swift
[74/93] Write Objects.LinkFileList
[76/93] Compiling SwiftggerGenerator URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:20:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
18 |
19 | let dataTask = self.dataTask(with: urlrequest) {
20 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
21 | response = $1
22 | error = $2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:21:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
19 | let dataTask = self.dataTask(with: urlrequest) {
20 | data = $0
21 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
22 | error = $2
23 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:22:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | data = $0
21 | response = $1
22 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
23 |
24 | semaphore.signal()
[77/93] Compiling SwiftggerGenerator HttpClientGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:20:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
18 |
19 | let dataTask = self.dataTask(with: urlrequest) {
20 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
21 | response = $1
22 | error = $2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:21:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
19 | let dataTask = self.dataTask(with: urlrequest) {
20 | data = $0
21 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
22 | error = $2
23 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:22:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | data = $0
21 | response = $1
22 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
23 |
24 | semaphore.signal()
[78/93] Compiling SwiftggerGenerator ConsoleIO.swift
[79/93] Compiling SwiftggerGenerator OutputType.swift
[80/93] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[81/93] Emitting module SwiftggerGenerator
[82/93] Compiling SwiftggerGenerator Program.swift
[83/93] Compiling SwiftggerGenerator ModelSerializer.swift
[84/93] Compiling SwiftggerGenerator OptionType.swift
[85/93] Compiling SwiftggerGenerator OpenAPISchema.swift
[86/93] Compiling SwiftggerGenerator String.swift
[87/93] Compiling SwiftggerGenerator SwiftggerError.swift
[88/93] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[88/93] Write Objects.LinkFileList
[89/93] Linking swiftgger-test-app
[89/93] Linking swiftgger-generator
[91/93] Applying swiftgger-test-app
[92/93] Applying swiftgger-generator
Build complete! (11.73s)
Build complete.
{
"dependencies" : [
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
}
],
"manifest_display_name" : "Swiftgger",
"name" : "Swiftgger",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Swiftgger",
"targets" : [
"Swiftgger"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swiftgger-generator",
"targets" : [
"SwiftggerGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "swiftgger-test-app",
"targets" : [
"SwiftggerTestApp"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftggerTests",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTests",
"path" : "Tests/SwiftggerTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftggerTests/openapi.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"OpenAPIDocumentDecodableTests.swift",
"OpenAPIInfoBuilderTests.swift",
"OpenAPIParametersBuilderTests.swift",
"OpenAPIPathsBuilderTests.swift",
"OpenAPISchemasBuilderTests.swift",
"OpenAPISecurityBuilderTests.swift",
"OpenAPIServersBuilderTests.swift",
"OpenAPITagsBuilderTests.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "test"
},
{
"c99name" : "SwiftggerTestApp",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTestApp",
"path" : "Sources/SwiftggerTestApp",
"product_memberships" : [
"swiftgger-test-app"
],
"sources" : [
"Models/Fuel.swift",
"Models/Vehicle.swift",
"Program.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "SwiftggerGenerator",
"module_type" : "SwiftTarget",
"name" : "SwiftggerGenerator",
"path" : "Sources/SwiftggerGenerator",
"product_memberships" : [
"swiftgger-generator"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/URLSession.template",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ConsoleOutput/ConsoleIO.swift",
"ConsoleOutput/OutputType.swift",
"Extensions/OpenAPISchema.swift",
"Extensions/String.swift",
"Extensions/URLSession.swift",
"HttpClientGenerator.swift",
"ModelSerializer.swift",
"OptionType.swift",
"Program.swift",
"SwiftggerError.swift",
"TemplateFileGenerator.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "Swiftgger",
"module_type" : "SwiftTarget",
"name" : "Swiftgger",
"path" : "Sources/Swiftgger",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"Swiftgger",
"swiftgger-generator",
"swiftgger-test-app"
],
"sources" : [
"APIModel/APIAction.swift",
"APIModel/APIAuthorizationFlow.swift",
"APIModel/APIAuthorizationOAuth2Type.swift",
"APIModel/APIAuthorizationType.swift",
"APIModel/APIContact.swift",
"APIModel/APIController.swift",
"APIModel/APILicense.swift",
"APIModel/APILink.swift",
"APIModel/APIObject.swift",
"APIModel/APIParameter.swift",
"APIModel/APIRequest.swift",
"APIModel/APIResponse.swift",
"APIModel/APIServer.swift",
"APIModel/APIVariable.swift",
"Builder/OpenAPIBuilder.swift",
"Builder/OpenAPIInfoBuilder.swift",
"Builder/OpenAPIMediaTypeBuilder.swift",
"Builder/OpenAPIOperationBuilder.swift",
"Builder/OpenAPIParametersBuilder.swift",
"Builder/OpenAPIPathsBuilder.swift",
"Builder/OpenAPIRequestBuilder.swift",
"Builder/OpenAPIResponsesBuilder.swift",
"Builder/OpenAPISchemasBuilder.swift",
"Builder/OpenAPISecurityActionsBuilder.swift",
"Builder/OpenAPISecurityBuilder.swift",
"Builder/OpenAPIServersBuilder.swift",
"Builder/OpenAPITagsBuilder.swift",
"Common/APIDataType.swift",
"Common/APIHttpMethod.swift",
"Common/APILocation.swift",
"OpenAPIModel/OpenAPIComponents.swift",
"OpenAPIModel/OpenAPIContact.swift",
"OpenAPIModel/OpenAPIDiscriminator.swift",
"OpenAPIModel/OpenAPIDocument.swift",
"OpenAPIModel/OpenAPIEncoding.swift",
"OpenAPIModel/OpenAPIExample.swift",
"OpenAPIModel/OpenAPIExternalDocumentation.swift",
"OpenAPIModel/OpenAPIHeader.swift",
"OpenAPIModel/OpenAPIInfo.swift",
"OpenAPIModel/OpenAPILicense.swift",
"OpenAPIModel/OpenAPILink.swift",
"OpenAPIModel/OpenAPIMediaType.swift",
"OpenAPIModel/OpenAPIOAuthFlow.swift",
"OpenAPIModel/OpenAPIOAuthFlows.swift",
"OpenAPIModel/OpenAPIOperation.swift",
"OpenAPIModel/OpenAPIParameter.swift",
"OpenAPIModel/OpenAPIPathItem.swift",
"OpenAPIModel/OpenAPIRequestBody.swift",
"OpenAPIModel/OpenAPIResponse.swift",
"OpenAPIModel/OpenAPISchema.swift",
"OpenAPIModel/OpenAPISecurityScheme.swift",
"OpenAPIModel/OpenAPIServer.swift",
"OpenAPIModel/OpenAPIServerVariable.swift",
"OpenAPIModel/OpenAPITag.swift",
"OpenAPIModel/OpenAPIXML.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.