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 Kitura-Session-Redis, reference master (438dbc), with Swift 6.1 for Linux on 26 Apr 2025 04:09:02 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-Session-Redis.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Kitura/Kitura-Session-Redis
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 438dbce Misc community version (#47)
Cloned https://github.com/Kitura/Kitura-Session-Redis.git
Revision (git rev-parse @):
438dbce6ef66fc1f050cdaf1cd4d648ae620369f
SUCCESS checkout https://github.com/Kitura/Kitura-Session-Redis.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Kitura-Session-Redis.git
https://github.com/Kitura/Kitura-Session-Redis.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"
    },
    {
      "identity" : "kitura-redis",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.200",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Kitura-redis.git"
    }
  ],
  "manifest_display_name" : "Kitura-Session-Redis",
  "name" : "Kitura-Session-Redis",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "KituraSessionRedis",
      "targets" : [
        "KituraSessionRedis"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KituraSessionRedisTests",
      "module_type" : "SwiftTarget",
      "name" : "KituraSessionRedisTests",
      "path" : "Tests/KituraSessionRedisTests",
      "sources" : [
        "CookieUtils.swift",
        "KituraTest.swift",
        "TestSession.swift"
      ],
      "target_dependencies" : [
        "KituraSessionRedis"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KituraSessionRedis",
      "module_type" : "SwiftTarget",
      "name" : "KituraSessionRedis",
      "path" : "Sources/KituraSessionRedis",
      "product_dependencies" : [
        "KituraSession",
        "SwiftRedis"
      ],
      "product_memberships" : [
        "KituraSessionRedis"
      ],
      "sources" : [
        "RedisStore.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-redis.git
Fetching https://github.com/Kitura/Kitura-Session.git
[1/1561] Fetching kitura-session
[1562/3900] Fetching kitura-session, kitura-redis
Fetched https://github.com/Kitura/Kitura-redis.git from cache (0.47s)
Fetched https://github.com/Kitura/Kitura-Session.git from cache (0.47s)
Computing version for https://github.com/Kitura/Kitura-redis.git
Computed https://github.com/Kitura/Kitura-redis.git at 2.1.200 (1.21s)
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/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (1.13s)
Computing version for https://github.com/Kitura/Kitura-Session.git
Computed https://github.com/Kitura/Kitura-Session.git at 3.3.201 (0.65s)
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura.git
[1/16909] Fetching kitura
[2/18563] Fetching kitura, bluecryptor
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.25s)
Fetched https://github.com/Kitura/Kitura.git from cache (1.27s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (1.99s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.38s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (4.34s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (1.09s)
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/9544] Fetching kitura-net
[192/12090] Fetching kitura-net, kituracontracts
[683/12549] Fetching kitura-net, kituracontracts, typedecoder
[1391/12987] Fetching kitura-net, kituracontracts, typedecoder, kitura-templateengine
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.55s)
[3946/12528] Fetching kitura-net, kituracontracts, kitura-templateengine
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.56s)
[3533/12090] Fetching kitura-net, kituracontracts
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.87s)
[3627/9544] Fetching kitura-net
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/Kitura/Kitura-net.git from cache (1.47s)
[1/3836] Fetching swift-log
[347/4607] Fetching swift-log, loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.48s)
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (3.09s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (1.02s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
[1/654] Fetching bluesignals
[655/2731] Fetching bluesignals, bluesslservice
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.47s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.47s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (1.45s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (1.05s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (1.11s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (1.09s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.97s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.06s)
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/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-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/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.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.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/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-redis.git
Working copy of https://github.com/Kitura/Kitura-redis.git resolved at 2.1.200
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/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.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/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-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.200
Building for debugging...
[0/17] Write sources
[14/17] Compiling CHTTPParser utils.c
[15/17] Compiling CHTTPParser http_parser.c
[16/17] Write swift-version-24593BA9C3E375BF.txt
[18/44] Emitting module TypeDecoder
[19/44] Emitting module KituraTemplateEngine
[20/44] Compiling KituraTemplateEngine TemplateEngine.swift
[22/45] Emitting module Logging
[23/45] Compiling Logging LogHandler.swift
[24/45] Compiling Logging Locks.swift
[25/45] Compiling Logging Logging.swift
[26/45] Compiling Logging MetadataProvider.swift
[28/46] Compiling TypeDecoder OrderedDictionary.swift
[29/46] Compiling TypeDecoder TypeDecoder.swift
[30/47] Compiling Socket SocketUtils.swift
[32/47] Emitting module Signals
[33/47] Compiling Signals Signals.swift
[34/48] Compiling Cryptor Updatable.swift
[35/51] Compiling Socket SocketProtocols.swift
[37/51] Compiling Cryptor Digest.swift
[38/51] Compiling Cryptor HMAC.swift
[39/51] Compiling Cryptor Crypto.swift
[40/51] Compiling Cryptor Cryptor.swift
[41/51] Emitting module Cryptor
[42/51] Compiling Cryptor KeyDerivation.swift
[43/51] Compiling Cryptor Random.swift
[44/51] Compiling Cryptor SSLPointerTricks.swift
[45/51] Compiling Cryptor Status.swift
[46/51] Compiling Cryptor StreamCryptor.swift
[47/51] Emitting module LoggerAPI
[48/51] Compiling Cryptor Utilities.swift
[49/51] Compiling LoggerAPI Logger.swift
[52/62] Compiling KituraContracts BodyFormat.swift
[53/63] Emitting module Socket
[54/63] Compiling Socket Socket.swift
[55/64] Compiling KituraContracts Coder.swift
[57/64] 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: ",")
[58/64] 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/64] 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! }
[60/64] Compiling KituraContracts ClosureAliases.swift
[61/65] Compiling KituraContracts BodyDecoder.swift
[62/65] Compiling KituraContracts BodyEncoder.swift
[63/65] Emitting module KituraContracts
[64/83] Emitting module SSLService
[65/83] Compiling SSLService SSLPointerTricks.swift
[66/83] 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] Compiling KituraTemplateEngine TemplateEngine.swift
[3/28] Compiling Logging MetadataProvider.swift
[4/28] Emitting module KituraTemplateEngine
[5/29] Compiling Logging LogHandler.swift
[7/29] Compiling Signals Signals.swift
[8/29] Emitting module Signals
[9/30] Emitting module Logging
[10/30] Compiling Logging Locks.swift
[11/30] Compiling Socket SocketProtocols.swift
[13/30] Compiling Cryptor Updatable.swift
[14/31] Compiling Cryptor Crypto.swift
[15/31] Compiling Cryptor Cryptor.swift
[16/31] Compiling Cryptor Status.swift
[17/31] Compiling Socket SocketUtils.swift
[18/31] Compiling Cryptor KeyDerivation.swift
[19/31] Compiling Cryptor Random.swift
[20/31] Compiling Cryptor Utilities.swift
[21/31] Compiling Cryptor SSLPointerTricks.swift
[22/31] Compiling Cryptor StreamCryptor.swift
[23/31] Emitting module Cryptor
[24/31] Compiling Cryptor Digest.swift
[25/31] Compiling Cryptor HMAC.swift
[26/32] Compiling Logging Logging.swift
[29/33] Compiling TypeDecoder TypeDecoder.swift
[30/33] Compiling TypeDecoder OrderedDictionary.swift
[31/33] Emitting module TypeDecoder
[33/36] Emitting module LoggerAPI
[34/36] Compiling LoggerAPI Logger.swift
[36/46] Emitting module Socket
[37/46] Compiling Socket Socket.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/48] Compiling KituraContracts Coder.swift
[41/48] Compiling KituraContracts BodyDecoder.swift
[42/48] Compiling KituraContracts BodyEncoder.swift
[43/48] Compiling KituraContracts ClosureAliases.swift
[44/48] Compiling KituraContracts BodyFormat.swift
[45/50] 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: ",")
[46/50] 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! }
[47/51] Emitting module KituraContracts
[48/67] Compiling SSLService SSLPointerTricks.swift
[49/67] Emitting module SSLService
[50/67] 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