The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwaggerParser with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

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
Cloned https://github.com/attilathefun/swaggerparser.git into spi-builder-workspace
SUCCESS checkout https://github.com/attilathefun/swaggerparser.git at 0.6.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/42] Compiling SwaggerParser FixedParameterFields.swift
[2/42] Compiling SwaggerParser Information.swift
[3/42] Compiling SwaggerParser IntegerItem.swift
[4/42] Compiling SwaggerParser Items.swift
[5/42] Compiling SwaggerParser ItemsType.swift
[6/42] Compiling SwaggerParser KeyedDecodingContainer+Extensions.swift
[7/47] Compiling SwaggerParser Path.swift
[8/47] Compiling SwaggerParser Pointer.swift
[9/47] Compiling SwaggerParser Reference.swift
[10/47] Compiling SwaggerParser ReferenceResolver.swift
[11/47] Compiling SwaggerParser Response.swift
[12/47] Compiling SwaggerParser Schema.swift
[13/47] Compiling SwaggerParser SchemaType.swift
[14/47] Compiling SwaggerParser SecuritySchema.swift
[15/47] Compiling SwaggerParser StringFormat.swift
[16/47] Compiling SwaggerParser StringItem.swift
[17/47] Compiling SwaggerParser ObjectMetadata.swift
[18/47] Compiling SwaggerParser ObjectSchema.swift
[19/47] Compiling SwaggerParser OneOrMany.swift
[20/47] Compiling SwaggerParser Operation.swift
[21/47] Compiling SwaggerParser Parameter.swift
[22/47] Emitting module SwaggerParser
[23/47] Compiling SwaggerParser APIKeySchema.swift
[24/47] Compiling SwaggerParser AllOfSchema.swift
[25/47] Compiling SwaggerParser ArrayItem.swift
[26/47] Compiling SwaggerParser ArrayMetadata.swift
[27/47] Compiling SwaggerParser ArraySchema.swift
[28/47] Compiling SwaggerParser Builder.swift
[29/47] Compiling SwaggerParser Contact.swift
[30/47] Compiling SwaggerParser Decodable+Extensions.swift
[31/47] Compiling SwaggerParser Either.swift
[32/47] Compiling SwaggerParser Enums.swift
[33/47] Compiling SwaggerParser Errors.swift
[34/47] Compiling SwaggerParser ExternalDocumentation.swift
[35/47] Compiling SwaggerParser StringMetadata.swift
/host/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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[36/47] Compiling SwaggerParser Structure.swift
/host/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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[37/47] Compiling SwaggerParser Swagger.swift
/host/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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[38/47] Compiling SwaggerParser Tag.swift
/host/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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[39/47] Compiling SwaggerParser Version.swift
/host/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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[40/47] Compiling SwaggerParser KeyedEncodingContainer+Extensions.swift
[41/47] Compiling SwaggerParser License.swift
[42/47] Compiling SwaggerParser Metadata.swift
[43/47] Compiling SwaggerParser NumberItem.swift
[44/47] Compiling SwaggerParser NumericMetadata.swift
[45/47] Compiling SwaggerParser Oauth2Schema.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1