Build Information
Successful build of XMTPRust, reference 0.3.7-beta0 (e08af6
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 01:31:40 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xmtp/xmtp-rust-swift.git
Reference: 0.3.7-beta0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xmtp/xmtp-rust-swift
* tag 0.3.7-beta0 -> FETCH_HEAD
HEAD is now at e08af69 Merge pull request #15 from xmtp/np/new-user-preferences
Cloned https://github.com/xmtp/xmtp-rust-swift.git
Revision (git rev-parse @):
e08af6942841054ae02a6fe01d90d18e76d5f248
SUCCESS checkout https://github.com/xmtp/xmtp-rust-swift.git at 0.3.7-beta0
========================================
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/606] Fetching xmtp-rust-swift
Fetched https://github.com/xmtp/xmtp-rust-swift.git from cache (110.19s)
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.3.7-beta0 (e08af69)
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.0
Building package at path: $PWD
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.1.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--7754E27361AE5C74.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] 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);
[6/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);
Build complete! (6.29s)
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.