The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Embassy, reference master (460e0e), with Swift 6.4 for Linux on 3 Oct 2026 03:18:23 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/envoy/Embassy.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/envoy/Embassy
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 460e0e1 Modernize package, reorganize sources, and remove unused files (#116)
Cloned https://github.com/envoy/Embassy.git
Revision (git rev-parse @):
460e0e13490d3e32eff97171c6db370514a832f9
SUCCESS checkout https://github.com/envoy/Embassy.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/envoy/Embassy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Pre-planning 1 / 66]
[Planning deferred tasks]
[19 / 27] Embassy
[28 / 36] Embassy
/host/spi-builder-workspace/Sources/TCPSocket.swift:179:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
177 |     @discardableResult
178 |     func send(data: Data) throws -> Int {
179 |         let bytesSent = data.withUnsafeBytes { pointer in
    |                              `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
180 |             SystemLibrary.send(fileDescriptor, pointer, data.count, Int32(0))
181 |         }
/host/spi-builder-workspace/Sources/TCPSocket.swift:193:31: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
191 |     func recv(size: Int) throws -> Data {
192 |         var bytes = Data(count: size)
193 |         let bytesRead = bytes.withUnsafeMutableBytes { pointer in
    |                               `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
194 |             return SystemLibrary.recv(fileDescriptor, pointer, size, Int32(0))
195 |         }
/host/spi-builder-workspace/Sources/TCPSocket.swift:288:23: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
286 |         // convert address struct into address string
287 |         var address = Data(count: Int(addressLength))
288 |         guard address.withUnsafeMutableBytes({ pointer in
    |                       `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
289 |             inet_ntop(
290 |                 family,
/host/spi-builder-workspace/Sources/TCPSocket.swift:291:17: warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
289 |             inet_ntop(
290 |                 family,
291 |                 &addrStruct,
    |                 `- warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
292 |                 pointer,
293 |                 socklen_t(addressLength)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[33 / 36] Embassy
/host/spi-builder-workspace/Sources/SelectorEventLoop.swift:60:34: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 58 |             var readSize = 1
 59 |             while readSize > 0 {
 60 |                 readSize = bytes.withUnsafeMutableBytes { pointer in
    |                                  `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 61 |                     return SystemLibrary.read(localPipeReceiver, pointer, Int(size))
 62 |                 }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (12.16 secs)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Embassy",
  "name" : "Embassy",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Embassy",
      "targets" : [
        "Embassy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EmbassyTests",
      "module_type" : "SwiftTarget",
      "name" : "EmbassyTests",
      "path" : "Tests/EmbassyTests",
      "sources" : [
        "HTTPHeaderParserTests.swift",
        "HTTPServerTests.swift",
        "HeapSortTetsts.swift",
        "KqueueSelectorTests.swift",
        "MultiDictionaryTests.swift",
        "SelectSelectorTests.swift",
        "SelectorEventLoopTests.swift",
        "TCPSocketTests.swift",
        "TestingHelpers.swift",
        "TransportTests.swift"
      ],
      "target_dependencies" : [
        "Embassy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Embassy",
      "module_type" : "SwiftTarget",
      "name" : "Embassy",
      "path" : "Sources",
      "product_memberships" : [
        "Embassy"
      ],
      "sources" : [
        "Atomic.swift",
        "Errors.swift",
        "EventLoop.swift",
        "HeapSort.swift",
        "IOUtils.swift",
        "KqueueSelector.swift",
        "Logger/DefaultLogFormatter.swift",
        "Logger/DefaultLogger.swift",
        "Logger/FileLogHandler.swift",
        "Logger/LogFormatter.swift",
        "Logger/LogHandler.swift",
        "Logger/Logger.swift",
        "Logger/PrintLogHandler.swift",
        "Logger/TransformLogHandler.swift",
        "MultiDictionary.swift",
        "Network/DefaultHTTPServer.swift",
        "Network/HTTPConnection.swift",
        "Network/HTTPHeaderParser.swift",
        "Network/HTTPRequest.swift",
        "Network/HTTPServer.swift",
        "PropagateLogHandler.swift",
        "SWSGI.swift",
        "SWSGIUtils.swift",
        "SelectSelector.swift",
        "Selector.swift",
        "SelectorEventLoop.swift",
        "SystemLibrary.swift",
        "TCPSocket.swift",
        "Transport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.