Build Information
Successful build of Swiftgger with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 13
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
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: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[50/85] Compiling Swiftgger MirrorHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[51/85] Compiling Swiftgger OpenAPISchemaConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[52/85] Compiling Swiftgger OpenAPISchemaEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[53/85] Compiling Swiftgger APILicense.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
[54/85] Compiling Swiftgger APILink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
[55/85] Compiling Swiftgger APIObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
[56/85] Compiling Swiftgger APIObjectEncodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
[57/85] Compiling Swiftgger APIParameter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
[58/85] Compiling Swiftgger APIRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
[59/85] Compiling Swiftgger APIResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
[60/85] Compiling Swiftgger OpenAPIOAuthFlows.swift
[61/85] Compiling Swiftgger OpenAPIOperation.swift
[62/85] Compiling Swiftgger OpenAPIParameter.swift
[63/85] Compiling Swiftgger OpenAPIPathItem.swift
[64/85] Compiling Swiftgger OpenAPIRequestBody.swift
[65/85] Compiling Swiftgger OpenAPIResponse.swift
[66/85] Emitting module Swiftgger
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[67/85] Compiling Swiftgger OpenAPISchema.swift
[68/85] Compiling Swiftgger OpenAPISecurityScheme.swift
[69/85] Compiling Swiftgger OpenAPIServer.swift
[70/85] Compiling Swiftgger OpenAPIServerVariable.swift
[71/85] Compiling Swiftgger OpenAPITag.swift
[72/85] Compiling Swiftgger OpenAPIXML.swift
[73/85] Compiling Swiftgger OpenAPISchemaKeyedEncodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[74/85] Compiling Swiftgger OpenAPISchemaStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[75/85] Compiling Swiftgger OpenAPISchemaUnkeyedEncodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[76/85] Compiling Swiftgger PropertyKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[77/85] Compiling Swiftgger Encodable+openEncode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[78/85] Compiling Swiftgger String+snakeCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[79/85] Compiling Swiftgger OpenAPIComponents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift: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: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[80/104] Compiling SwiftggerGenerator main.swift
[81/105] Compiling SwiftggerGenerator SwiftggerError.swift
[82/105] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[83/105] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[84/105] Compiling SwiftggerTestApp main.swift
[85/105] Compiling SwiftggerTestApp Vehicle.swift
[86/105] Compiling SwiftggerTestApp Species.swift
[87/105] Compiling SwiftggerTestApp Fuel.swift
[88/105] Emitting module SwiftggerTestApp
[89/105] Compiling SwiftggerTestApp Program.swift
[89/105] Write Objects.LinkFileList
[91/105] Compiling SwiftggerGenerator Program.swift
[92/105] Compiling SwiftggerGenerator ModelSerializer.swift
[93/105] Compiling SwiftggerGenerator OptionType.swift
[94/105] Compiling SwiftggerGenerator ConsoleIO.swift
[95/105] Compiling SwiftggerGenerator OutputType.swift
[96/105] Emitting module SwiftggerGenerator
[97/105] Compiling SwiftggerGenerator OpenAPISchema.swift
[98/105] Compiling SwiftggerGenerator String.swift
[99/105] Compiling SwiftggerGenerator URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:18:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
16 |
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
19 | response = $1
20 | error = $2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:19:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
19 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | error = $2
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:20:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
18 | data = $0
19 | response = $1
20 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
21 |
22 | semaphore.signal()
[100/105] Compiling SwiftggerGenerator HttpClientGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:18:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
16 |
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
19 | response = $1
20 | error = $2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:19:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
19 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | error = $2
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:20:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
18 | data = $0
19 | response = $1
20 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
21 |
22 | semaphore.signal()
[100/105] Write Objects.LinkFileList
[101/105] Linking swiftgger-test-app
[102/105] Linking swiftgger-generator
[103/105] Applying swiftgger-test-app
[104/105] Applying swiftgger-generator
Build complete! (26.08s)
Fetching https://github.com/Flight-School/AnyCodable
[1/764] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.91s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.67s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Build complete.
{
"dependencies" : [
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
}
],
"manifest_display_name" : "Swiftgger",
"name" : "Swiftgger",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Swiftgger",
"targets" : [
"Swiftgger"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swiftgger-generator",
"targets" : [
"SwiftggerGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "swiftgger-test-app",
"targets" : [
"SwiftggerTestApp"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftggerTests",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTests",
"path" : "Tests/SwiftggerTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftggerTests/openapi.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"OpenAPIDocumentDecodableTests.swift",
"OpenAPIInfoBuilderTests.swift",
"OpenAPIParametersBuilderTests.swift",
"OpenAPIPathsBuilderTests.swift",
"OpenAPISchemasBuilderTests.swift",
"OpenAPISecurityBuilderTests.swift",
"OpenAPIServersBuilderTests.swift",
"OpenAPITagsBuilderTests.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "test"
},
{
"c99name" : "SwiftggerTestApp",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTestApp",
"path" : "Sources/SwiftggerTestApp",
"product_memberships" : [
"swiftgger-test-app"
],
"sources" : [
"Models/Fuel.swift",
"Models/Species.swift",
"Models/Vehicle.swift",
"Program.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "SwiftggerGenerator",
"module_type" : "SwiftTarget",
"name" : "SwiftggerGenerator",
"path" : "Sources/SwiftggerGenerator",
"product_memberships" : [
"swiftgger-generator"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/URLSession.template",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ConsoleOutput/ConsoleIO.swift",
"ConsoleOutput/OutputType.swift",
"Extensions/OpenAPISchema.swift",
"Extensions/String.swift",
"Extensions/URLSession.swift",
"HttpClientGenerator.swift",
"ModelSerializer.swift",
"OptionType.swift",
"Program.swift",
"SwiftggerError.swift",
"TemplateFileGenerator.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "Swiftgger",
"module_type" : "SwiftTarget",
"name" : "Swiftgger",
"path" : "Sources/Swiftgger",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"Swiftgger",
"swiftgger-generator",
"swiftgger-test-app"
],
"sources" : [
"APIModel/APIAction.swift",
"APIModel/APIAuthorizationFlow.swift",
"APIModel/APIAuthorizationOAuth2Type.swift",
"APIModel/APIAuthorizationType.swift",
"APIModel/APIBodyType.swift",
"APIModel/APIContact.swift",
"APIModel/APIController.swift",
"APIModel/APILicense.swift",
"APIModel/APILink.swift",
"APIModel/APIObject.swift",
"APIModel/APIObjectEncodable.swift",
"APIModel/APIParameter.swift",
"APIModel/APIRequest.swift",
"APIModel/APIResponse.swift",
"APIModel/APIServer.swift",
"APIModel/APIVariable.swift",
"Builder/OpenAPIBuilder.swift",
"Builder/OpenAPIInfoBuilder.swift",
"Builder/OpenAPIMediaTypeBuilder.swift",
"Builder/OpenAPIOperationBuilder.swift",
"Builder/OpenAPIParametersBuilder.swift",
"Builder/OpenAPIPathsBuilder.swift",
"Builder/OpenAPIRequestBuilder.swift",
"Builder/OpenAPIResponsesBuilder.swift",
"Builder/OpenAPISchemasBuilder.swift",
"Builder/OpenAPISecurityActionsBuilder.swift",
"Builder/OpenAPISecurityBuilder.swift",
"Builder/OpenAPIServersBuilder.swift",
"Builder/OpenAPITagsBuilder.swift",
"Common/APIDataType.swift",
"Common/APIHttpMethod.swift",
"Common/APILocation.swift",
"Common/MirrorHelper.swift",
"Encoder/OpenAPISchemaConverter.swift",
"Encoder/OpenAPISchemaEncoder.swift",
"Encoder/OpenAPISchemaKeyedEncodingContainer.swift",
"Encoder/OpenAPISchemaStorage.swift",
"Encoder/OpenAPISchemaUnkeyedEncodingContainer.swift",
"Encoder/PropertyKey.swift",
"Extensions/Encodable+openEncode.swift",
"Extensions/String+snakeCase.swift",
"OpenAPIModel/OpenAPIComponents.swift",
"OpenAPIModel/OpenAPIContact.swift",
"OpenAPIModel/OpenAPIDiscriminator.swift",
"OpenAPIModel/OpenAPIDocument.swift",
"OpenAPIModel/OpenAPIEncoding.swift",
"OpenAPIModel/OpenAPIExample.swift",
"OpenAPIModel/OpenAPIExternalDocumentation.swift",
"OpenAPIModel/OpenAPIHeader.swift",
"OpenAPIModel/OpenAPIInfo.swift",
"OpenAPIModel/OpenAPILicense.swift",
"OpenAPIModel/OpenAPILink.swift",
"OpenAPIModel/OpenAPIMediaType.swift",
"OpenAPIModel/OpenAPIOAuthFlow.swift",
"OpenAPIModel/OpenAPIOAuthFlows.swift",
"OpenAPIModel/OpenAPIOperation.swift",
"OpenAPIModel/OpenAPIParameter.swift",
"OpenAPIModel/OpenAPIPathItem.swift",
"OpenAPIModel/OpenAPIRequestBody.swift",
"OpenAPIModel/OpenAPIResponse.swift",
"OpenAPIModel/OpenAPISchema.swift",
"OpenAPIModel/OpenAPISecurityScheme.swift",
"OpenAPIModel/OpenAPIServer.swift",
"OpenAPIModel/OpenAPIServerVariable.swift",
"OpenAPIModel/OpenAPITag.swift",
"OpenAPIModel/OpenAPIXML.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.