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 master (8e48ac), 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-2":/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: 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/cak/koba
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8e48aca Merge pull request #1 from mbarnach/master
Cloned https://github.com/cak/koba.git
Revision (git rev-parse @):
8e48acad44cc4a0122e8713d6edc242fb42d5dab
SUCCESS checkout https://github.com/cak/koba.git at master
========================================
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-2":/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 (0.94s)
Computing version for https://github.com/IBM-Swift/Kitura.git
Computed https://github.com/IBM-Swift/Kitura.git at 2.9.200 (1.42s)
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Kitura/TypeDecoder.git
[1/438] Fetching kitura-templateengine
[435/1209] Fetching kitura-templateengine, loggerapi
[732/1668] Fetching kitura-templateengine, loggerapi, typedecoder
[1669/4214] Fetching kitura-templateengine, loggerapi, typedecoder, kituracontracts
[1950/8050] Fetching kitura-templateengine, loggerapi, typedecoder, kituracontracts, swift-log
[2333/17594] Fetching kitura-templateengine, loggerapi, typedecoder, kituracontracts, swift-log, kitura-net
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.28s)
[4785/17135] Fetching kitura-templateengine, loggerapi, kituracontracts, swift-log, kitura-net
Fetched https://github.com/apple/swift-log.git from cache (0.46s)
[7000/13299] Fetching kitura-templateengine, loggerapi, kituracontracts, kitura-net
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.74s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.74s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.75s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.75s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (1.22s)
Computing version for https://github.com/Kitura/Kitura-net.git
Computed https://github.com/Kitura/Kitura-net.git at 2.4.200 (0.47s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2077] Fetching bluesslservice
[64/5019] Fetching bluesslservice, bluesocket
[86/5673] Fetching bluesslservice, bluesocket, bluesignals
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.27s)
Fetched https://github.com/Kitura/BlueSSLService.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.76s)
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.48s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.20s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.65s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.46s)
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/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.43s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/Kitura-net.git
Working copy of https://github.com/Kitura/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.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/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 1.2.201
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
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 Logging
[16/30] Emitting module Signals
[17/30] Emitting module KituraTemplateEngine
[18/30] Compiling KituraTemplateEngine TemplateEngine.swift
[20/31] Emitting module TypeDecoder
[21/31] Compiling Logging LogHandler.swift
[22/31] Compiling Logging Locks.swift
[23/31] Compiling Logging Logging.swift
[24/31] Compiling Logging MetadataProvider.swift
[26/34] Compiling TypeDecoder TypeDecoder.swift
[27/34] Compiling TypeDecoder OrderedDictionary.swift
[29/35] Emitting module LoggerAPI
[30/35] Compiling Signals Signals.swift
[31/36] Compiling Socket SocketUtils.swift
[32/36] Compiling Socket SocketProtocols.swift
[34/36] Compiling LoggerAPI Logger.swift
[36/46] Compiling KituraContracts ClosureAliases.swift
[37/46] Compiling KituraContracts BodyDecoder.swift
[38/46] Compiling KituraContracts BodyEncoder.swift
[39/47] Compiling Socket Socket.swift
[40/47] Emitting module Socket
[42/48] Compiling KituraContracts BodyFormat.swift
[43/48] Emitting module KituraContracts
[44/48] Compiling KituraContracts Coder.swift
[45/48] 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/48] 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/48] 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: ",")
[48/51] Emitting module SSLService
[49/51] Compiling KituraContracts Contracts.swift
[50/51] Compiling SSLService SSLPointerTricks.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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] Compiling KituraTemplateEngine TemplateEngine.swift
[3/17] Emitting module KituraTemplateEngine
[4/18] Compiling Logging MetadataProvider.swift
[5/18] Emitting module Signals
[7/18] Compiling Socket SocketProtocols.swift
[8/18] Compiling Socket SocketUtils.swift
[9/18] Compiling Signals Signals.swift
[10/18] Emitting module TypeDecoder
[11/19] Emitting module Logging
[13/19] Compiling Logging Locks.swift
[14/19] Compiling Logging Logging.swift
[15/19] Compiling Logging LogHandler.swift
[17/22] Compiling LoggerAPI Logger.swift
[18/22] Emitting module LoggerAPI
[19/23] Compiling TypeDecoder TypeDecoder.swift
[20/23] Compiling TypeDecoder OrderedDictionary.swift
[23/33] Compiling KituraContracts ClosureAliases.swift
[24/33] Compiling KituraContracts BodyFormat.swift
[25/34] 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):
[26/34] 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: ",")
[27/34] 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! }
[28/34] Compiling KituraContracts Coder.swift
[29/34] Emitting module Socket
[30/34] Compiling Socket Socket.swift
[31/35] Compiling KituraContracts BodyDecoder.swift
[32/35] Compiling KituraContracts BodyEncoder.swift
[33/35] Emitting module KituraContracts
[35/38] Emitting module SSLService
[36/38] Compiling KituraContracts Contracts.swift
BUILD FAILURE 6.1 linux