The Swift Package Index logo.Swift Package Index

Build Information

Successful build of XMTPRust, reference 0.1.1 (98d41c), with Swift 6.3 for macOS (SPM) on 20 Apr 2026 21:36:45 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xmtp/xmtp-rust-swift.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xmtp/xmtp-rust-swift
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 98d41c6 fix: big dumb, forgot to update version in podspec
Cloned https://github.com/xmtp/xmtp-rust-swift.git
Revision (git rev-parse @):
98d41c61d2e0df55c1bc0427636ef5071b0333a0
SUCCESS checkout https://github.com/xmtp/xmtp-rust-swift.git at 0.1.1
========================================
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",
  "traits": [
    "default"
  ],
  "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",
      "traits": [
        "default"
      ],
      "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 (81.14s)
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 0.1.1 (98d41c6)
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.3
Building package at path:  $PWD
https://github.com/xmtp/xmtp-rust-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Copying libxmtp_rust_swift.a
[1/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/7] Compiling XMTPRust SwiftBridgeCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/SwiftBridgeCore.swift:24: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
 22 |     }
 23 | }
 24 | 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
 25 |     public var id: String {
 26 |         self.toString()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/SwiftBridgeCore.swift:29: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
 27 |     }
 28 | }
 29 | 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
 30 |     public static func == (lhs: RustStr, rhs: RustStr) -> Bool {
 31 |         return __swift_bridge__$RustStr$partial_eq(lhs, rhs);
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/SwiftBridgeCore.swift:207:36: warning: initialization of 'UnsafePointer<Element>' results in a dangling pointer [#TemporaryPointers]
205 |     /// ```
206 |     func toUnsafeBufferPointer() -> UnsafeBufferPointer<Element> {
207 |         UnsafeBufferPointer(start: UnsafePointer(self), count: self.count)
    |                                    |             |- note: implicit argument conversion from 'Array<Element>' to 'UnsafePointer<Element>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                    |             `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafePointer<Element>' results in a dangling pointer [#TemporaryPointers]
208 |     }
209 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[5/7] Emitting module XMTPRust
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/SwiftBridgeCore.swift:24: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
 22 |     }
 23 | }
 24 | 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
 25 |     public var id: String {
 26 |         self.toString()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/SwiftBridgeCore.swift:29: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
 27 |     }
 28 | }
 29 | 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
 30 |     public static func == (lhs: RustStr, rhs: RustStr) -> Bool {
 31 |         return __swift_bridge__$RustStr$partial_eq(lhs, rhs);
[6/7] Compiling XMTPRust ApiService.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPRust/ApiService.swift:41:13: warning: variable 'envelopeVec' was never mutated; consider changing to 'let' constant
39 |         // Call XMTPRust.publish_serialized with the given parameters, expect a XMTPRust.ResponseJson object
40 |         // that has { error: String, json: String }
41 |         var envelopeVec = RustVec<RustString>()
   |             `- warning: variable 'envelopeVec' was never mutated; consider changing to 'let' constant
42 |         for envStr in envelopes {
43 |             envelopeVec.push(value: envStr.intoRustString())
[7/7] Compiling XMTPRust xmtp_rust_swift.swift
Build complete! (3.39s)
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" : [
        "ApiService.swift",
        "SwiftBridgeCore.swift",
        "xmtp_rust_swift.swift"
      ],
      "target_dependencies" : [
        "XMTPRustSwift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.