The Swift Package Index logo.Swift Package Index

Build Information

Successful build of XMTPRust, reference 0.1.1 (98d41c), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 14:06:06 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/xmtp/xmtp-rust-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[0/3] Copying libxmtp_rust_swift.a
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/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);
[5/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>
[6/7] Compiling XMTPRust xmtp_rust_swift.swift
[7/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())
Build complete! (3.24s)
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.