The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwagGen, reference master (61877c), with Swift 6.1 for Linux on 27 Apr 2025 14:44:47 UTC.

Swift 6 data race errors: 10

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/SwagGen.git
Reference: master
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/yonaskolb/SwagGen
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 61877cb Add UInt Integer Type (#323)
Cloned https://github.com/yonaskolb/SwagGen.git
Revision (git rev-parse @):
61877cb860d59cdf4c2cc747354ec9d8b397d588
SUCCESS checkout https://github.com/yonaskolb/SwagGen.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yonaskolb/SwagGen.git
https://github.com/yonaskolb/SwagGen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI"
    },
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "jsonutilities",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/JSONUtilities.git"
    },
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    }
  ],
  "manifest_display_name" : "SwagGen",
  "name" : "SwagGen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "swaggen",
      "targets" : [
        "SwagGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwagGenKit",
      "targets" : [
        "SwagGenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Swagger",
      "targets" : [
        "Swagger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwaggerTests",
      "module_type" : "SwiftTarget",
      "name" : "SwaggerTests",
      "path" : "Tests/SwaggerTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "ParsingTests.swift",
        "SpecTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Swagger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Swagger",
      "module_type" : "SwiftTarget",
      "name" : "Swagger",
      "path" : "Sources/Swagger",
      "product_dependencies" : [
        "JSONUtilities",
        "Yams",
        "PathKit"
      ],
      "product_memberships" : [
        "swaggen",
        "SwagGenKit",
        "Swagger"
      ],
      "sources" : [
        "Component/Component.swift",
        "Component/ComponentResolver.swift",
        "Component/Components.swift",
        "Component/Reference.swift",
        "Content.swift",
        "Info/Contact.swift",
        "Info/Info.swift",
        "Info/License.swift",
        "Metadata.swift",
        "Operation.swift",
        "Parameter.swift",
        "Path.swift",
        "RequestBody.swift",
        "Response.swift",
        "Schema/ArraySchema.swift",
        "Schema/DataType.swift",
        "Schema/Discriminator.swift",
        "Schema/GroupSchema.swift",
        "Schema/IntegerSchema.swift",
        "Schema/NumberSchema.swift",
        "Schema/ObjectSchema.swift",
        "Schema/Schema.swift",
        "Schema/StringSchema.swift",
        "Security/APIKeySchema.swift",
        "Security/Oauth2Schema.swift",
        "Security/SecurityRequirement.swift",
        "Security/SecurityScheme.swift",
        "SerializationStyle.swift",
        "Server.swift",
        "SwaggerError.swift",
        "SwaggerSpec.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwagGenKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwagGenKitTests",
      "path" : "Tests/SwagGenKitTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "FixtureTests.swift",
        "GeneratorTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwagGenKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwagGenKit",
      "module_type" : "SwiftTarget",
      "name" : "SwagGenKit",
      "path" : "Sources/SwagGenKit",
      "product_dependencies" : [
        "JSONUtilities",
        "PathKit",
        "StencilSwiftKit"
      ],
      "product_memberships" : [
        "swaggen",
        "SwagGenKit"
      ],
      "sources" : [
        "CodeFormatter.swift",
        "Generator.swift",
        "SwagGenStencilTemplate.swift",
        "SwaggerExtensions.swift",
        "SwiftFormatter.swift",
        "TemplateConfig.swift",
        "Utilities.swift"
      ],
      "target_dependencies" : [
        "Swagger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwagGen",
      "module_type" : "SwiftTarget",
      "name" : "SwagGen",
      "path" : "Sources/SwagGen",
      "product_dependencies" : [
        "SwiftCLI",
        "Rainbow",
        "PathKit"
      ],
      "product_memberships" : [
        "swaggen"
      ],
      "sources" : [
        "GenerateCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SwagGenKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/kylef/Spectre.git
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
[1/1021] Fetching spectre
[1022/2374] Fetching spectre, jsonutilities
[1050/7448] Fetching spectre, jsonutilities, swiftcli
[1466/8644] Fetching spectre, jsonutilities, swiftcli, rainbow
[6108/18933] Fetching spectre, jsonutilities, swiftcli, rainbow, yams
[7077/22941] Fetching spectre, jsonutilities, swiftcli, rainbow, yams, stencilswiftkit
Fetched https://github.com/kylef/Spectre.git from cache (0.29s)
[6645/21920] Fetching jsonutilities, swiftcli, rainbow, yams, stencilswiftkit
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.43s)
[8416/20567] Fetching swiftcli, rainbow, yams, stencilswiftkit
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.43s)
[3445/15493] Fetching rainbow, yams, stencilswiftkit
[3549/16904] Fetching rainbow, yams, stencilswiftkit, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.31s)
[8218/15493] Fetching rainbow, yams, stencilswiftkit
Fetched https://github.com/jpsim/Yams.git from cache (1.36s)
[2519/5204] Fetching rainbow, stencilswiftkit
Fetched https://github.com/onevcat/Rainbow.git from cache (3.07s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (3.10s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (3.96s)
Fetching https://github.com/shibapm/Komondor.git
Fetching https://github.com/stencilproject/Stencil.git
[1/509] Fetching komondor
[510/5802] Fetching komondor, stencil
Fetched https://github.com/shibapm/Komondor.git from cache (0.38s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.38s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.69s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (0.58s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
[581/1540] Fetching packageconfig, shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.22s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.22s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.81s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (0.56s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.59s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.55s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.55s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.58s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.33s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.57s)
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.0
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.10.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
Building for debugging...
[0/29] Write sources
[10/29] Compiling writer.c
[11/29] Compiling reader.c
[12/29] Compiling parser.c
[13/29] Compiling api.c
[14/29] Compiling emitter.c
[15/29] Write swift-version-24593BA9C3E375BF.txt
[16/29] Compiling scanner.c
[18/87] Emitting module SwiftCLI
[19/89] Compiling SwiftCLI ValueBox.swift
[20/89] Compiling SwiftCLI VersionCommand.swift
[21/89] Compiling Rainbow Color.swift
[22/89] Compiling SwiftCLI Command.swift
[23/89] Compiling Rainbow Style.swift
[24/90] Compiling Rainbow StringGenerator.swift
[25/90] Emitting module Rainbow
[26/90] Compiling Rainbow ModesExtractor.swift
[27/90] Compiling Rainbow OutputTarget.swift
[28/90] Compiling Rainbow BackgroundColor.swift
[29/90] Compiling Rainbow CodesParser.swift
[30/90] Compiling Rainbow String+Rainbow.swift
[31/91] Compiling SwiftCLI Error.swift
[32/91] Compiling SwiftCLI HelpCommand.swift
[33/91] Compiling SwiftCLI HelpMessageGenerator.swift
[34/91] Compiling Rainbow XcodeColorsSupport.swift
[35/91] Compiling Yams YamlError.swift
[36/91] Emitting module PathKit
[37/91] Compiling PathKit PathKit.swift
[38/91] Compiling JSONUtilities JSONObjectConvertible.swift
[39/91] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[40/93] Compiling JSONUtilities InvalidItemBehaviour.swift
[41/93] Compiling JSONUtilities Dictionary+KeyPath.swift
[42/93] Compiling JSONUtilities JSONFileLoading.swift
[43/93] Compiling JSONUtilities KeyPath.swift
[45/93] Compiling SwiftCLI Term.swift
[46/93] Compiling SwiftCLI Validation.swift
[47/93] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[48/93] Emitting module JSONUtilities
[53/93] Compiling SwiftCLI Path.swift
[54/93] Compiling SwiftCLI Stream.swift
[55/93] Compiling SwiftCLI OptionRegistry.swift
[56/93] Compiling SwiftCLI Parameter.swift
[57/93] Compiling SwiftCLI Parser.swift
[58/94] Emitting module Yams
[59/94] Compiling SwiftCLI Input.swift
[60/94] Compiling SwiftCLI Option.swift
[61/94] Compiling SwiftCLI OptionGroup.swift
[64/94] Compiling SwiftCLI Task.swift
[75/94] Compiling Rainbow Rainbow.swift
[82/97] Wrapping AST for PathKit for debugging
[86/119] Wrapping AST for JSONUtilities for debugging
[87/119] Wrapping AST for Rainbow for debugging
[88/119] Wrapping AST for SwiftCLI for debugging
[89/119] Wrapping AST for Yams for debugging
[91/120] Emitting module Stencil
[92/150] Compiling Swagger Reference.swift
[93/150] Compiling Swagger Metadata.swift
[94/150] Compiling Swagger Operation.swift
[95/150] Compiling Swagger Parameter.swift
[96/150] Compiling Swagger Path.swift
[97/150] Compiling Swagger ObjectSchema.swift
[98/150] Emitting module Swagger
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:26:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
24 |
25 | extension Parameter: Component {
26 |     public static let componentType: ComponentType = .parameter
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:30:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
28 |
29 | extension Response: Component {
30 |     public static let componentType: ComponentType = .response
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:34:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
32 |
33 | extension Schema: Component {
34 |     public static let componentType: ComponentType = .schema
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:38:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
36 |
37 | extension SecurityScheme: Component {
38 |     public static let componentType: ComponentType = .securityScheme
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:42:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
40 |
41 | extension RequestBody: Component {
42 |     public static let componentType: ComponentType = .requestBody
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:46:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
44 |
45 | extension Header: Component {
46 |     public static let componentType: ComponentType = .header
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/host/spi-builder-workspace/Sources/Swagger/Security/Oauth2Schema.swift:21:20: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     }
14 |
15 |     public enum FlowType: String {
   |                 `- note: consider making enum 'FlowType' conform to the 'Sendable' protocol
16 |         case implicit
17 |         case password
   :
19 |         case authorizationCode
20 |
21 |         static let allCases: [FlowType] = [
   |                    |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |             .implicit,
23 |             .password,
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:7:10: warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 5 |
 6 |     case invalidVersion(String)
 7 |     case invalidItemType(JSONDictionary)
   |          `- warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 8 |     case invalidSchemaType(JSONDictionary)
 9 |     case invalidArraySchema([String: Any])
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:8:10: warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 6 |     case invalidVersion(String)
 7 |     case invalidItemType(JSONDictionary)
 8 |     case invalidSchemaType(JSONDictionary)
   |          `- warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 |     case invalidArraySchema([String: Any])
10 |     case loadError(URL)
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:9:10: warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 7 |     case invalidItemType(JSONDictionary)
 8 |     case invalidSchemaType(JSONDictionary)
 9 |     case invalidArraySchema([String: Any])
   |          `- warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |     case loadError(URL)
11 |     case parseError(String)
[99/153] Compiling Swagger Component.swift
[100/153] Compiling Swagger ComponentResolver.swift
[101/153] Compiling Swagger Components.swift
[102/153] Compiling Swagger Schema.swift
[103/153] Compiling Swagger StringSchema.swift
[104/153] Compiling Swagger APIKeySchema.swift
[105/153] Compiling Swagger RequestBody.swift
[106/153] Compiling Swagger Response.swift
[107/153] Compiling Swagger ArraySchema.swift
[108/153] Compiling Swagger IntegerSchema.swift
[109/153] Compiling Swagger NumberSchema.swift
[110/153] Compiling Swagger Content.swift
[111/153] Compiling Swagger DataType.swift
[112/153] Compiling Swagger Discriminator.swift
[113/153] Compiling Swagger GroupSchema.swift
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:26:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
24 |
25 | extension Parameter: Component {
26 |     public static let componentType: ComponentType = .parameter
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:30:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
28 |
29 | extension Response: Component {
30 |     public static let componentType: ComponentType = .response
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:34:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
32 |
33 | extension Schema: Component {
34 |     public static let componentType: ComponentType = .schema
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:38:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
36 |
37 | extension SecurityScheme: Component {
38 |     public static let componentType: ComponentType = .securityScheme
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:42:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
40 |
41 | extension RequestBody: Component {
42 |     public static let componentType: ComponentType = .requestBody
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:46:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
44 |
45 | extension Header: Component {
46 |     public static let componentType: ComponentType = .header
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:26:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
24 |
25 | extension Parameter: Component {
26 |     public static let componentType: ComponentType = .parameter
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:30:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
28 |
29 | extension Response: Component {
30 |     public static let componentType: ComponentType = .response
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:34:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
32 |
33 | extension Schema: Component {
34 |     public static let componentType: ComponentType = .schema
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:38:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
36 |
37 | extension SecurityScheme: Component {
38 |     public static let componentType: ComponentType = .securityScheme
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:42:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
40 |
41 | extension RequestBody: Component {
42 |     public static let componentType: ComponentType = .requestBody
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:46:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
44 |
45 | extension Header: Component {
46 |     public static let componentType: ComponentType = .header
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:26:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
24 |
25 | extension Parameter: Component {
26 |     public static let componentType: ComponentType = .parameter
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:30:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
28 |
29 | extension Response: Component {
30 |     public static let componentType: ComponentType = .response
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:34:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
32 |
33 | extension Schema: Component {
34 |     public static let componentType: ComponentType = .schema
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:38:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
36 |
37 | extension SecurityScheme: Component {
38 |     public static let componentType: ComponentType = .securityScheme
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:42:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
40 |
41 | extension RequestBody: Component {
42 |     public static let componentType: ComponentType = .requestBody
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:46:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
44 |
45 | extension Header: Component {
46 |     public static let componentType: ComponentType = .header
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:26:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
24 |
25 | extension Parameter: Component {
26 |     public static let componentType: ComponentType = .parameter
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:30:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
28 |
29 | extension Response: Component {
30 |     public static let componentType: ComponentType = .response
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:34:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
32 |
33 | extension Schema: Component {
34 |     public static let componentType: ComponentType = .schema
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:38:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
36 |
37 | extension SecurityScheme: Component {
38 |     public static let componentType: ComponentType = .securityScheme
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:42:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
40 |
41 | extension RequestBody: Component {
42 |     public static let componentType: ComponentType = .requestBody
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/Sources/Swagger/Component/Component.swift:46:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
   |             `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 |     case schema = "schemas"
15 |     case response = "responses"
   :
44 |
45 | extension Header: Component {
46 |     public static let componentType: ComponentType = .header
   |                       |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'componentType' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[118/153] Compiling Swagger Oauth2Schema.swift
/host/spi-builder-workspace/Sources/Swagger/Security/Oauth2Schema.swift:21:20: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     }
14 |
15 |     public enum FlowType: String {
   |                 `- note: consider making enum 'FlowType' conform to the 'Sendable' protocol
16 |         case implicit
17 |         case password
   :
19 |         case authorizationCode
20 |
21 |         static let allCases: [FlowType] = [
   |                    |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |             .implicit,
23 |             .password,
[119/153] Compiling Swagger SecurityRequirement.swift
/host/spi-builder-workspace/Sources/Swagger/Security/Oauth2Schema.swift:21:20: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     }
14 |
15 |     public enum FlowType: String {
   |                 `- note: consider making enum 'FlowType' conform to the 'Sendable' protocol
16 |         case implicit
17 |         case password
   :
19 |         case authorizationCode
20 |
21 |         static let allCases: [FlowType] = [
   |                    |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |             .implicit,
23 |             .password,
[120/153] Compiling Swagger SecurityScheme.swift
/host/spi-builder-workspace/Sources/Swagger/Security/Oauth2Schema.swift:21:20: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     }
14 |
15 |     public enum FlowType: String {
   |                 `- note: consider making enum 'FlowType' conform to the 'Sendable' protocol
16 |         case implicit
17 |         case password
   :
19 |         case authorizationCode
20 |
21 |         static let allCases: [FlowType] = [
   |                    |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |             .implicit,
23 |             .password,
[121/153] Compiling Swagger SerializationStyle.swift
/host/spi-builder-workspace/Sources/Swagger/Security/Oauth2Schema.swift:21:20: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     }
14 |
15 |     public enum FlowType: String {
   |                 `- note: consider making enum 'FlowType' conform to the 'Sendable' protocol
16 |         case implicit
17 |         case password
   :
19 |         case authorizationCode
20 |
21 |         static let allCases: [FlowType] = [
   |                    |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |             .implicit,
23 |             .password,
[122/153] Compiling Swagger Contact.swift
[123/153] Compiling Swagger Info.swift
[124/154] Wrapping AST for Stencil for debugging
[126/166] Compiling Swagger Server.swift
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:7:10: warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 5 |
 6 |     case invalidVersion(String)
 7 |     case invalidItemType(JSONDictionary)
   |          `- warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 8 |     case invalidSchemaType(JSONDictionary)
 9 |     case invalidArraySchema([String: Any])
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:8:10: warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 6 |     case invalidVersion(String)
 7 |     case invalidItemType(JSONDictionary)
 8 |     case invalidSchemaType(JSONDictionary)
   |          `- warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 |     case invalidArraySchema([String: Any])
10 |     case loadError(URL)
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:9:10: warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 7 |     case invalidItemType(JSONDictionary)
 8 |     case invalidSchemaType(JSONDictionary)
 9 |     case invalidArraySchema([String: Any])
   |          `- warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |     case loadError(URL)
11 |     case parseError(String)
[127/166] Compiling Swagger SwaggerError.swift
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:7:10: warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 5 |
 6 |     case invalidVersion(String)
 7 |     case invalidItemType(JSONDictionary)
   |          `- warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 8 |     case invalidSchemaType(JSONDictionary)
 9 |     case invalidArraySchema([String: Any])
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:8:10: warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 6 |     case invalidVersion(String)
 7 |     case invalidItemType(JSONDictionary)
 8 |     case invalidSchemaType(JSONDictionary)
   |          `- warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 |     case invalidArraySchema([String: Any])
10 |     case loadError(URL)
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:9:10: warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 7 |     case invalidItemType(JSONDictionary)
 8 |     case invalidSchemaType(JSONDictionary)
 9 |     case invalidArraySchema([String: Any])
   |          `- warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |     case loadError(URL)
11 |     case parseError(String)
[128/166] Compiling Swagger SwaggerSpec.swift
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:7:10: warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 5 |
 6 |     case invalidVersion(String)
 7 |     case invalidItemType(JSONDictionary)
   |          `- warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 8 |     case invalidSchemaType(JSONDictionary)
 9 |     case invalidArraySchema([String: Any])
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:8:10: warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 6 |     case invalidVersion(String)
 7 |     case invalidItemType(JSONDictionary)
 8 |     case invalidSchemaType(JSONDictionary)
   |          `- warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 |     case invalidArraySchema([String: Any])
10 |     case loadError(URL)
/host/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:9:10: warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 7 |     case invalidItemType(JSONDictionary)
 8 |     case invalidSchemaType(JSONDictionary)
 9 |     case invalidArraySchema([String: Any])
   |          `- warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |     case loadError(URL)
11 |     case parseError(String)
[129/166] Compiling StencilSwiftKit SetNode.swift
[130/166] Compiling StencilSwiftKit StencilSwiftTemplate.swift
[131/167] Compiling StencilSwiftKit Parameters.swift
[135/167] Compiling Swagger License.swift
[140/167] Compiling StencilSwiftKit ImportNode.swift
[141/167] Compiling StencilSwiftKit MapNode.swift
[142/167] Compiling StencilSwiftKit CallMacroNodes.swift
[143/167] Compiling StencilSwiftKit Context.swift
[152/167] Compiling StencilSwiftKit Environment.swift
[153/167] Compiling StencilSwiftKit Filters+Numbers.swift
[158/167] Compiling StencilSwiftKit Filters+Strings.swift
[159/167] Compiling StencilSwiftKit Filters.swift
[160/167] Emitting module StencilSwiftKit
[162/168] Compiling StencilSwiftKit SwiftIdentifier.swift
[162/169] Wrapping AST for Swagger for debugging
[164/169] Wrapping AST for StencilSwiftKit for debugging
[166/177] Compiling SwagGenKit SwiftFormatter.swift
[167/177] Compiling SwagGenKit SwaggerExtensions.swift
[168/177] Compiling SwagGenKit SwagGenStencilTemplate.swift
[169/177] Compiling SwagGenKit TemplateConfig.swift
[170/177] Compiling SwagGenKit Utilities.swift
/host/spi-builder-workspace/Sources/SwagGenKit/Utilities.swift:5:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'JSONPrimitiveConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
  3 | import PathKit
  4 |
  5 | extension Path: JSONPrimitiveConvertible {
    | |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'JSONPrimitiveConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  6 |
  7 |     public typealias JSONType = String
[171/177] Compiling SwagGenKit Generator.swift
[172/177] Emitting module SwagGenKit
/host/spi-builder-workspace/Sources/SwagGenKit/Utilities.swift:5:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'JSONPrimitiveConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
  3 | import PathKit
  4 |
  5 | extension Path: JSONPrimitiveConvertible {
    | |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'JSONPrimitiveConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  6 |
  7 |     public typealias JSONType = String
[173/177] Compiling SwagGenKit CodeFormatter.swift
[174/178] Wrapping AST for SwagGenKit for debugging
[176/181] Compiling SwagGen GenerateCommand.swift
/host/spi-builder-workspace/Sources/SwagGen/GenerateCommand.swift:232:1: warning: extension declares a conformance of imported type 'Clean' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'SwagGenKit' introduce this conformance in the future
230 | }
231 |
232 | extension Generator.Clean: ConvertibleFromString {
    | |- warning: extension declares a conformance of imported type 'Clean' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'SwagGenKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
233 |
234 |     public static func convert(from: String) -> Generator.Clean? {
[177/181] Emitting module SwagGen
/host/spi-builder-workspace/Sources/SwagGen/GenerateCommand.swift:232:1: warning: extension declares a conformance of imported type 'Clean' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'SwagGenKit' introduce this conformance in the future
230 | }
231 |
232 | extension Generator.Clean: ConvertibleFromString {
    | |- warning: extension declares a conformance of imported type 'Clean' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'SwagGenKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
233 |
234 |     public static func convert(from: String) -> Generator.Clean? {
[178/181] Compiling SwagGen main.swift
[179/182] Wrapping AST for SwagGen for debugging
[180/182] Write Objects.LinkFileList
[181/182] Linking swaggen
Build complete! (41.29s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI"
    },
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "jsonutilities",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/JSONUtilities.git"
    },
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    }
  ],
  "manifest_display_name" : "SwagGen",
  "name" : "SwagGen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "swaggen",
      "targets" : [
        "SwagGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwagGenKit",
      "targets" : [
        "SwagGenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Swagger",
      "targets" : [
        "Swagger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwaggerTests",
      "module_type" : "SwiftTarget",
      "name" : "SwaggerTests",
      "path" : "Tests/SwaggerTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "ParsingTests.swift",
        "SpecTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Swagger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Swagger",
      "module_type" : "SwiftTarget",
      "name" : "Swagger",
      "path" : "Sources/Swagger",
      "product_dependencies" : [
        "JSONUtilities",
        "Yams",
        "PathKit"
      ],
      "product_memberships" : [
        "swaggen",
        "SwagGenKit",
        "Swagger"
      ],
      "sources" : [
        "Component/Component.swift",
        "Component/ComponentResolver.swift",
        "Component/Components.swift",
        "Component/Reference.swift",
        "Content.swift",
        "Info/Contact.swift",
        "Info/Info.swift",
        "Info/License.swift",
        "Metadata.swift",
        "Operation.swift",
        "Parameter.swift",
        "Path.swift",
        "RequestBody.swift",
        "Response.swift",
        "Schema/ArraySchema.swift",
        "Schema/DataType.swift",
        "Schema/Discriminator.swift",
        "Schema/GroupSchema.swift",
        "Schema/IntegerSchema.swift",
        "Schema/NumberSchema.swift",
        "Schema/ObjectSchema.swift",
        "Schema/Schema.swift",
        "Schema/StringSchema.swift",
        "Security/APIKeySchema.swift",
        "Security/Oauth2Schema.swift",
        "Security/SecurityRequirement.swift",
        "Security/SecurityScheme.swift",
        "SerializationStyle.swift",
        "Server.swift",
        "SwaggerError.swift",
        "SwaggerSpec.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwagGenKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwagGenKitTests",
      "path" : "Tests/SwagGenKitTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "FixtureTests.swift",
        "GeneratorTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwagGenKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwagGenKit",
      "module_type" : "SwiftTarget",
      "name" : "SwagGenKit",
      "path" : "Sources/SwagGenKit",
      "product_dependencies" : [
        "JSONUtilities",
        "PathKit",
        "StencilSwiftKit"
      ],
      "product_memberships" : [
        "swaggen",
        "SwagGenKit"
      ],
      "sources" : [
        "CodeFormatter.swift",
        "Generator.swift",
        "SwagGenStencilTemplate.swift",
        "SwaggerExtensions.swift",
        "SwiftFormatter.swift",
        "TemplateConfig.swift",
        "Utilities.swift"
      ],
      "target_dependencies" : [
        "Swagger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwagGen",
      "module_type" : "SwiftTarget",
      "name" : "SwagGen",
      "path" : "Sources/SwagGen",
      "product_dependencies" : [
        "SwiftCLI",
        "Rainbow",
        "PathKit"
      ],
      "product_memberships" : [
        "swaggen"
      ],
      "sources" : [
        "GenerateCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SwagGenKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
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
Done.