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 XMTPiOS, reference 4.2.0 (381c21), with Swift 6.1 for macOS (SPM) on 31 May 2025 19:06:48 UTC.

Swift 6 data race errors: 9

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

45 | 		}
46 |
47 | 		let replyEncodedContent = try EncodedContent(serializedData: content.content)
   |                                 |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
   |                                 `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
48 | 		let replyCodec = Client.codecRegistry.find(for: replyEncodedContent.type)
49 | 		let replyContent = try replyCodec.decode(content: replyEncodedContent)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:42:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
 40 | 	}
 41 |
 42 | 	let callback: (FfiConversation) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 43 |
 44 | 	init(callback: @escaping (FfiConversation) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       `- warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Libxmtp/InboxState.swift:11:15: note: consider making struct 'InboxState' conform to the 'Sendable' protocol
 9 | import LibXMTP
10 |
11 | public struct InboxState {
   |               `- note: consider making struct 'InboxState' conform to the 'Sendable' protocol
12 | 	var ffiInboxState: FfiInboxState
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
604 | 	}
605 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'publicIdentity' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:286:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
252 | 		Conversation, Error
253 | 	> {
254 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
255 | 			let ffiStreamActor = FfiStreamActor()
256 | 			let conversationCallback = ConversationStreamCallback {
    :
284 | 			let task = Task {
285 | 				let stream: FfiStreamCloser
286 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
287 | 				case .groups:
288 | 					stream = await ffiConversations.streamGroups(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:267:21: warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
265 | 							try await conversation.conversationType()
266 | 						if conversationType == .dm {
267 | 							continuation.yield(
    |                     |- warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.dmFromFFI.dm' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
268 | 								Conversation.dm(
269 | 									conversation.dmFromFFI(client: self.client))
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:272:21: warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
270 | 							)
271 | 						} else if conversationType == .group {
272 | 							continuation.yield(
    |                     |- warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.groupFromFFI.group' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
273 | 								Conversation.group(
274 | 									conversation.groupFromFFI(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:568:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |                       `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
566 | 			let task = Task {
567 | 				let stream: FfiStreamCloser
568 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
569 | 				case .groups:
570 | 					stream = await ffiConversations.streamAllGroupMessages(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:572:40: warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
570 | 					stream = await ffiConversations.streamAllGroupMessages(
571 | 						messageCallback: messageCallback,
572 |                         consentStates: consentStates?.toFFI
    |                                        |- warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: 'self'-isolated 'consentStates' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
573 | 					)
574 | 				case .dms:
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
604 | 	}
605 |
[311/361] Compiling XMTPiOS ReactionV2Codec.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/RemoteAttachmentCodec.swift:135:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
133 | 			$0.aes256GcmHkdfSha256 = aes256GcmHkdfSha256
134 | 		})
135 | 		return try EncodedContent(serializedData: decrypted)
    |              |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
    |              `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
136 | 	}
137 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/ReplyCodec.swift:47:33: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
45 | 		}
46 |
47 | 		let replyEncodedContent = try EncodedContent(serializedData: content.content)
   |                                 |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
   |                                 `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
