The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwaggerParser with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/attilathefun/swaggerparser.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/45] Emitting module SwaggerParser
[4/50] Compiling SwaggerParser ObjectMetadata.swift
[5/50] Compiling SwaggerParser ObjectSchema.swift
[6/50] Compiling SwaggerParser OneOrMany.swift
[7/50] Compiling SwaggerParser Operation.swift
[8/50] Compiling SwaggerParser Parameter.swift
[9/50] Compiling SwaggerParser Path.swift
[10/50] Compiling SwaggerParser Pointer.swift
[11/50] Compiling SwaggerParser Reference.swift
[12/50] Compiling SwaggerParser ReferenceResolver.swift
[13/50] Compiling SwaggerParser Response.swift
[14/50] Compiling SwaggerParser Schema.swift
[15/50] Compiling SwaggerParser SchemaType.swift
[16/50] Compiling SwaggerParser SecuritySchema.swift
[17/50] Compiling SwaggerParser StringFormat.swift
[18/50] Compiling SwaggerParser StringItem.swift
[19/50] Compiling SwaggerParser FixedParameterFields.swift
[20/50] Compiling SwaggerParser Information.swift
[21/50] Compiling SwaggerParser IntegerItem.swift
[22/50] Compiling SwaggerParser Items.swift
[23/50] Compiling SwaggerParser ItemsType.swift
[24/50] Compiling SwaggerParser KeyedDecodingContainer+Extensions.swift
[25/50] Compiling SwaggerParser StringMetadata.swift
/host/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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[26/50] Compiling SwaggerParser Structure.swift
/host/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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[27/50] Compiling SwaggerParser Swagger.swift
/host/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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[28/50] Compiling SwaggerParser Tag.swift
/host/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)
                                                      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[29/50] Compiling SwaggerParser Version.swift
/host/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/50] Compiling SwaggerParser Contact.swift
[31/50] Compiling SwaggerParser Decodable+Extensions.swift
[32/50] Compiling SwaggerParser Either.swift
[33/50] Compiling SwaggerParser Enums.swift
[34/50] Compiling SwaggerParser Errors.swift
[35/50] Compiling SwaggerParser ExternalDocumentation.swift
[36/50] Compiling SwaggerParser APIKeySchema.swift
[37/50] Compiling SwaggerParser AllOfSchema.swift
[38/50] Compiling SwaggerParser ArrayItem.swift
[39/50] Compiling SwaggerParser ArrayMetadata.swift
[40/50] Compiling SwaggerParser ArraySchema.swift
[41/50] Compiling SwaggerParser Builder.swift
[42/50] Compiling SwaggerParser KeyedEncodingContainer+Extensions.swift
[43/50] Compiling SwaggerParser License.swift
[44/50] Compiling SwaggerParser Metadata.swift
[45/50] Compiling SwaggerParser NumberItem.swift
[46/50] Compiling SwaggerParser NumericMetadata.swift
[47/50] Compiling SwaggerParser Oauth2Schema.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling SwaggerParser StringMetadata.swift
[3/11] Compiling SwaggerParser Structure.swift
[4/11] Compiling SwaggerParser Version.swift
/host/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/16] Compiling SwaggerParser Tag.swift
[6/17] Compiling SwaggerParser StringItem.swift
[7/18] Compiling SwaggerParser ItemsType.swift
[8/19] Compiling SwaggerParser Path.swift
[9/20] Compiling SwaggerParser ReferenceResolver.swift
[10/21] Compiling SwaggerParser Parameter.swift
[11/24] Compiling SwaggerParser Response.swift
[12/26] Compiling SwaggerParser Operation.swift
[13/26] Compiling SwaggerParser ArraySchema.swift
[14/26] Compiling SwaggerParser ObjectSchema.swift
[15/30] Compiling SwaggerParser Swagger.swift
[16/32] Compiling SwaggerParser SchemaType.swift
[17/34] Compiling SwaggerParser Schema.swift
[18/36] Emitting module SwaggerParser
[19/38] Compiling SwaggerParser ArrayMetadata.swift
[20/38] Compiling SwaggerParser Contact.swift
[21/39] Compiling SwaggerParser APIKeySchema.swift
[22/39] Compiling SwaggerParser AllOfSchema.swift
[23/39] Compiling SwaggerParser ArrayItem.swift
[24/39] Compiling SwaggerParser Items.swift
[25/39] Compiling SwaggerParser License.swift
[26/39] Compiling SwaggerParser Builder.swift
[27/39] Compiling SwaggerParser ExternalDocumentation.swift
[28/39] Compiling SwaggerParser FixedParameterFields.swift
[29/39] Compiling SwaggerParser Information.swift
[30/39] Compiling SwaggerParser IntegerItem.swift
[31/39] Compiling SwaggerParser Metadata.swift
[32/39] Compiling SwaggerParser NumberItem.swift
[33/39] Compiling SwaggerParser NumericMetadata.swift
[34/39] Compiling SwaggerParser Oauth2Schema.swift
[35/39] Compiling SwaggerParser ObjectMetadata.swift
[36/39] Compiling SwaggerParser SecuritySchema.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2