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 master (61877c), with Swift 6.2 (beta) for Linux on 20 Jun 2025 06:52:09 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/yonaskolb/SwagGen
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 61877cb Add UInt Integer Type (#323)
Cloned https://github.com/yonaskolb/SwagGen.git
Revision (git rev-parse @):
61877cb860d59cdf4c2cc747354ec9d8b397d588
SUCCESS checkout https://github.com/yonaskolb/SwagGen.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/yonaskolb/SwagGen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/onevcat/Rainbow.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1196] Fetching rainbow
[277/5204] Fetching rainbow, stencilswiftkit
[553/6225] Fetching rainbow, stencilswiftkit, spectre
[904/7578] Fetching rainbow, stencilswiftkit, spectre, jsonutilities
[1977/12652] Fetching rainbow, stencilswiftkit, spectre, jsonutilities, swiftcli
[4935/23511] Fetching rainbow, stencilswiftkit, spectre, jsonutilities, swiftcli, yams
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.69s)
Fetched https://github.com/kylef/Spectre.git from cache (0.68s)
[4509/21137] Fetching rainbow, stencilswiftkit, swiftcli, yams
Fetching https://github.com/kylef/PathKit.git
[9588/22548] Fetching rainbow, stencilswiftkit, swiftcli, yams, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.45s)
[12628/21137] Fetching rainbow, stencilswiftkit, swiftcli, yams
Fetched https://github.com/onevcat/Rainbow.git from cache (4.10s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (4.10s)
Fetched https://github.com/jpsim/Yams.git from cache (4.16s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (4.20s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (4.99s)
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.40s)
[3229/5293] Fetching stencil
Fetched https://github.com/stencilproject/Stencil.git from cache (0.62s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.65s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (0.79s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/580] Fetching packageconfig
[94/1560] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.41s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.41s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.22s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (0.82s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.87s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.79s)
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.75s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (4.01s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.79s)
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/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
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/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Building for debugging...
[0/29] Write sources
[10/29] Compiling writer.c
[11/29] Compiling reader.c
[12/29] Write swift-version-24593BA9C3E375BF.txt
[13/41] Compiling parser.c
[14/52] Compiling api.c
[15/72] Compiling emitter.c
[16/72] Compiling scanner.c
[18/87] Emitting module Yams
[19/88] Compiling Yams YamlError.swift
[20/88] Compiling Rainbow StringGenerator.swift
[21/89] Compiling Rainbow String+Rainbow.swift
[22/89] Compiling Rainbow Style.swift
[23/89] Emitting module Rainbow
[24/89] Compiling Yams Constructor.swift
[25/89] Compiling Yams Decoder.swift
[26/89] Compiling Rainbow XcodeColorsSupport.swift
[27/89] Compiling Yams Node.swift
[28/89] Compiling Yams Parser.swift
[29/89] Compiling Yams Mark.swift
[30/89] Compiling Yams Node.Mapping.swift
[31/89] Compiling Yams Representer.swift
[32/89] Compiling Yams Resolver.swift
[33/89] Compiling Yams Tag.swift
[36/91] Emitting module SwiftCLI
[39/91] Compiling Yams Emitter.swift
[41/91] Compiling Yams Encoder.swift
[42/91] Compiling Rainbow Rainbow.swift
[47/92] Compiling Yams Node.Scalar.swift
[48/92] Compiling Yams Node.Sequence.swift
[49/92] Compiling Yams String+Yams.swift
[51/92] Compiling SwiftCLI ValueBox.swift
[52/92] Compiling SwiftCLI VersionCommand.swift
[53/92] Compiling JSONUtilities JSONFileLoading.swift
[54/92] Compiling JSONUtilities JSONObjectConvertible.swift
[58/93] Compiling JSONUtilities InvalidItemBehaviour.swift
[61/93] Compiling JSONUtilities Dictionary+KeyPath.swift
[62/93] Emitting module JSONUtilities
[64/93] Compiling JSONUtilities KeyPath.swift
[65/93] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[66/93] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[67/94] Compiling SwiftCLI Path.swift
[68/94] Compiling SwiftCLI Stream.swift
[69/94] Compiling SwiftCLI Task.swift
[70/94] Compiling SwiftCLI Term.swift
[71/94] Compiling SwiftCLI Validation.swift
[80/94] Compiling SwiftCLI OptionGroup.swift
[83/96] Emitting module PathKit
[84/96] Compiling PathKit PathKit.swift
[85/97] Wrapping AST for Rainbow for debugging
[86/97] Wrapping AST for JSONUtilities for debugging
[87/97] Wrapping AST for SwiftCLI for debugging
[88/97] Wrapping AST for Yams for debugging
[89/97] Wrapping AST for PathKit for debugging
[91/148] Compiling Swagger Content.swift
[92/148] Compiling Swagger Contact.swift
[93/148] Compiling Swagger Info.swift
[94/148] Compiling Swagger License.swift
[95/151] Emitting module Stencil
[96/153] Compiling Swagger Component.swift
[97/153] Compiling Swagger ComponentResolver.swift
[98/153] Compiling Swagger Components.swift
[99/153] Compiling Swagger Oauth2Schema.swift
[100/153] Compiling Swagger SecurityRequirement.swift
[101/153] Compiling Swagger SecurityScheme.swift
[102/153] Compiling Swagger SerializationStyle.swift
[103/153] Compiling Swagger Discriminator.swift
[104/153] Compiling Swagger GroupSchema.swift
[105/153] Compiling Swagger IntegerSchema.swift
[106/153] Compiling Swagger NumberSchema.swift
[107/153] Compiling Swagger ObjectSchema.swift
[108/153] Compiling Stencil TrimBehaviour.swift
[109/153] Compiling Stencil Variable.swift
[110/153] Compiling Swagger APIKeySchema.swift
[113/153] Compiling Swagger Metadata.swift
[114/153] Compiling Swagger Reference.swift
[117/153] Emitting module Swagger
[122/153] Compiling Swagger Operation.swift
[123/153] Compiling Swagger Parameter.swift
[124/153] Compiling Swagger Path.swift
[125/153] Compiling Swagger RequestBody.swift
[126/153] Compiling Swagger Response.swift
[127/153] Compiling Swagger ArraySchema.swift
[131/153] Compiling Swagger DataType.swift
[145/154] Compiling Swagger Server.swift
[146/154] Compiling Swagger SwaggerError.swift
[147/154] Compiling Swagger SwaggerSpec.swift
[147/155] Wrapping AST for Stencil for debugging
[149/167] Wrapping AST for Swagger for debugging
[151/167] Compiling StencilSwiftKit StencilSwiftTemplate.swift
[152/168] Compiling StencilSwiftKit SetNode.swift
[153/168] Compiling StencilSwiftKit Parameters.swift
[154/168] Compiling StencilSwiftKit ImportNode.swift
[155/168] Compiling StencilSwiftKit MapNode.swift
[156/168] Emitting module StencilSwiftKit
[157/168] Compiling StencilSwiftKit CallMacroNodes.swift
[158/168] Compiling StencilSwiftKit Context.swift
[159/168] Compiling StencilSwiftKit SwiftIdentifier.swift
[160/168] Compiling StencilSwiftKit Filters+Strings.swift
[161/168] Compiling StencilSwiftKit Filters.swift
[162/168] Compiling StencilSwiftKit Environment.swift
[163/168] Compiling StencilSwiftKit Filters+Numbers.swift
[164/175] Wrapping AST for StencilSwiftKit for debugging
[166/177] Compiling SwagGenKit TemplateConfig.swift
[167/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
[168/177] Compiling SwagGenKit SwiftFormatter.swift
[169/177] Compiling SwagGenKit SwagGenStencilTemplate.swift
[170/177] Compiling SwagGenKit Generator.swift
[171/177] Compiling SwagGenKit SwaggerExtensions.swift
[172/177] Emitting module SwagGenKit
/host/spi-builder-workspace/Sources/SwagGenKit/Utilities.swift:5:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'JSONPrimitiveConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
  3 | import PathKit
  4 |
  5 | extension Path: JSONPrimitiveConvertible {
    | |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'JSONPrimitiveConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  6 |
  7 |     public typealias JSONType = String
[173/177] Compiling SwagGenKit CodeFormatter.swift
[174/178] Wrapping AST for SwagGenKit for debugging
[176/181] Compiling SwagGen 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! (90.59s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI"
    },
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "jsonutilities",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/JSONUtilities.git"
    },
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    }
  ],
  "manifest_display_name" : "SwagGen",
  "name" : "SwagGen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "swaggen",
      "targets" : [
        "SwagGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwagGenKit",
      "targets" : [
        "SwagGenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Swagger",
      "targets" : [
        "Swagger"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwaggerTests",
      "module_type" : "SwiftTarget",
      "name" : "SwaggerTests",
      "path" : "Tests/SwaggerTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "ParsingTests.swift",
        "SpecTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Swagger"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Swagger",
      "module_type" : "SwiftTarget",
      "name" : "Swagger",
      "path" : "Sources/Swagger",
      "product_dependencies" : [
        "JSONUtilities",
        "Yams",
        "PathKit"
      ],
      "product_memberships" : [
        "swaggen",
        "SwagGenKit",
        "Swagger"
      ],
      "sources" : [
        "Component/Component.swift",
        "Component/ComponentResolver.swift",
        "Component/Components.swift",
        "Component/Reference.swift",
        "Content.swift",
        "Info/Contact.swift",
        "Info/Info.swift",
        "Info/License.swift",
        "Metadata.swift",
        "Operation.swift",
        "Parameter.swift",
        "Path.swift",
        "RequestBody.swift",
        "Response.swift",
        "Schema/ArraySchema.swift",
        "Schema/DataType.swift",
        "Schema/Discriminator.swift",
        "Schema/GroupSchema.swift",
        "Schema/IntegerSchema.swift",
        "Schema/NumberSchema.swift",
        "Schema/ObjectSchema.swift",
        "Schema/Schema.swift",
        "Schema/StringSchema.swift",
        "Security/APIKeySchema.swift",
        "Security/Oauth2Schema.swift",
        "Security/SecurityRequirement.swift",
        "Security/SecurityScheme.swift",
        "SerializationStyle.swift",
        "Server.swift",
        "SwaggerError.swift",
        "SwaggerSpec.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwagGenKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwagGenKitTests",
      "path" : "Tests/SwagGenKitTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "FixtureTests.swift",
        "GeneratorTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwagGenKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwagGenKit",
      "module_type" : "SwiftTarget",
      "name" : "SwagGenKit",
      "path" : "Sources/SwagGenKit",
      "product_dependencies" : [
        "JSONUtilities",
        "PathKit",
        "StencilSwiftKit"
      ],
      "product_memberships" : [
        "swaggen",
        "SwagGenKit"
      ],
      "sources" : [
        "CodeFormatter.swift",
        "Generator.swift",
        "SwagGenStencilTemplate.swift",
        "SwaggerExtensions.swift",
        "SwiftFormatter.swift",
        "TemplateConfig.swift",
        "Utilities.swift"
      ],
      "target_dependencies" : [
        "Swagger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwagGen",
      "module_type" : "SwiftTarget",
      "name" : "SwagGen",
      "path" : "Sources/SwagGen",
      "product_dependencies" : [
        "SwiftCLI",
        "Rainbow",
        "PathKit"
      ],
      "product_memberships" : [
        "swaggen"
      ],
      "sources" : [
        "GenerateCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SwagGenKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
basic-6.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.