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: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/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
========================================
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] Compiling SwaggerParser Path.swift
[4/44] Compiling SwaggerParser Pointer.swift
[5/44] Compiling SwaggerParser Reference.swift
[6/44] Compiling SwaggerParser ReferenceResolver.swift
[7/44] Compiling SwaggerParser Response.swift
[8/49] Compiling SwaggerParser Schema.swift
[9/49] Compiling SwaggerParser SchemaType.swift
[10/49] Compiling SwaggerParser SecuritySchema.swift
[11/49] Compiling SwaggerParser StringFormat.swift
[12/49] Compiling SwaggerParser StringItem.swift
[13/49] Compiling SwaggerParser FixedParameterFields.swift
[14/49] Compiling SwaggerParser Information.swift
[15/49] Compiling SwaggerParser IntegerItem.swift
[16/49] Compiling SwaggerParser Items.swift
[17/49] Compiling SwaggerParser ItemsType.swift
[18/49] Compiling SwaggerParser KeyedDecodingContainer+Extensions.swift
[19/49] Compiling SwaggerParser APIKeySchema.swift
[20/49] Compiling SwaggerParser AllOfSchema.swift
[21/49] Compiling SwaggerParser ArrayItem.swift
[22/49] Compiling SwaggerParser ArrayMetadata.swift
[23/49] Compiling SwaggerParser ArraySchema.swift
[24/49] Compiling SwaggerParser Builder.swift
[25/49] Emitting module SwaggerParser
[26/49] Compiling SwaggerParser ObjectMetadata.swift
[27/49] Compiling SwaggerParser ObjectSchema.swift
[28/49] Compiling SwaggerParser OneOrMany.swift
[29/49] Compiling SwaggerParser Operation.swift
[30/49] Compiling SwaggerParser Parameter.swift
[31/49] Compiling SwaggerParser StringMetadata.swift
/Users/builder/builds/UKfvDsi8u/2/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/49] Compiling SwaggerParser Structure.swift
/Users/builder/builds/UKfvDsi8u/2/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 Swagger.swift
/Users/builder/builds/UKfvDsi8u/2/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 Tag.swift
/Users/builder/builds/UKfvDsi8u/2/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 Version.swift
/Users/builder/builds/UKfvDsi8u/2/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 Contact.swift
[37/49] Compiling SwaggerParser Decodable+Extensions.swift
[38/49] Compiling SwaggerParser Either.swift
[39/49] Compiling SwaggerParser Enums.swift
[40/49] Compiling SwaggerParser Errors.swift
[41/49] Compiling SwaggerParser ExternalDocumentation.swift
[42/49] Compiling SwaggerParser KeyedEncodingContainer+Extensions.swift
[43/49] Compiling SwaggerParser License.swift
[44/49] Compiling SwaggerParser Metadata.swift
[45/49] Compiling SwaggerParser NumberItem.swift
[46/49] Compiling SwaggerParser NumericMetadata.swift
[47/49] Compiling SwaggerParser Oauth2Schema.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version--423B1241ED78D482.txt
[2/9] Compiling SwaggerParser Tag.swift
[3/21] Compiling SwaggerParser StringMetadata.swift
[4/21] Compiling SwaggerParser Version.swift
/Users/builder/builds/UKfvDsi8u/2/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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[5/28] Compiling SwaggerParser Structure.swift
[6/28] Compiling SwaggerParser Swagger.swift
[7/34] Compiling SwaggerParser APIKeySchema.swift
[8/34] Compiling SwaggerParser AllOfSchema.swift
[9/34] Compiling SwaggerParser ArrayItem.swift
[10/34] Compiling SwaggerParser ArrayMetadata.swift
[11/34] Compiling SwaggerParser Information.swift
[12/34] Compiling SwaggerParser IntegerItem.swift
[13/34] Compiling SwaggerParser Items.swift
[14/34] Compiling SwaggerParser ItemsType.swift
[15/38] Compiling SwaggerParser Oauth2Schema.swift
[16/38] Compiling SwaggerParser ObjectMetadata.swift
[17/38] Compiling SwaggerParser ObjectSchema.swift
[18/38] Compiling SwaggerParser ArraySchema.swift
[19/38] Compiling SwaggerParser Contact.swift
[20/38] Compiling SwaggerParser ExternalDocumentation.swift
[21/38] Compiling SwaggerParser FixedParameterFields.swift
[22/38] Compiling SwaggerParser License.swift
[23/38] Compiling SwaggerParser Metadata.swift
[24/38] Compiling SwaggerParser NumberItem.swift
[25/38] Compiling SwaggerParser NumericMetadata.swift
[26/38] Emitting module SwaggerParser
[27/38] Compiling SwaggerParser Builder.swift
[28/38] Compiling SwaggerParser SchemaType.swift
[29/38] Compiling SwaggerParser SecuritySchema.swift
[30/38] Compiling SwaggerParser StringItem.swift
[31/38] Compiling SwaggerParser ReferenceResolver.swift
[32/38] Compiling SwaggerParser Response.swift
[33/38] Compiling SwaggerParser Schema.swift
[34/38] Compiling SwaggerParser Operation.swift
[35/38] Compiling SwaggerParser Parameter.swift
[36/38] Compiling SwaggerParser Path.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7