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 Linux on 3 Nov 2024 10:35:43 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/amzn/openapi-swift-code-generate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/amzn/service-model-swift-code-generate
Fetching https://github.com/mattpolzin/OpenAPIKit.git
Fetching https://github.com/knovichikhin/SwaggerParser.git
Fetching https://github.com/jpsim/Yams.git
[1/1549] Fetching service-model-swift-code-generate
[513/2026] Fetching service-model-swift-code-generate, swaggerparser
Fetched https://github.com/knovichikhin/SwaggerParser.git from cache (0.21s)
Fetched https://github.com/amzn/service-model-swift-code-generate from cache (0.22s)
[1/9902] Fetching yams
[9804/67597] Fetching yams, openapikit
Fetched https://github.com/jpsim/Yams.git from cache (0.94s)
[20771/57695] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (2.45s)
Computing version for https://github.com/knovichikhin/SwaggerParser.git
Computed https://github.com/knovichikhin/SwaggerParser.git at 0.6.4 (1.78s)
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.43s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.43s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.3.0 (0.45s)
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/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
Building for debugging...
[0/18] Write sources
[8/18] Compiling reader.c
[9/18] Compiling writer.c
[10/18] Compiling api.c
[11/18] Compiling parser.c
[12/18] Compiling emitter.c
[13/18] Write swift-version-24593BA9C3E375BF.txt
[14/18] Compiling scanner.c
[16/113] Compiling SwaggerParser ArrayItem.swift
[17/113] Compiling SwaggerParser ArrayMetadata.swift
[18/114] Compiling SwaggerParser FixedParameterFields.swift
[19/114] Compiling SwaggerParser Information.swift
[20/114] Compiling SwaggerParser IntegerItem.swift
[21/114] Compiling SwaggerParser Items.swift
[22/114] Compiling OpenAPIKitCore OpenAPIError.swift
[23/114] Compiling OpenAPIKitCore OpenAPIWarning.swift
[24/119] Emitting module SwaggerParser
[25/119] Compiling SwaggerParser APIKeySchema.swift
[26/119] Compiling SwaggerParser AllOfSchema.swift
[29/119] Compiling SwaggerParser ArraySchema.swift
[30/119] Compiling OpenAPIKitCore DecodingErrorExtensions.swift
[36/123] Compiling OpenAPIKitCore SecurityScheme.swift
[37/123] Compiling OpenAPIKitCore URLTemplate+Parsing.swift
[38/123] Compiling OpenAPIKitCore URLTemplate.swift
[39/123] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
[40/123] Compiling OpenAPIKitCore Optional+Zip.swift
[41/123] Compiling OpenAPIKitCore Result+Value.swift
[42/123] Compiling OpenAPIKitCore Validatable.swift
[43/123] Compiling SwaggerParser OneOfSchema.swift
[44/123] Compiling SwaggerParser OneOrMany.swift
[45/123] Compiling SwaggerParser Operation.swift
[46/123] Compiling SwaggerParser Parameter.swift
[47/123] Compiling SwaggerParser Path.swift
[48/123] Compiling SwaggerParser Pointer.swift
[49/123] Compiling SwaggerParser Reference.swift
[50/123] Compiling SwaggerParser ReferenceResolver.swift
[51/123] Compiling SwaggerParser Response.swift
[52/123] Compiling Yams YamlError.swift
[57/123] Compiling ServiceModelEntities ServiceModel+getTypeMappings.swift
[58/123] Compiling SwaggerParser KeyedEncodingContainer+Extensions.swift
[59/123] Compiling SwaggerParser License.swift
[60/123] Compiling SwaggerParser Metadata.swift
[61/123] Compiling SwaggerParser NumberItem.swift
[62/123] Compiling SwaggerParser NumericMetadata.swift
[63/123] Compiling OpenAPIKitCore ResponseStatusCode.swift
[70/123] Compiling SwaggerParser Enums.swift
[71/123] Compiling SwaggerParser Errors.swift
[72/123] Compiling SwaggerParser ExternalDocumentation.swift
[80/123] Emitting module Yams
[81/123] Compiling SwaggerParser Contact.swift
[82/123] Compiling SwaggerParser Decodable+Extensions.swift
[83/123] Compiling SwaggerParser Either.swift
[99/123] Compiling ServiceModelEntities String+nameConversions.swift
[100/123] Compiling ServiceModelEntities ServiceModel.swift
[101/123] Compiling ServiceModelEntities ModelEntities.swift
[102/123] Compiling ServiceModelEntities ModelOverride.swift
[103/123] Emitting module ServiceModelEntities
[104/124] Emitting module OpenAPIKitCore
[110/124] Compiling SwaggerParser StringMetadata.swift
[111/124] Compiling SwaggerParser Structure.swift
[112/124] Compiling SwaggerParser Swagger.swift
[113/124] Compiling SwaggerParser Tag.swift
[114/124] Compiling SwaggerParser Version.swift
[124/127] Wrapping AST for SwaggerParser for debugging
[125/127] Write Objects.LinkFileList
[126/127] Archiving libSwaggerParser.a
[128/194] Compiling ServiceModelCodeGeneration ModelClientDelegate.swift
[129/194] Compiling ServiceModelCodeGeneration ModelErrorsDelegate.swift
[130/194] Compiling ServiceModelCodeGeneration ModelLocation.swift
[131/195] Emitting module ServiceModelCodeGeneration
[132/195] Compiling ServiceModelCodeGeneration ApplicationDescription.swift
[133/195] Compiling ServiceModelCodeGeneration FileBuilder.swift
[134/195] Compiling ServiceModelCodeGeneration InitializerType.swift
[135/195] Compiling ServiceModelCodeGeneration CodeGenerationCustomizations.swift
[136/195] Compiling ServiceModelCodeGeneration ServiceModelCodeGenerator.swift
[138/196] Emitting module OpenAPIKit30
[139/204] Compiling OpenAPIKit30 OperationDecodingError.swift
[140/204] Compiling OpenAPIKit30 PathDecodingError.swift
[141/204] Compiling OpenAPIKit30 ResponseDecodingError.swift
[142/204] Compiling OpenAPIKit30 Example.swift
[143/204] Compiling OpenAPIKit30 ExternalDocumentation.swift
[144/204] Compiling OpenAPIKit30 DereferencedHeader.swift
[145/204] Compiling OpenAPIKit30 Header.swift
[146/204] Compiling OpenAPIKit30 JSONReference.swift
[147/204] Compiling OpenAPIKit30 JSONSchemaContext.swift
[148/204] Compiling OpenAPIKit30 SimplifiedJSONSchema.swift
[149/204] Compiling OpenAPIKit30 TypesAndFormats.swift
[150/204] Compiling OpenAPIKit30 DereferencedSecurityRequirement.swift
[151/204] Compiling OpenAPIKit30 SecurityScheme.swift
[152/204] Compiling OpenAPIKit30 Server.swift
[153/204] Compiling OpenAPIKit30 Tag.swift
[154/204] Compiling OpenAPIKit30 URLTemplate+Validatable.swift
[155/204] Compiling OpenAPIKit30 AnyCodable+Validatable.swift
[156/204] Compiling OpenAPIKit30 Callbacks.swift
[157/204] Compiling OpenAPIKit30 CodableVendorExtendable.swift
[158/204] Compiling OpenAPIKit30 Components+JSONReference.swift
[159/204] Compiling OpenAPIKit30 Components+Locatable.swift
[160/204] Compiling OpenAPIKit30 Components.swift
[161/204] Compiling OpenAPIKit30 Content.swift
[162/204] Compiling OpenAPIKit30 ContentEncoding.swift
[163/204] Compiling OpenAPIKit30 DereferencedContent.swift
[164/204] Compiling OpenAPIKit30 DereferencedContentEncoding.swift
[165/204] Compiling OpenAPIKit30 DereferencedDocument.swift
[166/204] Compiling OpenAPIKit30 Document.swift
[167/204] Compiling OpenAPIKit30 DocumentInfo.swift
[168/204] Compiling OpenAPIKit30 ResolvedDocument.swift
[169/204] Compiling OpenAPIKit30 Either+Convenience.swift
[170/204] Compiling OpenAPIKit30 Either+LocallyDereferenceable.swift
[171/204] Compiling OpenAPIKit30 Either+Validatable.swift
[172/204] Compiling OpenAPIKit30 DocumentDecodingError.swift
[173/204] Compiling OpenAPIKit30 Container+DecodeURLAsString.swift
[174/204] Compiling OpenAPIKit30 OrderedDictionry+LocallyDereferenceable.swift
[175/204] Compiling OpenAPIKit30 Validation+Builtins.swift
[176/204] Compiling OpenAPIKit30 Validation.swift
[177/204] Compiling OpenAPIKit30 Validator+Convenience.swift
[178/204] Compiling OpenAPIKit30 Validator.swift
[179/204] Compiling OpenAPIKit30 XML.swift
[180/204] Compiling OpenAPIKit30 _CoreReExport.swift
[181/204] Compiling OpenAPIKit30 Link.swift
[182/204] Compiling OpenAPIKit30 OpenAPI.swift
[183/204] Compiling OpenAPIKit30 DereferencedOperation.swift
[184/204] Compiling OpenAPIKit30 Operation.swift
[185/204] Compiling OpenAPIKit30 ResolvedEndpoint.swift
[186/204] Compiling OpenAPIKit30 OrderedDictionary+Validatable.swift
[187/204] Compiling OpenAPIKit30 DereferencedParameter.swift
[188/204] Compiling OpenAPIKit30 DereferencedSchemaContext.swift
[189/204] Compiling OpenAPIKit30 Parameter.swift
[190/204] Compiling OpenAPIKit30 ParameterContext.swift
[191/204] Compiling OpenAPIKit30 ParameterSchemaContext.swift
[192/204] Compiling OpenAPIKit30 DereferencedPathItem.swift
[193/204] Compiling OpenAPIKit30 PathItem.swift
[194/204] Compiling OpenAPIKit30 ResolvedRoute.swift
[195/204] Compiling OpenAPIKit30 DereferencedRequest.swift
[196/204] Compiling OpenAPIKit30 Request.swift
[197/204] Compiling OpenAPIKit30 DereferencedResponse.swift
[198/204] Compiling OpenAPIKit30 Response.swift
[199/204] Compiling OpenAPIKit30 RuntimeExpression.swift
[200/204] Compiling OpenAPIKit30 SchemaProtocols.swift
[201/204] Compiling OpenAPIKit30 SwiftPrimitiveTypes+OpenAPI.swift
[202/204] Compiling OpenAPIKit30 DereferencedJSONSchema.swift
[203/204] Compiling OpenAPIKit30 JSONSchema+Combining.swift
[204/204] Compiling OpenAPIKit30 JSONSchema.swift
[206/217] Compiling SwaggerServiceModel SwaggerServiceModel.swift
[207/217] Compiling SwaggerServiceModel SwaggerServiceModel+setOperationInput.swift
[208/217] Compiling SwaggerServiceModel SwaggerServiceModel+setOperationOutput.swift
[209/217] Compiling SwaggerServiceModel SwaggerServiceModel+parseSchemas.swift
[210/217] Compiling SwaggerServiceModel SwaggerServiceModel+createSwaggerModel.swift
[211/217] Emitting module SwaggerServiceModel
[212/218] Compiling OpenAPIServiceModel OpenAPIServiceModel.swift
[214/218] Compiling OpenAPIServiceModel ParseSchemas.swift
[215/218] Compiling OpenAPIServiceModel SetOperationOutput.swift
[216/218] Compiling OpenAPIServiceModel SetOperationInput.swift
[217/218] Emitting module OpenAPIServiceModel
[218/218] Compiling OpenAPIServiceModel CreateOpenAPIServiceModel.swift
Build complete! (37.98s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.