The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CredentialsToken, reference 0.2.0 (01359f), with Swift 6.1 for Linux on 26 Apr 2025 00:39:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/krugazor/credentialstoken.git
Reference: 0.2.0
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/krugazor/credentialstoken
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 01359f1 Merge branch 'release/0.2.0'
Cloned https://github.com/krugazor/credentialstoken.git
Revision (git rev-parse @):
01359f1c94358105afddfc3595f3d6c920520b9d
SUCCESS checkout https://github.com/krugazor/credentialstoken.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/krugazor/credentialstoken.git
https://github.com/krugazor/credentialstoken.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kitura-session",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.3.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/Kitura-Session.git"
    },
    {
      "identity" : "kitura-credentials",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.5.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/Kitura-Credentials"
    },
    {
      "identity" : "dictionarycoding",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krugazor/DictionaryCoding"
    }
  ],
  "manifest_display_name" : "CredentialsToken",
  "name" : "CredentialsToken",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CredentialsToken",
      "targets" : [
        "CredentialsToken"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CredentialsTokenTests",
      "module_type" : "SwiftTarget",
      "name" : "CredentialsTokenTests",
      "path" : "Tests/CredentialsTokenTests",
      "sources" : [
        "TokenCredentialsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CredentialsToken"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CredentialsToken",
      "module_type" : "SwiftTarget",
      "name" : "CredentialsToken",
      "path" : "Sources/CredentialsToken",
      "product_dependencies" : [
        "KituraSession",
        "Credentials",
        "DictionaryCoding"
      ],
      "product_memberships" : [
        "CredentialsToken"
      ],
      "sources" : [
        "CredentialsToken.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/krugazor/DictionaryCoding
Fetching https://github.com/IBM-Swift/Kitura-Session.git
Fetching https://github.com/IBM-Swift/Kitura-Credentials
[1/48] Fetching dictionarycoding
[49/1609] Fetching dictionarycoding, kitura-session
[237/3406] Fetching dictionarycoding, kitura-session, kitura-credentials
Fetched https://github.com/krugazor/DictionaryCoding from cache (0.18s)
[577/3358] Fetching kitura-session, kitura-credentials
Fetched https://github.com/IBM-Swift/Kitura-Session.git from cache (0.28s)
Fetched https://github.com/IBM-Swift/Kitura-Credentials from cache (0.28s)
Computing version for https://github.com/krugazor/DictionaryCoding
Computed https://github.com/krugazor/DictionaryCoding at 0.2.1 (0.72s)
Computing version for https://github.com/IBM-Swift/Kitura-Credentials
Computed https://github.com/IBM-Swift/Kitura-Credentials at 2.5.200 (0.45s)
Computing version for https://github.com/IBM-Swift/Kitura-Session.git
Computed https://github.com/IBM-Swift/Kitura-Session.git at 3.3.201 (0.45s)
Fetching https://github.com/Kitura/Kitura.git
Fetching https://github.com/Kitura/BlueCryptor.git
[1/1654] Fetching bluecryptor
[1655/18563] Fetching bluecryptor, kitura
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.79s)
Fetched https://github.com/Kitura/Kitura.git from cache (0.81s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (1.28s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.19s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.99s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.47s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/TypeDecoder.git
[1/2546] Fetching kituracontracts
[332/3317] Fetching kituracontracts, loggerapi
[689/3755] Fetching kituracontracts, loggerapi, kitura-templateengine
[1933/7591] Fetching kituracontracts, loggerapi, kitura-templateengine, swift-log
[4643/8050] Fetching kituracontracts, loggerapi, kitura-templateengine, swift-log, typedecoder
[8026/17594] Fetching kituracontracts, loggerapi, kitura-templateengine, swift-log, typedecoder, kitura-net
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.47s)
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.65s)
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.65s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.66s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.66s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (1.11s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.46s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
[1/2077] Fetching bluesslservice
[625/5019] Fetching bluesslservice, bluesocket
[684/5673] Fetching bluesslservice, bluesocket, bluesignals
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.25s)
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.27s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.27s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.73s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.46s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.46s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.47s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.45s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.41s)
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/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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/krugazor/DictionaryCoding
Working copy of https://github.com/krugazor/DictionaryCoding resolved at 0.2.1
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/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.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/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/IBM-Swift/Kitura-Credentials
Working copy of https://github.com/IBM-Swift/Kitura-Credentials resolved at 2.5.200
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/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/IBM-Swift/Kitura-Session.git
Working copy of https://github.com/IBM-Swift/Kitura-Session.git resolved at 3.3.201
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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
warning: 'kitura-credentials': 'kitura-credentials' dependency on 'https://github.com/Kitura/Kitura-Session.git' conflicts with dependency on 'https://github.com/IBM-Swift/Kitura-Session.git' which has the same identity 'kitura-session'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/18] Write sources
[15/18] Compiling CHTTPParser utils.c
[16/18] Compiling CHTTPParser http_parser.c
[17/18] Write swift-version-24593BA9C3E375BF.txt
[19/48] Emitting module Cryptor
[20/49] Compiling KituraTemplateEngine TemplateEngine.swift
[21/49] Emitting module KituraTemplateEngine
[23/50] Emitting module TypeDecoder
[24/50] Compiling Logging MetadataProvider.swift
[25/50] Emitting module Logging
[26/50] Compiling Logging Locks.swift
[27/50] Compiling Logging Logging.swift
[28/50] Compiling Logging LogHandler.swift
[30/51] Compiling TypeDecoder OrderedDictionary.swift
[31/51] Compiling TypeDecoder TypeDecoder.swift
[32/51] Compiling Cryptor Updatable.swift
[33/52] Compiling Cryptor Utilities.swift
[34/52] Compiling DictionaryCoding StorageWrappers.swift
[35/52] Compiling DictionaryCoding DictionaryCoding.swift
[36/52] Emitting module DictionaryCoding
[38/55] Compiling Cryptor StreamCryptor.swift
[40/55] Compiling Cryptor Crypto.swift
[41/55] Compiling Cryptor Cryptor.swift
[42/55] Compiling Socket SocketUtils.swift
[43/55] Compiling Socket SocketProtocols.swift
[44/55] Compiling Cryptor Digest.swift
[45/55] Compiling Cryptor HMAC.swift
[46/55] Compiling Cryptor KeyDerivation.swift
[47/55] Compiling Cryptor Random.swift
[48/55] Compiling Signals Signals.swift
[49/55] Emitting module Signals
[50/56] Compiling Cryptor SSLPointerTricks.swift
[51/56] Compiling Cryptor Status.swift
[52/57] Emitting module LoggerAPI
[55/57] Compiling LoggerAPI Logger.swift
[57/58] Emitting module Socket
[58/58] Compiling Socket Socket.swift
[60/71] Emitting module SSLService
[61/71] Compiling KituraContracts ClosureAliases.swift
[62/71] Compiling KituraContracts Coder.swift
[63/71] Compiling KituraContracts BodyFormat.swift
[64/71] 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! }
[65/72] 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):
[66/72] 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: ",")
[67/72] Compiling KituraContracts BodyDecoder.swift
[68/72] Compiling KituraContracts BodyEncoder.swift
[69/72] Emitting module KituraContracts
[70/72] Compiling SSLService SSLPointerTricks.swift
[71/72] 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-4609320-0":/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
warning: 'kitura-credentials': 'kitura-credentials' dependency on 'https://github.com/Kitura/Kitura-Session.git' conflicts with dependency on 'https://github.com/IBM-Swift/Kitura-Session.git' which has the same identity 'kitura-session'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/31] Emitting module Signals
[3/31] Emitting module KituraTemplateEngine
[4/31] Compiling KituraTemplateEngine TemplateEngine.swift
[5/32] Compiling DictionaryCoding StorageWrappers.swift
[7/32] Emitting module Logging
[8/32] Compiling Signals Signals.swift
[9/32] Compiling Logging MetadataProvider.swift
[10/33] Compiling Logging Locks.swift
[11/33] Compiling Cryptor Updatable.swift
[12/33] Compiling Cryptor SSLPointerTricks.swift
[14/34] Compiling Cryptor KeyDerivation.swift
[15/34] Compiling Cryptor Random.swift
[16/34] Compiling Socket SocketUtils.swift
[17/34] Compiling Socket SocketProtocols.swift
[18/34] Compiling Cryptor Crypto.swift
[19/34] Compiling Cryptor Cryptor.swift
[20/34] Compiling Cryptor Digest.swift
[21/34] Compiling Cryptor HMAC.swift
[22/34] Emitting module Cryptor
[23/34] Compiling Cryptor Utilities.swift
[24/34] Compiling Cryptor Status.swift
[25/34] Compiling Cryptor StreamCryptor.swift
[27/35] Compiling Logging LogHandler.swift
[28/35] Compiling Logging Logging.swift
[30/36] Compiling TypeDecoder OrderedDictionary.swift
[31/36] Emitting module TypeDecoder
[32/36] Compiling TypeDecoder TypeDecoder.swift
[34/39] Emitting module LoggerAPI
[35/39] Compiling LoggerAPI Logger.swift
[36/40] Compiling DictionaryCoding DictionaryCoding.swift
[37/40] Emitting module DictionaryCoding
[40/50] Compiling KituraContracts BodyFormat.swift
[41/50] Compiling KituraContracts ClosureAliases.swift
[42/50] Compiling KituraContracts Coder.swift
[43/51] 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: ",")
[44/51] 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):
[45/51] 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! }
[46/51] Emitting module Socket
[47/51] Compiling Socket Socket.swift
[48/51] Compiling KituraContracts BodyDecoder.swift
[49/51] Compiling KituraContracts BodyEncoder.swift
[50/51] Emitting module KituraContracts
[52/55] Emitting module SSLService
[53/55] Compiling SSLService SSLPointerTricks.swift
[54/55] 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