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 Telegraph, reference 0.40.0 (f56b67), with Swift 6.1 for Linux on 28 Apr 2025 13:42:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/Building42/Telegraph.git
Reference: 0.40.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/Building42/Telegraph
 * tag               0.40.0     -> FETCH_HEAD
HEAD is now at f56b672 Release 0.40.0
Cloned https://github.com/Building42/Telegraph.git
Revision (git rev-parse @):
f56b6726195e271fea397b7dd11c4adc36d5a32d
SUCCESS checkout https://github.com/Building42/Telegraph.git at 0.40.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Building42/Telegraph.git
https://github.com/Building42/Telegraph.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cocoaasyncsocket",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.6.5",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/robbiehanson/CocoaAsyncSocket.git"
    },
    {
      "identity" : "httpparserc",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.2.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Building42/HTTPParserC.git"
    }
  ],
  "manifest_display_name" : "Telegraph",
  "name" : "Telegraph",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "Telegraph",
      "targets" : [
        "Telegraph"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TelegraphTests",
      "module_type" : "SwiftTarget",
      "name" : "TelegraphTests",
      "path" : "Tests",
      "product_dependencies" : [
        "CocoaAsyncSocket",
        "HTTPParserC"
      ],
      "sources" : [
        "HelperTests.swift",
        "Host/AppDelegate.swift",
        "RouteTests.swift",
        "SecurityTests.swift",
        "ServerTests.swift",
        "URITests.swift",
        "URLTests.swift"
      ],
      "target_dependencies" : [
        "Telegraph"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Telegraph",
      "module_type" : "SwiftTarget",
      "name" : "Telegraph",
      "path" : "Sources",
      "product_dependencies" : [
        "CocoaAsyncSocket",
        "HTTPParserC"
      ],
      "product_memberships" : [
        "Telegraph"
      ],
      "sources" : [
        "Clients/Client+Config.swift",
        "Clients/WebSocketClient.swift",
        "Clients/WebSocketClientError.swift",
        "Helpers/Deprecations.swift",
        "Helpers/DispatchTimer.swift",
        "Helpers/Extensions/Array+Ext.swift",
        "Helpers/Extensions/Data+Ext.swift",
        "Helpers/Extensions/FileManager+Ext.swift",
        "Helpers/Extensions/NSRegularExpression+Ext.swift",
        "Helpers/Extensions/String+Ext.swift",
        "Helpers/Extensions/UInt+Ext.swift",
        "Helpers/Extensions/URL+Ext.swift",
        "Helpers/RFC1123.swift",
        "Helpers/SynchronizedSet.swift",
        "Protocols/HTTP/Handlers/HTTPErrorDefaultHandler.swift",
        "Protocols/HTTP/Handlers/HTTPErrorHandler.swift",
        "Protocols/HTTP/Handlers/HTTPFileHandler.swift",
        "Protocols/HTTP/Handlers/HTTPRequestHandler.swift",
        "Protocols/HTTP/Models/HTTPConfig.swift",
        "Protocols/HTTP/Models/HTTPConnection.swift",
        "Protocols/HTTP/Models/HTTPError.swift",
        "Protocols/HTTP/Models/HTTPHeader+Common.swift",
        "Protocols/HTTP/Models/HTTPHeader.swift",
        "Protocols/HTTP/Models/HTTPMessage.swift",
        "Protocols/HTTP/Models/HTTPMethod.swift",
        "Protocols/HTTP/Models/HTTPParser+Raw.swift",
        "Protocols/HTTP/Models/HTTPParser.swift",
        "Protocols/HTTP/Models/HTTPRequest+Host.swift",
        "Protocols/HTTP/Models/HTTPRequest.swift",
        "Protocols/HTTP/Models/HTTPResponse.swift",
        "Protocols/HTTP/Models/HTTPStatus.swift",
        "Protocols/HTTP/Models/HTTPVersion.swift",
        "Protocols/HTTP/Routing/HTTPRoute.swift",
        "Protocols/HTTP/Routing/HTTPRouteHandler.swift",
        "Protocols/HTTP/Routing/Server+Routing.swift",
        "Protocols/WebSockets/Handlers/HTTPWebSocketHandler.swift",
        "Protocols/WebSockets/Handlers/WebSocketErrorDefaultHandler.swift",
        "Protocols/WebSockets/Handlers/WebSocketErrorHandler.swift",
        "Protocols/WebSockets/Handlers/WebSocketMessageDefaultHandler.swift",
        "Protocols/WebSockets/Handlers/WebSocketMessageHandler.swift",
        "Protocols/WebSockets/Models/HTTPHeader+WebSocket.swift",
        "Protocols/WebSockets/Models/HTTPMessage+WebSocket.swift",
        "Protocols/WebSockets/Models/WebSocket.swift",
        "Protocols/WebSockets/Models/WebSocketConfig.swift",
        "Protocols/WebSockets/Models/WebSocketConnection.swift",
        "Protocols/WebSockets/Models/WebSocketError.swift",
        "Protocols/WebSockets/Models/WebSocketMessage+Write.swift",
        "Protocols/WebSockets/Models/WebSocketMessage.swift",
        "Protocols/WebSockets/Models/WebSocketParser.swift",
        "Security/Certificate.swift",
        "Security/CertificateIdentity.swift",
        "Security/KeychainError.swift",
        "Security/KeychainManager.swift",
        "Security/SHA1.swift",
        "Security/TLSConfig.swift",
        "Security/TLSPolicy.swift",
        "Server/Server+Config.swift",
        "Server/Server.swift",
        "Server/ServerDelegates.swift",
        "Transport/DataStream.swift",
        "Transport/Endpoint.swift",
        "Transport/Streams.swift",
        "Transport/TCPConnection.swift",
        "Transport/TCPListener.swift",
        "Transport/TCPSocket.swift",
        "Transport/URI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/Building42/HTTPParserC.git
Fetching https://github.com/robbiehanson/CocoaAsyncSocket.git
[1/252] Fetching httpparserc
[253/6677] Fetching httpparserc, cocoaasyncsocket
Fetched https://github.com/Building42/HTTPParserC.git from cache (0.55s)
Fetched https://github.com/robbiehanson/CocoaAsyncSocket.git from cache (0.56s)
Computing version for https://github.com/Building42/HTTPParserC.git
Computed https://github.com/Building42/HTTPParserC.git at 9.2.0 (1.03s)
Computing version for https://github.com/robbiehanson/CocoaAsyncSocket.git
Computed https://github.com/robbiehanson/CocoaAsyncSocket.git at 7.6.5 (0.45s)
Creating working copy for https://github.com/Building42/HTTPParserC.git
Working copy of https://github.com/Building42/HTTPParserC.git resolved at 9.2.0
Creating working copy for https://github.com/robbiehanson/CocoaAsyncSocket.git
Working copy of https://github.com/robbiehanson/CocoaAsyncSocket.git resolved at 7.6.5
Building for debugging...
[0/7] Write sources
[1/7] Compiling HTTPParserC http.c
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m:11:
/host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/7] Compiling CocoaAsyncSocket GCDAsyncUdpSocket.m
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:11:
/host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/7] Compiling CocoaAsyncSocket GCDAsyncSocket.m
[2/7] Compiling HTTPParserC llhttp.c
[2/7] Compiling HTTPParserC api.c
[2/7] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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...
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m:11:
/host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling CocoaAsyncSocket GCDAsyncUdpSocket.m
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:11:
/host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling CocoaAsyncSocket GCDAsyncSocket.m
[0/5] Compiling HTTPParserC api.c
[0/5] Compiling HTTPParserC llhttp.c
[0/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux