The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwagGen, reference 4.7.0 (0bef60), with Swift 6.2 (beta) for Linux on 20 Jun 2025 06:52:37 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/yonaskolb/SwagGen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/yonaskolb/JSONUtilities.git
[1/1353] Fetching jsonutilities
[15/2374] Fetching jsonutilities, spectre
[409/7448] Fetching jsonutilities, spectre, swiftcli
[3370/8644] Fetching jsonutilities, spectre, swiftcli, rainbow
[5368/12652] Fetching jsonutilities, spectre, swiftcli, rainbow, stencilswiftkit
[5833/23511] Fetching jsonutilities, spectre, swiftcli, rainbow, stencilswiftkit, yams
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (2.92s)
Fetched https://github.com/kylef/Spectre.git from cache (2.93s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (2.93s)
Fetched https://github.com/onevcat/Rainbow.git from cache (2.93s)
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/jpsim/Yams.git from cache (3.10s)
[1323/4008] Fetching stencilswiftkit
[1645/5419] Fetching stencilswiftkit, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.53s)
[1667/4008] Fetching stencilswiftkit
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (4.92s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (9.64s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.96s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (0.87s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.84s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.81s)
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.70s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.70s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (1.61s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
[425/1560] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.39s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.45s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (1.35s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.84s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.94s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (4.79s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.84s)
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/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/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.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/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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Building for debugging...
[0/29] Write sources
[10/29] Compiling writer.c
[11/29] Compiling reader.c
[12/29] Write swift-version-24593BA9C3E375BF.txt
[13/29] Compiling parser.c
[14/72] Compiling api.c
[15/72] Compiling emitter.c
[16/72] Compiling scanner.c
[18/87] Emitting module Rainbow
[19/88] Emitting module Yams
[20/89] Compiling Yams Parser.swift
[21/89] Compiling Yams Representer.swift
[22/89] Compiling Yams Resolver.swift
[23/91] Compiling Rainbow Style.swift
[24/91] Compiling Yams Mark.swift
[25/91] Compiling Yams Node.Mapping.swift
[26/91] Compiling Rainbow XcodeColorsSupport.swift
[27/91] Compiling Rainbow StringGenerator.swift
[28/91] Compiling Rainbow String+Rainbow.swift
[29/91] Compiling Yams YamlError.swift
[30/91] Compiling SwiftCLI ValueBox.swift
[31/91] Compiling SwiftCLI VersionCommand.swift
[32/91] Compiling Yams Emitter.swift
[33/91] Compiling Yams Encoder.swift
[34/91] Compiling Yams Constructor.swift
[35/91] Compiling Yams Decoder.swift
[36/91] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[37/92] Compiling Yams String+Yams.swift
[38/92] Compiling Yams Tag.swift
[41/92] Compiling Rainbow Rainbow.swift
[42/93] Compiling JSONUtilities JSONObjectConvertible.swift
[45/93] Emitting module JSONUtilities
[49/93] Compiling Yams Node.Scalar.swift
[50/93] Compiling Yams Node.Sequence.swift
[51/93] Compiling Yams Node.swift
[54/93] Compiling SwiftCLI OptionGroup.swift
[55/93] Compiling SwiftCLI Term.swift
[56/93] Compiling SwiftCLI Validation.swift
[58/93] Emitting module SwiftCLI
[62/93] Compiling JSONUtilities KeyPath.swift
[63/93] Compiling JSONUtilities JSONFileLoading.swift
[66/93] Compiling SwiftCLI Path.swift
[67/93] Compiling SwiftCLI Stream.swift
[68/93] Compiling SwiftCLI Task.swift
[69/93] Compiling JSONUtilities Dictionary+KeyPath.swift
[70/93] Compiling JSONUtilities InvalidItemBehaviour.swift
[71/94] Wrapping AST for Rainbow for debugging
[73/94] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[73/95] Wrapping AST for SwiftCLI for debugging
[77/95] Wrapping AST for JSONUtilities for debugging
[85/96] Wrapping AST for Yams for debugging
[87/96] Emitting module PathKit
[88/96] Compiling PathKit PathKit.swift
[89/97] Wrapping AST for PathKit for debugging
[91/148] Compiling Swagger Oauth2Schema.swift
[92/148] Compiling Swagger SecurityRequirement.swift
[93/148] Compiling Swagger SecurityScheme.swift
[94/148] Compiling Swagger SerializationStyle.swift
[95/151] Compiling Swagger Discriminator.swift
[96/151] Compiling Swagger GroupSchema.swift
[97/151] Compiling Swagger IntegerSchema.swift
[98/151] Compiling Swagger NumberSchema.swift
[99/151] Compiling Swagger ObjectSchema.swift
[100/151] Compiling Swagger Schema.swift
[101/151] Compiling Swagger StringSchema.swift
[102/151] Compiling Swagger APIKeySchema.swift
[103/151] Emitting module Swagger
[104/151] Compiling Swagger Component.swift
[105/151] Compiling Swagger ComponentResolver.swift
[106/151] Compiling Swagger Components.swift
[107/151] Compiling Swagger Reference.swift
[108/151] Compiling Swagger Content.swift
[109/151] Compiling Swagger Contact.swift
[110/151] Compiling Swagger Info.swift
[111/151] Compiling Swagger License.swift
[112/151] Compiling Swagger Operation.swift
[113/151] Compiling Swagger Parameter.swift
[114/151] Compiling Swagger Path.swift
[117/153] Compiling Swagger Metadata.swift
[121/153] Emitting module Stencil
[128/153] Compiling Swagger DataType.swift
[131/153] Compiling Swagger RequestBody.swift
[132/153] Compiling Swagger Response.swift
[133/153] Compiling Swagger ArraySchema.swift
[142/153] Compiling Swagger Server.swift
[143/153] Compiling Swagger SwaggerError.swift
[144/153] Compiling Swagger SwaggerSpec.swift
[145/154] Compiling Stencil TrimBehaviour.swift
[146/154] Compiling Stencil Variable.swift
[148/155] Wrapping AST for Stencil for debugging
[149/155] Wrapping AST for Swagger for debugging
[151/167] Compiling StencilSwiftKit StencilSwiftTemplate.swift
[152/168] Compiling StencilSwiftKit SetNode.swift
[153/168] Emitting module StencilSwiftKit
[154/168] Compiling StencilSwiftKit ImportNode.swift
[155/168] Compiling StencilSwiftKit MapNode.swift
[156/168] Compiling StencilSwiftKit Parameters.swift
[157/168] Compiling StencilSwiftKit SwiftIdentifier.swift
[158/168] Compiling StencilSwiftKit Environment.swift
[159/168] Compiling StencilSwiftKit Filters+Numbers.swift
[160/168] Compiling StencilSwiftKit CallMacroNodes.swift
[161/168] Compiling StencilSwiftKit Context.swift
[162/168] Compiling StencilSwiftKit Filters+Strings.swift
[163/168] Compiling StencilSwiftKit Filters.swift
[164/169] Wrapping AST for StencilSwiftKit for debugging
[166/177] Compiling SwagGenKit SwagGenStencilTemplate.swift
[167/177] Compiling SwagGenKit TemplateConfig.swift
[168/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
[169/177] Compiling SwagGenKit Generator.swift
[170/177] Compiling SwagGenKit SwiftFormatter.swift
[171/177] Compiling SwagGenKit SwaggerExtensions.swift
[172/177] Compiling SwagGenKit CodeFormatter.swift
[173/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
[174/178] Wrapping AST for SwagGenKit for debugging
[176/181] Compiling SwagGen main.swift
[177/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? {
[178/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? {
[179/182] Wrapping AST for SwagGen for debugging
[180/182] Write Objects.LinkFileList
[181/182] Linking swaggen
Build complete! (120.47s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.