The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwaggerParser with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attilathefun/swaggerparser.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/attilathefun/swaggerparser
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ed87dda Fix metadata example
Cloned https://github.com/attilathefun/swaggerparser.git
Revision (git rev-parse @):
ed87dda717392ce07eb0cdc706596e0a1180581f
SUCCESS checkout https://github.com/attilathefun/swaggerparser.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swaggerparser",
      "name": "SwaggerParser",
      "url": "https://github.com/attilathefun/swaggerparser.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swaggerparser",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/attilathefun/swaggerparser.git
[1/922] Fetching swaggerparser
Fetched https://github.com/attilathefun/swaggerparser.git (0.29s)
Creating working copy for https://github.com/attilathefun/swaggerparser.git
Working copy of https://github.com/attilathefun/swaggerparser.git resolved at master
warning: '.resolve-product-dependencies': dependency 'swaggerparser' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/41] Emitting module SwaggerParser
[2/46] Compiling SwaggerParser ObjectMetadata.swift
[3/46] Compiling SwaggerParser ObjectSchema.swift
[4/46] Compiling SwaggerParser OneOrMany.swift
[5/46] Compiling SwaggerParser Operation.swift
[6/46] Compiling SwaggerParser Parameter.swift
[7/46] Compiling SwaggerParser Path.swift
[8/46] Compiling SwaggerParser Pointer.swift
[9/46] Compiling SwaggerParser Reference.swift
[10/46] Compiling SwaggerParser ReferenceResolver.swift
[11/46] Compiling SwaggerParser Response.swift
[12/46] Compiling SwaggerParser APIKeySchema.swift
[13/46] Compiling SwaggerParser AllOfSchema.swift
[14/46] Compiling SwaggerParser ArrayItem.swift
[15/46] Compiling SwaggerParser ArrayMetadata.swift
[16/46] Compiling SwaggerParser ArraySchema.swift
[17/46] Compiling SwaggerParser Builder.swift
[18/46] Compiling SwaggerParser Schema.swift
[19/46] Compiling SwaggerParser SchemaType.swift
[20/46] Compiling SwaggerParser SecuritySchema.swift
[21/46] Compiling SwaggerParser StringFormat.swift
[22/46] Compiling SwaggerParser StringItem.swift
[23/46] Compiling SwaggerParser Contact.swift
[24/46] Compiling SwaggerParser Decodable+Extensions.swift
[25/46] Compiling SwaggerParser Either.swift
[26/46] Compiling SwaggerParser Enums.swift
[27/46] Compiling SwaggerParser Errors.swift
[28/46] Compiling SwaggerParser ExternalDocumentation.swift
[29/46] Compiling SwaggerParser StringMetadata.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without a type annotation
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[30/46] Compiling SwaggerParser Structure.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without a type annotation
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[31/46] Compiling SwaggerParser Swagger.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without a type annotation
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[32/46] Compiling SwaggerParser Tag.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without a type annotation
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[33/46] Compiling SwaggerParser Version.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without a type annotation
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[34/46] Compiling SwaggerParser KeyedEncodingContainer+Extensions.swift
[35/46] Compiling SwaggerParser License.swift
[36/46] Compiling SwaggerParser Metadata.swift
[37/46] Compiling SwaggerParser NumberItem.swift
[38/46] Compiling SwaggerParser NumericMetadata.swift
[39/46] Compiling SwaggerParser Oauth2Schema.swift
[40/46] Compiling SwaggerParser FixedParameterFields.swift
[41/46] Compiling SwaggerParser Information.swift
[42/46] Compiling SwaggerParser IntegerItem.swift
[43/46] Compiling SwaggerParser Items.swift
[44/46] Compiling SwaggerParser ItemsType.swift
[45/46] Compiling SwaggerParser KeyedDecodingContainer+Extensions.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/7] Compiling SwaggerParser Version.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without a type annotation
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[2/7] Compiling SwaggerParser Structure.swift
[3/7] Compiling SwaggerParser StringMetadata.swift
[4/7] Compiling SwaggerParser Tag.swift
[5/14] Compiling SwaggerParser Swagger.swift
[6/15] Compiling SwaggerParser Response.swift
[7/16] Compiling SwaggerParser ReferenceResolver.swift
[8/17] Compiling SwaggerParser Parameter.swift
[9/17] Compiling SwaggerParser Operation.swift
[10/17] Compiling SwaggerParser ArraySchema.swift
[11/17] Compiling SwaggerParser ObjectSchema.swift
[12/17] Compiling SwaggerParser Path.swift
[13/25] Emitting module SwaggerParser
[14/27] Compiling SwaggerParser Schema.swift
[15/29] Compiling SwaggerParser StringItem.swift
[16/31] Compiling SwaggerParser ItemsType.swift
[17/33] Compiling SwaggerParser SchemaType.swift
[18/35] Compiling SwaggerParser ExternalDocumentation.swift
[19/35] Compiling SwaggerParser FixedParameterFields.swift
[20/35] Compiling SwaggerParser ArrayMetadata.swift
[21/35] Compiling SwaggerParser Contact.swift
[22/36] Compiling SwaggerParser Information.swift
[23/36] Compiling SwaggerParser IntegerItem.swift
[24/36] Compiling SwaggerParser APIKeySchema.swift
[25/36] Compiling SwaggerParser AllOfSchema.swift
[26/36] Compiling SwaggerParser ArrayItem.swift
[27/36] Compiling SwaggerParser Items.swift
[28/36] Compiling SwaggerParser License.swift
[29/36] Compiling SwaggerParser Builder.swift
[30/36] Compiling SwaggerParser Metadata.swift
[31/36] Compiling SwaggerParser NumberItem.swift
[32/36] Compiling SwaggerParser NumericMetadata.swift
[33/36] Compiling SwaggerParser Oauth2Schema.swift
[34/36] Compiling SwaggerParser ObjectMetadata.swift
[35/36] Compiling SwaggerParser SecuritySchema.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm