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 KituraOpenAPI, reference 1.4.200 (100cfa), with Swift 6.1 for Linux on 26 Apr 2025 04:01:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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-OpenAPI.git
Reference: 1.4.200
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-OpenAPI
 * tag               1.4.200    -> FETCH_HEAD
HEAD is now at 100cfa8 Misc community version (#34)
Cloned https://github.com/Kitura/Kitura-OpenAPI.git
Revision (git rev-parse @):
100cfa87e8dcf5be92788f7d89466da8b703592b
SUCCESS checkout https://github.com/Kitura/Kitura-OpenAPI.git at 1.4.200
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Kitura-OpenAPI.git
https://github.com/Kitura/Kitura-OpenAPI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kitura",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9.200",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Kitura.git"
    },
    {
      "identity" : "swift-cfenv",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.200",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Swift-cfenv.git"
    },
    {
      "identity" : "loggerapi",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.200",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/LoggerAPI.git"
    }
  ],
  "manifest_display_name" : "KituraOpenAPI",
  "name" : "KituraOpenAPI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "KituraOpenAPI",
      "targets" : [
        "KituraOpenAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KituraOpenAPITests",
      "module_type" : "SwiftTarget",
      "name" : "KituraOpenAPITests",
      "path" : "Tests/KituraOpenAPITests",
      "product_dependencies" : [
        "Kitura"
      ],
      "sources" : [
        "KituraOpenAPITests.swift",
        "KituraTest.swift",
        "KituraTestBuilder.swift",
        "Models/Pear.swift",
        "PrintLogger.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "KituraOpenAPI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KituraOpenAPI",
      "module_type" : "SwiftTarget",
      "name" : "KituraOpenAPI",
      "path" : "Sources/KituraOpenAPI",
      "product_dependencies" : [
        "Kitura",
        "CloudFoundryEnv",
        "LoggerAPI"
      ],
      "product_memberships" : [
        "KituraOpenAPI"
      ],
      "sources" : [
        "KituraOpenAPI.swift",
        "KituraOpenAPIConfig.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/LoggerAPI.git
Fetching https://github.com/Kitura/Swift-cfenv.git
Fetching https://github.com/Kitura/Kitura.git
[1/771] Fetching loggerapi
[464/2375] Fetching loggerapi, swift-cfenv
[2376/19284] Fetching loggerapi, swift-cfenv, kitura
Fetched https://github.com/Kitura/Swift-cfenv.git from cache (0.24s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.24s)
[1184/16909] Fetching kitura
Fetched https://github.com/Kitura/Kitura.git from cache (0.89s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (1.43s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
Computing version for https://github.com/Kitura/Swift-cfenv.git
Computed https://github.com/Kitura/Swift-cfenv.git at 6.0.200 (0.81s)
Fetching https://github.com/Kitura/Configuration.git
[1/1135] Fetching configuration
Fetched https://github.com/Kitura/Configuration.git from cache (0.20s)
Computing version for https://github.com/Kitura/Kitura.git
Computed https://github.com/Kitura/Kitura.git at 2.9.200 (0.68s)
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
Fetching https://github.com/Kitura/TypeDecoder.git
Fetching https://github.com/Kitura/Kitura-net.git
Fetching https://github.com/Kitura/KituraContracts.git
[1/438] Fetching kitura-templateengine
[19/897] Fetching kitura-templateengine, typedecoder
[186/3443] Fetching kitura-templateengine, typedecoder, kituracontracts
[381/12987] Fetching kitura-templateengine, typedecoder, kituracontracts, kitura-net
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (0.43s)
[7396/12549] Fetching typedecoder, kituracontracts, kitura-net
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.43s)
[5327/10003] Fetching typedecoder, kitura-net
Fetched https://github.com/Kitura/TypeDecoder.git from cache (0.67s)
Fetched https://github.com/Kitura/Kitura-net.git from cache (0.68s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (1.13s)
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/BlueSSLService.git
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
[296/3596] Fetching bluesocket, bluesignals
[1950/5673] Fetching bluesocket, bluesignals, bluesslservice
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/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (1.99s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.74s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.19s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.66s)
Computing version for https://github.com/Kitura/Configuration.git
Computed https://github.com/Kitura/Configuration.git at 3.1.0 (0.49s)
Fetching https://github.com/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git from cache (0.22s)
Computing version for https://github.com/Kitura/TypeDecoder.git
Computed https://github.com/Kitura/TypeDecoder.git at 1.3.201 (0.67s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.0.0 (0.48s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 1.2.201 (0.82s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.90s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.92s)
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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.0.0
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/BlueSignals.git
Working copy of https://github.com/Kitura/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Configuration.git
Working copy of https://github.com/Kitura/Configuration.git resolved at 3.1.0
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/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
Creating working copy for https://github.com/Kitura/Swift-cfenv.git
Working copy of https://github.com/Kitura/Swift-cfenv.git resolved at 6.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/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/Kitura.git
Working copy of https://github.com/Kitura/Kitura.git resolved at 2.9.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/33] Emitting module TypeDecoder
[19/33] Compiling TypeDecoder OrderedDictionary.swift
[20/33] Emitting module KituraTemplateEngine
[21/33] Compiling KituraTemplateEngine TemplateEngine.swift
[23/34] Compiling Logging LogHandler.swift
[24/34] Compiling Logging Locks.swift
[25/34] Emitting module Logging
[26/34] Compiling Socket SocketProtocols.swift
[27/34] Compiling TypeDecoder TypeDecoder.swift
[29/35] Compiling Logging Logging.swift
[30/35] Compiling Logging MetadataProvider.swift
[32/36] Emitting module Signals
[33/36] Compiling Signals Signals.swift
[34/37] Compiling Socket SocketUtils.swift
[36/39] Emitting module Socket
[37/39] Compiling Socket Socket.swift
[38/39] Emitting module LoggerAPI
[39/39] Compiling LoggerAPI Logger.swift
[42/55] Emitting module FileKit
[43/55] Compiling FileKit FileKit.swift
[44/56] 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! }
[45/57] Compiling KituraContracts ClosureAliases.swift
[46/57] Compiling KituraContracts BodyFormat.swift
[47/57] Compiling KituraContracts BodyDecoder.swift
[48/57] Compiling KituraContracts BodyEncoder.swift
[49/57] 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):
[51/57] Emitting module KituraContracts
[52/57] Compiling KituraContracts Coder.swift
[53/57] 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: ",")
[54/63] Compiling Configuration JSONDeserializer.swift
[55/63] Compiling Configuration Deserializer.swift
[56/63] Compiling Configuration PLISTDeserializer.swift
[57/63] Compiling Configuration ConfigurationNode.swift
[58/63] Emitting module Configuration
[59/63] Compiling Configuration ConfigurationManager.swift
[61/64] Emitting module SSLService
[62/64] Compiling SSLService SSLPointerTricks.swift
[63/64] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:8: error: cannot find 'SSL_get_peer_certificate' in scope
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |        `- error: cannot find 'SSL_get_peer_certificate' in scope
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:34: error: cannot infer contextual base in reference to member 'make'
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |                                  `- error: cannot infer contextual base in reference to member 'make'
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/17] Emitting module KituraTemplateEngine
[3/17] Compiling KituraTemplateEngine TemplateEngine.swift
[4/18] Compiling Signals Signals.swift
[5/18] Emitting module Signals
[6/19] Compiling Logging MetadataProvider.swift
[7/19] Compiling Socket SocketProtocols.swift
[8/19] Compiling Socket SocketUtils.swift
[11/19] Emitting module Logging
[12/19] Compiling Logging Locks.swift
[13/19] Compiling Logging Logging.swift
[14/19] Compiling Logging LogHandler.swift
[16/20] Compiling TypeDecoder OrderedDictionary.swift
[17/20] Emitting module TypeDecoder
[18/20] Compiling TypeDecoder TypeDecoder.swift
[20/23] Emitting module LoggerAPI
[21/23] Compiling LoggerAPI Logger.swift
[23/35] Emitting module Socket
[24/35] Compiling Socket Socket.swift
[25/36] Compiling KituraContracts ClosureAliases.swift
[27/37] Emitting module FileKit
[28/37] Compiling FileKit FileKit.swift
[29/38] Compiling KituraContracts Coder.swift
[30/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! }
[31/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):
[32/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: ",")
[33/38] Emitting module KituraContracts
[34/38] Compiling KituraContracts BodyDecoder.swift
[35/38] Compiling KituraContracts BodyEncoder.swift
[36/38] Compiling KituraContracts BodyFormat.swift
[38/47] Compiling Configuration PLISTDeserializer.swift
[39/47] Compiling Configuration Deserializer.swift
[40/47] Compiling Configuration ConfigurationNode.swift
[41/47] Compiling Configuration JSONDeserializer.swift
[42/47] Emitting module Configuration
[43/47] Compiling Configuration ConfigurationManager.swift
[44/48] Compiling SSLService SSLPointerTricks.swift
[45/48] Emitting module SSLService
[46/48] 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