The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attilathefun/swaggerparser.git
Reference: 0.6.2
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/attilathefun/swaggerparser
 * tag               0.6.2      -> FETCH_HEAD
HEAD is now at ed87dda Fix metadata example
Cloned https://github.com/attilathefun/swaggerparser.git into spi-builder-workspace
ed87dda717392ce07eb0cdc706596e0a1180581f
SUCCESS checkout https://github.com/attilathefun/swaggerparser.git at 0.6.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Building for debugging...
[1/41] Compiling SwaggerParser FixedParameterFields.swift
[2/41] Compiling SwaggerParser Information.swift
[3/41] Compiling SwaggerParser IntegerItem.swift
[4/41] Compiling SwaggerParser Items.swift
[5/41] Compiling SwaggerParser ItemsType.swift
[6/41] Compiling SwaggerParser KeyedDecodingContainer+Extensions.swift
[7/41] Compiling SwaggerParser Path.swift
[8/41] Compiling SwaggerParser Pointer.swift
[9/41] Compiling SwaggerParser Reference.swift
[10/41] Compiling SwaggerParser ReferenceResolver.swift
[11/41] Compiling SwaggerParser Response.swift
[12/46] Compiling SwaggerParser StringMetadata.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without more context
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[13/46] Compiling SwaggerParser Structure.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without more context
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[14/46] Compiling SwaggerParser Swagger.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without more context
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[15/46] Compiling SwaggerParser Tag.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without more context
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[16/46] Compiling SwaggerParser Version.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without more context
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[17/46] Compiling SwaggerParser ObjectMetadata.swift
[18/46] Compiling SwaggerParser ObjectSchema.swift
[19/46] Compiling SwaggerParser OneOrMany.swift
[20/46] Compiling SwaggerParser Operation.swift
[21/46] Compiling SwaggerParser Parameter.swift
[22/46] Compiling SwaggerParser APIKeySchema.swift
[23/46] Compiling SwaggerParser AllOfSchema.swift
[24/46] Compiling SwaggerParser ArrayItem.swift
[25/46] Compiling SwaggerParser ArrayMetadata.swift
[26/46] Compiling SwaggerParser ArraySchema.swift
[27/46] Compiling SwaggerParser Builder.swift
[28/46] Compiling SwaggerParser Schema.swift
[29/46] Compiling SwaggerParser SchemaType.swift
[30/46] Compiling SwaggerParser SecuritySchema.swift
[31/46] Compiling SwaggerParser StringFormat.swift
[32/46] Compiling SwaggerParser StringItem.swift
[33/46] Compiling SwaggerParser Contact.swift
[34/46] Compiling SwaggerParser Decodable+Extensions.swift
[35/46] Compiling SwaggerParser Either.swift
[36/46] Compiling SwaggerParser Enums.swift
[37/46] Compiling SwaggerParser Errors.swift
[38/46] Compiling SwaggerParser ExternalDocumentation.swift
[39/46] Emitting module SwaggerParser
[40/46] Compiling SwaggerParser KeyedEncodingContainer+Extensions.swift
[41/46] Compiling SwaggerParser License.swift
[42/46] Compiling SwaggerParser Metadata.swift
[43/46] Compiling SwaggerParser NumberItem.swift
[44/46] Compiling SwaggerParser NumericMetadata.swift
[45/46] Compiling SwaggerParser Oauth2Schema.swift
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[1/7] Compiling SwaggerParser Structure.swift
[2/11] Compiling SwaggerParser Parameter.swift
[3/12] Compiling SwaggerParser ArraySchema.swift
[4/12] Compiling SwaggerParser ObjectSchema.swift
[5/12] Compiling SwaggerParser Operation.swift
[6/14] Compiling SwaggerParser Tag.swift
[7/14] Emitting module SwaggerParser
[8/14] Compiling SwaggerParser StringMetadata.swift
[9/14] Compiling SwaggerParser Swagger.swift
[10/14] Compiling SwaggerParser Version.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Version.swift:30:66: error: type of expression is ambiguous without more context
        var convertible: LosslessStringConvertible? = try? value.decode(String.self)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[11/25] Compiling SwaggerParser Path.swift
[12/27] Compiling SwaggerParser ReferenceResolver.swift
[13/29] Compiling SwaggerParser Response.swift
[14/31] Compiling SwaggerParser SchemaType.swift
[15/33] Compiling SwaggerParser Schema.swift
[16/35] Compiling SwaggerParser APIKeySchema.swift
[17/35] Compiling SwaggerParser AllOfSchema.swift
[18/35] Compiling SwaggerParser ArrayItem.swift
[19/36] Compiling SwaggerParser ArrayMetadata.swift
[20/36] Compiling SwaggerParser Contact.swift
[21/36] Compiling SwaggerParser ExternalDocumentation.swift
[22/36] Compiling SwaggerParser FixedParameterFields.swift
[23/36] Compiling SwaggerParser Information.swift
[24/36] Compiling SwaggerParser IntegerItem.swift
[25/36] Compiling SwaggerParser Items.swift
[26/36] Compiling SwaggerParser ItemsType.swift
[27/36] Compiling SwaggerParser License.swift
[28/36] Compiling SwaggerParser Metadata.swift
[29/36] Compiling SwaggerParser NumberItem.swift
[30/36] Compiling SwaggerParser NumericMetadata.swift
[31/36] Compiling SwaggerParser SecuritySchema.swift
[32/36] Compiling SwaggerParser StringItem.swift
[33/36] Compiling SwaggerParser Builder.swift
[34/36] Compiling SwaggerParser Oauth2Schema.swift
[35/36] Compiling SwaggerParser ObjectMetadata.swift
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm

Build Machine: Mac 5