Build Information
Failed to build Swiftgger, reference 1.5.0 (25d9ea
), with Swift 6.1 for Linux on 26 Apr 2025 12:24:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mczachurski/swiftgger.git
Reference: 1.5.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/mczachurski/swiftgger
* tag 1.5.0 -> FETCH_HEAD
HEAD is now at 25d9ea8 Merge pull request #22 from mczachurski/feature/swift-generator
Cloned https://github.com/mczachurski/swiftgger.git
Revision (git rev-parse @):
25d9ea884067764ab314cd3bf7e0ca19867b3f45
SUCCESS checkout https://github.com/mczachurski/swiftgger.git at 1.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/mczachurski/swiftgger.git
https://github.com/mczachurski/swiftgger.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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" : "/host/spi-builder-workspace/Tests/SwiftggerTests/openapi.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"OpenAPIDocumentDecodableTests.swift",
"OpenAPIInfoBuilderTests.swift",
"OpenAPIParametersBuilderTests.swift",
"OpenAPIPathsBuilderTests.swift",
"OpenAPISchemasBuilderTests.swift",
"OpenAPISecurityBuilderTests.swift",
"OpenAPIServersBuilderTests.swift",
"OpenAPITagsBuilderTests.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "test"
},
{
"c99name" : "SwiftggerTestApp",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTestApp",
"path" : "Sources/SwiftggerTestApp",
"product_memberships" : [
"swiftgger-test-app"
],
"sources" : [
"Models/Fuel.swift",
"Models/Vehicle.swift",
"Program.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "SwiftggerGenerator",
"module_type" : "SwiftTarget",
"name" : "SwiftggerGenerator",
"path" : "Sources/SwiftggerGenerator",
"product_memberships" : [
"swiftgger-generator"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/SwiftggerGenerator/URLSession.template",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ConsoleOutput/ConsoleIO.swift",
"ConsoleOutput/OutputType.swift",
"Extensions/OpenAPISchema.swift",
"Extensions/String.swift",
"Extensions/URLSession.swift",
"HttpClientGenerator.swift",
"ModelSerializer.swift",
"OptionType.swift",
"Program.swift",
"SwiftggerError.swift",
"TemplateFileGenerator.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "Swiftgger",
"module_type" : "SwiftTarget",
"name" : "Swiftgger",
"path" : "Sources/Swiftgger",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"Swiftgger",
"swiftgger-generator",
"swiftgger-test-app"
],
"sources" : [
"APIModel/APIAction.swift",
"APIModel/APIAuthorizationFlow.swift",
"APIModel/APIAuthorizationOAuth2Type.swift",
"APIModel/APIAuthorizationType.swift",
"APIModel/APIContact.swift",
"APIModel/APIController.swift",
"APIModel/APILicense.swift",
"APIModel/APILink.swift",
"APIModel/APIObject.swift",
"APIModel/APIParameter.swift",
"APIModel/APIRequest.swift",
"APIModel/APIResponse.swift",
"APIModel/APIServer.swift",
"APIModel/APIVariable.swift",
"Builder/OpenAPIBuilder.swift",
"Builder/OpenAPIInfoBuilder.swift",
"Builder/OpenAPIMediaTypeBuilder.swift",
"Builder/OpenAPIOperationBuilder.swift",
"Builder/OpenAPIParametersBuilder.swift",
"Builder/OpenAPIPathsBuilder.swift",
"Builder/OpenAPIRequestBuilder.swift",
"Builder/OpenAPIResponsesBuilder.swift",
"Builder/OpenAPISchemasBuilder.swift",
"Builder/OpenAPISecurityActionsBuilder.swift",
"Builder/OpenAPISecurityBuilder.swift",
"Builder/OpenAPIServersBuilder.swift",
"Builder/OpenAPITagsBuilder.swift",
"Common/APIDataType.swift",
"Common/APIHttpMethod.swift",
"Common/APILocation.swift",
"OpenAPIModel/OpenAPIComponents.swift",
"OpenAPIModel/OpenAPIContact.swift",
"OpenAPIModel/OpenAPIDiscriminator.swift",
"OpenAPIModel/OpenAPIDocument.swift",
"OpenAPIModel/OpenAPIEncoding.swift",
"OpenAPIModel/OpenAPIExample.swift",
"OpenAPIModel/OpenAPIExternalDocumentation.swift",
"OpenAPIModel/OpenAPIHeader.swift",
"OpenAPIModel/OpenAPIInfo.swift",
"OpenAPIModel/OpenAPILicense.swift",
"OpenAPIModel/OpenAPILink.swift",
"OpenAPIModel/OpenAPIMediaType.swift",
"OpenAPIModel/OpenAPIOAuthFlow.swift",
"OpenAPIModel/OpenAPIOAuthFlows.swift",
"OpenAPIModel/OpenAPIOperation.swift",
"OpenAPIModel/OpenAPIParameter.swift",
"OpenAPIModel/OpenAPIPathItem.swift",
"OpenAPIModel/OpenAPIRequestBody.swift",
"OpenAPIModel/OpenAPIResponse.swift",
"OpenAPIModel/OpenAPISchema.swift",
"OpenAPIModel/OpenAPISecurityScheme.swift",
"OpenAPIModel/OpenAPIServer.swift",
"OpenAPIModel/OpenAPIServerVariable.swift",
"OpenAPIModel/OpenAPITag.swift",
"OpenAPIModel/OpenAPIXML.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.32s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.88s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Building for debugging...
[0/14] Write sources
[2/14] Copying URLSession.template
[5/14] Write swift-version-24593BA9C3E375BF.txt
[7/18] Compiling AnyCodable AnyEncodable.swift
[8/18] Emitting module AnyCodable
[9/18] Compiling AnyCodable AnyDecodable.swift
[10/18] Compiling AnyCodable AnyCodable.swift
[11/19] Wrapping AST for AnyCodable for debugging
[13/69] Compiling Swiftgger APIAction.swift
[14/69] Compiling Swiftgger APIAuthorizationFlow.swift
[15/69] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[16/69] Compiling Swiftgger APIAuthorizationType.swift
[17/69] Compiling Swiftgger APIContact.swift
[18/69] Compiling Swiftgger APIController.swift
[19/69] Compiling Swiftgger APILicense.swift
[20/75] Emitting module Swiftgger
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[21/75] Compiling Swiftgger APILink.swift
[22/75] Compiling Swiftgger APIObject.swift
[23/75] Compiling Swiftgger APIParameter.swift
[24/75] Compiling Swiftgger APIRequest.swift
[25/75] Compiling Swiftgger APIResponse.swift
[26/75] Compiling Swiftgger APIServer.swift
[27/75] Compiling Swiftgger APIVariable.swift
[28/75] Compiling Swiftgger OpenAPIResponsesBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[29/75] Compiling Swiftgger OpenAPISchemasBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[30/75] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[31/75] Compiling Swiftgger OpenAPISecurityBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[32/75] Compiling Swiftgger OpenAPIServersBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[33/75] Compiling Swiftgger OpenAPITagsBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[34/75] Compiling Swiftgger APIDataType.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[35/75] Compiling Swiftgger APIHttpMethod.swift
[36/75] Compiling Swiftgger APILocation.swift
[37/75] Compiling Swiftgger OpenAPIComponents.swift
[38/75] Compiling Swiftgger OpenAPIContact.swift
[39/75] Compiling Swiftgger OpenAPIDiscriminator.swift
[40/75] Compiling Swiftgger OpenAPIDocument.swift
[41/75] Compiling Swiftgger OpenAPIEncoding.swift
[42/75] Compiling Swiftgger OpenAPIBuilder.swift
[43/75] Compiling Swiftgger OpenAPIInfoBuilder.swift
[44/75] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[45/75] Compiling Swiftgger OpenAPIOperationBuilder.swift
[46/75] Compiling Swiftgger OpenAPIParametersBuilder.swift
[47/75] Compiling Swiftgger OpenAPIPathsBuilder.swift
[48/75] Compiling Swiftgger OpenAPIRequestBuilder.swift
[49/75] Compiling Swiftgger OpenAPIExample.swift
[50/75] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[51/75] Compiling Swiftgger OpenAPIHeader.swift
[52/75] Compiling Swiftgger OpenAPIInfo.swift
[53/75] Compiling Swiftgger OpenAPILicense.swift
[54/75] Compiling Swiftgger OpenAPILink.swift
[55/75] Compiling Swiftgger OpenAPIMediaType.swift
[56/75] Compiling Swiftgger OpenAPISchema.swift
[57/75] Compiling Swiftgger OpenAPISecurityScheme.swift
[58/75] Compiling Swiftgger OpenAPIServer.swift
[59/75] Compiling Swiftgger OpenAPIServerVariable.swift
[60/75] Compiling Swiftgger OpenAPITag.swift
[61/75] Compiling Swiftgger OpenAPIXML.swift
[62/75] Compiling Swiftgger OpenAPIOAuthFlow.swift
[63/75] Compiling Swiftgger OpenAPIOAuthFlows.swift
[64/75] Compiling Swiftgger OpenAPIOperation.swift
[65/75] Compiling Swiftgger OpenAPIParameter.swift
[66/75] Compiling Swiftgger OpenAPIPathItem.swift
[67/75] Compiling Swiftgger OpenAPIRequestBody.swift
[68/75] Compiling Swiftgger OpenAPIResponse.swift
[69/76] Wrapping AST for Swiftgger for debugging
[71/94] Compiling SwiftggerTestApp main.swift
[72/94] Compiling SwiftggerTestApp Program.swift
[73/94] Emitting module SwiftggerTestApp
[74/94] Compiling SwiftggerTestApp Vehicle.swift
[75/94] Compiling SwiftggerTestApp Fuel.swift
[76/95] Compiling SwiftggerGenerator main.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[77/96] Compiling SwiftggerGenerator ConsoleIO.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:21:33: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 | print(message)
20 | case .debug:
21 | fputs("\(message)", stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | fflush(stdout)
23 | case .error:
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:22:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | case .debug:
21 | fputs("\(message)", stdout)
22 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 | case .error:
24 | fputs("Error: \(message)\n", stderr)
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:24:42: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | fflush(stdout)
23 | case .error:
24 | fputs("Error: \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[78/96] Compiling SwiftggerGenerator OutputType.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:21:33: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 | print(message)
20 | case .debug:
21 | fputs("\(message)", stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | fflush(stdout)
23 | case .error:
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:22:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | case .debug:
21 | fputs("\(message)", stdout)
22 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 | case .error:
24 | fputs("Error: \(message)\n", stderr)
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:24:42: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | fflush(stdout)
23 | case .error:
24 | fputs("Error: \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[79/96] Emitting module SwiftggerGenerator
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
13 | var data: Data?
[80/96] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[81/96] Compiling SwiftggerGenerator Program.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:61:23: error: cannot find 'URLRequest' in scope
59 | }
60 |
61 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
63 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:62:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 |
61 | let request = URLRequest(url: url)
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
63 |
64 | if let error = response.error {
[82/96] Compiling SwiftggerGenerator SwiftggerError.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:61:23: error: cannot find 'URLRequest' in scope
59 | }
60 |
61 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
63 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:62:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 |
61 | let request = URLRequest(url: url)
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
63 |
64 | if let error = response.error {
[83/96] Compiling SwiftggerGenerator OpenAPISchema.swift
[84/96] Compiling SwiftggerGenerator String.swift
[85/96] Compiling SwiftggerGenerator ModelSerializer.swift
[86/96] Compiling SwiftggerGenerator OptionType.swift
[87/96] Compiling SwiftggerGenerator URLSession.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
13 | var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:12:42: error: cannot find type 'URLRequest' in scope
10 |
11 | extension URLSession {
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
| `- error: cannot find type 'URLRequest' in scope
13 | var data: Data?
14 | var response: URLResponse?
[88/96] Compiling SwiftggerGenerator HttpClientGenerator.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
13 | var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:12:42: error: cannot find type 'URLRequest' in scope
10 |
11 | extension URLSession {
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
| `- error: cannot find type 'URLRequest' in scope
13 | var data: Data?
14 | var response: URLResponse?
[90/96] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[90/96] Wrapping AST for SwiftggerTestApp for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling AnyCodable AnyDecodable.swift
[3/13] Emitting module AnyCodable
[4/13] Compiling AnyCodable AnyEncodable.swift
[5/13] Compiling AnyCodable AnyCodable.swift
[7/63] Compiling Swiftgger APIAction.swift
[8/63] Compiling Swiftgger APIAuthorizationFlow.swift
[9/63] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[10/63] Compiling Swiftgger APIAuthorizationType.swift
[11/63] Compiling Swiftgger APIContact.swift
[12/63] Compiling Swiftgger APIController.swift
[13/63] Compiling Swiftgger APILicense.swift
[14/69] Compiling Swiftgger APILink.swift
[15/69] Compiling Swiftgger APIObject.swift
[16/69] Compiling Swiftgger APIParameter.swift
[17/69] Compiling Swiftgger APIRequest.swift
[18/69] Compiling Swiftgger APIResponse.swift
[19/69] Compiling Swiftgger APIServer.swift
[20/69] Compiling Swiftgger APIVariable.swift
[21/69] Compiling Swiftgger OpenAPIBuilder.swift
[22/69] Compiling Swiftgger OpenAPIInfoBuilder.swift
[23/69] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[24/69] Compiling Swiftgger OpenAPIOperationBuilder.swift
[25/69] Compiling Swiftgger OpenAPIParametersBuilder.swift
[26/69] Compiling Swiftgger OpenAPIPathsBuilder.swift
[27/69] Compiling Swiftgger OpenAPIRequestBuilder.swift
[28/69] Compiling Swiftgger APIHttpMethod.swift
[29/69] Compiling Swiftgger APILocation.swift
[30/69] Compiling Swiftgger OpenAPIComponents.swift
[31/69] Compiling Swiftgger OpenAPIContact.swift
[32/69] Compiling Swiftgger OpenAPIDiscriminator.swift
[33/69] Compiling Swiftgger OpenAPIDocument.swift
[34/69] Compiling Swiftgger OpenAPIEncoding.swift
[35/69] Emitting module Swiftgger
[36/69] Compiling Swiftgger OpenAPIResponsesBuilder.swift
[37/69] Compiling Swiftgger OpenAPISchemasBuilder.swift
[38/69] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
[39/69] Compiling Swiftgger OpenAPISecurityBuilder.swift
[40/69] Compiling Swiftgger OpenAPIServersBuilder.swift
[41/69] Compiling Swiftgger OpenAPITagsBuilder.swift
[42/69] Compiling Swiftgger APIDataType.swift
[43/69] Compiling Swiftgger OpenAPIExample.swift
[44/69] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[45/69] Compiling Swiftgger OpenAPIHeader.swift
[46/69] Compiling Swiftgger OpenAPIInfo.swift
[47/69] Compiling Swiftgger OpenAPILicense.swift
[48/69] Compiling Swiftgger OpenAPILink.swift
[49/69] Compiling Swiftgger OpenAPIMediaType.swift
[50/69] Compiling Swiftgger OpenAPIOAuthFlow.swift
[51/69] Compiling Swiftgger OpenAPIOAuthFlows.swift
[52/69] Compiling Swiftgger OpenAPIOperation.swift
[53/69] Compiling Swiftgger OpenAPIParameter.swift
[54/69] Compiling Swiftgger OpenAPIPathItem.swift
[55/69] Compiling Swiftgger OpenAPIRequestBody.swift
[56/69] Compiling Swiftgger OpenAPIResponse.swift
[57/69] Compiling Swiftgger OpenAPISchema.swift
[58/69] Compiling Swiftgger OpenAPISecurityScheme.swift
[59/69] Compiling Swiftgger OpenAPIServer.swift
[60/69] Compiling Swiftgger OpenAPIServerVariable.swift
[61/69] Compiling Swiftgger OpenAPITag.swift
[62/69] Compiling Swiftgger OpenAPIXML.swift
[64/87] Compiling SwiftggerTestApp main.swift
[65/87] Compiling SwiftggerTestApp Vehicle.swift
[66/87] Emitting module SwiftggerTestApp
[67/87] Compiling SwiftggerTestApp Fuel.swift
[68/87] Compiling SwiftggerTestApp Program.swift
[69/87] Compiling SwiftggerGenerator main.swift
[70/89] Compiling SwiftggerGenerator ModelSerializer.swift
[71/89] Compiling SwiftggerGenerator OptionType.swift
[72/89] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[73/89] Compiling SwiftggerGenerator Program.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:61:23: error: cannot find 'URLRequest' in scope
59 | }
60 |
61 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
63 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:62:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 |
61 | let request = URLRequest(url: url)
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
63 |
64 | if let error = response.error {
[74/89] Compiling SwiftggerGenerator SwiftggerError.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:61:23: error: cannot find 'URLRequest' in scope
59 | }
60 |
61 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
63 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:62:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 |
61 | let request = URLRequest(url: url)
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
63 |
64 | if let error = response.error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/89] Compiling SwiftggerGenerator OpenAPISchema.swift
[77/89] Compiling SwiftggerGenerator String.swift
[78/89] Compiling SwiftggerGenerator ConsoleIO.swift
[79/89] Compiling SwiftggerGenerator OutputType.swift
[80/89] Emitting module SwiftggerGenerator
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
13 | var data: Data?
[81/89] Compiling SwiftggerGenerator URLSession.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
13 | var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:12:42: error: cannot find type 'URLRequest' in scope
10 |
11 | extension URLSession {
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
| `- error: cannot find type 'URLRequest' in scope
13 | var data: Data?
14 | var response: URLResponse?
[82/89] Compiling SwiftggerGenerator HttpClientGenerator.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
13 | var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:12:42: error: cannot find type 'URLRequest' in scope
10 |
11 | extension URLSession {
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
| `- error: cannot find type 'URLRequest' in scope
13 | var data: Data?
14 | var response: URLResponse?
[83/89] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[83/89] Wrapping AST for SwiftggerTestApp for debugging
BUILD FAILURE 6.1 linux