The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwagGen, reference 4.7.0 (0bef60), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 06:55:39 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/yonaskolb/SwagGen.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/21] Write sources
[8/21] Write swaggen-entitlement.plist
[8/21] Write sources
[11/21] Write swift-version-1EA4D86E10B52AF.txt
[12/65] Compiling parser.c
[13/65] Compiling reader.c
[14/65] Compiling writer.c
[15/65] Compiling api.c
[16/65] Compiling emitter.c
[17/65] Compiling scanner.c
[19/80] Compiling Yams Mark.swift
[20/80] Compiling Yams Node.Mapping.swift
[21/82] Compiling SwiftCLI Option.swift
[22/82] Compiling SwiftCLI OptionGroup.swift
[23/82] Compiling SwiftCLI OptionRegistry.swift
[24/82] Compiling SwiftCLI Parameter.swift
[25/82] Compiling Rainbow ControlCode.swift
[26/83] Compiling Rainbow Color.swift
[27/83] Compiling Rainbow Style.swift
[28/83] Compiling SwiftCLI ValueBox.swift
[29/83] Compiling SwiftCLI VersionCommand.swift
[30/83] Emitting module Rainbow
[31/83] Compiling Yams Emitter.swift
[32/83] Compiling Yams Encoder.swift
[33/83] Compiling Rainbow StringGenerator.swift
[34/83] Compiling Rainbow XcodeColorsSupport.swift
[35/83] Compiling Rainbow String+Rainbow.swift
[36/83] Compiling Yams Tag.swift
[37/84] Compiling Yams YamlError.swift
[38/84] Compiling Yams Node.swift
[39/84] Compiling Yams Parser.swift
[40/84] Compiling Yams String+Yams.swift
[41/84] Compiling SwiftCLI Term.swift
[42/84] Compiling SwiftCLI Validation.swift
[43/84] Emitting module Yams
[44/84] Compiling SwiftCLI Parser.swift
[45/84] Compiling SwiftCLI Path.swift
[46/84] Compiling SwiftCLI Stream.swift
[47/84] Compiling SwiftCLI Task.swift
[50/84] Compiling Yams Node.Scalar.swift
[51/84] Compiling Yams Node.Sequence.swift
[52/84] Compiling Yams Constructor.swift
[53/84] Compiling Yams Decoder.swift
[54/84] Emitting module SwiftCLI
[55/84] Compiling PathKit PathKit.swift
[56/84] Emitting module PathKit
[57/84] Compiling JSONUtilities KeyPath.swift
[58/84] Compiling JSONUtilities InvalidItemBehaviour.swift
[59/84] Compiling JSONUtilities Dictionary+KeyPath.swift
[60/84] Compiling JSONUtilities DecodingError.swift
[61/84] Compiling JSONUtilities JSONObjectConvertible.swift
[62/84] Emitting module JSONUtilities
[63/84] Compiling JSONUtilities Dictionary+JSONKey.swift
[64/84] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[65/84] Compiling JSONUtilities JSONFileLoading.swift
[66/84] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[67/84] Compiling Rainbow Rainbow.swift
[68/84] Compiling Rainbow ModesExtractor.swift
[69/84] Compiling Rainbow OutputTarget.swift
[70/84] Compiling Yams Resolver.swift
[81/84] Compiling Yams Representer.swift
[82/135] Emitting module Stencil
[83/137] Compiling Swagger Component.swift
[84/137] Compiling Swagger ComponentResolver.swift
[85/137] Compiling Swagger SecurityRequirement.swift
[86/137] Compiling Swagger SecurityScheme.swift
[87/137] Compiling Swagger SerializationStyle.swift
[88/140] Compiling Stencil Variable.swift
[89/140] Compiling Swagger APIKeySchema.swift
[90/140] Compiling Swagger Oauth2Schema.swift
[91/140] Compiling Swagger Content.swift
[92/140] Compiling Swagger Contact.swift
[93/140] Compiling Swagger Info.swift
[94/140] Compiling Swagger NumberSchema.swift
[95/140] Compiling Swagger ObjectSchema.swift
[96/140] Compiling Stencil TrimBehaviour.swift
[97/140] Compiling Swagger Discriminator.swift
[98/140] Compiling Swagger GroupSchema.swift
[99/140] Compiling Swagger IntegerSchema.swift
[100/140] Compiling Swagger DataType.swift
[102/140] Compiling Swagger Path.swift
[103/140] Compiling Swagger RequestBody.swift
[108/140] Compiling Swagger Response.swift
[109/140] Compiling Swagger ArraySchema.swift
[112/140] Compiling Swagger Components.swift
[113/140] Compiling Swagger Reference.swift
[114/140] Emitting module Swagger
[117/140] Compiling Swagger License.swift
[121/140] Compiling Swagger Metadata.swift
[122/140] Compiling Swagger Operation.swift
[123/140] Compiling Swagger Parameter.swift
[135/152] Compiling Swagger Server.swift
[136/152] Compiling Swagger SwaggerError.swift
[137/152] Compiling Swagger SwaggerSpec.swift
[138/152] Compiling StencilSwiftKit CallMacroNodes.swift
[139/152] Compiling StencilSwiftKit Context.swift
[140/153] Compiling StencilSwiftKit SetNode.swift
[141/153] Compiling StencilSwiftKit StencilSwiftTemplate.swift
[142/153] Compiling StencilSwiftKit ImportNode.swift
[143/153] Compiling StencilSwiftKit MapNode.swift
[144/153] Compiling StencilSwiftKit Parameters.swift
[145/153] Compiling StencilSwiftKit Filters.swift
[146/153] Emitting module StencilSwiftKit
[147/153] Compiling StencilSwiftKit Environment.swift
[148/153] Compiling StencilSwiftKit Filters+Numbers.swift
[149/153] Compiling StencilSwiftKit Filters+Strings.swift
[150/153] Compiling StencilSwiftKit SwiftIdentifier.swift
[151/161] Compiling SwagGenKit SwiftFormatter.swift
[152/161] Compiling SwagGenKit SwaggerExtensions.swift
[153/161] Compiling SwagGenKit Utilities.swift
/Users/admin/builder/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
[154/161] Compiling SwagGenKit TemplateConfig.swift
[155/161] Compiling SwagGenKit SwagGenStencilTemplate.swift
[156/161] Compiling SwagGenKit Generator.swift
[157/161] Emitting module SwagGenKit
/Users/admin/builder/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
[158/161] Compiling SwagGenKit CodeFormatter.swift
[159/164] Compiling SwagGen GenerateCommand.swift
/Users/admin/builder/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? {
[160/164] Compiling SwagGen main.swift
[161/164] Emitting module SwagGen
/Users/admin/builder/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? {
[161/164] Write Objects.LinkFileList
[162/164] Linking swaggen
[163/164] Applying swaggen
Build complete! (32.00s)
Fetching https://github.com/onevcat/Rainbow.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
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jpsim/Yams.git
[1/1353] Fetching jsonutilities
[29/6427] Fetching jsonutilities, swiftcli
[182/7838] Fetching jsonutilities, swiftcli, pathkit
[183/9034] Fetching jsonutilities, swiftcli, pathkit, rainbow
[598/13042] Fetching jsonutilities, swiftcli, pathkit, rainbow, stencilswiftkit
[679/14063] Fetching jsonutilities, swiftcli, pathkit, rainbow, stencilswiftkit, spectre
[2911/24922] Fetching jsonutilities, swiftcli, pathkit, rainbow, stencilswiftkit, spectre, yams
Fetched https://github.com/kylef/Spectre.git from cache (1.01s)
[7926/23901] Fetching jsonutilities, swiftcli, pathkit, rainbow, stencilswiftkit, yams
Fetched https://github.com/onevcat/Rainbow.git from cache (1.29s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (1.29s)
[6184/17631] Fetching jsonutilities, pathkit, stencilswiftkit, yams
Fetched https://github.com/jpsim/Yams.git from cache (4.98s)
Fetched https://github.com/kylef/PathKit.git from cache (4.98s)
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (4.98s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (4.98s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (6.85s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.48s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (0.49s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.48s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.49s)
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
[93/5802] Fetching komondor, stencil
Fetched https://github.com/stencilproject/Stencil.git from cache (1.09s)
Fetched https://github.com/shibapm/Komondor.git from cache (1.09s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (1.60s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/980] Fetching shellout
[178/1560] Fetching shellout, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.91s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.91s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (1.42s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.47s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.49s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.88s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.48s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.0
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.10.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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" : "/Users/admin/builder/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"
}
Done.