The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BareRPC, reference main (2eed57), with Swift 6.1 for Linux on 20 Oct 2026 21:39:04 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:linux-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/holepunchto/bare-rpc-swift.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/holepunchto/bare-rpc-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2eed571 Check the decode-only vectors (#34)
Cloned https://github.com/holepunchto/bare-rpc-swift.git
Revision (git rev-parse @):
2eed57166ad8bf2c349006a344c2350b282b8f28
SUCCESS checkout https://github.com/holepunchto/bare-rpc-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/holepunchto/bare-rpc-swift.git
https://github.com/holepunchto/bare-rpc-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:linux-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
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:2ccba1a98249c90438a7c8a4888192d345af17f27af8250de02cec002ad06687
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Fetching https://github.com/holepunchto/compact-encoding-swift
[1/398] Fetching compact-encoding-swift
Fetched https://github.com/holepunchto/compact-encoding-swift from cache (0.44s)
Computing version for https://github.com/holepunchto/compact-encoding-swift
Computed https://github.com/holepunchto/compact-encoding-swift at 1.0.0 (0.65s)
Creating working copy for https://github.com/holepunchto/compact-encoding-swift
Working copy of https://github.com/holepunchto/compact-encoding-swift resolved at 1.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/16] Emitting module CompactEncoding
[5/17] Compiling CompactEncoding ZigZag.swift
[6/17] Compiling CompactEncoding Primitive.swift
[7/17] Compiling CompactEncoding Record.swift
[8/17] Compiling CompactEncoding Array.swift
[9/17] Compiling CompactEncoding Bool.swift
[10/17] Compiling CompactEncoding Buffer.swift
[11/17] Compiling CompactEncoding Codec.swift
[12/17] Compiling CompactEncoding Float.swift
[13/17] Compiling CompactEncoding Frame.swift
[14/17] Compiling CompactEncoding State.swift
[15/17] Compiling CompactEncoding Integer.swift
[16/17] Compiling CompactEncoding JSON.swift
[17/17] Compiling CompactEncoding String.swift
[19/27] Emitting module BareRPC
[20/27] Compiling BareRPC IncomingRequest.swift
[21/27] Compiling BareRPC CommandRouter.swift
[22/27] Compiling BareRPC IncomingEvent.swift
[23/27] Compiling BareRPC IncomingStream.swift
[24/28] Compiling BareRPC RPCError.swift
[25/28] Compiling BareRPC StreamConstants.swift
[26/28] Compiling BareRPC Messages.swift
[27/28] Compiling BareRPC OutgoingStream.swift
[28/28] Compiling BareRPC RPC.swift
/host/spi-builder-workspace/Sources/BareRPC/RPC.swift:196:27: warning: sending value of non-Sendable type 'any RPCDelegate' risks causing data races; this is an error in the Swift 6 language mode
194 |     Task {
195 |       guard let delegate = self.delegate else { return }
196 |       try? await delegate.rpc(self, didReceiveRequest: incomingRequest)
    |                           |- warning: sending value of non-Sendable type 'any RPCDelegate' risks causing data races; this is an error in the Swift 6 language mode
    |                           `- note: sending 'self'-isolated value of non-Sendable type 'any RPCDelegate' to nonisolated instance method 'rpc(_:didReceiveRequest:)' risks causing races in between 'self'-isolated and nonisolated uses
197 |     }
198 |   }
/host/spi-builder-workspace/Sources/BareRPC/RPC.swift:291:28: warning: sending value of non-Sendable type 'any RPCDelegate' risks causing data races; this is an error in the Swift 6 language mode
289 |           if req.id == 0 {
290 |             let event = IncomingEvent(command: req.command, data: req.data)
291 |             await delegate.rpc(self, didReceiveEvent: event)
    |                            |- warning: sending value of non-Sendable type 'any RPCDelegate' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending 'self'-isolated value of non-Sendable type 'any RPCDelegate' to nonisolated instance method 'rpc(_:didReceiveEvent:)' risks causing races in between 'self'-isolated and nonisolated uses
292 |           } else {
293 |             let incoming = IncomingRequest(
/host/spi-builder-workspace/Sources/BareRPC/RPC.swift:295:33: warning: sending value of non-Sendable type 'any RPCDelegate' risks causing data races; this is an error in the Swift 6 language mode
293 |             let incoming = IncomingRequest(
294 |               id: req.id, command: req.command, data: req.data, rpc: self)
295 |             try? await delegate.rpc(self, didReceiveRequest: incoming)
    |                                 |- warning: sending value of non-Sendable type 'any RPCDelegate' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated value of non-Sendable type 'any RPCDelegate' to nonisolated instance method 'rpc(_:didReceiveRequest:)' risks causing races in between 'self'-isolated and nonisolated uses
296 |           }
297 |         }
Build complete! (4.38s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "compact-encoding-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/holepunchto/compact-encoding-swift"
    }
  ],
  "manifest_display_name" : "BareRPC",
  "name" : "BareRPC",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "BareRPC",
      "targets" : [
        "BareRPC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BareRPCTests",
      "module_type" : "SwiftTarget",
      "name" : "BareRPCTests",
      "path" : "Tests/BareRPCTests",
      "sources" : [
        "BareInteropTests.swift",
        "BidirectionalStreamTests.swift",
        "CommandRouterTests.swift",
        "IncomingStreamTests.swift",
        "InteropFixturesTests.swift",
        "MessagesTests.swift",
        "OutgoingStreamTests.swift",
        "RPCErrorTests.swift",
        "RPCTests.swift",
        "StreamIntegrationTests.swift",
        "StreamMessagesTests.swift",
        "StreamRequestTests.swift",
        "WireVectorsTests.swift"
      ],
      "target_dependencies" : [
        "BareRPC"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BareRPC",
      "module_type" : "SwiftTarget",
      "name" : "BareRPC",
      "path" : "Sources/BareRPC",
      "product_dependencies" : [
        "CompactEncoding"
      ],
      "product_memberships" : [
        "BareRPC"
      ],
      "sources" : [
        "CommandRouter.swift",
        "IncomingEvent.swift",
        "IncomingRequest.swift",
        "IncomingStream.swift",
        "Messages.swift",
        "OutgoingStream.swift",
        "RPC.swift",
        "RPCError.swift",
        "StreamConstants.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:2ccba1a98249c90438a7c8a4888192d345af17f27af8250de02cec002ad06687
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Done.