The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RefreshTokenAuthMiddleware, reference main (651954), with Swift 6.2 (beta) for Linux on 23 Jun 2025 16:19:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/laconicman/RefreshTokenAuthMiddleware.git
Reference: main
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/laconicman/RefreshTokenAuthMiddleware
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 651954a FIX: Made `AuthError` type public.
Cloned https://github.com/laconicman/RefreshTokenAuthMiddleware.git
Revision (git rev-parse @):
651954a9d3e0a4780bbc077b15e0e9fce11466fc
SUCCESS checkout https://github.com/laconicman/RefreshTokenAuthMiddleware.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/laconicman/RefreshTokenAuthMiddleware.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-openapi-urlsession
[1/904] Fetching swift-http-types
[905/1865] Fetching swift-http-types, swift-openapi-urlsession
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.32s)
[1/5679] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-http-types from cache (0.48s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.48s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (1.02s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.1.0 (2.89s)
Fetching https://github.com/apple/swift-collections
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.33s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (1.82s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (0.87s)
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.1.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Resources/Localizable.xcstrings
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/29] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[9/29] Compiling InternalCollectionsUtilities Debugging.swift
[10/29] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[11/29] Compiling InternalCollectionsUtilities UInt+reversed.swift
[12/29] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[13/29] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[14/29] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[15/29] Compiling InternalCollectionsUtilities Integer rank.swift
[16/29] Emitting module InternalCollectionsUtilities
[17/29] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[18/29] Compiling InternalCollectionsUtilities _SortedCollection.swift
[19/29] Compiling InternalCollectionsUtilities Descriptions.swift
[20/29] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[21/30] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[22/30] Compiling HTTPTypes ISOLatin1String.swift
[23/31] Compiling HTTPTypes HTTPParsedFields.swift
[24/31] Compiling HTTPTypes HTTPField.swift
[25/31] Emitting module HTTPTypes
[26/31] Compiling HTTPTypes HTTPRequest.swift
[27/31] Compiling HTTPTypes HTTPResponse.swift
[28/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/47] Compiling DequeModule _DequeBuffer.swift
[31/47] Compiling DequeModule _DequeBufferHeader.swift
[32/49] Compiling DequeModule Deque+Extras.swift
[33/49] Compiling DequeModule Deque+Hashable.swift
[34/49] Compiling DequeModule Deque+CustomReflectable.swift
[35/49] Compiling DequeModule Deque+Descriptions.swift
[36/49] Compiling HTTPTypes NIOLock.swift
[37/49] Compiling DequeModule _DequeSlot.swift
[38/49] Compiling DequeModule _UnsafeWrappedBuffer.swift
[39/49] Compiling DequeModule Deque+Testing.swift
[40/49] Compiling DequeModule Deque._Storage.swift
[41/49] Compiling DequeModule Deque._UnsafeHandle.swift
[42/49] Compiling DequeModule Deque.swift
[43/49] Compiling DequeModule Deque+Equatable.swift
[44/49] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[45/49] Compiling DequeModule Deque+Codable.swift
[46/49] Compiling DequeModule Deque+Collection.swift
[47/49] Emitting module DequeModule
[49/50] Compiling HTTPTypes HTTPFieldName.swift
[50/50] Compiling HTTPTypes HTTPFields.swift
[52/112] Emitting module OpenAPIRuntime
[53/120] Compiling OpenAPIRuntime FoundationExtensions.swift
[54/120] Compiling OpenAPIRuntime ParameterStyles.swift
[55/120] Compiling OpenAPIRuntime ServerVariable.swift
[56/120] Compiling OpenAPIRuntime URLExtensions.swift
[57/120] Compiling OpenAPIRuntime Deprecated.swift
[58/120] Compiling OpenAPIRuntime ClientError.swift
[59/120] Compiling OpenAPIRuntime CodingErrors.swift
[60/120] Compiling OpenAPIRuntime RuntimeError.swift
[61/120] Compiling OpenAPIRuntime ServerError.swift
[62/120] Compiling OpenAPIRuntime URICodeCodingKey.swift
[63/120] Compiling OpenAPIRuntime URICoderConfiguration.swift
[64/120] Compiling OpenAPIRuntime URIEncodedNode.swift
[65/120] Compiling OpenAPIRuntime URIParsedTypes.swift
[66/120] Compiling OpenAPIRuntime URIDecoder.swift
[67/120] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[68/120] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[69/120] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[70/120] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[71/120] Compiling OpenAPIRuntime CodableExtensions.swift
[72/120] Compiling OpenAPIRuntime Configuration.swift
[73/120] Compiling OpenAPIRuntime Converter+Client.swift
[74/120] Compiling OpenAPIRuntime Converter+Common.swift
[75/120] Compiling OpenAPIRuntime Converter+Server.swift
[76/120] Compiling OpenAPIRuntime Converter.swift
[77/120] Compiling OpenAPIRuntime CurrencyExtensions.swift
[78/120] Compiling OpenAPIRuntime ErrorExtensions.swift
[79/120] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[80/120] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[81/120] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[82/120] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[83/120] Compiling OpenAPIRuntime ServerSentEvents.swift
[84/120] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[85/120] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[86/120] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[87/120] Compiling OpenAPIRuntime ClientTransport.swift
[88/120] Compiling OpenAPIRuntime Acceptable.swift
[89/120] Compiling OpenAPIRuntime Base64EncodedData.swift
[90/120] Compiling OpenAPIRuntime ByteUtilities.swift
[91/120] Compiling OpenAPIRuntime ContentDisposition.swift
[92/120] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[93/120] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[94/120] Compiling OpenAPIRuntime OpenAPIValue.swift
[95/120] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[96/120] Compiling OpenAPIRuntime UndocumentedPayload.swift
[97/120] Compiling OpenAPIRuntime CurrencyTypes.swift
[98/120] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[99/120] Compiling OpenAPIRuntime HTTPBody.swift
[100/120] Compiling OpenAPIRuntime ServerTransport.swift
[101/120] Compiling OpenAPIRuntime UniversalClient.swift
[102/120] Compiling OpenAPIRuntime UniversalServer.swift
[103/120] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[104/120] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[105/120] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[106/120] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[107/120] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[108/120] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[109/120] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[110/120] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[111/120] Compiling OpenAPIRuntime MultipartValidation.swift
[112/120] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[113/120] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[114/120] Compiling OpenAPIRuntime URIEncoder.swift
[115/120] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[116/120] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[117/120] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[118/120] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[119/120] Compiling OpenAPIRuntime URIParser.swift
[120/120] Compiling OpenAPIRuntime URISerializer.swift
[122/128] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[123/128] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[124/128] Compiling OpenAPIURLSession URLSessionTransport.swift
[125/128] Compiling OpenAPIURLSession URLSession+Extensions.swift
[126/128] Compiling OpenAPIURLSession Lock.swift
[127/128] Emitting module OpenAPIURLSession
[128/128] Compiling OpenAPIURLSession BufferedStream.swift
[130/133] Compiling RefreshTokenAuthMiddleware SignInAndRefresh.swift
[131/133] Compiling RefreshTokenAuthMiddleware RefreshTokenAuthMiddleware.swift
/host/spi-builder-workspace/Sources/RefreshTokenAuthMiddleware.swift:130:124: error: extra argument 'comment' in call
128 |         public var errorDescription: String? {
129 |             switch self {
130 |                 case .missingRefreshToken: String(localized: "Missing refresh token. Please try to login again.", comment: "RefreshTokenAuthMiddleware.AuthError")
    |                                                                                                                            `- error: extra argument 'comment' in call
131 |             }
132 |         }
[132/133] Compiling RefreshTokenAuthMiddleware Credentials.swift
[133/133] Emitting module RefreshTokenAuthMiddleware
BUILD FAILURE 6.2 linux