The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attilathefun/swaggerparser.git
Reference: 0.6.2
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/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
Revision (git rev-parse @):
ed87dda717392ce07eb0cdc706596e0a1180581f
SUCCESS checkout https://github.com/attilathefun/swaggerparser.git at 0.6.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/attilathefun/swaggerparser.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version--423B1241ED78D482.txt
[3/44] Emitting module SwaggerParser
[4/49] Compiling SwaggerParser Path.swift
[5/49] Compiling SwaggerParser Pointer.swift
[6/49] Compiling SwaggerParser Reference.swift
[7/49] Compiling SwaggerParser ReferenceResolver.swift
[8/49] Compiling SwaggerParser Response.swift
[9/49] Compiling SwaggerParser APIKeySchema.swift
[10/49] Compiling SwaggerParser AllOfSchema.swift
[11/49] Compiling SwaggerParser ArrayItem.swift
[12/49] Compiling SwaggerParser ArrayMetadata.swift
[13/49] Compiling SwaggerParser ArraySchema.swift
[14/49] Compiling SwaggerParser Builder.swift
[15/49] Compiling SwaggerParser Schema.swift
[16/49] Compiling SwaggerParser SchemaType.swift
[17/49] Compiling SwaggerParser SecuritySchema.swift
[18/49] Compiling SwaggerParser StringFormat.swift
[19/49] Compiling SwaggerParser StringItem.swift
[20/49] Compiling SwaggerParser FixedParameterFields.swift
[21/49] Compiling SwaggerParser Information.swift
[22/49] Compiling SwaggerParser IntegerItem.swift
[23/49] Compiling SwaggerParser Items.swift
[24/49] Compiling SwaggerParser ItemsType.swift
[25/49] Compiling SwaggerParser KeyedDecodingContainer+Extensions.swift
[26/49] Compiling SwaggerParser Contact.swift
[27/49] Compiling SwaggerParser Decodable+Extensions.swift
[28/49] Compiling SwaggerParser Either.swift
[29/49] Compiling SwaggerParser Enums.swift
[30/49] Compiling SwaggerParser Errors.swift
[31/49] Compiling SwaggerParser ExternalDocumentation.swift
[32/49] 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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[33/49] 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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[34/49] 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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[35/49] 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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[36/49] 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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[37/49] Compiling SwaggerParser KeyedEncodingContainer+Extensions.swift
[38/49] Compiling SwaggerParser License.swift
[39/49] Compiling SwaggerParser Metadata.swift
[40/49] Compiling SwaggerParser NumberItem.swift
[41/49] Compiling SwaggerParser NumericMetadata.swift
[42/49] Compiling SwaggerParser Oauth2Schema.swift
[43/49] Compiling SwaggerParser ObjectMetadata.swift
[44/49] Compiling SwaggerParser ObjectSchema.swift
[45/49] Compiling SwaggerParser OneOrMany.swift
[46/49] Compiling SwaggerParser Operation.swift
[47/49] Compiling SwaggerParser Parameter.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version--423B1241ED78D482.txt
[2/9] Compiling SwaggerParser Structure.swift
[3/9] Compiling SwaggerParser Tag.swift
[4/9] Compiling SwaggerParser StringMetadata.swift
[5/9] Compiling SwaggerParser Swagger.swift
[6/9] 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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[7/17] Emitting module SwaggerParser
[8/18] Compiling SwaggerParser Schema.swift
[9/21] Compiling SwaggerParser ArraySchema.swift
[10/21] Compiling SwaggerParser ObjectSchema.swift
[11/21] Compiling SwaggerParser ReferenceResolver.swift
[12/27] Compiling SwaggerParser Path.swift
[13/27] Compiling SwaggerParser Parameter.swift
[14/27] Compiling SwaggerParser Operation.swift
[15/27] Compiling SwaggerParser Response.swift
[16/35] Compiling SwaggerParser SchemaType.swift
[17/37] Compiling SwaggerParser ArrayMetadata.swift
[18/37] Compiling SwaggerParser Contact.swift
[19/37] Compiling SwaggerParser ExternalDocumentation.swift
[20/38] Compiling SwaggerParser NumberItem.swift
[21/38] Compiling SwaggerParser NumericMetadata.swift
[22/38] Compiling SwaggerParser Oauth2Schema.swift
[23/38] Compiling SwaggerParser ObjectMetadata.swift
[24/38] Compiling SwaggerParser License.swift
[25/38] Compiling SwaggerParser Metadata.swift
[26/38] Compiling SwaggerParser SecuritySchema.swift
[27/38] Compiling SwaggerParser StringItem.swift
[28/38] Compiling SwaggerParser Items.swift
[29/38] Compiling SwaggerParser ItemsType.swift
[30/38] Compiling SwaggerParser FixedParameterFields.swift
[31/38] Compiling SwaggerParser Information.swift
[32/38] Compiling SwaggerParser IntegerItem.swift
[33/38] Compiling SwaggerParser APIKeySchema.swift
[34/38] Compiling SwaggerParser AllOfSchema.swift
[35/38] Compiling SwaggerParser ArrayItem.swift
[36/38] Compiling SwaggerParser Builder.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm