Build Information
Failed to build Swiftgger, reference master (afd6e6
), with Swift 6.1 for Wasm on 28 May 2025 00:16:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
"OpenAPIModel/OpenAPIContact.swift",
"OpenAPIModel/OpenAPIDiscriminator.swift",
"OpenAPIModel/OpenAPIDocument.swift",
"OpenAPIModel/OpenAPIEncoding.swift",
"OpenAPIModel/OpenAPIExample.swift",
"OpenAPIModel/OpenAPIExternalDocumentation.swift",
"OpenAPIModel/OpenAPIHeader.swift",
"OpenAPIModel/OpenAPIInfo.swift",
"OpenAPIModel/OpenAPILicense.swift",
"OpenAPIModel/OpenAPILink.swift",
"OpenAPIModel/OpenAPIMediaType.swift",
"OpenAPIModel/OpenAPIOAuthFlow.swift",
"OpenAPIModel/OpenAPIOAuthFlows.swift",
"OpenAPIModel/OpenAPIOperation.swift",
"OpenAPIModel/OpenAPIParameter.swift",
"OpenAPIModel/OpenAPIPathItem.swift",
"OpenAPIModel/OpenAPIRequestBody.swift",
"OpenAPIModel/OpenAPIResponse.swift",
"OpenAPIModel/OpenAPISchema.swift",
"OpenAPIModel/OpenAPISecurityScheme.swift",
"OpenAPIModel/OpenAPIServer.swift",
"OpenAPIModel/OpenAPIServerVariable.swift",
"OpenAPIModel/OpenAPITag.swift",
"OpenAPIModel/OpenAPIXML.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.25s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (1.04s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Building for debugging...
[0/14] Write sources
[0/14] Copying URLSession.template
[0/14] Write sources
[5/14] Write swift-version-24593BA9C3E375BF.txt
[7/18] Compiling AnyCodable AnyEncodable.swift
[8/18] Emitting module AnyCodable
[9/18] Compiling AnyCodable AnyCodable.swift
[10/18] Compiling AnyCodable AnyDecodable.swift
[11/19] Wrapping AST for AnyCodable for debugging
[13/78] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[14/78] Compiling Swiftgger OpenAPIOperationBuilder.swift
[15/78] Compiling Swiftgger OpenAPIParametersBuilder.swift
[16/78] Compiling Swiftgger OpenAPIPathsBuilder.swift
[17/78] Compiling Swiftgger OpenAPIRequestBuilder.swift
[18/78] Compiling Swiftgger OpenAPIResponsesBuilder.swift
[19/78] Compiling Swiftgger OpenAPISchemasBuilder.swift
[20/78] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
[21/86] Emitting module Swiftgger
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[22/86] Compiling Swiftgger APIAction.swift
[23/86] Compiling Swiftgger APIAuthorizationFlow.swift
[24/86] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[25/86] Compiling Swiftgger APIAuthorizationType.swift
[26/86] Compiling Swiftgger APIBodyType.swift
[27/86] Compiling Swiftgger APIContact.swift
[28/86] Compiling Swiftgger APIController.swift
[29/86] Compiling Swiftgger APILicense.swift
[30/86] Compiling Swiftgger APILink.swift
[31/86] Compiling Swiftgger APIObject.swift
[32/86] Compiling Swiftgger APIObjectEncodable.swift
[33/86] Compiling Swiftgger APIParameter.swift
[34/86] Compiling Swiftgger APIRequest.swift
[35/86] Compiling Swiftgger APIResponse.swift
[36/86] Compiling Swiftgger APIServer.swift
[37/86] Compiling Swiftgger APIVariable.swift
[38/86] Compiling Swiftgger OpenAPIBuilder.swift
[39/86] Compiling Swiftgger OpenAPIInfoBuilder.swift
[40/86] Compiling Swiftgger OpenAPIContact.swift
[41/86] Compiling Swiftgger OpenAPIDiscriminator.swift
[42/86] Compiling Swiftgger OpenAPIDocument.swift
[43/86] Compiling Swiftgger OpenAPIEncoding.swift
[44/86] Compiling Swiftgger OpenAPIExample.swift
[45/86] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[46/86] Compiling Swiftgger OpenAPIHeader.swift
[47/86] Compiling Swiftgger OpenAPIInfo.swift
[48/86] Compiling Swiftgger OpenAPISecurityBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
[49/86] Compiling Swiftgger OpenAPIServersBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
[50/86] Compiling Swiftgger OpenAPITagsBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
[51/86] Compiling Swiftgger APIDataType.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
[52/86] Compiling Swiftgger APIHttpMethod.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
[53/86] Compiling Swiftgger APILocation.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
[54/86] Compiling Swiftgger MirrorHelper.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
[55/86] Compiling Swiftgger OpenAPISchemaConverter.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
[56/86] Compiling Swiftgger OpenAPISchemaEncoder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[57/86] Compiling Swiftgger OpenAPISchemaKeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[58/86] Compiling Swiftgger OpenAPISchemaStorage.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[59/86] Compiling Swiftgger OpenAPISchemaUnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[60/86] Compiling Swiftgger PropertyKey.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[61/86] Compiling Swiftgger Encodable+openEncode.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[62/86] Compiling Swiftgger String+snakeCase.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[63/86] Compiling Swiftgger OpenAPIComponents.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[64/86] Compiling Swiftgger OpenAPILicense.swift
[65/86] Compiling Swiftgger OpenAPILink.swift
[66/86] Compiling Swiftgger OpenAPIMediaType.swift
[67/86] Compiling Swiftgger OpenAPIOAuthFlow.swift
[68/86] Compiling Swiftgger OpenAPIOAuthFlows.swift
[69/86] Compiling Swiftgger OpenAPIOperation.swift
[70/86] Compiling Swiftgger OpenAPIParameter.swift
[71/86] Compiling Swiftgger OpenAPIPathItem.swift
[72/86] Compiling Swiftgger OpenAPIRequestBody.swift
[73/86] Compiling Swiftgger OpenAPIResponse.swift
[74/86] Compiling Swiftgger OpenAPISchema.swift
[75/86] Compiling Swiftgger OpenAPISecurityScheme.swift
[76/86] Compiling Swiftgger OpenAPIServer.swift
[77/86] Compiling Swiftgger OpenAPIServerVariable.swift
[78/86] Compiling Swiftgger OpenAPITag.swift
[79/86] Compiling Swiftgger OpenAPIXML.swift
[80/87] Wrapping AST for Swiftgger for debugging
[82/106] Compiling SwiftggerTestApp main.swift
[83/106] Compiling SwiftggerGenerator main.swift
[84/107] Compiling SwiftggerGenerator URLSession.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:9:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
7 | import Foundation
8 |
9 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
10 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
11 | var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:10:42: error: cannot find type 'URLRequest' in scope
8 |
9 | extension URLSession {
10 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
| `- error: cannot find type 'URLRequest' in scope
11 | var data: Data?
12 | var response: URLResponse?
[85/107] Compiling SwiftggerGenerator HttpClientGenerator.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:9:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
7 | import Foundation
8 |
9 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
10 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
11 | var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:10:42: error: cannot find type 'URLRequest' in scope
8 |
9 | extension URLSession {
10 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
| `- error: cannot find type 'URLRequest' in scope
11 | var data: Data?
12 | var response: URLResponse?
[86/107] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[87/107] Compiling SwiftggerGenerator Program.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:59:23: error: cannot find 'URLRequest' in scope
57 | }
58 |
59 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
60 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
61 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:60:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
58 |
59 | let request = URLRequest(url: url)
60 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
61 |
62 | if let error = response.error {
[88/107] Compiling SwiftggerGenerator SwiftggerError.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:59:23: error: cannot find 'URLRequest' in scope
57 | }
58 |
59 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
60 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
61 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:60:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
58 |
59 | let request = URLRequest(url: url)
60 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
61 |
62 | if let error = response.error {
[89/107] Emitting module SwiftggerTestApp
[90/107] Compiling SwiftggerTestApp Fuel.swift
[91/107] Compiling SwiftggerGenerator ModelSerializer.swift
[92/107] Compiling SwiftggerGenerator OptionType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/107] Emitting module SwiftggerGenerator
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:9:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
7 | import Foundation
8 |
9 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
10 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
11 | var data: Data?
[94/107] Compiling SwiftggerGenerator ConsoleIO.swift
[95/107] Compiling SwiftggerGenerator OutputType.swift
[96/107] Compiling SwiftggerGenerator OpenAPISchema.swift
[97/107] Compiling SwiftggerGenerator String.swift
[98/107] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[99/107] Compiling SwiftggerTestApp Species.swift
[100/107] Compiling SwiftggerTestApp Vehicle.swift
[101/107] Compiling SwiftggerTestApp Program.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling AnyCodable AnyDecodable.swift
[3/13] Compiling AnyCodable AnyCodable.swift
[4/13] Emitting module AnyCodable
[5/13] Compiling AnyCodable AnyEncodable.swift
[7/72] Compiling Swiftgger APIAction.swift
[8/72] Compiling Swiftgger APIAuthorizationFlow.swift
[9/72] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[10/72] Compiling Swiftgger APIAuthorizationType.swift
[11/72] Compiling Swiftgger APIBodyType.swift
[12/72] Compiling Swiftgger APIContact.swift
[13/72] Compiling Swiftgger APIController.swift
[14/72] Compiling Swiftgger APILicense.swift
[15/72] Compiling Swiftgger APILink.swift
[16/72] Emitting module Swiftgger
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[17/80] Compiling Swiftgger OpenAPISecurityBuilder.swift
[18/80] Compiling Swiftgger OpenAPIServersBuilder.swift
[19/80] Compiling Swiftgger OpenAPITagsBuilder.swift
[20/80] Compiling Swiftgger APIDataType.swift
[21/80] Compiling Swiftgger APIHttpMethod.swift
[22/80] Compiling Swiftgger APILocation.swift
[23/80] Compiling Swiftgger MirrorHelper.swift
[24/80] Compiling Swiftgger OpenAPISchemaConverter.swift
[25/80] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[26/80] Compiling Swiftgger OpenAPIOperationBuilder.swift
[27/80] Compiling Swiftgger OpenAPIParametersBuilder.swift
[28/80] Compiling Swiftgger OpenAPIPathsBuilder.swift
[29/80] Compiling Swiftgger OpenAPIRequestBuilder.swift
[30/80] Compiling Swiftgger OpenAPIResponsesBuilder.swift
[31/80] Compiling Swiftgger OpenAPISchemasBuilder.swift
[32/80] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
[33/80] Compiling Swiftgger OpenAPISchemaEncoder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[34/80] Compiling Swiftgger OpenAPISchemaKeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[35/80] Compiling Swiftgger OpenAPISchemaStorage.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[36/80] Compiling Swiftgger OpenAPISchemaUnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[37/80] Compiling Swiftgger PropertyKey.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[38/80] Compiling Swiftgger Encodable+openEncode.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[39/80] Compiling Swiftgger String+snakeCase.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[40/80] Compiling Swiftgger OpenAPIComponents.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
[41/80] Compiling Swiftgger OpenAPIContact.swift
[42/80] Compiling Swiftgger OpenAPIDiscriminator.swift
[43/80] Compiling Swiftgger OpenAPIDocument.swift
[44/80] Compiling Swiftgger OpenAPIEncoding.swift
[45/80] Compiling Swiftgger OpenAPIExample.swift
[46/80] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[47/80] Compiling Swiftgger OpenAPIHeader.swift
[48/80] Compiling Swiftgger OpenAPIInfo.swift
[49/80] Compiling Swiftgger APIObject.swift
[50/80] Compiling Swiftgger APIObjectEncodable.swift
[51/80] Compiling Swiftgger APIParameter.swift
[52/80] Compiling Swiftgger APIRequest.swift
[53/80] Compiling Swiftgger APIResponse.swift
[54/80] Compiling Swiftgger APIServer.swift
[55/80] Compiling Swiftgger APIVariable.swift
[56/80] Compiling Swiftgger OpenAPIBuilder.swift
[57/80] Compiling Swiftgger OpenAPIInfoBuilder.swift
[58/80] Compiling Swiftgger OpenAPILicense.swift
[59/80] Compiling Swiftgger OpenAPILink.swift
[60/80] Compiling Swiftgger OpenAPIMediaType.swift
[61/80] Compiling Swiftgger OpenAPIOAuthFlow.swift
[62/80] Compiling Swiftgger OpenAPIOAuthFlows.swift
[63/80] Compiling Swiftgger OpenAPIOperation.swift
[64/80] Compiling Swiftgger OpenAPIParameter.swift
[65/80] Compiling Swiftgger OpenAPIPathItem.swift
[66/80] Compiling Swiftgger OpenAPIRequestBody.swift
[67/80] Compiling Swiftgger OpenAPIResponse.swift
[68/80] Compiling Swiftgger OpenAPISchema.swift
[69/80] Compiling Swiftgger OpenAPISecurityScheme.swift
[70/80] Compiling Swiftgger OpenAPIServer.swift
[71/80] Compiling Swiftgger OpenAPIServerVariable.swift
[72/80] Compiling Swiftgger OpenAPITag.swift
[73/80] Compiling Swiftgger OpenAPIXML.swift
[74/81] Wrapping AST for Swiftgger for debugging
[76/100] Compiling SwiftggerTestApp main.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[77/100] Compiling SwiftggerGenerator main.swift
[78/100] Emitting module SwiftggerGenerator
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:9:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
7 | import Foundation
8 |
9 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
10 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
11 | var data: Data?
[79/100] Compiling SwiftggerGenerator ConsoleIO.swift
[80/100] Compiling SwiftggerGenerator OutputType.swift
[81/101] Compiling SwiftggerTestApp Program.swift
[82/101] Compiling SwiftggerTestApp Species.swift
[83/101] Emitting module SwiftggerTestApp
[84/101] Compiling SwiftggerTestApp Vehicle.swift
[85/101] Compiling SwiftggerTestApp Fuel.swift
[86/102] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[87/102] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[88/102] Compiling SwiftggerGenerator Program.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:59:23: error: cannot find 'URLRequest' in scope
57 | }
58 |
59 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
60 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
61 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:60:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
58 |
59 | let request = URLRequest(url: url)
60 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
61 |
62 | if let error = response.error {
[89/102] Compiling SwiftggerGenerator SwiftggerError.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:59:23: error: cannot find 'URLRequest' in scope
57 | }
58 |
59 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
60 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
61 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:60:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
58 |
59 | let request = URLRequest(url: url)
60 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
61 |
62 | if let error = response.error {
[90/102] Compiling SwiftggerGenerator ModelSerializer.swift
[91/102] Compiling SwiftggerGenerator OptionType.swift
[92/102] Compiling SwiftggerGenerator URLSession.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:9:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
7 | import Foundation
8 |
9 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
10 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
11 | var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:10:42: error: cannot find type 'URLRequest' in scope
8 |
9 | extension URLSession {
10 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
| `- error: cannot find type 'URLRequest' in scope
11 | var data: Data?
12 | var response: URLResponse?
[93/102] Compiling SwiftggerGenerator HttpClientGenerator.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:9:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
7 | import Foundation
8 |
9 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
10 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
11 | var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:10:42: error: cannot find type 'URLRequest' in scope
8 |
9 | extension URLSession {
10 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
| `- error: cannot find type 'URLRequest' in scope
11 | var data: Data?
12 | var response: URLResponse?
[94/102] Compiling SwiftggerGenerator OpenAPISchema.swift
[95/102] Compiling SwiftggerGenerator String.swift
[96/102] Wrapping AST for SwiftggerTestApp for debugging
BUILD FAILURE 6.1 wasm