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 4.7.0 (0bef60), with Swift 6.1 for Linux on 27 Apr 2025 14:44:38 UTC.

Swift 6 data race errors: 10

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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: 4.7.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/yonaskolb/SwagGen
 * tag               4.7.0      -> FETCH_HEAD
HEAD is now at 0bef607 Update to 4.7.0
Cloned https://github.com/yonaskolb/SwagGen.git
Revision (git rev-parse @):
0bef6077c83620565e2ae50d76f9633061b0a2ac
SUCCESS checkout https://github.com/yonaskolb/SwagGen.git at 4.7.0
========================================
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.7.2",
            "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-4609320-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/onevcat/Rainbow.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
[1/1196] Fetching rainbow
[827/2549] Fetching rainbow, jsonutilities
[2442/3570] Fetching rainbow, jsonutilities, spectre
[2693/8644] Fetching rainbow, jsonutilities, spectre, swiftcli
[7174/12652] Fetching rainbow, jsonutilities, spectre, swiftcli, stencilswiftkit
[9247/22941] Fetching rainbow, jsonutilities, spectre, swiftcli, stencilswiftkit, yams
Fetched https://github.com/kylef/Spectre.git from cache (1.07s)
Fetched https://github.com/onevcat/Rainbow.git from cache (1.07s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (1.08s)
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (1.08s)
Fetching https://github.com/kylef/PathKit.git
[11612/14297] Fetching stencilswiftkit, yams
[11934/15708] Fetching stencilswiftkit, yams, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.21s)
[14057/14297] Fetching stencilswiftkit, yams
Fetched https://github.com/jpsim/Yams.git from cache (1.90s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (1.91s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.77s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.46s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (0.47s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.47s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.47s)
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.27s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.27s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (0.73s)
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/shibapm/PackageConfig.git from cache (2.53s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (2.53s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (3.91s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.60s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.67s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.96s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.46s)
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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
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/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
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/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.10.1
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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] Compiling scanner.c
[16/29] Write swift-version-24593BA9C3E375BF.txt
[18/87] Emitting module JSONUtilities
[19/88] Emitting module Yams
[20/89] Compiling Yams YamlError.swift
[21/89] Compiling Rainbow Style.swift
[22/89] Compiling Rainbow String+Rainbow.swift
[23/89] Compiling Rainbow StringGenerator.swift
[24/90] Compiling SwiftCLI Compatibility.swift
[25/90] Compiling SwiftCLI CompletionGenerator.swift
[26/90] Compiling SwiftCLI Error.swift
[27/90] Compiling SwiftCLI HelpCommand.swift
[28/90] Compiling SwiftCLI HelpMessageGenerator.swift
[29/92] Compiling Rainbow XcodeColorsSupport.swift
[30/92] Compiling SwiftCLI ValueBox.swift
[31/92] Compiling SwiftCLI VersionCommand.swift
[32/92] Compiling JSONUtilities JSONObjectConvertible.swift
[33/92] Compiling Rainbow Rainbow.swift
[36/92] Compiling SwiftCLI CLI.swift
[37/92] Compiling SwiftCLI Command.swift
[38/92] Emitting module Rainbow
[39/92] Compiling SwiftCLI ArgumentList.swift
[40/92] Compiling SwiftCLI ArgumentListManipulator.swift
[41/93] Compiling JSONUtilities KeyPath.swift
[42/93] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[43/93] Compiling SwiftCLI Input.swift
[44/93] Compiling SwiftCLI Option.swift
[45/93] Compiling SwiftCLI OptionGroup.swift
[48/93] Compiling SwiftCLI OptionRegistry.swift
[49/93] Compiling SwiftCLI Parameter.swift
[52/93] Compiling SwiftCLI Parser.swift
[53/93] Compiling SwiftCLI Path.swift
[54/93] Compiling SwiftCLI Stream.swift
[55/93] Compiling SwiftCLI Task.swift
[56/93] Compiling SwiftCLI Term.swift
[57/93] Compiling SwiftCLI Validation.swift
[58/93] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[71/93] Emitting module SwiftCLI
[77/93] Compiling JSONUtilities Dictionary+KeyPath.swift
[78/93] Compiling JSONUtilities JSONFileLoading.swift
[79/93] Compiling JSONUtilities InvalidItemBehaviour.swift
[83/96] Compiling PathKit PathKit.swift
[84/96] Emitting module PathKit
[84/97] Wrapping AST for JSONUtilities for debugging
[85/97] Wrapping AST for Yams for debugging
[86/97] Wrapping AST for Rainbow for debugging
[88/97] Wrapping AST for SwiftCLI for debugging
[89/97] Wrapping AST for PathKit for debugging
[91/148] Emitting module Stencil
[92/150] Compiling Swagger ObjectSchema.swift
[93/150] Compiling Swagger Schema.swift
[94/150] Compiling Swagger StringSchema.swift
[95/150] Compiling Swagger APIKeySchema.swift
[96/153] Compiling Swagger Content.swift
[97/153] Compiling Swagger Contact.swift
[98/153] Compiling Swagger Info.swift
[99/153] Compiling Swagger License.swift
[100/153] Compiling Stencil NowTag.swift
[101/153] Compiling Stencil TrimBehaviour.swift
[102/153] Compiling Stencil Variable.swift
[103/153] Compiling Swagger NumberSchema.swift
[104/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,
[105/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,
[106/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,
[107/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,
[108/153] Compiling Stencil Include.swift
[109/153] Compiling Stencil Inheritance.swift
[110/153] Compiling Stencil Loader.swift
[111/153] Compiling Stencil Node.swift
[120/153] Compiling Swagger RequestBody.swift
[121/153] Compiling Swagger Response.swift
[122/153] Compiling Swagger ArraySchema.swift
[123/153] Compiling Swagger DataType.swift
[127/153] Compiling Stencil IfTag.swift
[130/153] Compiling Stencil Parser.swift
[131/153] Compiling Stencil Template.swift
[132/153] Compiling Stencil Tokenizer.swift
[136/154] 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)
/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 |
[144/154] Wrapping AST for Stencil for debugging
[146/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)
[147/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)
[148/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)
[150/167] Compiling StencilSwiftKit StencilSwiftTemplate.swift
[150/168] Wrapping AST for Swagger for debugging
[152/168] Compiling StencilSwiftKit ImportNode.swift
[153/168] Compiling StencilSwiftKit MapNode.swift
[154/168] Compiling StencilSwiftKit SetNode.swift
[155/168] Compiling StencilSwiftKit Parameters.swift
[156/168] Compiling StencilSwiftKit SwiftIdentifier.swift
[157/168] Compiling StencilSwiftKit Environment.swift
[158/168] Compiling StencilSwiftKit Filters+Numbers.swift
[159/168] Compiling StencilSwiftKit CallMacroNodes.swift
[160/168] Compiling StencilSwiftKit Context.swift
[161/168] Compiling StencilSwiftKit Filters+Strings.swift
[162/168] Compiling StencilSwiftKit Filters.swift
[163/168] Emitting module StencilSwiftKit
[164/169] Wrapping AST for StencilSwiftKit for debugging
[166/177] Compiling SwagGenKit SwagGenStencilTemplate.swift
[167/177] Compiling SwagGenKit SwaggerExtensions.swift
[168/177] Compiling SwagGenKit TemplateConfig.swift
[169/177] Compiling SwagGenKit SwiftFormatter.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] 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
[172/177] Compiling SwagGenKit CodeFormatter.swift
[173/177] Compiling SwagGenKit Generator.swift
[174/178] Wrapping AST for SwagGenKit for debugging
[176/181] Compiling SwagGen main.swift
[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 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? {
[179/182] Wrapping AST for SwagGen for debugging
[180/182] Write Objects.LinkFileList
[181/182] Linking swaggen
Build complete! (35.08s)
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.7.2",
            "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.