Build Information
Failed to build Swiftgger, reference 2.0.0-rc2 (afd6e6
), with Swift 6.1 for Linux on 26 Apr 2025 12:24:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
| |- 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 |
[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 SwiftggerGenerator main.swift
[83/106] Compiling SwiftggerTestApp main.swift
[84/107] Compiling SwiftggerGenerator ModelSerializer.swift
[85/107] Compiling SwiftggerGenerator OptionType.swift
[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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/107] Compiling SwiftggerGenerator OpenAPISchema.swift
[90/107] Compiling SwiftggerGenerator String.swift
[91/107] Compiling SwiftggerGenerator ConsoleIO.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:19:33: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | print(message)
18 | case .debug:
19 | fputs("\(message)", stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | fflush(stdout)
21 | case .error:
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:20:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | case .debug:
19 | fputs("\(message)", stdout)
20 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | case .error:
22 | fputs("Error: \(message)\n", stderr)
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:22:42: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | fflush(stdout)
21 | case .error:
22 | fputs("Error: \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[92/107] Compiling SwiftggerGenerator OutputType.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:19:33: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | print(message)
18 | case .debug:
19 | fputs("\(message)", stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | fflush(stdout)
21 | case .error:
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:20:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | case .debug:
19 | fputs("\(message)", stdout)
20 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | case .error:
22 | fputs("Error: \(message)\n", stderr)
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:22:42: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | fflush(stdout)
21 | case .error:
22 | fputs("Error: \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[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 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?
[95/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?
[96/107] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[97/107] Compiling SwiftggerTestApp Vehicle.swift
[98/107] Compiling SwiftggerTestApp Species.swift
[99/107] Emitting module SwiftggerTestApp
[100/107] Compiling SwiftggerTestApp Fuel.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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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] Emitting module AnyCodable
[4/13] Compiling AnyCodable AnyCodable.swift
[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/80] Compiling Swiftgger APIObject.swift
[17/80] Compiling Swiftgger APIObjectEncodable.swift
[18/80] Compiling Swiftgger APIParameter.swift
[19/80] Compiling Swiftgger APIRequest.swift
[20/80] Compiling Swiftgger APIResponse.swift
[21/80] Compiling Swiftgger APIServer.swift
[22/80] Compiling Swiftgger APIVariable.swift
[23/80] Compiling Swiftgger OpenAPIBuilder.swift
[24/80] Compiling Swiftgger OpenAPIInfoBuilder.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] 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 |
[42/80] Compiling Swiftgger OpenAPIRequestBody.swift
[43/80] Compiling Swiftgger OpenAPIResponse.swift
[44/80] Compiling Swiftgger OpenAPISchema.swift
[45/80] Compiling Swiftgger OpenAPISecurityScheme.swift
[46/80] Compiling Swiftgger OpenAPIServer.swift
[47/80] Compiling Swiftgger OpenAPIServerVariable.swift
[48/80] Compiling Swiftgger OpenAPITag.swift
[49/80] Compiling Swiftgger OpenAPIXML.swift
[50/80] Compiling Swiftgger OpenAPIContact.swift
[51/80] Compiling Swiftgger OpenAPIDiscriminator.swift
[52/80] Compiling Swiftgger OpenAPIDocument.swift
[53/80] Compiling Swiftgger OpenAPIEncoding.swift
[54/80] Compiling Swiftgger OpenAPIExample.swift
[55/80] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[56/80] Compiling Swiftgger OpenAPIHeader.swift
[57/80] Compiling Swiftgger OpenAPIInfo.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 OpenAPISecurityBuilder.swift
[67/80] Compiling Swiftgger OpenAPIServersBuilder.swift
[68/80] Compiling Swiftgger OpenAPITagsBuilder.swift
[69/80] Compiling Swiftgger APIDataType.swift
[70/80] Compiling Swiftgger APIHttpMethod.swift
[71/80] Compiling Swiftgger APILocation.swift
[72/80] Compiling Swiftgger MirrorHelper.swift
[73/80] Compiling Swiftgger OpenAPISchemaConverter.swift
[74/81] Wrapping AST for Swiftgger for debugging
[76/100] Compiling SwiftggerTestApp main.swift
[77/100] Emitting module SwiftggerTestApp
[78/100] Compiling SwiftggerTestApp Species.swift
[79/100] Compiling SwiftggerGenerator main.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[80/101] 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?
[81/101] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[82/101] 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 {
[83/101] 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 {
[84/101] Compiling SwiftggerTestApp Vehicle.swift
[85/101] Compiling SwiftggerTestApp Fuel.swift
[86/101] Compiling SwiftggerTestApp Program.swift
[87/102] Compiling SwiftggerGenerator OpenAPISchema.swift
[88/102] Compiling SwiftggerGenerator String.swift
[89/102] Compiling SwiftggerGenerator ConsoleIO.swift
[90/102] Compiling SwiftggerGenerator OutputType.swift
[91/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?
[92/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?
[93/102] Compiling SwiftggerGenerator ModelSerializer.swift
[94/102] Compiling SwiftggerGenerator OptionType.swift
[96/102] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[96/102] Wrapping AST for SwiftggerTestApp for debugging
BUILD FAILURE 6.1 linux