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 Kitura-Credentials, reference 2.5.200 (9edcb4), with Swift 6.1 for Linux on 26 Apr 2025 05:45:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-Credentials.git
Reference: 2.5.200
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/Kitura/Kitura-Credentials
 * tag               2.5.200    -> FETCH_HEAD
HEAD is now at 9edcb49 Update package reference to community versions (#91)
Cloned https://github.com/Kitura/Kitura-Credentials.git
Revision (git rev-parse @):
9edcb49d50ae57e0065b17e6209c82169aecb207
SUCCESS checkout https://github.com/Kitura/Kitura-Credentials.git at 2.5.200
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Kitura-Credentials.git
https://github.com/Kitura/Kitura-Credentials.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kitura-session",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.3.200",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Kitura-Session.git"
    }
  ],
  "manifest_display_name" : "Kitura-Credentials",
  "name" : "Kitura-Credentials",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Credentials",
      "targets" : [
        "Credentials"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CredentialsTests",
      "module_type" : "SwiftTarget",
      "name" : "CredentialsTests",
      "path" : "Tests/CredentialsTests",
      "sources" : [
        "BadSessionPlugin.swift",
        "CredentialsTest.swift",
        "DummySessionPlugin.swift",
        "DummyTokenPlugin.swift",
        "DummyTypeSafeTypes.swift",
        "TestSession.swift",
        "TestToken.swift",
        "TestTypeSafeBasic.swift",
        "TestTypeSafeMultiCredentials.swift",
        "TestUnauthorizedSession.swift"
      ],
      "target_dependencies" : [
        "Credentials"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Credentials",
      "module_type" : "SwiftTarget",
      "name" : "Credentials",
      "path" : "Sources/Credentials",
      "product_dependencies" : [
        "KituraSession"
      ],
      "product_memberships" : [
        "Credentials"
      ],
      "sources" : [
        "BaseCacheElement.swift",
        "Credentials.swift",
        "CredentialsPluginProtocol.swift",
        "CredentialsTokenTTL.swift",
        "MultiTypeSafeCredentials.swift",
        "RouterRequest+UserProfile.swift",
        "TypeSafeCredentials.swift",
        "UserProfile.swift",
        "UserProfileDelegate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Kitura/Kitura-Session.git
[1/1561] Fetching kitura-session
Fetched https://github.com/Kitura/Kitura-Session.git from cache (0.29s)
Computing version for https://github.com/Kitura/Kitura-Session.git
Computed https://github.com/Kitura/Kitura-Session.git at 3.3.201 (0.84s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/1654] Fetching bluecryptor
[1093/18563] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.01s)
Fetched https://github.com/Kitura/Kitura.git from cache (1.03s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (2.21s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.18s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.38s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.61s)
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/apple/swift-log.git
[1/771] Fetching loggerapi
[233/1209] Fetching loggerapi, kitura-templateengine
[1210/3755] Fetching loggerapi, kitura-templateengine, kituracontracts
[1363/13299] Fetching loggerapi, kitura-templateengine, kituracontracts, kitura-net
[1441/13758] Fetching loggerapi, kitura-templateengine, kituracontracts, kitura-net, typedecoder
[3381/17594] Fetching loggerapi, kitura-templateengine, kituracontracts, kitura-net, typedecoder, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
[8223/13758] Fetching loggerapi, kitura-templateengine, kituracontracts, kitura-net, typedecoder
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.70s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.70s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.70s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.71s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.72s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (1.28s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.62s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2077] Fetching bluesslservice
[812/5019] Fetching bluesslservice, bluesocket
[4403/5673] Fetching bluesslservice, bluesocket, bluesignals
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.29s)
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.32s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.32s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.90s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.57s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.57s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.60s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.56s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.55s)
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura-Session.git
Working copy of https://github.com/Kitura/Kitura-Session.git resolved at 3.3.201
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/Kitura/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.201
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.200
Building for debugging...
[0/16] Write sources
[13/16] Compiling CHTTPParser http_parser.c
[14/16] Compiling CHTTPParser utils.c
[15/16] Write swift-version-24593BA9C3E375BF.txt
[17/43] Emitting module KituraTemplateEngine
[18/43] Compiling KituraTemplateEngine TemplateEngine.swift
[20/44] Compiling Logging Locks.swift
[21/44] Compiling Logging MetadataProvider.swift
[22/44] Emitting module Logging
[23/44] Compiling Logging LogHandler.swift
[24/44] Compiling Logging Logging.swift
[26/45] Compiling Cryptor Updatable.swift
[27/45] Emitting module TypeDecoder
[28/45] Compiling TypeDecoder TypeDecoder.swift
[29/46] Compiling TypeDecoder OrderedDictionary.swift
[30/47] Compiling Cryptor StreamCryptor.swift
[31/47] Compiling Cryptor KeyDerivation.swift
[32/47] Compiling Cryptor Random.swift
[33/47] Compiling Cryptor Status.swift
[34/47] Compiling Cryptor SSLPointerTricks.swift
[35/47] Compiling Cryptor Crypto.swift
[36/47] Compiling Cryptor Cryptor.swift
[37/47] Emitting module Cryptor
[38/47] Compiling Cryptor Digest.swift
[39/47] Compiling Cryptor HMAC.swift
[40/47] Emitting module Signals
[41/47] Compiling Signals Signals.swift
[44/50] Compiling Socket SocketUtils.swift
[45/50] Compiling Socket SocketProtocols.swift
[46/50] Emitting module LoggerAPI
[47/50] Compiling Cryptor Utilities.swift
[48/51] Compiling LoggerAPI Logger.swift
[51/61] Compiling Socket Socket.swift
[52/61] Emitting module Socket
[53/62] Compiling KituraContracts ClosureAliases.swift
[55/66] Compiling KituraContracts QueryEncoder.swift
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryEncoder.swift:352:29: error: 'let' binding pattern cannot appear in an expression
350 |         case let fieldValue as Date:
351 |             switch encoder.dateEncodingStrategy {
352 |             case .formatted(let formatter):
    |                             `- error: 'let' binding pattern cannot appear in an expression
353 |                 encoder.dictionary[fieldName] = formatter.string(from: fieldValue)
354 |                 encoder.anyDictionary[fieldName] = fieldValue
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryEncoder.swift:406:29: error: 'let' binding pattern cannot appear in an expression
404 |                     fatalError("ISO8601DateFormatter is unavailable on this platform.")
405 |                 }
406 |             case .formatted(let formatter):
    |                             `- error: 'let' binding pattern cannot appear in an expression
407 |                 let strs: [String] = fieldValue.map { formatter.string(from: $0) }
408 |                 encoder.dictionary[fieldName] = strs.joined(separator: ",")
[56/66] Compiling KituraContracts Coder.swift
[57/66] Compiling KituraContracts Extensions.swift
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/Extensions.swift:214:25: error: 'let' binding pattern cannot appear in an expression
212 |
213 |         switch decoderStrategy {
214 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
215 |             let strs: [String] = self.components(separatedBy: ",")
216 |             let dates = strs.map { formatter.date(from: $0) }.filter { $0 != nil }.map { $0! }
[58/66] Compiling KituraContracts QueryDecoder.swift
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryDecoder.swift:210:29: error: 'let' binding pattern cannot appear in an expression
208 |                     fatalError("ISO8601DateFormatter is unavailable on this platform.")
209 |                 }
210 |             case .formatted(let formatted):
    |                             `- error: 'let' binding pattern cannot appear in an expression
211 |                 return try decodeType(fieldValue?.date(formatted), to: T.self)
212 |             case .custom(let closure):
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryDecoder.swift:233:29: error: 'let' binding pattern cannot appear in an expression
231 |                     fatalError("ISO8601DateFormatter is unavailable on this platform.")
232 |                 }
233 |             case .formatted(let formatter):
    |                             `- error: 'let' binding pattern cannot appear in an expression
234 |                 return try decodeType(fieldValue?.dateArray(formatter), to: T.self)
235 |             case .custom(let closure):
[59/66] Compiling KituraContracts BodyFormat.swift
[60/66] Compiling KituraContracts BodyDecoder.swift
[61/66] Compiling KituraContracts BodyEncoder.swift
[62/66] Emitting module KituraContracts
[63/66] Emitting module SSLService
[64/66] Compiling SSLService SSLPointerTricks.swift
[65/66] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:8: error: cannot find 'SSL_get_peer_certificate' in scope
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |        `- error: cannot find 'SSL_get_peer_certificate' in scope
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:34: error: cannot infer contextual base in reference to member 'make'
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |                                  `- error: cannot infer contextual base in reference to member 'make'
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Emitting module KituraTemplateEngine
[3/28] Compiling KituraTemplateEngine TemplateEngine.swift
[4/29] Compiling Logging MetadataProvider.swift
[6/29] Emitting module Signals
[7/29] Compiling Signals Signals.swift
[8/29] Emitting module TypeDecoder
[10/30] Compiling Cryptor SSLPointerTricks.swift
[11/30] Compiling Cryptor Updatable.swift
[12/31] Emitting module Cryptor
[13/31] Compiling Cryptor Crypto.swift
[14/31] Compiling Cryptor Cryptor.swift
[15/31] Compiling Cryptor KeyDerivation.swift
[16/31] Compiling Cryptor Random.swift
[17/31] Compiling Socket SocketProtocols.swift
[18/31] Compiling Socket SocketUtils.swift
[19/31] Compiling Cryptor Digest.swift
[20/31] Compiling Cryptor HMAC.swift
[21/31] Compiling Cryptor Status.swift
[22/31] Compiling Cryptor StreamCryptor.swift
[23/31] Compiling Cryptor Utilities.swift
[25/32] Compiling TypeDecoder OrderedDictionary.swift
[26/32] Compiling TypeDecoder TypeDecoder.swift
[28/33] Compiling Logging LogHandler.swift
[29/33] Compiling Logging Locks.swift
[30/33] Emitting module Logging
[31/33] Compiling Logging Logging.swift
[33/36] Emitting module LoggerAPI
[34/36] Compiling LoggerAPI Logger.swift
[36/46] Compiling KituraContracts BodyDecoder.swift
[37/46] Compiling KituraContracts BodyEncoder.swift
[38/46] Compiling KituraContracts BodyFormat.swift
[39/47] Compiling KituraContracts QueryDecoder.swift
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryDecoder.swift:210:29: error: 'let' binding pattern cannot appear in an expression
208 |                     fatalError("ISO8601DateFormatter is unavailable on this platform.")
209 |                 }
210 |             case .formatted(let formatted):
    |                             `- error: 'let' binding pattern cannot appear in an expression
211 |                 return try decodeType(fieldValue?.date(formatted), to: T.self)
212 |             case .custom(let closure):
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryDecoder.swift:233:29: error: 'let' binding pattern cannot appear in an expression
231 |                     fatalError("ISO8601DateFormatter is unavailable on this platform.")
232 |                 }
233 |             case .formatted(let formatter):
    |                             `- error: 'let' binding pattern cannot appear in an expression