48 | 		let replyCodec = Client.codecRegistry.find(for: replyEncodedContent.type)
49 | 		let replyContent = try replyCodec.decode(content: replyEncodedContent)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:42:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
 40 | 	}
 41 |
 42 | 	let callback: (FfiConversation) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 43 |
 44 | 	init(callback: @escaping (FfiConversation) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       `- warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Libxmtp/InboxState.swift:11:15: note: consider making struct 'InboxState' conform to the 'Sendable' protocol
 9 | import LibXMTP
10 |
11 | public struct InboxState {
   |               `- note: consider making struct 'InboxState' conform to the 'Sendable' protocol
12 | 	var ffiInboxState: FfiInboxState
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
604 | 	}
605 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'publicIdentity' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:286:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
252 | 		Conversation, Error
253 | 	> {
254 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
255 | 			let ffiStreamActor = FfiStreamActor()
256 | 			let conversationCallback = ConversationStreamCallback {
    :
284 | 			let task = Task {
285 | 				let stream: FfiStreamCloser
286 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
287 | 				case .groups:
288 | 					stream = await ffiConversations.streamGroups(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:267:21: warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
265 | 							try await conversation.conversationType()
266 | 						if conversationType == .dm {
267 | 							continuation.yield(
    |                     |- warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.dmFromFFI.dm' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
268 | 								Conversation.dm(
269 | 									conversation.dmFromFFI(client: self.client))
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:272:21: warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
270 | 							)
271 | 						} else if conversationType == .group {
272 | 							continuation.yield(
    |                     |- warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.groupFromFFI.group' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
273 | 								Conversation.group(
274 | 									conversation.groupFromFFI(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:568:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |                       `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
566 | 			let task = Task {
567 | 				let stream: FfiStreamCloser
568 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
569 | 				case .groups:
570 | 					stream = await ffiConversations.streamAllGroupMessages(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:572:40: warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
570 | 					stream = await ffiConversations.streamAllGroupMessages(
571 | 						messageCallback: messageCallback,
572 |                         consentStates: consentStates?.toFFI
    |                                        |- warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: 'self'-isolated 'consentStates' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
573 | 					)
574 | 				case .dms:
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
604 | 	}
605 |
[312/361] Compiling XMTPiOS ReadReceiptCodec.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/RemoteAttachmentCodec.swift:135:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
133 | 			$0.aes256GcmHkdfSha256 = aes256GcmHkdfSha256
134 | 		})
135 | 		return try EncodedContent(serializedData: decrypted)
    |              |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
    |              `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
136 | 	}
137 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/ReplyCodec.swift:47:33: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
45 | 		}
46 |
47 | 		let replyEncodedContent = try EncodedContent(serializedData: content.content)
   |                                 |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
   |                                 `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
48 | 		let replyCodec = Client.codecRegistry.find(for: replyEncodedContent.type)
49 | 		let replyContent = try replyCodec.decode(content: replyEncodedContent)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:42:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
 40 | 	}
 41 |
 42 | 	let callback: (FfiConversation) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 43 |
 44 | 	init(callback: @escaping (FfiConversation) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       `- warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Libxmtp/InboxState.swift:11:15: note: consider making struct 'InboxState' conform to the 'Sendable' protocol
 9 | import LibXMTP
10 |
11 | public struct InboxState {
   |               `- note: consider making struct 'InboxState' conform to the 'Sendable' protocol
12 | 	var ffiInboxState: FfiInboxState
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
604 | 	}
605 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'publicIdentity' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:286:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
252 | 		Conversation, Error
253 | 	> {
254 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
255 | 			let ffiStreamActor = FfiStreamActor()
256 | 			let conversationCallback = ConversationStreamCallback {
    :
284 | 			let task = Task {
285 | 				let stream: FfiStreamCloser
286 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
287 | 				case .groups:
288 | 					stream = await ffiConversations.streamGroups(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:267:21: warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
265 | 							try await conversation.conversationType()
266 | 						if conversationType == .dm {
267 | 							continuation.yield(
    |                     |- warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.dmFromFFI.dm' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
268 | 								Conversation.dm(
269 | 									conversation.dmFromFFI(client: self.client))
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:272:21: warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
270 | 							)
271 | 						} else if conversationType == .group {
272 | 							continuation.yield(
    |                     |- warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.groupFromFFI.group' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
273 | 								Conversation.group(
274 | 									conversation.groupFromFFI(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:568:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |                       `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
566 | 			let task = Task {
567 | 				let stream: FfiStreamCloser
568 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
569 | 				case .groups:
570 | 					stream = await ffiConversations.streamAllGroupMessages(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:572:40: warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
570 | 					stream = await ffiConversations.streamAllGroupMessages(
571 | 						messageCallback: messageCallback,
572 |                         consentStates: consentStates?.toFFI
    |                                        |- warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: 'self'-isolated 'consentStates' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
573 | 					)
574 | 				case .dms:
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
604 | 	}
605 |
[313/361] Compiling XMTPiOS RemoteAttachmentCodec.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/RemoteAttachmentCodec.swift:135:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
133 | 			$0.aes256GcmHkdfSha256 = aes256GcmHkdfSha256
134 | 		})
135 | 		return try EncodedContent(serializedData: decrypted)
    |              |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
    |              `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
136 | 	}
137 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/ReplyCodec.swift:47:33: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
45 | 		}
46 |
47 | 		let replyEncodedContent = try EncodedContent(serializedData: content.content)
   |                                 |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
   |                                 `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
48 | 		let replyCodec = Client.codecRegistry.find(for: replyEncodedContent.type)
49 | 		let replyContent = try replyCodec.decode(content: replyEncodedContent)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:42:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
 40 | 	}
 41 |
 42 | 	let callback: (FfiConversation) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 43 |
 44 | 	init(callback: @escaping (FfiConversation) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       `- warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Libxmtp/InboxState.swift:11:15: note: consider making struct 'InboxState' conform to the 'Sendable' protocol
 9 | import LibXMTP
10 |
11 | public struct InboxState {
   |               `- note: consider making struct 'InboxState' conform to the 'Sendable' protocol
12 | 	var ffiInboxState: FfiInboxState
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
604 | 	}
605 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'publicIdentity' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:286:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
252 | 		Conversation, Error
253 | 	> {
254 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
255 | 			let ffiStreamActor = FfiStreamActor()
256 | 			let conversationCallback = ConversationStreamCallback {
    :
284 | 			let task = Task {
285 | 				let stream: FfiStreamCloser
286 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
287 | 				case .groups:
288 | 					stream = await ffiConversations.streamGroups(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:267:21: warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
265 | 							try await conversation.conversationType()
266 | 						if conversationType == .dm {
267 | 							continuation.yield(
    |                     |- warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.dmFromFFI.dm' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
268 | 								Conversation.dm(
269 | 									conversation.dmFromFFI(client: self.client))
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:272:21: warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
270 | 							)
271 | 						} else if conversationType == .group {
272 | 							continuation.yield(
    |                     |- warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.groupFromFFI.group' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
273 | 								Conversation.group(
274 | 									conversation.groupFromFFI(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:568:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |                       `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
566 | 			let task = Task {
567 | 				let stream: FfiStreamCloser
568 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
569 | 				case .groups:
570 | 					stream = await ffiConversations.streamAllGroupMessages(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:572:40: warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
570 | 					stream = await ffiConversations.streamAllGroupMessages(
571 | 						messageCallback: messageCallback,
572 |                         consentStates: consentStates?.toFFI
    |                                        |- warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: 'self'-isolated 'consentStates' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
573 | 					)
574 | 				case .dms:
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
604 | 	}
605 |
[314/361] Compiling XMTPiOS ReplyCodec.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/RemoteAttachmentCodec.swift:135:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
133 | 			$0.aes256GcmHkdfSha256 = aes256GcmHkdfSha256
134 | 		})
135 | 		return try EncodedContent(serializedData: decrypted)
    |              |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
    |              `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
136 | 	}
137 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/ReplyCodec.swift:47:33: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
45 | 		}
46 |
47 | 		let replyEncodedContent = try EncodedContent(serializedData: content.content)
   |                                 |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
   |                                 `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
48 | 		let replyCodec = Client.codecRegistry.find(for: replyEncodedContent.type)
49 | 		let replyContent = try replyCodec.decode(content: replyEncodedContent)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:42:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
 40 | 	}
 41 |
 42 | 	let callback: (FfiConversation) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 43 |
 44 | 	init(callback: @escaping (FfiConversation) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       `- warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Libxmtp/InboxState.swift:11:15: note: consider making struct 'InboxState' conform to the 'Sendable' protocol
 9 | import LibXMTP
10 |
11 | public struct InboxState {
   |               `- note: consider making struct 'InboxState' conform to the 'Sendable' protocol
12 | 	var ffiInboxState: FfiInboxState
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
604 | 	}
605 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'publicIdentity' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:286:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
252 | 		Conversation, Error
253 | 	> {
254 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
255 | 			let ffiStreamActor = FfiStreamActor()
256 | 			let conversationCallback = ConversationStreamCallback {
    :
284 | 			let task = Task {
285 | 				let stream: FfiStreamCloser
286 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
287 | 				case .groups:
288 | 					stream = await ffiConversations.streamGroups(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:267:21: warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
265 | 							try await conversation.conversationType()
266 | 						if conversationType == .dm {
267 | 							continuation.yield(
    |                     |- warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.dmFromFFI.dm' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
268 | 								Conversation.dm(
269 | 									conversation.dmFromFFI(client: self.client))
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:272:21: warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
270 | 							)
271 | 						} else if conversationType == .group {
272 | 							continuation.yield(
    |                     |- warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.groupFromFFI.group' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
273 | 								Conversation.group(
274 | 									conversation.groupFromFFI(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:568:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |                       `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
566 | 			let task = Task {
567 | 				let stream: FfiStreamCloser
568 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
569 | 				case .groups:
570 | 					stream = await ffiConversations.streamAllGroupMessages(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:572:40: warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
570 | 					stream = await ffiConversations.streamAllGroupMessages(
571 | 						messageCallback: messageCallback,
572 |                         consentStates: consentStates?.toFFI
    |                                        |- warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: 'self'-isolated 'consentStates' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
573 | 					)
574 | 				case .dms:
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
604 | 	}
605 |
[315/361] Compiling XMTPiOS TextCodec.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/RemoteAttachmentCodec.swift:135:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
133 | 			$0.aes256GcmHkdfSha256 = aes256GcmHkdfSha256
134 | 		})
135 | 		return try EncodedContent(serializedData: decrypted)
    |              |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
    |              `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
136 | 	}
137 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/ReplyCodec.swift:47:33: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
45 | 		}
46 |
47 | 		let replyEncodedContent = try EncodedContent(serializedData: content.content)
   |                                 |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
   |                                 `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
48 | 		let replyCodec = Client.codecRegistry.find(for: replyEncodedContent.type)
49 | 		let replyContent = try replyCodec.decode(content: replyEncodedContent)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:42:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
 40 | 	}
 41 |
 42 | 	let callback: (FfiConversation) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 43 |
 44 | 	init(callback: @escaping (FfiConversation) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       `- warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Libxmtp/InboxState.swift:11:15: note: consider making struct 'InboxState' conform to the 'Sendable' protocol
 9 | import LibXMTP
10 |
11 | public struct InboxState {
   |               `- note: consider making struct 'InboxState' conform to the 'Sendable' protocol
12 | 	var ffiInboxState: FfiInboxState
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
604 | 	}
605 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'publicIdentity' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:286:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
252 | 		Conversation, Error
253 | 	> {
254 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
255 | 			let ffiStreamActor = FfiStreamActor()
256 | 			let conversationCallback = ConversationStreamCallback {
    :
284 | 			let task = Task {
285 | 				let stream: FfiStreamCloser
286 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
287 | 				case .groups:
288 | 					stream = await ffiConversations.streamGroups(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:267:21: warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
265 | 							try await conversation.conversationType()
266 | 						if conversationType == .dm {
267 | 							continuation.yield(
    |                     |- warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.dmFromFFI.dm' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
268 | 								Conversation.dm(
269 | 									conversation.dmFromFFI(client: self.client))
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:272:21: warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
270 | 							)
271 | 						} else if conversationType == .group {
272 | 							continuation.yield(
    |                     |- warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.groupFromFFI.group' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
273 | 								Conversation.group(
274 | 									conversation.groupFromFFI(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:568:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |                       `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
566 | 			let task = Task {
567 | 				let stream: FfiStreamCloser
568 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
569 | 				case .groups:
570 | 					stream = await ffiConversations.streamAllGroupMessages(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:572:40: warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
570 | 					stream = await ffiConversations.streamAllGroupMessages(
571 | 						messageCallback: messageCallback,
572 |                         consentStates: consentStates?.toFFI
    |                                        |- warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: 'self'-isolated 'consentStates' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
573 | 					)
574 | 				case .dms:
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
604 | 	}
605 |
[316/361] Compiling XMTPiOS Conversation.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/RemoteAttachmentCodec.swift:135:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
133 | 			$0.aes256GcmHkdfSha256 = aes256GcmHkdfSha256
134 | 		})
135 | 		return try EncodedContent(serializedData: decrypted)
    |              |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
    |              `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
136 | 	}
137 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/ReplyCodec.swift:47:33: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
45 | 		}
46 |
47 | 		let replyEncodedContent = try EncodedContent(serializedData: content.content)
   |                                 |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
   |                                 `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
48 | 		let replyCodec = Client.codecRegistry.find(for: replyEncodedContent.type)
49 | 		let replyContent = try replyCodec.decode(content: replyEncodedContent)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:42:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
 40 | 	}
 41 |
 42 | 	let callback: (FfiConversation) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 43 |
 44 | 	init(callback: @escaping (FfiConversation) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       `- warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Libxmtp/InboxState.swift:11:15: note: consider making struct 'InboxState' conform to the 'Sendable' protocol
 9 | import LibXMTP
10 |
11 | public struct InboxState {
   |               `- note: consider making struct 'InboxState' conform to the 'Sendable' protocol
12 | 	var ffiInboxState: FfiInboxState
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
604 | 	}
605 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'publicIdentity' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:286:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
252 | 		Conversation, Error
253 | 	> {
254 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
255 | 			let ffiStreamActor = FfiStreamActor()
256 | 			let conversationCallback = ConversationStreamCallback {
    :
284 | 			let task = Task {
285 | 				let stream: FfiStreamCloser
286 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
287 | 				case .groups:
288 | 					stream = await ffiConversations.streamGroups(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:267:21: warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
265 | 							try await conversation.conversationType()
266 | 						if conversationType == .dm {
267 | 							continuation.yield(
    |                     |- warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.dmFromFFI.dm' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
268 | 								Conversation.dm(
269 | 									conversation.dmFromFFI(client: self.client))
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:272:21: warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
270 | 							)
271 | 						} else if conversationType == .group {
272 | 							continuation.yield(
    |                     |- warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.groupFromFFI.group' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
273 | 								Conversation.group(
274 | 									conversation.groupFromFFI(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:568:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |                       `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
566 | 			let task = Task {
567 | 				let stream: FfiStreamCloser
568 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
569 | 				case .groups:
570 | 					stream = await ffiConversations.streamAllGroupMessages(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:572:40: warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
570 | 					stream = await ffiConversations.streamAllGroupMessages(
571 | 						messageCallback: messageCallback,
572 |                         consentStates: consentStates?.toFFI
    |                                        |- warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: 'self'-isolated 'consentStates' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
573 | 					)
574 | 				case .dms:
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
604 | 	}
605 |
[317/361] Compiling XMTPiOS Conversations.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/RemoteAttachmentCodec.swift:135:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
133 | 			$0.aes256GcmHkdfSha256 = aes256GcmHkdfSha256
134 | 		})
135 | 		return try EncodedContent(serializedData: decrypted)
    |              |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
    |              `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
136 | 	}
137 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/ReplyCodec.swift:47:33: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
45 | 		}
46 |
47 | 		let replyEncodedContent = try EncodedContent(serializedData: content.content)
   |                                 |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
   |                                 `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
48 | 		let replyCodec = Client.codecRegistry.find(for: replyEncodedContent.type)
49 | 		let replyContent = try replyCodec.decode(content: replyEncodedContent)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:42:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
 40 | 	}
 41 |
 42 | 	let callback: (FfiConversation) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 43 |
 44 | 	init(callback: @escaping (FfiConversation) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       `- warning: non-sendable result type 'InboxState' cannot be sent from nonisolated context in call to instance method 'inboxState(refreshFromNetwork:)'; this is an error in the Swift 6 language mode
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Libxmtp/InboxState.swift:11:15: note: consider making struct 'InboxState' conform to the 'Sendable' protocol
 9 | import LibXMTP
10 |
11 | public struct InboxState {
   |               `- note: consider making struct 'InboxState' conform to the 'Sendable' protocol
12 | 	var ffiInboxState: FfiInboxState
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 `- warning: non-sendable result type 'Conversation' cannot be sent from nonisolated context in call to instance method 'toConversation(client:)'; this is an error in the Swift 6 language mode
604 | 	}
605 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversation.swift:4:13: note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  2 | import LibXMTP
  3 |
  4 | public enum Conversation: Identifiable, Equatable, Hashable {
    |             `- note: consider making enum 'Conversation' conform to the 'Sendable' protocol
  5 | 	case group(Group)
  6 | 	case dm(Dm)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:97:34: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 95 | 			let conversation = try ffiClient.conversation(
 96 | 				conversationId: conversationId.hexToData)
 97 | 			return try await conversation.toConversation(client: client)
    |                                  |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 98 | 		} catch {
 99 | 			return nil
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:117:36: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
115 | 					let conversation = try ffiClient.conversation(
116 | 						conversationId: conversationId.hexToData)
117 | 					return try await conversation.toConversation(client: client)
    |                                    |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
118 | 				}
119 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'publicIdentity' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'publicIdentity' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:141:35: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
139 | 	{
140 | 		guard
141 | 			let inboxId = try await client.inboxIdFromIdentity(
    |                                   |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
142 | 				identity: publicIdentity)
143 | 		else {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:244:46: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
242 | 		var conversations: [Conversation] = []
243 | 		for conversation in ffiConversations {
244 | 			let conversation = try await conversation.toConversation(
    |                                              |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
245 | 				client: client)
246 | 			conversations.append(conversation)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:286:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
252 | 		Conversation, Error
253 | 	> {
254 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
255 | 			let ffiStreamActor = FfiStreamActor()
256 | 			let conversationCallback = ConversationStreamCallback {
    :
284 | 			let task = Task {
285 | 				let stream: FfiStreamCloser
286 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
287 | 				case .groups:
288 | 					stream = await ffiConversations.streamGroups(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:267:21: warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
265 | 							try await conversation.conversationType()
266 | 						if conversationType == .dm {
267 | 							continuation.yield(
    |                     |- warning: sending 'conversation.dmFromFFI.dm' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.dmFromFFI.dm' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
268 | 								Conversation.dm(
269 | 									conversation.dmFromFFI(client: self.client))
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:272:21: warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
270 | 							)
271 | 						} else if conversationType == .group {
272 | 							continuation.yield(
    |                     |- warning: sending 'conversation.groupFromFFI.group' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: 'self'-isolated 'conversation.groupFromFFI.group' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
273 | 								Conversation.group(
274 | 									conversation.groupFromFFI(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:328:23: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
326 | 		disappearingMessageSettings: DisappearingMessageSettings? = nil
327 | 	) async throws -> Dm {
328 | 		if try await client.inboxState(refreshFromNetwork: false).identities
    |                       |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
329 | 			.map({ $0.identifier }).contains(peerIdentity.identifier)
330 | 		{
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:568:12: warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |                       `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
566 | 			let task = Task {
567 | 				let stream: FfiStreamCloser
568 | 				switch type {
    |            |- warning: sending 'type' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: 'self'-isolated 'type' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
569 | 				case .groups:
570 | 					stream = await ffiConversations.streamAllGroupMessages(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:572:40: warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
547 | 		-> AsyncThrowingStream<DecodedMessage, Error>
548 | 	{
549 | 		AsyncThrowingStream { continuation in
    |   `- note: access can happen concurrently
550 | 			let ffiStreamActor = FfiStreamActor()
551 |
    :
570 | 					stream = await ffiConversations.streamAllGroupMessages(
571 | 						messageCallback: messageCallback,
572 |                         consentStates: consentStates?.toFFI
    |                                        |- warning: sending 'consentStates' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: 'self'-isolated 'consentStates' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
573 | 					)
574 | 				case .dms:
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:603:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
601 | 			try await ffiConversations
602 | 			.processStreamedWelcomeMessage(envelopeBytes: envelopeBytes)
603 | 		return try await conversation.toConversation(client: client)
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
604 | 	}
605 |
[318/361] Compiling XMTPiOS SendOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/XMTPEnvironment.swift:17:20: warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 	// Optional override for the local environment
17 | 	public static var customLocalAddress: String?
   |                    |- warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'customLocalAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'customLocalAddress' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | 	var address: String {
[319/361] Compiling XMTPiOS SignedData.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/XMTPEnvironment.swift:17:20: warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 	// Optional override for the local environment
17 | 	public static var customLocalAddress: String?
   |                    |- warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'customLocalAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'customLocalAddress' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | 	var address: String {
[320/361] Compiling XMTPiOS SigningKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/XMTPEnvironment.swift:17:20: warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 	// Optional override for the local environment
17 | 	public static var customLocalAddress: String?
   |                    |- warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'customLocalAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'customLocalAddress' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | 	var address: String {
[321/361] Compiling XMTPiOS Topic.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/XMTPEnvironment.swift:17:20: warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 	// Optional override for the local environment
17 | 	public static var customLocalAddress: String?
   |                    |- warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'customLocalAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'customLocalAddress' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | 	var address: String {
[322/361] Compiling XMTPiOS Util.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/XMTPEnvironment.swift:17:20: warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 	// Optional override for the local environment
17 | 	public static var customLocalAddress: String?
   |                    |- warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'customLocalAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'customLocalAddress' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | 	var address: String {
[323/361] Compiling XMTPiOS XMTPEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/XMTPEnvironment.swift:17:20: warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 	// Optional override for the local environment
17 | 	public static var customLocalAddress: String?
   |                    |- warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'customLocalAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'customLocalAddress' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | 	var address: String {
[324/361] Compiling XMTPiOS XMTPLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/XMTPEnvironment.swift:17:20: warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 	// Optional override for the local environment
17 | 	public static var customLocalAddress: String?
   |                    |- warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'customLocalAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'customLocalAddress' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | 	var address: String {
[325/361] Compiling XMTPiOS authn.pb.swift
[326/361] Compiling XMTPiOS message_api.pb.swift
[327/361] Compiling XMTPiOS ciphertext.pb.swift
[328/361] Compiling XMTPiOS composite.pb.swift
[329/361] Compiling XMTPiOS contact.pb.swift
[330/361] Compiling XMTPiOS content.pb.swift
[331/361] Compiling XMTPiOS conversation_reference.pb.swift
[332/361] Emitting module XMTPiOS
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:113:13: warning: static property 'codecRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 |         client: self, ffiClient: ffiClient)
112 |
113 | 	static var codecRegistry = CodecRegistry()
    |             |- warning: static property 'codecRegistry' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'codecRegistry' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'codecRegistry' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | 	public static func register(codec: any ContentCodec) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Conversations.swift:42:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
 40 | 	}
 41 |
 42 | 	let callback: (FfiConversation) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConversationStreamCallback' has non-sendable type '(FfiConversation) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 43 |
 44 | 	init(callback: @escaping (FfiConversation) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Group.swift:9:6: warning: stored property 'callback' of 'Sendable'-conforming class 'MessageCallback' has non-sendable type '(FfiMessage) -> Void'; this is an error in the Swift 6 language mode
  7 | 	}
  8 |
  9 | 	let callback: (LibXMTP.FfiMessage) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'MessageCallback' has non-sendable type '(FfiMessage) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 10 |
 11 | 	init(_ callback: @escaping (LibXMTP.FfiMessage) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:159:6: warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
157 |
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
160 | 	let callback: ([FfiConsent]) -> Void
161 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:160:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
160 | 	let callback: ([FfiConsent]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |
162 | 	init(client: Client, _ callback: @escaping ([FfiConsent]) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:177:6: warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
175 |
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
179 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:178:6: warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |
180 | 	init(client: Client, _ callback: @escaping ([FfiPreferenceUpdate]) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Push/XMTPPush.swift:127:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | #else
126 | public struct XMTPPush {
127 | 	public static var shared = XMTPPush()
    |                    |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | 	private init() {
129 | 		fatalError("XMTPPush not available")
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/XMTPEnvironment.swift:17:20: warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | 	// Optional override for the local environment
17 | 	public static var customLocalAddress: String?
   |                    |- warning: static property 'customLocalAddress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'customLocalAddress' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'customLocalAddress' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | 	var address: String {
[333/361] Compiling XMTPiOS ecies.pb.swift
[334/361] Compiling XMTPiOS frames.pb.swift
[335/361] Compiling XMTPiOS invitation.pb.swift
[336/361] Compiling XMTPiOS message.pb.swift
[337/361] Compiling XMTPiOS private_key.pb.swift
[338/361] Compiling XMTPiOS private_preferences.pb.swift
[339/361] Compiling XMTPiOS public_key.pb.swift
[340/361] Compiling XMTPiOS Member.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:159:6: warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
157 |
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
160 | 	let callback: ([FfiConsent]) -> Void
161 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:160:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
160 | 	let callback: ([FfiConsent]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |
162 | 	init(client: Client, _ callback: @escaping ([FfiConsent]) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:177:6: warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
175 |
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
179 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:178:6: warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |
180 | 	init(client: Client, _ callback: @escaping ([FfiPreferenceUpdate]) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:77:23: warning: result of call to 'syncPreferences()' is unused
 75 |
 76 | 	public func sync() async throws {
 77 | 		try await ffiClient.syncPreferences()
    |                       `- warning: result of call to 'syncPreferences()' is unused
 78 | 	}
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:136:24: warning: immutable value 'key' was never used; consider replacing with '_' or removing it
134 | 				}
135 | 				for preference in records {
136 | 					if case .hmac(let key) = preference {
    |                        `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
137 | 						continuation.yield(.hmac_keys)
138 | 					}
[341/361] Compiling XMTPiOS PermissionPolicySet.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:159:6: warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
157 |
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
160 | 	let callback: ([FfiConsent]) -> Void
161 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:160:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
160 | 	let callback: ([FfiConsent]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |
162 | 	init(client: Client, _ callback: @escaping ([FfiConsent]) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:177:6: warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
175 |
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
179 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:178:6: warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |
180 | 	init(client: Client, _ callback: @escaping ([FfiPreferenceUpdate]) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:77:23: warning: result of call to 'syncPreferences()' is unused
 75 |
 76 | 	public func sync() async throws {
 77 | 		try await ffiClient.syncPreferences()
    |                       `- warning: result of call to 'syncPreferences()' is unused
 78 | 	}
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:136:24: warning: immutable value 'key' was never used; consider replacing with '_' or removing it
134 | 				}
135 | 				for preference in records {
136 | 					if case .hmac(let key) = preference {
    |                        `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
137 | 						continuation.yield(.hmac_keys)
138 | 					}
[342/361] Compiling XMTPiOS PublicIdentity.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:159:6: warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
157 |
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
160 | 	let callback: ([FfiConsent]) -> Void
161 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:160:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
160 | 	let callback: ([FfiConsent]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |
162 | 	init(client: Client, _ callback: @escaping ([FfiConsent]) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:177:6: warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
175 |
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
179 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:178:6: warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |
180 | 	init(client: Client, _ callback: @escaping ([FfiPreferenceUpdate]) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:77:23: warning: result of call to 'syncPreferences()' is unused
 75 |
 76 | 	public func sync() async throws {
 77 | 		try await ffiClient.syncPreferences()
    |                       `- warning: result of call to 'syncPreferences()' is unused
 78 | 	}
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:136:24: warning: immutable value 'key' was never used; consider replacing with '_' or removing it
134 | 				}
135 | 				for preference in records {
136 | 					if case .hmac(let key) = preference {
    |                        `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
137 | 						continuation.yield(.hmac_keys)
138 | 					}
[343/361] Compiling XMTPiOS SignatureRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:159:6: warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
157 |
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
160 | 	let callback: ([FfiConsent]) -> Void
161 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:160:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
160 | 	let callback: ([FfiConsent]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |
162 | 	init(client: Client, _ callback: @escaping ([FfiConsent]) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:177:6: warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
175 |
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
179 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:178:6: warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |
180 | 	init(client: Client, _ callback: @escaping ([FfiPreferenceUpdate]) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:77:23: warning: result of call to 'syncPreferences()' is unused
 75 |
 76 | 	public func sync() async throws {
 77 | 		try await ffiClient.syncPreferences()
    |                       `- warning: result of call to 'syncPreferences()' is unused
 78 | 	}
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:136:24: warning: immutable value 'key' was never used; consider replacing with '_' or removing it
134 | 				}
135 | 				for preference in records {
136 | 					if case .hmac(let key) = preference {
    |                        `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
137 | 						continuation.yield(.hmac_keys)
138 | 					}
[344/361] Compiling XMTPiOS XMTPDebugInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:159:6: warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
157 |
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
160 | 	let callback: ([FfiConsent]) -> Void
161 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:160:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
160 | 	let callback: ([FfiConsent]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |
162 | 	init(client: Client, _ callback: @escaping ([FfiConsent]) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:177:6: warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
175 |
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
179 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:178:6: warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |
180 | 	init(client: Client, _ callback: @escaping ([FfiPreferenceUpdate]) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:77:23: warning: result of call to 'syncPreferences()' is unused
 75 |
 76 | 	public func sync() async throws {
 77 | 		try await ffiClient.syncPreferences()
    |                       `- warning: result of call to 'syncPreferences()' is unused
 78 | 	}
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:136:24: warning: immutable value 'key' was never used; consider replacing with '_' or removing it
134 | 				}
135 | 				for preference in records {
136 | 					if case .hmac(let key) = preference {
    |                        `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
137 | 						continuation.yield(.hmac_keys)
138 | 					}
[345/361] Compiling XMTPiOS PrivateKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:159:6: warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
157 |
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
160 | 	let callback: ([FfiConsent]) -> Void
161 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:160:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
160 | 	let callback: ([FfiConsent]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |
162 | 	init(client: Client, _ callback: @escaping ([FfiConsent]) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:177:6: warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
175 |
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
179 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:178:6: warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |
180 | 	init(client: Client, _ callback: @escaping ([FfiPreferenceUpdate]) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:77:23: warning: result of call to 'syncPreferences()' is unused
 75 |
 76 | 	public func sync() async throws {
 77 | 		try await ffiClient.syncPreferences()
    |                       `- warning: result of call to 'syncPreferences()' is unused
 78 | 	}
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:136:24: warning: immutable value 'key' was never used; consider replacing with '_' or removing it
134 | 				}
135 | 				for preference in records {
136 | 					if case .hmac(let key) = preference {
    |                        `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
137 | 						continuation.yield(.hmac_keys)
138 | 					}
[346/361] Compiling XMTPiOS PrivatePreferences.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:159:6: warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
157 |
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
160 | 	let callback: ([FfiConsent]) -> Void
161 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:160:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
160 | 	let callback: ([FfiConsent]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |
162 | 	init(client: Client, _ callback: @escaping ([FfiConsent]) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:177:6: warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
175 |
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
179 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:178:6: warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |
180 | 	init(client: Client, _ callback: @escaping ([FfiPreferenceUpdate]) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:77:23: warning: result of call to 'syncPreferences()' is unused
 75 |
 76 | 	public func sync() async throws {
 77 | 		try await ffiClient.syncPreferences()
    |                       `- warning: result of call to 'syncPreferences()' is unused
 78 | 	}
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:136:24: warning: immutable value 'key' was never used; consider replacing with '_' or removing it
134 | 				}
135 | 				for preference in records {
136 | 					if case .hmac(let key) = preference {
    |                        `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
137 | 						continuation.yield(.hmac_keys)
138 | 					}
[347/361] Compiling XMTPiOS keystore.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:159:6: warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
157 |
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
160 | 	let callback: ([FfiConsent]) -> Void
161 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:160:6: warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
158 | final class ConsentCallback: FfiConsentCallback {
159 | 	let client: Client
160 | 	let callback: ([FfiConsent]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'ConsentCallback' has non-sendable type '([FfiConsent]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |
162 | 	init(client: Client, _ callback: @escaping ([FfiConsent]) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:177:6: warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
175 |
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
    |      `- warning: stored property 'client' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type 'Client'; this is an error in the Swift 6 language mode
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
179 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:93:20: note: class 'Client' does not conform to the 'Sendable' protocol
 91 | public typealias InboxId = String
 92 |
 93 | public final class Client {
    |                    `- note: class 'Client' does not conform to the 'Sendable' protocol
 94 | 	public let inboxID: InboxId
 95 | 	public let libXMTPVersion: String = getVersionInfo()
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:178:6: warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
176 | final class PreferenceCallback: FfiPreferenceCallback {
177 | 	let client: Client
178 | 	let callback: ([FfiPreferenceUpdate]) -> Void
    |      |- warning: stored property 'callback' of 'Sendable'-conforming class 'PreferenceCallback' has non-sendable type '([FfiPreferenceUpdate]) -> Void'; this is an error in the Swift 6 language mode
    |      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |
180 | 	init(client: Client, _ callback: @escaping ([FfiPreferenceUpdate]) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:77:23: warning: result of call to 'syncPreferences()' is unused
 75 |
 76 | 	public func sync() async throws {
 77 | 		try await ffiClient.syncPreferences()
    |                       `- warning: result of call to 'syncPreferences()' is unused
 78 | 	}
 79 |
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/PrivatePreferences.swift:136:24: warning: immutable value 'key' was never used; consider replacing with '_' or removing it
134 | 				}
135 | 				for preference in records {
136 | 					if case .hmac(let key) = preference {
    |                        `- warning: immutable value 'key' was never used; consider replacing with '_' or removing it
137 | 						continuation.yield(.hmac_keys)
138 | 					}
[348/361] Compiling XMTPiOS group_metadata.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Push/XMTPPush.swift:127:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | #else
126 | public struct XMTPPush {
127 | 	public static var shared = XMTPPush()
    |                    |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | 	private init() {
129 | 		fatalError("XMTPPush not available")
[349/361] Compiling XMTPiOS group_mutable_metadata.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Push/XMTPPush.swift:127:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | #else
126 | public struct XMTPPush {
127 | 	public static var shared = XMTPPush()
    |                    |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | 	private init() {
129 | 		fatalError("XMTPPush not available")
[350/361] Compiling XMTPiOS group_permissions.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Push/XMTPPush.swift:127:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | #else
126 | public struct XMTPPush {
127 | 	public static var shared = XMTPPush()
    |                    |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | 	private init() {
129 | 		fatalError("XMTPPush not available")
[351/361] Compiling XMTPiOS transcript_messages.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Push/XMTPPush.swift:127:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | #else
126 | public struct XMTPPush {
127 | 	public static var shared = XMTPPush()
    |                    |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | 	private init() {
129 | 		fatalError("XMTPPush not available")
[352/361] Compiling XMTPiOS XMTPPush.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Push/XMTPPush.swift:127:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | #else
126 | public struct XMTPPush {
127 | 	public static var shared = XMTPPush()
    |                    |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | 	private init() {
129 | 		fatalError("XMTPPush not available")
[353/361] Compiling XMTPiOS service.connect.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Push/XMTPPush.swift:127:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | #else
126 | public struct XMTPPush {
127 | 	public static var shared = XMTPPush()
    |                    |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | 	private init() {
129 | 		fatalError("XMTPPush not available")
[354/361] Compiling XMTPiOS service.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Push/XMTPPush.swift:127:20: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | #else
126 | public struct XMTPPush {
127 | 	public static var shared = XMTPPush()
    |                    |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | 	private init() {
129 | 		fatalError("XMTPPush not available")
[355/361] Compiling XMTPiOS signature.pb.swift
[356/361] Compiling XMTPiOS signed_payload.pb.swift
[357/361] Compiling XMTPiOS mls.pb.swift
[358/361] Compiling XMTPiOS intents.pb.swift
[359/361] Compiling XMTPiOS association.pb.swift
[360/361] Compiling XMTPiOS credential.pb.swift
[361/361] Compiling XMTPiOS group_membership.pb.swift
[362/363] Compiling XMTPTestHelpers TestHelpers.swift
[363/363] Emitting module XMTPTestHelpers
Build complete! (34.90s)
warning: 'libxmtp-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/libxmtp-swift/Sources/LibXMTP/libxmtp-version.txt
Build complete.
{
  "dependencies" : [
    {
      "identity" : "csecp256k1.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tesseract-one/CSecp256k1.swift.git"
    },
    {
      "identity" : "connect-swift",
      "requirement" : {
        "exact" : [
          "1.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bufbuild/connect-swift"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "exact" : [
          "1.8.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "libxmtp-swift",
      "requirement" : {
        "exact" : [
          "4.2.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xmtp/libxmtp-swift.git"
    }
  ],
  "manifest_display_name" : "XMTPiOS",
  "name" : "XMTPiOS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "XMTPiOS",
      "targets" : [
        "XMTPiOS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XMTPTestHelpers",
      "targets" : [
        "XMTPTestHelpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XMTPiOS",
      "module_type" : "SwiftTarget",
      "name" : "XMTPiOS",
      "path" : "Sources/XMTPiOS",
      "product_dependencies" : [
        "CSecp256k1",
        "Connect",
        "LibXMTP",
        "CryptoSwift"
      ],
      "product_memberships" : [
        "XMTPiOS",
        "XMTPTestHelpers"
      ],
      "sources" : [
        "Client.swift",
        "CodecRegistry.swift",
        "Codecs/AttachmentCodec.swift",
        "Codecs/ContentCodec.swift",
        "Codecs/ContentTypeID.swift",
        "Codecs/EncryptedEncodedContent.swift",
        "Codecs/GroupUpdatedCodec.swift",
        "Codecs/MultiRemoteAttachmentCodec.swift",
        "Codecs/ReactionCodec.swift",
        "Codecs/ReactionV2Codec.swift",
        "Codecs/ReadReceiptCodec.swift",
        "Codecs/RemoteAttachmentCodec.swift",
        "Codecs/ReplyCodec.swift",
        "Codecs/TextCodec.swift",
        "Conversation.swift",
        "Conversations.swift",
        "Crypto.swift",
        "Dm.swift",
        "EncodedContentCompression.swift",
        "Extensions/Data.swift",
        "Extensions/Date.swift",
        "Extensions/Ffi.swift",
        "Extensions/String.swift",
        "Extensions/URL.swift",
        "Group.swift",
        "KeyUtil.swift",
        "Libxmtp/ConversationDebugInfo.swift",
        "Libxmtp/DecodedMessage.swift",
        "Libxmtp/DisappearingMessageSettings.swift",
        "Libxmtp/GroupMembershipResult.swift",
        "Libxmtp/InboxState.swift",
        "Libxmtp/Installation.swift",
        "Libxmtp/Member.swift",
        "Libxmtp/PermissionPolicySet.swift",
        "Libxmtp/PublicIdentity.swift",
        "Libxmtp/SignatureRequest.swift",
        "Libxmtp/XMTPDebugInformation.swift",
        "Messages/PrivateKey.swift",
        "PrivatePreferences.swift",
        "Proto/keystore_api/v1/keystore.pb.swift",
        "Proto/message_api/v1/authn.pb.swift",
        "Proto/message_api/v1/message_api.pb.swift",
        "Proto/message_contents/ciphertext.pb.swift",
        "Proto/message_contents/composite.pb.swift",
        "Proto/message_contents/contact.pb.swift",
        "Proto/message_contents/content.pb.swift",
        "Proto/message_contents/conversation_reference.pb.swift",
        "Proto/message_contents/ecies.pb.swift",
        "Proto/message_contents/frames.pb.swift",
        "Proto/message_contents/invitation.pb.swift",
        "Proto/message_contents/message.pb.swift",
        "Proto/message_contents/private_key.pb.swift",
        "Proto/message_contents/private_preferences.pb.swift",
        "Proto/message_contents/public_key.pb.swift",
        "Proto/message_contents/signature.pb.swift",
        "Proto/message_contents/signed_payload.pb.swift",
        "Proto/mls/api/v1/mls.pb.swift",
        "Proto/mls/database/intents.pb.swift",
        "Proto/mls/message_contents/association.pb.swift",
        "Proto/mls/message_contents/credential.pb.swift",
        "Proto/mls/message_contents/group_membership.pb.swift",
        "Proto/mls/message_contents/group_metadata.pb.swift",
        "Proto/mls/message_contents/group_mutable_metadata.pb.swift",
        "Proto/mls/message_contents/group_permissions.pb.swift",
        "Proto/mls/message_contents/transcript_messages.pb.swift",
        "Push/XMTPPush.swift",
        "Push/service.connect.swift",
        "Push/service.pb.swift",
        "SendOptions.swift",
        "SignedData.swift",
        "SigningKey.swift",
        "Topic.swift",
        "Util.swift",
        "XMTPEnvironment.swift",
        "XMTPLogger.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XMTPTests",
      "module_type" : "SwiftTarget",
      "name" : "XMTPTests",
      "path" : "Tests/XMTPTests",
      "sources" : [
        "AttachmentTests.swift",
        "ClientTests.swift",
        "CodecTests.swift",
        "ConversationTests.swift",
        "CryptoTests.swift",
        "DmTests.swift",
        "GroupPermissionsTests.swift",
        "GroupTests.swift",
        "HistorySyncTests.swift",
        "MultiRemoteAttachmentTest.swift",
        "PerformanceTests.swift",
        "ReactionTests.swift",
        "ReadReceiptTests.swift",
        "RemoteAttachmentTest.swift",
        "ReplyTests.swift"
      ],
      "target_dependencies" : [
        "XMTPiOS",
        "XMTPTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XMTPTestHelpers",
      "module_type" : "SwiftTarget",
      "name" : "XMTPTestHelpers",
      "path" : "Sources/XMTPTestHelpers",
      "product_memberships" : [
        "XMTPTestHelpers"
      ],
      "sources" : [
        "TestHelpers.swift"
      ],
      "target_dependencies" : [
        "XMTPiOS"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.