The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PhoenixNectar, reference main (9e28f5), with Swift 6.4 for Linux on 24 Sep 2026 11:23:41 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jvdvleuten/PhoenixNectar.git
Reference: main
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/jvdvleuten/PhoenixNectar
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9e28f58 Harden Phoenix E2E readiness check
Cloned https://github.com/jvdvleuten/PhoenixNectar.git
Revision (git rev-parse @):
9e28f589752042f6d8f0ae4d2f103d72e54237d2
SUCCESS checkout https://github.com/jvdvleuten/PhoenixNectar.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/jvdvleuten/PhoenixNectar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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]
[Starting]
[28 / 36] PhoenixNectar
/host/spi-builder-workspace/Sources/PhoenixNectar/ChannelHandle.swift:29:11: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSLock', consider removing it
 27 |   }
 28 |   #else
 29 |   private nonisolated(unsafe) let lock = NSLock()
    |           `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSLock', consider removing it
 30 |   private nonisolated(unsafe) var _task: Task<Void, Never>?
 31 |
[33 / 36] PhoenixNectar
/host/spi-builder-workspace/Sources/PhoenixNectar/ChannelHandle.swift:29:11: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSLock', consider removing it
 27 |   }
 28 |   #else
 29 |   private nonisolated(unsafe) let lock = NSLock()
    |           `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'NSLock', consider removing it
 30 |   private nonisolated(unsafe) var _task: Task<Void, Never>?
 31 |
/host/spi-builder-workspace/Sources/PhoenixNectar/PhoenixTransport.swift:113:20: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
110 |     let (stream, continuation) = AsyncStream<TransportEvent>.makeStream(bufferingPolicy: bufferingPolicy)
111 |     await broadcaster.add(continuation, id: id)
112 |     continuation.onTermination = { _ in
    |                                  |- note: 'self' implicitly strongly captured here
    |                                  `- note: add 'self' as a capture list item to silence
113 |       Task { [weak self] in
    |                    |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                    `- note: explicitly assign the capture list item to silence
114 |         await self?.broadcaster.remove(id)
115 |       }
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/host/spi-builder-workspace/Sources/PhoenixNectar/SocketClient.swift:352:20: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 349 |     let (stream, continuation) = AsyncStream<ConnectionState>.makeStream(bufferingPolicy: bufferingPolicy)
 350 |     await stateHub.register(continuation, id: id)
 351 |     continuation.onTermination = { _ in
     |                                  |- note: 'self' implicitly strongly captured here
     |                                  `- note: add 'self' as a capture list item to silence
 352 |       Task { [weak self] in
     |                    |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
     |                    `- note: explicitly assign the capture list item to silence
 353 |         await self?.stateHub.unregister(id: id)
 354 |       }
/host/spi-builder-workspace/Sources/PhoenixNectar/SocketClient.swift:858:38: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 848 |     timeout: Duration
 849 |   ) {
 850 |     Task {
     |          |- note: 'self' implicitly strongly captured here
     |          `- note: add 'self' as a capture list item to silence
 851 |       do {
 852 |         try await send()
     :
 856 |       }
 857 |
 858 |       let timeoutTask = Task { [weak self] in
     |                                      |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
     |                                      `- note: explicitly assign the capture list item to silence
 859 |         do {
 860 |           try await Task.sleep(for: timeout)
/host/spi-builder-workspace/Sources/PhoenixNectar/SocketClient.swift:1329:20: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
1326 |     await topicHub.register(topic: rawTopic, continuation: continuation, id: id)
1327 |
1328 |     let unregister: @Sendable () -> Void = {
     |                                            |- note: 'self' implicitly strongly captured here
     |                                            `- note: add 'self' as a capture list item to silence
1329 |       Task { [weak self] in
     |                    |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
     |                    `- note: explicitly assign the capture list item to silence
1330 |         await self?.topicHub.unregister(topic: rawTopic, id: id)
1331 |       }
/host/spi-builder-workspace/Sources/PhoenixNectar/SocketClient.swift:1354:20: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
1351 |     let (stream, continuation) = AsyncStream<PhoenixBinaryMessage>.makeStream(bufferingPolicy: bufferingPolicy)
1352 |     await binaryTopicHub.register(topic: topic.rawValue, continuation: continuation, id: id)
1353 |     continuation.onTermination = { _ in
     |                                  |- note: 'self' implicitly strongly captured here
     |                                  `- note: add 'self' as a capture list item to silence
1354 |       Task { [weak self] in
     |                    |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
     |                    `- note: explicitly assign the capture list item to silence
1355 |         await self?.binaryTopicHub.unregister(topic: topic.rawValue, id: id)
1356 |       }
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
Build complete! (8.78 secs)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PhoenixNectar",
  "name" : "PhoenixNectar",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "PhoenixNectar",
      "targets" : [
        "PhoenixNectar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "PhoenixNectarTests",
      "module_type" : "SwiftTarget",
      "name" : "PhoenixNectarTests",
      "path" : "Tests/PhoenixNectarTests",
      "sources" : [
        "ClientActorTests.swift",
        "ModernAPITests.swift",
        "PhoenixE2ETests.swift",
        "PhoenixValueTests.swift",
        "Support/TestScheduler.swift",
        "Support/TestTransport.swift"
      ],
      "target_dependencies" : [
        "PhoenixNectar"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PhoenixNectar",
      "module_type" : "SwiftTarget",
      "name" : "PhoenixNectar",
      "path" : "Sources/PhoenixNectar",
      "product_memberships" : [
        "PhoenixNectar"
      ],
      "sources" : [
        "ChannelHandle.swift",
        "ClockScheduler.swift",
        "Defaults.swift",
        "PhoenixAPI.swift",
        "PhoenixErrors.swift",
        "PhoenixEvents.swift",
        "PhoenixMessage.swift",
        "PhoenixNectar.swift",
        "PhoenixTransport.swift",
        "PhoenixValue.swift",
        "SocketClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.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
Done.