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-Session, reference 4.0.0 (640596), with Swift 6.1 for Linux on 27 Apr 2025 05:05:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/Kitura/Kitura-Session.git
Reference: 4.0.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/Kitura/Kitura-Session
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 640596e Update CI; Swift 5.2 is now minimum; fix unit tests; Now depend on Kitura 3.0.0 (#75)
Cloned https://github.com/Kitura/Kitura-Session.git
Revision (git rev-parse @):
640596ea1668d5753aa6b51cc3b9cf86c114f2b8
SUCCESS checkout https://github.com/Kitura/Kitura-Session.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Kitura-Session.git
https://github.com/Kitura/Kitura-Session.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kitura",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Kitura.git"
    },
    {
      "identity" : "bluecryptor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/BlueCryptor.git"
    }
  ],
  "manifest_display_name" : "Kitura-Session",
  "name" : "Kitura-Session",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "KituraSession",
      "targets" : [
        "KituraSession"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KituraSessionTests",
      "module_type" : "SwiftTarget",
      "name" : "KituraSessionTests",
      "path" : "Tests/KituraSessionTests",
      "sources" : [
        "CookieUtils.swift",
        "KituraTest.swift",
        "TestCodableSession.swift",
        "TestSession.swift",
        "TestTypeSafeSession.swift"
      ],
      "target_dependencies" : [
        "KituraSession"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KituraSession",
      "module_type" : "SwiftTarget",
      "name" : "KituraSession",
      "path" : "Sources/KituraSession",
      "product_dependencies" : [
        "Kitura",
        "Cryptor"
      ],
      "product_memberships" : [
        "KituraSession"
      ],
      "sources" : [
        "CookieCryptography.swift",
        "CookieManagement.swift",
        "CookieParameter.swift",
        "InMemoryStore.swift",
        "RouterRequest+Session.swift",
        "Session.swift",
        "SessionCookie.swift",
        "SessionState.swift",
        "Store.swift",
        "StoreError.swift",
        "TypeSafeSession.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/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.25s)
[1691/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (0.98s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (1.54s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.21s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 3.0.1 (0.78s)
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kitura/Kitura-NIO.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/2546] Fetching kituracontracts
[282/2984] Fetching kituracontracts, kitura-templateengine
[2120/6455] Fetching kituracontracts, kitura-templateengine, kitura-nio
[2180/6914] Fetching kituracontracts, kitura-templateengine, kitura-nio, typedecoder
[2269/10750] Fetching kituracontracts, kitura-templateengine, kitura-nio, typedecoder, swift-log
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.40s)
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.51s)
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.51s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.51s)
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Fetched https://github.com/Kitura/Kitura-NIO.git from cache (0.52s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (1.06s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.58s)
Computing version for https://github.com/Kitura/Kitura-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 3.1.1 (0.58s)
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/5662] Fetching swift-nio-extras
[398/7739] Fetching swift-nio-extras, bluesslservice
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.30s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.32s)
[1/75431] Fetching swift-nio
[3773/90224] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.13s)
Fetched https://github.com/apple/swift-nio.git from cache (4.20s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (4.74s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.56s)
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.33s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.52s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.53s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.51s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.61s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1127] Fetching swift-http-structured-headers
[418/2031] Fetching swift-http-structured-headers, swift-http-types
[1638/3736] Fetching swift-http-structured-headers, swift-http-types, swift-atomics
[2476/9639] Fetching swift-http-structured-headers, swift-http-types, swift-atomics, swift-algorithms
[3490/21131] Fetching swift-http-structured-headers, swift-http-types, swift-atomics, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (0.35s)
[11149/20227] Fetching swift-http-structured-headers, swift-atomics, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.36s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.40s)
[8547/17395] Fetching swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.97s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.98s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.85s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4353] Fetching swift-system
[3876/20595] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.03s)
Fetched https://github.com/apple/swift-collections.git from cache (1.05s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.59s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.2.2 (0.92s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.50s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.49s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.77s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.54s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.30.0 (0.62s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.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/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 3.0.1
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.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/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/Kitura-NIO.git
Working copy of https://github.com/Kitura/Kitura-NIO.git resolved at 3.1.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.30.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Building for debugging...
[0/442] Write sources
[26/442] Compiling CNIOWindows shim.c
[27/442] Compiling CNIOWindows WSAStartup.c
[28/442] Compiling CNIOWASI CNIOWASI.c
[29/442] Compiling _AtomicsShims.c
[30/442] Compiling CNIOLinux liburing_shims.c
[31/442] Compiling CNIODarwin shim.c
[32/442] Compiling CNIOSHA1 c_nio_sha1.c
[33/442] Compiling CNIOLLHTTP c_nio_http.c
[34/442] Compiling CNIOLinux shim.c
[35/442] Compiling fiat_p256_adx_sqr.S
[36/442] Compiling CNIOLLHTTP c_nio_api.c
[37/442] Compiling fiat_p256_adx_mul.S
[38/442] Compiling fiat_curve25519_adx_square.S
[39/442] Compiling fiat_curve25519_adx_mul.S
[40/442] Write swift-version-24593BA9C3E375BF.txt
[41/442] Compiling CNIOLLHTTP c_nio_llhttp.c
[42/443] Compiling CNIOBoringSSLShims shims.c
[43/448] Compiling tls13_enc.cc
[44/448] Compiling tls_method.cc
[45/448] Compiling tls_record.cc
[46/457] Compiling tls13_client.cc
[47/458] Compiling tls13_both.cc
[48/464] Compiling tls13_server.cc
[50/481] Emitting module Logging
[51/492] Emitting module InternalCollectionsUtilities
[52/494] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[53/494] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[54/494] Emitting module _NIOBase64
[55/494] Compiling _NIOBase64 Base64.swift
[56/494] Emitting module KituraTemplateEngine
[57/494] Compiling KituraTemplateEngine TemplateEngine.swift
[58/496] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[59/496] Compiling InternalCollectionsUtilities Specialize.swift
[60/496] Compiling _NIODataStructures PriorityQueue.swift
[61/496] Compiling _NIODataStructures _TinyArray.swift
[62/496] Compiling InternalCollectionsUtilities _SortedCollection.swift
[63/496] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[64/496] Compiling InternalCollectionsUtilities Debugging.swift
[65/496] Compiling InternalCollectionsUtilities Descriptions.swift
[66/496] Compiling Cryptor Crypto.swift
[67/496] Compiling Cryptor Cryptor.swift
[68/496] Compiling Cryptor Digest.swift
[69/496] Compiling Cryptor HMAC.swift
[70/496] Compiling Cryptor KeyDerivation.swift
[71/496] Compiling Cryptor Random.swift
[73/496] Compiling InternalCollectionsUtilities UInt+reversed.swift
[74/496] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[75/496] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[76/496] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[79/497] Emitting module Cryptor
[80/498] Compiling Logging MetadataProvider.swift
[81/498] Compiling Logging LogHandler.swift
[82/498] Compiling Logging Locks.swift
[83/498] Compiling Logging Logging.swift
[84/499] Emitting module _NIODataStructures
[85/499] Compiling _NIODataStructures Heap.swift
[88/500] Emitting module Socket
[89/500] Compiling Socket Socket+Equatable.swift
[90/500] Compiling Cryptor Utilities.swift
[91/515] Compiling Cryptor Updatable.swift
[92/515] Compiling TypeDecoder OrderedDictionary.swift
[93/515] Emitting module TypeDecoder
[94/515] Compiling TypeDecoder TypeDecoder.swift
[95/516] Compiling Cryptor Status.swift
[96/516] Compiling Cryptor SSLPointerTricks.swift
[97/516] Compiling Cryptor StreamCryptor.swift
[98/516] Compiling DequeModule Deque+CustomReflectable.swift
[99/516] Compiling DequeModule Deque+Descriptions.swift
[101/518] Compiling Socket SocketUtils.swift
[102/518] Compiling Socket SocketProtocols.swift
[103/518] Compiling DequeModule _DequeBuffer.swift
[104/518] Compiling DequeModule _DequeBufferHeader.swift
[105/518] Compiling DequeModule Deque+Extras.swift
[106/518] Compiling DequeModule Deque+Hashable.swift
[107/518] Compiling DequeModule Deque+Equatable.swift
[108/518] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[111/520] Compiling DequeModule Deque+Codable.swift
[112/520] Compiling DequeModule Deque+Collection.swift
[114/520] Compiling t1_enc.cc
[119/521] Compiling DequeModule _DequeSlot.swift
[120/521] Compiling DequeModule _UnsafeWrappedBuffer.swift
[121/521] Compiling DequeModule Deque+Testing.swift
[122/521] Compiling DequeModule Deque._Storage.swift
[123/521] Compiling DequeModule Deque._UnsafeHandle.swift
[124/521] Compiling DequeModule Deque.swift
[124/521] Compiling ssl_x509.cc
[126/521] Emitting module LoggerAPI
[127/521] Compiling LoggerAPI Logger.swift
[128/522] Compiling ssl_versions.cc
[130/522] Emitting module DequeModule
[130/523] Compiling ssl_transcript.cc
[133/532] Compiling KituraContracts ClosureAliases.swift
[134/533] 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):
[135/533] Compiling Socket Socket+Hashable.swift
[136/533] Compiling Socket Socket.swift
[137/534] Emitting module KituraContracts
[138/534] Compiling KituraContracts BodyFormat.swift
[139/534] Compiling KituraContracts Coder.swift
[140/534] Compiling KituraContracts BodyDecoder.swift
[141/534] Compiling KituraContracts BodyEncoder.swift
[142/534] 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! }
[144/534] 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: ",")
[144/534] Compiling ssl_stat.cc
[145/537] Compiling ssl_session.cc
[147/537] Emitting module SSLService
[147/537] Compiling ssl_privkey.cc
[148/537] Compiling ssl_key_share.cc
[149/537] Compiling ssl_file.cc
[151/537] Compiling KituraContracts Contracts.swift
[151/537] Compiling ssl_buffer.cc
[151/537] Compiling ssl_cert.cc
[151/537] Compiling ssl_asn1.cc
[151/537] Compiling ssl_cipher.cc
[151/537] Compiling ssl_credential.cc
[152/537] Compiling SSLService SSLPointerTricks.swift
[152/537] Compiling ssl_lib.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
[0/1] Planning build
Building for debugging...
[0/385] Compiling ssl_aead_ctx.cc
[1/385] Compiling ssl_buffer.cc
[2/385] Compiling s3_pkt.cc
[3/385] Compiling ssl_cert.cc
[4/385] Compiling ssl_asn1.cc
[5/385] Compiling ssl_cipher.cc
[6/385] Compiling ssl_credential.cc
[7/385] Write swift-version-24593BA9C3E375BF.txt
[8/385] Compiling ssl_lib.cc
[10/389] Compiling _NIODataStructures _TinyArray.swift
[11/389] Compiling _NIODataStructures PriorityQueue.swift
[12/389] Emitting module _NIODataStructures
[13/389] Compiling _NIODataStructures Heap.swift
[13/390] Compiling s3_lib.cc
[15/390] Compiling s3_both.cc
[16/390] Compiling handshake.cc
[17/392] Compiling handshake_server.cc
[18/401] Compiling handoff.cc
[19/408] Compiling handshake_client.cc
[21/408] Compiling Socket Socket+Equatable.swift
[22/408] Compiling Logging MetadataProvider.swift
[23/408] Emitting module KituraTemplateEngine
[24/414] Emitting module _NIOBase64
[25/414] Compiling _NIOBase64 Base64.swift
[26/414] Emitting module Socket
[27/414] Compiling KituraTemplateEngine TemplateEngine.swift
[28/427] Emitting module TypeDecoder
[28/427] Compiling extensions.cc
[30/427] Compiling Logging Locks.swift
[31/427] Emitting module Logging
[32/427] Compiling Socket SocketProtocols.swift
[33/427] Compiling Socket SocketUtils.swift
[36/438] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[37/438] Compiling InternalCollectionsUtilities Specialize.swift
[38/440] Compiling InternalCollectionsUtilities Debugging.swift
[39/440] Compiling InternalCollectionsUtilities Descriptions.swift
[40/440] Compiling InternalCollectionsUtilities _SortedCollection.swift
[41/440] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[42/440] Compiling Cryptor Crypto.swift
[43/440] Compiling Cryptor Cryptor.swift
[44/440] Emitting module Cryptor
[45/441] Compiling Cryptor SSLPointerTricks.swift
[46/441] Compiling Cryptor Digest.swift
[47/441] Compiling Cryptor HMAC.swift
[48/441] Compiling Cryptor KeyDerivation.swift
[49/441] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[50/441] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[51/441] Compiling Cryptor Updatable.swift
[52/441] Compiling Cryptor Status.swift
[55/441] Emitting module InternalCollectionsUtilities
[57/441] Compiling Cryptor Random.swift
[58/441] Compiling Logging LogHandler.swift
[59/441] Compiling Logging Logging.swift
[60/442] Compiling Cryptor Utilities.swift
[62/442] Compiling Cryptor StreamCryptor.swift
[64/442] Compiling InternalCollectionsUtilities Integer rank.swift
[65/442] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[66/442] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[67/442] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[72/444] Compiling TypeDecoder OrderedDictionary.swift
[73/444] Compiling TypeDecoder TypeDecoder.swift
[75/462] Compiling DequeModule Deque+CustomReflectable.swift
[76/462] Compiling DequeModule Deque+Descriptions.swift
[77/462] Compiling DequeModule _DequeBuffer.swift
[78/462] Compiling DequeModule _DequeBufferHeader.swift
[78/464] Compiling dtls_method.cc
[80/464] Compiling DequeModule Deque+Equatable.swift
[81/464] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[82/464] Compiling DequeModule Deque+Extras.swift
[83/464] Compiling DequeModule Deque+Hashable.swift
[84/464] Emitting module LoggerAPI
[85/464] Compiling LoggerAPI Logger.swift
[85/465] Compiling dtls_record.cc
[86/465] Compiling encrypted_client_hello.cc
[89/465] Compiling DequeModule Deque+Testing.swift
[90/465] Compiling DequeModule Deque._Storage.swift
[91/465] Compiling DequeModule Deque._UnsafeHandle.swift
[92/465] Compiling DequeModule Deque.swift
[92/465] Compiling md5-x86_64-linux.S
[94/465] Compiling DequeModule _DequeSlot.swift
[95/465] Compiling DequeModule _UnsafeWrappedBuffer.swift
[96/465] Compiling DequeModule Deque+Codable.swift
[97/465] Compiling DequeModule Deque+Collection.swift
[98/474] Emitting module DequeModule
[100/475] Compiling KituraContracts BodyDecoder.swift
[101/475] Compiling KituraContracts BodyEncoder.swift
[102/476] Compiling KituraContracts ClosureAliases.swift
[102/476] Compiling d1_srtp.cc
[104/476] Compiling KituraContracts BodyFormat.swift
[104/476] Compiling md5-x86_64-apple.S
[105/476] Compiling md5-586-linux.S
[106/476] Compiling md5-586-apple.S
[108/476] Compiling Socket Socket.swift
[109/476] Compiling Socket Socket+Hashable.swift
[110/477] Compiling KituraContracts Coder.swift
[111/477] 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! }
[111/477] Compiling d1_pkt.cc
[112/477] Compiling chacha20_poly1305_x86_64-linux.S
[113/477] Compiling bio_ssl.cc
[115/477] Compiling chacha20_poly1305_x86_64-apple.S
[116/477] Compiling chacha20_poly1305_armv8-linux.S
[117/477] Compiling chacha20_poly1305_armv8-win.S
[118/477] Compiling err_data.cc
[120/477] Emitting module KituraContracts
[120/477] Compiling chacha20_poly1305_armv8-apple.S
[121/477] Compiling chacha-x86_64-apple.S
[122/477] Compiling chacha-x86_64-linux.S
[124/477] 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):
[125/477] 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: ",")
[125/477] Compiling chacha-x86-linux.S
[126/477] Compiling chacha-x86-apple.S
[127/477] Compiling chacha-armv8-win.S
[128/477] Compiling chacha-armv8-linux.S
[129/477] Compiling chacha-armv8-apple.S
[130/477] Compiling chacha-armv4-linux.S
[131/477] Compiling aes128gcmsiv-x86_64-apple.S
[132/477] Compiling aes128gcmsiv-x86_64-linux.S
[133/477] Compiling x86_64-mont5-apple.S
[134/477] Compiling x86_64-mont5-linux.S
[135/477] Compiling x86_64-mont-apple.S
[136/477] Compiling x86_64-mont-linux.S
[137/480] Compiling x86-mont-linux.S
[138/480] Compiling x86-mont-apple.S
[139/480] Compiling vpaes-x86_64-linux.S
[140/480] Compiling vpaes-x86_64-apple.S
[141/480] Compiling vpaes-x86-linux.S
[142/480] Compiling vpaes-x86-apple.S
[143/480] Compiling vpaes-armv8-win.S
[144/480] Compiling vpaes-armv8-linux.S
[145/480] Compiling vpaes-armv8-apple.S
[146/480] Compiling vpaes-armv7-linux.S
[147/480] Compiling d1_lib.cc
[148/480] Compiling sha512-armv8-win.S
[149/480] Compiling sha512-x86_64-linux.S
[150/480] Compiling sha512-x86_64-apple.S
[151/480] Compiling sha512-armv8-linux.S
[153/480] Compiling KituraContracts Contracts.swift
[153/480] Compiling sha512-armv4-linux.S
[154/480] Compiling sha512-586-linux.S
[155/480] Compiling sha512-armv8-apple.S
[156/480] Compiling sha512-586-apple.S
[157/480] Compiling sha256-x86_64-linux.S
[158/480] Compiling sha256-armv8-win.S
[158/480] Compiling sha256-armv4-linux.S
[158/480] Compiling sha256-x86_64-apple.S
[158/480] Compiling sha256-armv8-apple.S
[158/480] Compiling sha256-armv8-linux.S
[159/480] Emitting module SSLService
[160/480] Compiling SSLService SSLPointerTricks.swift
[160/480] Compiling d1_both.cc
BUILD FAILURE 6.1 linux