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 Koba, reference 0.2.0 (813180), with Swift 6.1 for Linux on 26 Apr 2025 21:42:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/cak/koba.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/cak/koba
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 813180e Update for v0.2.0
Cloned https://github.com/cak/koba.git
Revision (git rev-parse @):
813180e054af23a0564460d15b83393821795a4f
SUCCESS checkout https://github.com/cak/koba.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/cak/koba.git
https://github.com/cak/koba.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kitura",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/Kitura.git"
    }
  ],
  "manifest_display_name" : "Koba",
  "name" : "Koba",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Koba",
      "targets" : [
        "Koba"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KobaTests",
      "module_type" : "SwiftTarget",
      "name" : "KobaTests",
      "path" : "Tests/KobaTests",
      "sources" : [
        "KituraTest.swift",
        "KobaTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Koba"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Koba",
      "module_type" : "SwiftTarget",
      "name" : "Koba",
      "path" : "Sources/Koba",
      "product_dependencies" : [
        "Kitura"
      ],
      "product_memberships" : [
        "Koba"
      ],
      "sources" : [
        "Directives.swift",
        "Headers.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/IBM-Swift/Kitura.git
[1/16909] Fetching kitura
Fetched https://github.com/IBM-Swift/Kitura.git from cache (1.04s)
Computing version for https://github.com/IBM-Swift/Kitura.git
Computed https://github.com/IBM-Swift/Kitura.git at 2.9.200 (1.60s)
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/2546] Fetching kituracontracts
[383/3005] Fetching kituracontracts, typedecoder
[1135/3443] Fetching kituracontracts, typedecoder, kitura-templateengine
[1685/7279] Fetching kituracontracts, typedecoder, kitura-templateengine, swift-log
[2577/16823] Fetching kituracontracts, typedecoder, kitura-templateengine, swift-log, kitura-net
Fetching https://github.com/Kitura/LoggerAPI.git
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.30s)
[7547/16385] Fetching kituracontracts, typedecoder, swift-log, kitura-net
Fetched https://github.com/apple/swift-log.git from cache (0.43s)
[6060/12549] Fetching kituracontracts, typedecoder, kitura-net
[6538/13320] Fetching kituracontracts, typedecoder, kitura-net, loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.27s)
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.72s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.73s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.73s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (1.19s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.51s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/654] Fetching bluesignals
[655/2731] Fetching bluesignals, bluesslservice
[1652/5673] Fetching bluesignals, bluesslservice, bluesocket
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.22s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.22s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.28s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.75s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.45s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.50s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.15s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.61s)
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.45s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.81s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.45s)
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/TypeDecoder.git
Working copy of https://github.com/Kitura/TypeDecoder.git resolved at 1.3.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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.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/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-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/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.git
Working copy of https://github.com/IBM-Swift/Kitura.git resolved at 2.9.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
Building for debugging...
[0/14] Write sources
[11/14] Compiling CHTTPParser http_parser.c
[12/14] Compiling CHTTPParser utils.c
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/30] Emitting module KituraTemplateEngine
[16/30] Compiling KituraTemplateEngine TemplateEngine.swift
[18/31] Emitting module Logging
[19/31] Compiling Logging MetadataProvider.swift
[20/31] Compiling Logging Locks.swift
[21/31] Compiling Logging Logging.swift
[22/31] Compiling Logging LogHandler.swift
[24/32] Emitting module Signals
[25/32] Compiling Signals Signals.swift
[26/33] Compiling TypeDecoder OrderedDictionary.swift
[27/33] Compiling TypeDecoder TypeDecoder.swift
[28/33] Emitting module TypeDecoder
[31/36] Compiling Socket SocketProtocols.swift
[32/36] Compiling Socket SocketUtils.swift
[33/36] Compiling LoggerAPI Logger.swift
[34/36] Emitting module LoggerAPI
[35/37] Emitting module Socket
[36/37] Compiling Socket Socket.swift
[39/50] Compiling KituraContracts ClosureAliases.swift
[40/51] Compiling KituraContracts BodyFormat.swift
[41/51] Compiling KituraContracts BodyDecoder.swift
[42/51] Compiling KituraContracts BodyEncoder.swift
[43/51] Emitting module KituraContracts
[44/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: ",")
[45/51] Compiling KituraContracts Coder.swift
[46/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):
[47/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! }
[48/51] Emitting module SSLService
[49/51] Compiling SSLService SSLPointerTricks.swift
[50/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))
[51/51] Compiling KituraContracts Contracts.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/17] Emitting module KituraTemplateEngine
[3/17] Compiling Signals Signals.swift
[4/17] Compiling KituraTemplateEngine TemplateEngine.swift
[6/18] Emitting module Signals
[7/19] Compiling Logging MetadataProvider.swift
[8/19] Compiling Logging Locks.swift
[10/19] Emitting module Logging
[11/19] Compiling Socket SocketProtocols.swift
[12/19] Compiling Socket SocketUtils.swift
[13/19] Emitting module TypeDecoder
[14/19] Compiling Logging LogHandler.swift
[15/19] Compiling Logging Logging.swift
[17/20] Compiling TypeDecoder OrderedDictionary.swift
[18/20] Compiling TypeDecoder TypeDecoder.swift
[20/23] Emitting module LoggerAPI
[21/23] Compiling LoggerAPI Logger.swift
[23/33] Compiling KituraContracts ClosureAliases.swift
[24/33] Compiling KituraContracts BodyFormat.swift
[25/33] Compiling KituraContracts BodyDecoder.swift
[26/33] Compiling KituraContracts BodyEncoder.swift
[27/34] Compiling Socket Socket.swift
[28/34] Emitting module Socket
[30/35] Emitting module KituraContracts
[31/38] Compiling KituraContracts Coder.swift
[32/38] 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! }
[33/38] 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: ",")
[34/38] 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):
[35/38] Emitting module SSLService
[36/38] Compiling SSLService SSLPointerTricks.swift
[37/38] 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