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-WebSocket, reference 2.1.200 (31ee0c), with Swift 6.1 for Linux on 26 Apr 2025 06:41:40 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-WebSocket.git
Reference: 2.1.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-WebSocket
 * tag               2.1.200    -> FETCH_HEAD
HEAD is now at 31ee0c2 Update package reference to community versions (#104)
Cloned https://github.com/Kitura/Kitura-WebSocket.git
Revision (git rev-parse @):
31ee0c22500569f81b262884f41710ce3ad540f5
SUCCESS checkout https://github.com/Kitura/Kitura-WebSocket.git at 2.1.200
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Kitura-WebSocket.git
https://github.com/Kitura/Kitura-WebSocket.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kitura-net",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.200",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/Kitura-net.git"
    },
    {
      "identity" : "bluecryptor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.200",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/BlueCryptor.git"
    }
  ],
  "manifest_display_name" : "Kitura-WebSocket",
  "name" : "Kitura-WebSocket",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Kitura-WebSocket",
      "targets" : [
        "KituraWebSocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KituraWebSocketTests",
      "module_type" : "SwiftTarget",
      "name" : "KituraWebSocketTests",
      "path" : "Tests/KituraWebSocketTests",
      "sources" : [
        "BasicTests.swift",
        "ComplexTests.swift",
        "ConnectionCleanupTests.swift",
        "KituraTest+Frames.swift",
        "KituraTest.swift",
        "PrintLogger.swift",
        "ProtocolErrorTests.swift",
        "TestLinuxSafeguard.swift",
        "TestWebSocketService.swift",
        "UpgradeErrors.swift"
      ],
      "target_dependencies" : [
        "KituraWebSocket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KituraWebSocket",
      "module_type" : "SwiftTarget",
      "name" : "KituraWebSocket",
      "path" : "Sources/KituraWebSocket",
      "product_dependencies" : [
        "KituraNet",
        "Cryptor"
      ],
      "product_memberships" : [
        "Kitura-WebSocket"
      ],
      "sources" : [
        "WSConnectionUpgradeFactory.swift",
        "WSFrame.swift",
        "WSFrameParser.swift",
        "WSServerRequest.swift",
        "WSSocketProcessor.swift",
        "WebSocket.swift",
        "WebSocketCloseReasonCode.swift",
        "WebSocketConnection.swift",
        "WebSocketError.swift",
        "WebSocketService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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/IBM-Swift/BlueCryptor.git
Fetching https://github.com/IBM-Swift/Kitura-net.git
[1/1654] Fetching bluecryptor
[1639/11198] Fetching bluecryptor, kitura-net
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.60s)
Fetched https://github.com/IBM-Swift/Kitura-net.git from cache (0.61s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (1.16s)
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/IBM-Swift/Kitura-net.git
Computed https://github.com/IBM-Swift/Kitura-net.git at 2.4.200 (0.77s)
Fetching https://github.com/Kitura/BlueSignals.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
[1/771] Fetching loggerapi
[225/3713] Fetching loggerapi, bluesocket
[234/4367] Fetching loggerapi, bluesocket, bluesignals
[1749/6444] Fetching loggerapi, bluesocket, bluesignals, bluesslservice
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.27s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.31s)
Fetched https://github.com/Kitura/BlueSignals.git from cache (0.31s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.31s)
Computing version for https://github.com/Kitura/BlueSignals.git
Computed https://github.com/Kitura/BlueSignals.git at 1.0.200 (0.86s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.59s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.55s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.56s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.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 (2.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.51s)
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/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.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/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/IBM-Swift/Kitura-net.git
Working copy of https://github.com/IBM-Swift/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/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
Building for debugging...
[0/11] Write sources
[8/11] Compiling CHTTPParser utils.c
[9/11] Compiling CHTTPParser http_parser.c
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/33] Compiling Logging LogHandler.swift
[13/33] Compiling Logging Logging.swift
[14/33] Compiling Logging MetadataProvider.swift
[15/33] Emitting module Logging
[16/33] Compiling Logging Locks.swift
[17/34] Compiling Cryptor Updatable.swift
[19/35] Compiling Cryptor SSLPointerTricks.swift
[20/35] Emitting module Cryptor
[21/35] Compiling Cryptor Status.swift
[22/35] Compiling Cryptor StreamCryptor.swift
[23/35] Compiling Socket SocketProtocols.swift
[24/35] Compiling Socket SocketUtils.swift
[25/35] Emitting module Signals
[26/35] Compiling Signals Signals.swift
[27/38] Compiling Cryptor KeyDerivation.swift
[28/38] Compiling Cryptor Random.swift
[29/38] Compiling Cryptor Crypto.swift
[30/38] Compiling Cryptor Cryptor.swift
[31/38] Compiling Cryptor Digest.swift
[32/38] Compiling Cryptor HMAC.swift
[34/38] Compiling Cryptor Utilities.swift
[36/39] Compiling LoggerAPI Logger.swift
[37/39] Emitting module LoggerAPI
[39/40] Emitting module Socket
[40/40] Compiling Socket Socket.swift
[42/44] Emitting module SSLService
[43/44] Compiling SSLService SSLPointerTricks.swift
[44/44] 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-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/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling Logging MetadataProvider.swift
[3/23] Compiling Cryptor Updatable.swift
[4/24] Compiling Socket SocketUtils.swift
[5/24] Compiling Socket SocketProtocols.swift
[6/24] Emitting module Cryptor
[7/24] Compiling Signals Signals.swift
[8/24] Emitting module Signals
[10/25] Compiling Cryptor KeyDerivation.swift
[11/25] Compiling Cryptor Random.swift
[12/25] Compiling Cryptor Utilities.swift
[13/25] Compiling Cryptor Crypto.swift
[14/25] Compiling Cryptor Cryptor.swift
[15/25] Compiling Cryptor Digest.swift
[16/25] Compiling Cryptor HMAC.swift
[17/25] Compiling Cryptor Status.swift
[18/25] Compiling Cryptor SSLPointerTricks.swift
[19/25] Compiling Cryptor StreamCryptor.swift
[21/26] Compiling Logging LogHandler.swift
[22/26] Emitting module Logging
[23/26] Compiling Logging Locks.swift
[24/26] Compiling Logging Logging.swift
[26/29] Compiling LoggerAPI Logger.swift
[27/29] Emitting module LoggerAPI
[29/30] Emitting module Socket
[30/30] Compiling Socket Socket.swift
[32/34] Emitting module SSLService
[33/34] Compiling SSLService SSLPointerTricks.swift
[34/34] 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