The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BareRPC, reference 1.1.0 (f3d53a), with Swift 6.1 for Wasm on 14 Aug 2026 04:31:32 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/holepunchto/bare-rpc-swift.git
Reference: 1.1.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/holepunchto/bare-rpc-swift
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at f3d53ad 1.1.0 (#29)
Cloned https://github.com/holepunchto/bare-rpc-swift.git
Revision (git rev-parse @):
f3d53ad205b199e672793a3706cee2c887eb6836
SUCCESS checkout https://github.com/holepunchto/bare-rpc-swift.git at 1.1.0
========================================
Build
========================================
Selected platform:         wasm
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-54344843-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-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.46s)
Computing version for https://github.com/holepunchto/compact-encoding-swift
Computed https://github.com/holepunchto/compact-encoding-swift at 1.0.0 (0.68s)
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] Compiling CompactEncoding Array.swift
[5/16] Compiling CompactEncoding Bool.swift
[6/16] Compiling CompactEncoding Buffer.swift
[7/16] Compiling CompactEncoding Codec.swift
[8/17] Compiling CompactEncoding Primitive.swift
[9/17] Compiling CompactEncoding Record.swift
[10/17] Compiling CompactEncoding Float.swift
[11/17] Compiling CompactEncoding Frame.swift
[12/17] Compiling CompactEncoding Integer.swift
[13/17] Compiling CompactEncoding JSON.swift
[14/17] Compiling CompactEncoding String.swift
[15/17] Compiling CompactEncoding State.swift
[16/17] Emitting module CompactEncoding
[17/17] Compiling CompactEncoding ZigZag.swift
[19/27] Compiling BareRPC RPCError.swift
[20/28] Compiling BareRPC StreamConstants.swift
[21/28] Compiling BareRPC Messages.swift
[22/28] Compiling BareRPC CommandRouter.swift
[23/28] Compiling BareRPC IncomingEvent.swift
[24/28] Compiling BareRPC IncomingStream.swift
[25/28] Emitting module BareRPC
[26/28] Compiling BareRPC IncomingRequest.swift
[27/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 |         }
[28/28] Compiling BareRPC OutgoingStream.swift
Build complete! (5.67s)
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"
}
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Done.