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 OpenAPISwiftCodeGenerate, reference main (2785b1), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 10:42:35 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amzn/openapi-swift-code-generate.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amzn/openapi-swift-code-generate
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2785b1d Update SwaggerParser repository location because original is 404
Cloned https://github.com/amzn/openapi-swift-code-generate.git
Revision (git rev-parse @):
2785b1dd472850c470b5cd3c9b727ce3dff4827d
SUCCESS checkout https://github.com/amzn/openapi-swift-code-generate.git at main
Fetching https://github.com/mattpolzin/OpenAPIKit.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/knovichikhin/SwaggerParser.git
Fetching https://github.com/amzn/service-model-swift-code-generate
[1/1549] Fetching service-model-swift-code-generate
[327/2026] Fetching service-model-swift-code-generate, swaggerparser
[1160/11928] Fetching service-model-swift-code-generate, swaggerparser, yams
[2622/69623] Fetching service-model-swift-code-generate, swaggerparser, yams, openapikit
Fetched https://github.com/amzn/service-model-swift-code-generate from cache (2.20s)
[41535/68074] Fetching swaggerparser, yams, openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (3.80s)
Fetched https://github.com/jpsim/Yams.git from cache (3.80s)
Fetched https://github.com/knovichikhin/SwaggerParser.git from cache (3.80s)
Computing version for https://github.com/amzn/service-model-swift-code-generate
Computed https://github.com/amzn/service-model-swift-code-generate at 3.0.2 (0.75s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.67s)
Computing version for https://github.com/knovichikhin/SwaggerParser.git
Computed https://github.com/knovichikhin/SwaggerParser.git at 0.6.4 (2.50s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.0.0-alpha.9 (0.71s)
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/amzn/service-model-swift-code-generate
Working copy of https://github.com/amzn/service-model-swift-code-generate resolved at 3.0.2
Creating working copy for https://github.com/mattpolzin/OpenAPIKit.git
Working copy of https://github.com/mattpolzin/OpenAPIKit.git resolved at 3.0.0-alpha.9
Creating working copy for https://github.com/knovichikhin/SwaggerParser.git
Working copy of https://github.com/knovichikhin/SwaggerParser.git resolved at 0.6.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "openapi-swift-code-generate",
      "name": "OpenAPISwiftCodeGenerate",
      "url": "https://github.com/amzn/openapi-swift-code-generate.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/openapi-swift-code-generate",
      "dependencies": [
        {
          "identity": "swaggerparser",
          "name": "SwaggerParser",
          "url": "https://github.com/knovichikhin/SwaggerParser.git",
          "version": "0.6.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwaggerParser",
          "dependencies": [
          ]
        },
        {
          "identity": "yams",
          "name": "Yams",
          "url": "https://github.com/jpsim/Yams.git",
          "version": "4.0.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
          "dependencies": [
          ]
        },
        {
          "identity": "openapikit",
          "name": "OpenAPIKit",
          "url": "https://github.com/mattpolzin/OpenAPIKit.git",
          "version": "3.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAPIKit",
          "dependencies": [
            {
              "identity": "yams",
              "name": "Yams",
              "url": "https://github.com/jpsim/Yams.git",
              "version": "4.0.6",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "service-model-swift-code-generate",
          "name": "ServiceModelSwiftCodeGenerate",
          "url": "https://github.com/amzn/service-model-swift-code-generate",
          "version": "3.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/service-model-swift-code-generate",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/amzn/openapi-swift-code-generate.git
[2/110] Fetching openapi-swift-code-generate
Fetched https://github.com/amzn/openapi-swift-code-generate.git from cache (0.68s)
Fetching https://github.com/knovichikhin/SwaggerParser.git from cache
Fetching https://github.com/amzn/service-model-swift-code-generate from cache
Fetching https://github.com/mattpolzin/OpenAPIKit.git from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/knovichikhin/SwaggerParser.git from cache (0.62s)
Fetched https://github.com/jpsim/Yams.git from cache (1.38s)
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (1.38s)
Fetched https://github.com/amzn/service-model-swift-code-generate from cache (1.38s)
Computing version for https://github.com/knovichikhin/SwaggerParser.git
Computed https://github.com/knovichikhin/SwaggerParser.git at 0.6.4 (0.03s)
Computing version for https://github.com/amzn/service-model-swift-code-generate
Computed https://github.com/amzn/service-model-swift-code-generate at 3.1.1 (0.03s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.03s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.3.0 (0.03s)
Creating working copy for https://github.com/mattpolzin/OpenAPIKit.git
Working copy of https://github.com/mattpolzin/OpenAPIKit.git resolved at 3.3.0
Creating working copy for https://github.com/amzn/service-model-swift-code-generate
Working copy of https://github.com/amzn/service-model-swift-code-generate resolved at 3.1.1
Creating working copy for https://github.com/amzn/openapi-swift-code-generate.git
Working copy of https://github.com/amzn/openapi-swift-code-generate.git resolved at main (2785b1d)
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/knovichikhin/SwaggerParser.git
Working copy of https://github.com/knovichikhin/SwaggerParser.git resolved at 0.6.4
warning: '.resolve-product-dependencies': dependency 'openapi-swift-code-generate' is not used by any target
Found 4 product dependencies
  - SwaggerParser
  - Yams
  - OpenAPIKit
  - ServiceModelSwiftCodeGenerate
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/amzn/openapi-swift-code-generate.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/17] Write sources
[8/17] Write swift-version--7754E27361AE5C74.txt
[9/100] Compiling writer.c
[10/100] Compiling reader.c
[11/100] Compiling parser.c
[12/100] Compiling api.c
[13/100] Compiling emitter.c
[14/100] Compiling scanner.c
[16/115] Emitting module OpenAPIKitCore
[17/118] Compiling Yams Tag.swift
[18/119] Compiling SwaggerParser SecuritySchema.swift
[19/119] Compiling SwaggerParser StringFormat.swift
[20/119] Compiling SwaggerParser StringItem.swift
[21/119] Compiling SwaggerParser StringMetadata.swift
[22/123] Compiling Yams Node.Scalar.swift
[23/123] Compiling Yams Node.Sequence.swift
[24/123] Compiling Yams YamlError.swift
[25/123] Compiling OpenAPIKitCore ResponseStatusCode.swift
[26/123] Compiling OpenAPIKitCore SecurityScheme.swift
[27/123] Compiling OpenAPIKitCore URLTemplate+Parsing.swift
[28/123] Compiling OpenAPIKitCore URLTemplate.swift
[29/123] Compiling OpenAPIKitCore OAuthFlows.swift
[30/123] Compiling OpenAPIKitCore ParameterContextLocation.swift
[31/123] Compiling OpenAPIKitCore ParameterSchemaContextStyle.swift
[32/123] Compiling OpenAPIKitCore Path.swift
[33/123] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
[34/123] Compiling OpenAPIKitCore Optional+Zip.swift
[35/123] Compiling OpenAPIKitCore Result+Value.swift
[36/123] Compiling OpenAPIKitCore Validatable.swift
[40/123] Compiling ServiceModelEntities String+nameConversions.swift
[41/123] Compiling ServiceModelEntities ServiceModel+getTypeMappings.swift
[42/123] Compiling SwaggerParser Structure.swift
[43/123] Compiling SwaggerParser Swagger.swift
[44/123] Compiling SwaggerParser Tag.swift
[45/123] Compiling SwaggerParser Version.swift
[52/123] Compiling Yams Constructor.swift
[53/123] Compiling Yams Decoder.swift
[54/123] Compiling Yams Emitter.swift
[55/123] Compiling Yams Encoder.swift
[57/123] Emitting module SwaggerParser
[58/123] Compiling ServiceModelEntities ModelOverride.swift
[59/123] Compiling ServiceModelEntities ServiceModel.swift
[60/123] Emitting module ServiceModelEntities
[61/123] Compiling ServiceModelEntities ModelEntities.swift
[62/123] Compiling OpenAPIKitCore InconsistencyError.swift
[63/123] Compiling OpenAPIKitCore OpenAPIDecodingErrors.swift
[64/123] Compiling OpenAPIKitCore OpenAPIError.swift
[65/123] Compiling OpenAPIKitCore OpenAPIWarning.swift
[66/123] Compiling OpenAPIKitCore JSONTypeFormat.swift
[70/123] Compiling OpenAPIKitCore Discriminator.swift
[71/123] Compiling OpenAPIKitCore HttpMethod.swift
[72/123] Compiling OpenAPIKitCore JSONSchemaPermissions.swift
[73/123] Compiling OpenAPIKitCore JSONSchemaSimpleContexts.swift
[78/123] Compiling Yams Mark.swift
[79/123] Compiling Yams Node.Mapping.swift
[84/123] Compiling OpenAPIKitCore Shared.swift
[85/123] Compiling OpenAPIKitCore CallbackURL.swift
[86/123] Compiling OpenAPIKitCore ComponentKey.swift
[87/123] Compiling OpenAPIKitCore ContentType.swift
[91/123] Compiling Yams Node.swift
[92/123] Compiling Yams Parser.swift
[93/123] Compiling SwaggerParser Errors.swift
[94/123] Compiling SwaggerParser ExternalDocumentation.swift
[112/123] Emitting module Yams
[115/123] Compiling Yams String+Yams.swift
[118/123] Compiling Yams Resolver.swift
[119/123] Compiling Yams Representer.swift
[121/123] Write Objects.LinkFileList
[122/123] Archiving libSwaggerParser.a
[124/192] Compiling ServiceModelCodeGeneration ModelErrorsDelegate.swift
[125/192] Compiling ServiceModelCodeGeneration ServiceModelCodeGenerator.swift
[126/192] Emitting module ServiceModelCodeGeneration
[127/192] Compiling ServiceModelCodeGeneration ModelClientDelegate.swift
[128/192] Compiling ServiceModelCodeGeneration ModelLocation.swift
[129/192] Compiling ServiceModelCodeGeneration InitializerType.swift
[130/192] Compiling ServiceModelCodeGeneration CodeGenerationCustomizations.swift
[131/192] Compiling ServiceModelCodeGeneration ApplicationDescription.swift
[132/192] Compiling ServiceModelCodeGeneration FileBuilder.swift
[133/192] Compiling OpenAPIKit30 DereferencedSecurityRequirement.swift
[134/192] Compiling OpenAPIKit30 SecurityScheme.swift
[135/192] Compiling OpenAPIKit30 Server.swift
[136/192] Compiling OpenAPIKit30 Tag.swift
[137/192] Compiling OpenAPIKit30 URLTemplate+Validatable.swift
[138/192] Compiling OpenAPIKit30 Container+DecodeURLAsString.swift
[139/192] Compiling OpenAPIKit30 Either+Convenience.swift
[140/192] Compiling OpenAPIKit30 Either+LocallyDereferenceable.swift
[141/192] Compiling OpenAPIKit30 Either+Validatable.swift
[142/192] Compiling OpenAPIKit30 DocumentDecodingError.swift
[143/192] Compiling OpenAPIKit30 OperationDecodingError.swift
[144/192] Compiling OpenAPIKit30 PathDecodingError.swift
[145/192] Compiling OpenAPIKit30 ResponseDecodingError.swift
[146/198] Emitting module OpenAPIKit30
[147/198] Compiling OpenAPIKit30 AnyCodable+Validatable.swift
[148/198] Compiling OpenAPIKit30 Callbacks.swift
[149/198] Compiling OpenAPIKit30 CodableVendorExtendable.swift
[150/198] Compiling OpenAPIKit30 Components+JSONReference.swift
[151/198] Compiling OpenAPIKit30 Components+Locatable.swift
[152/198] Compiling OpenAPIKit30 Components.swift
[153/198] Compiling OpenAPIKit30 Content.swift
[154/198] Compiling OpenAPIKit30 Example.swift
[155/198] Compiling OpenAPIKit30 ExternalDocumentation.swift
[156/198] Compiling OpenAPIKit30 DereferencedHeader.swift
[157/198] Compiling OpenAPIKit30 Header.swift
[158/198] Compiling OpenAPIKit30 JSONReference.swift
[159/198] Compiling OpenAPIKit30 Link.swift
[160/198] Compiling OpenAPIKit30 OpenAPI.swift
[161/198] Compiling OpenAPIKit30 ContentEncoding.swift
[162/198] Compiling OpenAPIKit30 DereferencedContent.swift
[163/198] Compiling OpenAPIKit30 DereferencedContentEncoding.swift
[164/198] Compiling OpenAPIKit30 DereferencedDocument.swift
[165/198] Compiling OpenAPIKit30 Document.swift
[166/198] Compiling OpenAPIKit30 DocumentInfo.swift
[167/198] Compiling OpenAPIKit30 ResolvedDocument.swift
[168/198] Compiling OpenAPIKit30 DereferencedOperation.swift
[169/198] Compiling OpenAPIKit30 Operation.swift
[170/198] Compiling OpenAPIKit30 ResolvedEndpoint.swift
[171/198] Compiling OpenAPIKit30 OrderedDictionary+Validatable.swift
[172/198] Compiling OpenAPIKit30 DereferencedParameter.swift
[173/198] Compiling OpenAPIKit30 DereferencedSchemaContext.swift
[174/198] Compiling OpenAPIKit30 Parameter.swift
[175/198] Compiling OpenAPIKit30 Validation+Builtins.swift
[176/198] Compiling OpenAPIKit30 Validation.swift
[177/198] Compiling OpenAPIKit30 Validator+Convenience.swift
[178/198] Compiling OpenAPIKit30 Validator.swift
[179/198] Compiling OpenAPIKit30 XML.swift
[180/198] Compiling OpenAPIKit30 _CoreReExport.swift
[181/198] Compiling OpenAPIKit30 ParameterContext.swift
[182/198] Compiling OpenAPIKit30 ParameterSchemaContext.swift
[183/198] Compiling OpenAPIKit30 DereferencedPathItem.swift
[184/198] Compiling OpenAPIKit30 PathItem.swift
[185/198] Compiling OpenAPIKit30 ResolvedRoute.swift
[186/198] Compiling OpenAPIKit30 DereferencedRequest.swift
[187/198] Compiling OpenAPIKit30 Request.swift
[188/198] Compiling OpenAPIKit30 DereferencedResponse.swift
[189/198] Compiling OpenAPIKit30 Response.swift
[190/198] Compiling OpenAPIKit30 RuntimeExpression.swift
[191/198] Compiling OpenAPIKit30 SchemaProtocols.swift
[192/198] Compiling OpenAPIKit30 SwiftPrimitiveTypes+OpenAPI.swift
[193/198] Compiling OpenAPIKit30 DereferencedJSONSchema.swift
[194/198] Compiling OpenAPIKit30 JSONSchema+Combining.swift
[195/198] Compiling OpenAPIKit30 JSONSchema.swift
[196/198] Compiling OpenAPIKit30 JSONSchemaContext.swift
[197/198] Compiling OpenAPIKit30 SimplifiedJSONSchema.swift
[198/198] Compiling OpenAPIKit30 TypesAndFormats.swift
[199/210] Compiling OpenAPIServiceModel SetOperationOutput.swift
[200/210] Compiling OpenAPIServiceModel OpenAPIServiceModel.swift
[201/210] Compiling OpenAPIServiceModel SetOperationInput.swift
[202/210] Compiling OpenAPIServiceModel ParseSchemas.swift
[203/210] Compiling SwaggerServiceModel SwaggerServiceModel.swift
[204/210] Compiling SwaggerServiceModel SwaggerServiceModel+setOperationInput.swift
[205/210] Compiling SwaggerServiceModel SwaggerServiceModel+setOperationOutput.swift
[206/210] Emitting module SwaggerServiceModel
[207/210] Compiling SwaggerServiceModel SwaggerServiceModel+parseSchemas.swift
[208/210] Compiling SwaggerServiceModel SwaggerServiceModel+createSwaggerModel.swift
[209/210] Compiling OpenAPIServiceModel CreateOpenAPIServiceModel.swift
[210/210] Emitting module OpenAPIServiceModel
Build complete! (47.56s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swaggerparser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/knovichikhin/SwaggerParser.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" : "openapikit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0-alpha.9",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattpolzin/OpenAPIKit.git"
    },
    {
      "identity" : "service-model-swift-code-generate",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/amzn/service-model-swift-code-generate"
    }
  ],
  "manifest_display_name" : "OpenAPISwiftCodeGenerate",
  "name" : "OpenAPISwiftCodeGenerate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "SwaggerServiceModel",
      "targets" : [
        "SwaggerServiceModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAPIServiceModel",
      "targets" : [
        "OpenAPIServiceModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwaggerServiceModel",
      "module_type" : "SwiftTarget",
      "name" : "SwaggerServiceModel",
      "path" : "Sources/SwaggerServiceModel",
      "product_dependencies" : [
        "ServiceModelCodeGeneration",
        "Yams",
        "SwaggerParser",
        "OpenAPIKit30"
      ],
      "product_memberships" : [
        "SwaggerServiceModel"
      ],
      "sources" : [
        "SwaggerServiceModel+createSwaggerModel.swift",
        "SwaggerServiceModel+parseSchemas.swift",
        "SwaggerServiceModel+setOperationInput.swift",
        "SwaggerServiceModel+setOperationOutput.swift",
        "SwaggerServiceModel.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAPIServiceModel",
      "module_type" : "SwiftTarget",
      "name" : "OpenAPIServiceModel",
      "path" : "Sources/OpenAPIServiceModel",
      "product_dependencies" : [
        "ServiceModelCodeGeneration",
        "Yams",
        "SwaggerParser",
        "OpenAPIKit30"
      ],
      "product_memberships" : [
        "OpenAPIServiceModel"
      ],
      "sources" : [
        "CreateOpenAPIServiceModel.swift",
        "OpenAPIServiceModel.swift",
        "ParseSchemas.swift",
        "SetOperationInput.swift",
        "SetOperationOutput.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.