234 |                 return try decodeType(fieldValue?.dateArray(formatter), to: T.self)
235 |             case .custom(let closure):
[40/47] Compiling KituraContracts QueryEncoder.swift
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryEncoder.swift:352:29: error: 'let' binding pattern cannot appear in an expression
350 |         case let fieldValue as Date:
351 |             switch encoder.dateEncodingStrategy {
352 |             case .formatted(let formatter):
    |                             `- error: 'let' binding pattern cannot appear in an expression
353 |                 encoder.dictionary[fieldName] = formatter.string(from: fieldValue)
354 |                 encoder.anyDictionary[fieldName] = fieldValue
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/QueryEncoder.swift:406:29: error: 'let' binding pattern cannot appear in an expression
404 |                     fatalError("ISO8601DateFormatter is unavailable on this platform.")
405 |                 }
406 |             case .formatted(let formatter):
    |                             `- error: 'let' binding pattern cannot appear in an expression
407 |                 let strs: [String] = fieldValue.map { formatter.string(from: $0) }
408 |                 encoder.dictionary[fieldName] = strs.joined(separator: ",")
[41/47] Compiling KituraContracts ClosureAliases.swift
[42/47] Compiling KituraContracts Coder.swift
[43/47] Compiling KituraContracts Extensions.swift
/host/spi-builder-workspace/.build/checkouts/KituraContracts/Sources/KituraContracts/CodableQuery/Extensions.swift:214:25: error: 'let' binding pattern cannot appear in an expression
212 |
213 |         switch decoderStrategy {
214 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
215 |             let strs: [String] = self.components(separatedBy: ",")
216 |             let dates = strs.map { formatter.date(from: $0) }.filter { $0 != nil }.map { $0! }
[44/47] Emitting module KituraContracts
[45/47] Emitting module Socket
[46/47] Compiling Socket Socket.swift
[48/51] Compiling KituraContracts Contracts.swift
[49/51] Compiling SSLService SSLPointerTricks.swift
[50/51] Emitting module SSLService
[51/51] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:8: error: cannot find 'SSL_get_peer_certificate' in scope
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |        `- error: cannot find 'SSL_get_peer_certificate' in scope
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:34: error: cannot infer contextual base in reference to member 'make'
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |                                  `- error: cannot infer contextual base in reference to member 'make'
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
BUILD FAILURE 6.1 linux