The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of XMTPRust, reference main (e32db6), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 21:22:06 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xmtp/xmtp-rust-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xmtp/xmtp-rust-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e32db6c Update README.md before archiving repo
Cloned https://github.com/xmtp/xmtp-rust-swift.git
Revision (git rev-parse @):
e32db6c27f4b90545455840e9775319f8d4407bc
SUCCESS checkout https://github.com/xmtp/xmtp-rust-swift.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "xmtp-rust-swift",
      "name": "XMTPRust",
      "url": "https://github.com/xmtp/xmtp-rust-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xmtp-rust-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/xmtp/xmtp-rust-swift.git
[1/609] Fetching xmtp-rust-swift
Fetched https://github.com/xmtp/xmtp-rust-swift.git from cache (38.57s)
Creating working copy for https://github.com/xmtp/xmtp-rust-swift.git
Working copy of https://github.com/xmtp/xmtp-rust-swift.git resolved at main (e32db6c)
warning: '.resolve-product-dependencies': dependency 'xmtp-rust-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/xmtp/xmtp-rust-swift.git
https://github.com/xmtp/xmtp-rust-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XMTPRust",
  "name" : "XMTPRust",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "XMTPRust",
      "targets" : [
        "XMTPRust",
        "XMTPRustSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XMTPRustSwift",
      "module_type" : "BinaryTarget",
      "name" : "XMTPRustSwift",
      "path" : "XMTPRustSwift.xcframework",
      "product_memberships" : [
        "XMTPRust"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "XMTPRust_Tests",
      "module_type" : "SwiftTarget",
      "name" : "XMTPRust-Tests",
      "path" : "Tests/XMTPRust-Tests",
      "sources" : [
        "XMTPRust_Tests.swift"
      ],
      "target_dependencies" : [
        "XMTPRust"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XMTPRust",
      "module_type" : "SwiftTarget",
      "name" : "XMTPRust",
      "path" : "Sources/XMTPRust",
      "product_memberships" : [
        "XMTPRust"
      ],
      "sources" : [
        "SwiftBridgeCore.swift",
        "xmtp_rust_swift.swift"
      ],
      "target_dependencies" : [
        "XMTPRustSwift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Copying libxmtp_rust_swift.a
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/6] Compiling XMTPRust xmtp_rust_swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/xmtp_rust_swift.swift:24:26: warning: sending 'rustFnRetVal' risks causing data races; this is an error in the Swift 6 language mode
 22 |     return try await withCheckedThrowingContinuation({ (continuation: CheckedContinuation<RustClient, Error>) in
 23 |         let callback = { rustFnRetVal in
 24 |             continuation.resume(with: rustFnRetVal)
    |                          |- warning: sending 'rustFnRetVal' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: task-isolated 'rustFnRetVal' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 25 |         }
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/xmtp_rust_swift.swift:187:30: warning: sending 'rustFnRetVal' risks causing data races; this is an error in the Swift 6 language mode
185 |         return try await withCheckedThrowingContinuation({ (continuation: CheckedContinuation<RustVec<UInt8>, Error>) in
186 |             let callback = { rustFnRetVal in
187 |                 continuation.resume(with: rustFnRetVal)
    |                              |- warning: sending 'rustFnRetVal' risks causing data races; this is an error in the Swift 6 language mode
    |                              `- note: task-isolated 'rustFnRetVal' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
188 |             }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/xmtp_rust_swift.swift:216:30: warning: sending 'rustFnRetVal' risks causing data races; this is an error in the Swift 6 language mode
214 |         return try await withCheckedThrowingContinuation({ (continuation: CheckedContinuation<RustVec<UInt8>, Error>) in
215 |             let callback = { rustFnRetVal in
216 |                 continuation.resume(with: rustFnRetVal)
    |                              |- warning: sending 'rustFnRetVal' risks causing data races; this is an error in the Swift 6 language mode
    |                              `- note: task-isolated 'rustFnRetVal' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
217 |             }
218 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/xmtp_rust_swift.swift:245:30: warning: sending 'rustFnRetVal' risks causing data races; this is an error in the Swift 6 language mode
243 |         return try await withCheckedThrowingContinuation({ (continuation: CheckedContinuation<RustVec<UInt8>, Error>) in
244 |             let callback = { rustFnRetVal in
245 |                 continuation.resume(with: rustFnRetVal)
    |                              |- warning: sending 'rustFnRetVal' risks causing data races; this is an error in the Swift 6 language mode
    |                              `- note: task-isolated 'rustFnRetVal' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
246 |             }
247 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/xmtp_rust_swift.swift:274:30: warning: sending 'rustFnRetVal' risks causing data races; this is an error in the Swift 6 language mode
272 |         return try await withCheckedThrowingContinuation({ (continuation: CheckedContinuation<RustSubscription, Error>) in
273 |             let callback = { rustFnRetVal in
274 |                 continuation.resume(with: rustFnRetVal)
    |                              |- warning: sending 'rustFnRetVal' risks causing data races; this is an error in the Swift 6 language mode
    |                              `- note: task-isolated 'rustFnRetVal' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
275 |             }
276 |
[5/6] Compiling XMTPRust SwiftBridgeCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/SwiftBridgeCore.swift:25:1: warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'XMTPRustSwift' introduce this conformance in the future
  23 |     }
  24 | }
  25 | extension RustStr: Identifiable {
     | |- warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'XMTPRustSwift' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
  26 |     public var id: String {
  27 |         self.toString()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/SwiftBridgeCore.swift:30:1: warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'XMTPRustSwift' introduce this conformance in the future
  28 |     }
  29 | }
  30 | extension RustStr: Equatable {
     | |- warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'XMTPRustSwift' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
  31 |     public static func == (lhs: RustStr, rhs: RustStr) -> Bool {
  32 |         return __swift_bridge__$RustStr$partial_eq(lhs, rhs);
[6/6] Emitting module XMTPRust
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/SwiftBridgeCore.swift:25:1: warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'XMTPRustSwift' introduce this conformance in the future
  23 |     }
  24 | }
  25 | extension RustStr: Identifiable {
     | |- warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'XMTPRustSwift' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
  26 |     public var id: String {
  27 |         self.toString()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/SwiftBridgeCore.swift:30:1: warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'XMTPRustSwift' introduce this conformance in the future
  28 |     }
  29 | }
  30 | extension RustStr: Equatable {
     | |- warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'XMTPRustSwift' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
  31 |     public static func == (lhs: RustStr, rhs: RustStr) -> Bool {
  32 |         return __swift_bridge__$RustStr$partial_eq(lhs, rhs);
Build complete! (4.81s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XMTPRust",
  "name" : "XMTPRust",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "XMTPRust",
      "targets" : [
        "XMTPRust",
        "XMTPRustSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XMTPRustSwift",
      "module_type" : "BinaryTarget",
      "name" : "XMTPRustSwift",
      "path" : "XMTPRustSwift.xcframework",
      "product_memberships" : [
        "XMTPRust"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "XMTPRust_Tests",
      "module_type" : "SwiftTarget",
      "name" : "XMTPRust-Tests",
      "path" : "Tests/XMTPRust-Tests",
      "sources" : [
        "XMTPRust_Tests.swift"
      ],
      "target_dependencies" : [
        "XMTPRust"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XMTPRust",
      "module_type" : "SwiftTarget",
      "name" : "XMTPRust",
      "path" : "Sources/XMTPRust",
      "product_memberships" : [
        "XMTPRust"
      ],
      "sources" : [
        "SwiftBridgeCore.swift",
        "xmtp_rust_swift.swift"
      ],
      "target_dependencies" : [
        "XMTPRustSwift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.