The Swift Package Index logo.Swift Package Index

Build Information

Successful build of XMTPRust, reference 0.1.1 (98d41c), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 17:08:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/xmtp/xmtp-rust-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[20 / 29]
[21 / 30] XMTPRust
[31 / 69]
[36 / 69]
[40 / 69]
[41 / 69]
[45 / 69]
[48 / 69]
[50 / 69]
[53 / 69]
[55 / 69]
[56 / 69]
[60 / 69] XMTPRust
[66 / 69] XMTPRust
[69 / 69] XMTPRust-product
Build complete! (6.60 sec)
/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/ApiService.swift:41:13: warning: variable 'envelopeVec' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
42 |         for envStr in envelopes {
43 |             envelopeVec.push(value: envStr.intoRustString())
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
208 |     }
209 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
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.