Build Information
Successful build of XMTPiOS, reference main (e1e8bc
), with Swift 6.2 (beta) for macOS (SPM) on 27 Jun 2025 18:29:22 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xmtp/xmtp-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xmtp/xmtp-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e1e8bce bump the version (#526)
Cloned https://github.com/xmtp/xmtp-ios.git
Revision (git rev-parse @):
e1e8bcec12f6a1e9da3c739a1a2162f1c2637b73
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/xmtp/xmtp-ios.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/xmtp/xmtp-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/14] Copying libxmtpv3.a
[3/14] Copying PrivacyInfo.xcprivacy
[3/14] Write sources
[9/14] Copying PrivacyInfo.xcprivacy
[9/14] Write sources
[12/14] Write swift-version-1EA4D86E10B52AF.txt
[13/205] Compiling secp256k1.c
[15/205] Compiling CryptoSwift Shifts.swift
[16/205] Compiling CryptoSwift SquareRoot.swift
[17/205] Compiling CryptoSwift Strideable.swift
[18/205] Compiling CryptoSwift StringConversion.swift
[19/205] Compiling CryptoSwift Subtraction.swift
[20/205] Compiling CryptoSwift WordsAndBits.swift
[21/205] Compiling CryptoSwift ChaCha20.swift
[22/205] Compiling CryptoSwift Checksum.swift
[23/205] Compiling CryptoSwift Cipher.swift
[24/205] Compiling CryptoSwift Collection+Extension.swift
[25/205] Compiling CryptoSwift CompactMap.swift
[26/216] Compiling CryptoSwift Bit.swift
[27/216] Compiling CryptoSwift BlockCipher.swift
[28/216] Compiling CryptoSwift BlockDecryptor.swift
[29/216] Compiling CryptoSwift BlockEncryptor.swift
[30/216] Compiling CryptoSwift BlockMode.swift
[31/216] Compiling CryptoSwift BlockModeOptions.swift
[32/216] Compiling CryptoSwift CBC.swift
[33/216] Compiling CryptoSwift CCM.swift
[34/216] Compiling CryptoSwift CFB.swift
[35/216] Compiling CryptoSwift CTR.swift
[36/216] Compiling CryptoSwift CipherModeWorker.swift
[37/216] Compiling CryptoSwift ECB.swift
[38/216] Compiling CryptoSwift Cryptor.swift
[39/216] Compiling CryptoSwift Cryptors.swift
[40/216] Compiling CryptoSwift Digest.swift
[41/216] Compiling CryptoSwift DigestType.swift
[42/216] Compiling SwiftProtobuf any.pb.swift
[43/216] Compiling SwiftProtobuf api.pb.swift
[44/216] Compiling SwiftProtobuf descriptor.pb.swift
[45/216] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[46/216] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[47/216] Compiling SwiftProtobuf HashVisitor.swift
[48/216] Compiling SwiftProtobuf Internal.swift
[49/216] Compiling SwiftProtobuf JSONDecoder.swift
[50/216] Compiling SwiftProtobuf JSONDecodingError.swift
[51/216] Compiling SwiftProtobuf JSONDecodingOptions.swift
[52/216] Compiling SwiftProtobuf JSONEncoder.swift
[53/216] Compiling SwiftProtobuf JSONEncodingError.swift
[54/216] Compiling SwiftProtobuf PathVisitor.swift
[55/216] Compiling SwiftProtobuf ProtoNameProviding.swift
[56/216] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[57/216] Compiling SwiftProtobuf ProtobufMap.swift
[58/216] Compiling SwiftProtobuf SelectiveVisitor.swift
[59/216] Compiling SwiftProtobuf SimpleExtensionMap.swift
[60/216] Compiling CryptoSwift DataConversion.swift
[61/216] Compiling CryptoSwift Division.swift
[62/216] Compiling CryptoSwift Exponentiation.swift
[63/216] Compiling CryptoSwift FloatingPointConversion.swift
[64/216] Compiling CryptoSwift GCD.swift
[65/216] Compiling CryptoSwift Hashable.swift
[66/216] Compiling CryptoSwift IntegerConversion.swift
[67/216] Compiling CryptoSwift Multiplication.swift
[68/216] Compiling CryptoSwift PrimeTest.swift
[84/216] Compiling SwiftProtobuf StringUtils.swift
[85/216] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[86/216] Compiling SwiftProtobuf SwiftProtobufError.swift
[87/225] Compiling CryptoSwift AEAD.swift
[88/225] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[89/225] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[90/225] Compiling CryptoSwift AES.Cryptors.swift
[91/225] Compiling CryptoSwift AES.swift
[92/225] Compiling CryptoSwift ASN1.swift
[93/225] Compiling CryptoSwift ASN1Decoder.swift
[94/225] Compiling CryptoSwift ASN1Encoder.swift
[95/225] Compiling CryptoSwift ASN1Scanner.swift
[96/225] Compiling CryptoSwift Array+Extension.swift
[97/225] Compiling CryptoSwift Codable.swift
[98/225] Compiling CryptoSwift Comparable.swift
[108/225] Compiling CryptoSwift Random.swift
[109/225] Compiling CryptoSwift GCM.swift
[110/225] Compiling CryptoSwift OCB.swift
[111/225] Compiling CryptoSwift OFB.swift
[112/225] Compiling CryptoSwift PCBC.swift
[113/225] Compiling CryptoSwift Blowfish.swift
[114/225] Compiling CryptoSwift CBCMAC.swift
[115/225] Compiling CryptoSwift CMAC.swift
[116/225] Compiling CryptoSwift Addition.swift
[117/225] Compiling CryptoSwift BigInt.swift
[118/225] Compiling CryptoSwift BigUInt.swift
[119/225] Compiling CryptoSwift BitwiseOps.swift
[120/225] Compiling CryptoSwift CS.swift
[121/225] Compiling CryptoSwift Authenticator.swift
[122/225] Compiling CryptoSwift BatchedCollection.swift
[131/225] Emitting module CryptoSwift
[144/225] Emitting module SwiftProtobuf
[163/225] Compiling CryptoSwift String+Extension.swift
[164/225] Compiling CryptoSwift UInt128.swift
[165/225] Compiling CryptoSwift UInt16+Extension.swift
[166/225] Compiling CryptoSwift UInt32+Extension.swift
[167/225] Compiling CryptoSwift UInt64+Extension.swift
[168/225] Compiling CryptoSwift UInt8+Extension.swift
[169/225] Compiling CryptoSwift Updatable.swift
[170/225] Compiling CryptoSwift Utils.swift
[171/225] Compiling CryptoSwift XChaCha20.swift
[172/225] Compiling CryptoSwift ZeroPadding.swift
[173/225] Compiling CryptoSwift resource_bundle_accessor.swift
[177/225] Compiling SwiftProtobuf duration.pb.swift
[178/225] Compiling SwiftProtobuf empty.pb.swift
[179/225] Compiling SwiftProtobuf field_mask.pb.swift
[180/225] Compiling SwiftProtobuf source_context.pb.swift
[181/225] Compiling SwiftProtobuf struct.pb.swift
[182/225] Compiling SwiftProtobuf timestamp.pb.swift
[183/225] Compiling SwiftProtobuf type.pb.swift
[184/225] Compiling SwiftProtobuf wrappers.pb.swift
[185/225] Compiling SwiftProtobuf resource_bundle_accessor.swift
[186/225] Compiling CryptoSwift RSA.swift
[187/225] Compiling CryptoSwift Rabbit.swift
[188/225] Compiling CryptoSwift SHA1.swift
[189/225] Compiling CryptoSwift SHA2.swift
[190/225] Compiling CryptoSwift SHA3.swift
[191/225] Compiling CryptoSwift Scrypt.swift
[192/225] Compiling CryptoSwift SecureBytes.swift
[193/225] Compiling CryptoSwift Signature.swift
[194/225] Compiling CryptoSwift StreamDecryptor.swift
[195/225] Compiling CryptoSwift StreamEncryptor.swift
[205/225] Compiling LibXMTP xmtpv3.swift
[206/225] Emitting module LibXMTP
[226/280] Compiling Connect HeaderConstants.swift
[227/280] Compiling Connect Headers.swift
[228/280] Compiling Connect IdempotencyLevel.swift
[229/280] Compiling Connect Interceptor.swift
[230/280] Compiling Connect InterceptorFactory.swift
[231/280] Compiling Connect StreamInterceptor.swift
[232/285] Compiling Connect ResponseMessage.swift
[233/285] Compiling Connect BidirectionalAsyncStreamInterface.swift
[234/285] Compiling Connect ClientOnlyAsyncStreamInterface.swift
[235/285] Compiling Connect ServerOnlyAsyncStreamInterface.swift
[236/285] Compiling Connect BidirectionalStreamInterface.swift
[237/285] Compiling Connect ClientOnlyStreamInterface.swift
[238/285] Compiling Connect URLSessionStream.swift
[239/285] Compiling Connect UnaryAsyncWrapper.swift
[240/285] Compiling Connect Lock.swift
[241/285] Compiling Connect Locked.swift
[242/285] Compiling Connect TimeoutTimer.swift
[243/285] Compiling Connect ConnectError+GRPC.swift
[244/285] Compiling Connect RequestCallbacks.swift
[245/285] Compiling Connect ResponseCallbacks.swift
[246/285] Compiling Connect ServerOnlyStreamInterface.swift
[247/285] Compiling Connect StreamResult.swift
[248/285] Compiling Connect Trailers.swift
[249/285] Emitting module Connect
[250/285] Compiling Connect ClientOnlyAsyncStream.swift
[251/285] Compiling Connect ClientOnlyStream.swift
[252/285] Compiling Connect ClientOnlyStreamValidation.swift
[253/285] Compiling Connect ConnectEndStreamResponse.swift
[254/285] Compiling Connect ServerOnlyAsyncStream.swift
[255/285] Compiling Connect ServerOnlyStream.swift
[256/285] Compiling Connect ProtoCodec.swift
[257/285] Compiling Connect GzipCompressionPool.swift
[258/285] Compiling Connect Cancelable.swift
[259/285] Compiling Connect Code.swift
[260/285] Compiling Connect Codec.swift
[261/285] Compiling Connect CompressionPool.swift
[262/285] Compiling Connect UnaryInterceptor.swift
[263/285] Compiling Connect MethodSpec.swift
[264/285] Compiling Connect NetworkProtocol.swift
[265/285] Compiling Connect ProtobufMessage.swift
[266/285] Compiling Connect ProtocolClientConfig.swift
[267/285] Compiling Connect ProtocolClientInterface.swift
[268/285] Compiling Connect status.pb.swift
[269/285] Compiling Connect ConnectInterceptor.swift
[270/285] Compiling Connect GRPCWebInterceptor.swift
[271/285] Compiling Connect InterceptorChain.swift
[272/285] Compiling Connect BidirectionalAsyncStream.swift
[273/285] Compiling Connect BidirectionalStream.swift
[274/285] Compiling Connect ConnectError.swift
[275/285] Compiling Connect HTTPClientInterface.swift
[276/285] Compiling Connect HTTPMethod.swift
[277/285] Compiling Connect HTTPMetrics.swift
[278/285] Compiling Connect HTTPRequest.swift
[279/285] Compiling Connect HTTPResponse.swift
[280/285] Compiling Connect Envelope.swift
[281/285] Compiling Connect Headers+GRPC.swift
[282/285] Compiling Connect Trailers+gRPC.swift
[283/285] Compiling Connect ProtocolClient.swift
[284/285] Compiling Connect URLSessionHTTPClient.swift
[285/285] Compiling Connect JSONCodec.swift
[286/354] Compiling XMTPiOS Group.swift
/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/KeyUtil.swift:121:22: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
119 | outputWithRecidPtr.deallocate()
120 | }
121 | outputWithRecidPtr.assign(from: outputPtr, count: 64)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
122 | outputWithRecidPtr.advanced(by: 64).pointee = UInt8(recid)
123 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[287/354] Compiling XMTPiOS KeyUtil.swift
/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/KeyUtil.swift:121:22: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
119 | outputWithRecidPtr.deallocate()
120 | }
121 | outputWithRecidPtr.assign(from: outputPtr, count: 64)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
122 | outputWithRecidPtr.advanced(by: 64).pointee = UInt8(recid)
123 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[288/354] Compiling XMTPiOS ConversationDebugInfo.swift
/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/KeyUtil.swift:121:22: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
119 | outputWithRecidPtr.deallocate()
120 | }
121 | outputWithRecidPtr.assign(from: outputPtr, count: 64)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
122 | outputWithRecidPtr.advanced(by: 64).pointee = UInt8(recid)
123 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[289/354] Compiling XMTPiOS DecodedMessage.swift
/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/KeyUtil.swift:121:22: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
119 | outputWithRecidPtr.deallocate()
120 | }
121 | outputWithRecidPtr.assign(from: outputPtr, count: 64)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
122 | outputWithRecidPtr.advanced(by: 64).pointee = UInt8(recid)
123 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[290/354] Compiling XMTPiOS DisappearingMessageSettings.swift
/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/KeyUtil.swift:121:22: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
119 | outputWithRecidPtr.deallocate()
120 | }
121 | outputWithRecidPtr.assign(from: outputPtr, count: 64)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
122 | outputWithRecidPtr.advanced(by: 64).pointee = UInt8(recid)
123 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[291/354] Compiling XMTPiOS GroupMembershipResult.swift
/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/KeyUtil.swift:121:22: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
119 | outputWithRecidPtr.deallocate()
120 | }
121 | outputWithRecidPtr.assign(from: outputPtr, count: 64)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
122 | outputWithRecidPtr.advanced(by: 64).pointee = UInt8(recid)
123 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[292/354] Compiling XMTPiOS InboxState.swift
/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/KeyUtil.swift:121:22: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
119 | outputWithRecidPtr.deallocate()
120 | }
121 | outputWithRecidPtr.assign(from: outputPtr, count: 64)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
122 | outputWithRecidPtr.advanced(by: 64).pointee = UInt8(recid)
123 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[293/354] Compiling XMTPiOS Installation.swift
/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/KeyUtil.swift:121:22: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
119 | outputWithRecidPtr.deallocate()
120 | }
121 | outputWithRecidPtr.assign(from: outputPtr, count: 64)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
122 | outputWithRecidPtr.advanced(by: 64).pointee = UInt8(recid)
123 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[294/361] Compiling XMTPiOS Crypto.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Dm.swift:397:13: warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
395 |
396 | public func getPushTopics() async throws -> [String] {
397 | var duplicates = try await ffiConversation.findDuplicateDms()
| `- warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
398 | var topicIds = duplicates.map { $0.id().toHex }
399 | topicIds.append(id)
[295/361] Compiling XMTPiOS Dm.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Dm.swift:397:13: warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
395 |
396 | public func getPushTopics() async throws -> [String] {
397 | var duplicates = try await ffiConversation.findDuplicateDms()
| `- warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
398 | var topicIds = duplicates.map { $0.id().toHex }
399 | topicIds.append(id)
[296/361] Compiling XMTPiOS EncodedContentCompression.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Dm.swift:397:13: warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
395 |
396 | public func getPushTopics() async throws -> [String] {
397 | var duplicates = try await ffiConversation.findDuplicateDms()
| `- warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
398 | var topicIds = duplicates.map { $0.id().toHex }
399 | topicIds.append(id)
[297/361] Compiling XMTPiOS Data.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Dm.swift:397:13: warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
395 |
396 | public func getPushTopics() async throws -> [String] {
397 | var duplicates = try await ffiConversation.findDuplicateDms()
| `- warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
398 | var topicIds = duplicates.map { $0.id().toHex }
399 | topicIds.append(id)
[298/361] Compiling XMTPiOS Date.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Dm.swift:397:13: warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
395 |
396 | public func getPushTopics() async throws -> [String] {
397 | var duplicates = try await ffiConversation.findDuplicateDms()
| `- warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
398 | var topicIds = duplicates.map { $0.id().toHex }
399 | topicIds.append(id)
[299/361] Compiling XMTPiOS Ffi.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Dm.swift:397:13: warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
395 |
396 | public func getPushTopics() async throws -> [String] {
397 | var duplicates = try await ffiConversation.findDuplicateDms()
| `- warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
398 | var topicIds = duplicates.map { $0.id().toHex }
399 | topicIds.append(id)
[300/361] Compiling XMTPiOS String.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Dm.swift:397:13: warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
395 |
396 | public func getPushTopics() async throws -> [String] {
397 | var duplicates = try await ffiConversation.findDuplicateDms()
| `- warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
398 | var topicIds = duplicates.map { $0.id().toHex }
399 | topicIds.append(id)
[301/361] Compiling XMTPiOS URL.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Dm.swift:397:13: warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
395 |
396 | public func getPushTopics() async throws -> [String] {
397 | var duplicates = try await ffiConversation.findDuplicateDms()
| `- warning: variable 'duplicates' was never mutated; consider changing to 'let' constant
398 | var topicIds = duplicates.map { $0.id().toHex }
399 | topicIds.append(id)
[302/361] Compiling XMTPiOS Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:282:7: warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
280 | let alias = "xmtp-\(options.api.env.rawValue)-\(inboxId).db3"
281 | var dbURL = directoryURL.appendingPathComponent(alias).path
282 | var fileExists = FileManager.default.fileExists(atPath: dbURL)
| `- warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
283 |
284 | if !fileExists {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:555:36: warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
553 | recoveryAccount: SigningKey, identityToRemove: PublicIdentity
554 | ) async throws {
555 | let signatureRequest = try await ffiRevokeIdentity(
| `- warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
556 | identityToRemove: identityToRemove)
557 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:561:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
559 | for: signatureRequest.ffiSignatureRequest,
560 | signingKey: recoveryAccount)
561 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
562 | signatureRequest: signatureRequest)
563 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:571:36: warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
569 | public func revokeAllOtherInstallations(signingKey: SigningKey) async throws
570 | {
571 | let signatureRequest = try await ffiRevokeAllOtherInstallations()
| `- warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
572 | do {
573 | try await Client.handleSignature(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:576:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
574 | for: signatureRequest.ffiSignatureRequest,
575 | signingKey: signingKey)
576 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
577 | signatureRequest: signatureRequest)
578 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:588:36: warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
586 | ) async throws {
587 | let installations = installationIds.map { $0.hexToData }
588 | let signatureRequest = try await ffiRevokeInstallations(
| `- warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
589 | ids: installations)
590 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:594:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
592 | for: signatureRequest.ffiSignatureRequest,
593 | signingKey: signingKey)
594 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
595 | signatureRequest: signatureRequest)
596 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:621:7: warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
619 |
620 | public func deleteLocalDatabase() throws {
621 | try dropLocalDatabaseConnection()
| `- warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
622 | let fm = FileManager.default
623 | try fm.removeItem(atPath: dbPath)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:993:5: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
991 | do {
992 | deactivatePersistentLibXMTPLogWriter()
993 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
994 | // Log writer might not be active, continue with deletion
995 | }
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/GroupUpdatedCodec.swift:32:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
30 |
31 | public func decode(content: EncodedContent) throws -> GroupUpdated {
32 | return try GroupUpdated(serializedData: content.content)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
33 | }
34 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[303/361] Compiling XMTPiOS CodecRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:282:7: warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
280 | let alias = "xmtp-\(options.api.env.rawValue)-\(inboxId).db3"
281 | var dbURL = directoryURL.appendingPathComponent(alias).path
282 | var fileExists = FileManager.default.fileExists(atPath: dbURL)
| `- warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
283 |
284 | if !fileExists {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:555:36: warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
553 | recoveryAccount: SigningKey, identityToRemove: PublicIdentity
554 | ) async throws {
555 | let signatureRequest = try await ffiRevokeIdentity(
| `- warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
556 | identityToRemove: identityToRemove)
557 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:561:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
559 | for: signatureRequest.ffiSignatureRequest,
560 | signingKey: recoveryAccount)
561 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
562 | signatureRequest: signatureRequest)
563 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:571:36: warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
569 | public func revokeAllOtherInstallations(signingKey: SigningKey) async throws
570 | {
571 | let signatureRequest = try await ffiRevokeAllOtherInstallations()
| `- warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
572 | do {
573 | try await Client.handleSignature(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:576:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
574 | for: signatureRequest.ffiSignatureRequest,
575 | signingKey: signingKey)
576 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
577 | signatureRequest: signatureRequest)
578 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:588:36: warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
586 | ) async throws {
587 | let installations = installationIds.map { $0.hexToData }
588 | let signatureRequest = try await ffiRevokeInstallations(
| `- warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
589 | ids: installations)
590 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:594:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
592 | for: signatureRequest.ffiSignatureRequest,
593 | signingKey: signingKey)
594 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
595 | signatureRequest: signatureRequest)
596 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:621:7: warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
619 |
620 | public func deleteLocalDatabase() throws {
621 | try dropLocalDatabaseConnection()
| `- warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
622 | let fm = FileManager.default
623 | try fm.removeItem(atPath: dbPath)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:993:5: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
991 | do {
992 | deactivatePersistentLibXMTPLogWriter()
993 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
994 | // Log writer might not be active, continue with deletion
995 | }
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/GroupUpdatedCodec.swift:32:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
30 |
31 | public func decode(content: EncodedContent) throws -> GroupUpdated {
32 | return try GroupUpdated(serializedData: content.content)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
33 | }
34 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[304/361] Compiling XMTPiOS AttachmentCodec.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:282:7: warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
280 | let alias = "xmtp-\(options.api.env.rawValue)-\(inboxId).db3"
281 | var dbURL = directoryURL.appendingPathComponent(alias).path
282 | var fileExists = FileManager.default.fileExists(atPath: dbURL)
| `- warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
283 |
284 | if !fileExists {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:555:36: warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
553 | recoveryAccount: SigningKey, identityToRemove: PublicIdentity
554 | ) async throws {
555 | let signatureRequest = try await ffiRevokeIdentity(
| `- warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
556 | identityToRemove: identityToRemove)
557 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:561:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
559 | for: signatureRequest.ffiSignatureRequest,
560 | signingKey: recoveryAccount)
561 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
562 | signatureRequest: signatureRequest)
563 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:571:36: warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
569 | public func revokeAllOtherInstallations(signingKey: SigningKey) async throws
570 | {
571 | let signatureRequest = try await ffiRevokeAllOtherInstallations()
| `- warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
572 | do {
573 | try await Client.handleSignature(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:576:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
574 | for: signatureRequest.ffiSignatureRequest,
575 | signingKey: signingKey)
576 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
577 | signatureRequest: signatureRequest)
578 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:588:36: warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
586 | ) async throws {
587 | let installations = installationIds.map { $0.hexToData }
588 | let signatureRequest = try await ffiRevokeInstallations(
| `- warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
589 | ids: installations)
590 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:594:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
592 | for: signatureRequest.ffiSignatureRequest,
593 | signingKey: signingKey)
594 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
595 | signatureRequest: signatureRequest)
596 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:621:7: warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
619 |
620 | public func deleteLocalDatabase() throws {
621 | try dropLocalDatabaseConnection()
| `- warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
622 | let fm = FileManager.default
623 | try fm.removeItem(atPath: dbPath)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:993:5: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
991 | do {
992 | deactivatePersistentLibXMTPLogWriter()
993 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
994 | // Log writer might not be active, continue with deletion
995 | }
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/GroupUpdatedCodec.swift:32:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
30 |
31 | public func decode(content: EncodedContent) throws -> GroupUpdated {
32 | return try GroupUpdated(serializedData: content.content)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
33 | }
34 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[305/361] Compiling XMTPiOS ContentCodec.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:282:7: warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
280 | let alias = "xmtp-\(options.api.env.rawValue)-\(inboxId).db3"
281 | var dbURL = directoryURL.appendingPathComponent(alias).path
282 | var fileExists = FileManager.default.fileExists(atPath: dbURL)
| `- warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
283 |
284 | if !fileExists {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:555:36: warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
553 | recoveryAccount: SigningKey, identityToRemove: PublicIdentity
554 | ) async throws {
555 | let signatureRequest = try await ffiRevokeIdentity(
| `- warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
556 | identityToRemove: identityToRemove)
557 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:561:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
559 | for: signatureRequest.ffiSignatureRequest,
560 | signingKey: recoveryAccount)
561 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
562 | signatureRequest: signatureRequest)
563 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:571:36: warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
569 | public func revokeAllOtherInstallations(signingKey: SigningKey) async throws
570 | {
571 | let signatureRequest = try await ffiRevokeAllOtherInstallations()
| `- warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
572 | do {
573 | try await Client.handleSignature(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:576:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
574 | for: signatureRequest.ffiSignatureRequest,
575 | signingKey: signingKey)
576 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
577 | signatureRequest: signatureRequest)
578 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:588:36: warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
586 | ) async throws {
587 | let installations = installationIds.map { $0.hexToData }
588 | let signatureRequest = try await ffiRevokeInstallations(
| `- warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
589 | ids: installations)
590 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:594:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
592 | for: signatureRequest.ffiSignatureRequest,
593 | signingKey: signingKey)
594 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
595 | signatureRequest: signatureRequest)
596 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:621:7: warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
619 |
620 | public func deleteLocalDatabase() throws {
621 | try dropLocalDatabaseConnection()
| `- warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
622 | let fm = FileManager.default
623 | try fm.removeItem(atPath: dbPath)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:993:5: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
991 | do {
992 | deactivatePersistentLibXMTPLogWriter()
993 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
994 | // Log writer might not be active, continue with deletion
995 | }
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/GroupUpdatedCodec.swift:32:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
30 |
31 | public func decode(content: EncodedContent) throws -> GroupUpdated {
32 | return try GroupUpdated(serializedData: content.content)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
33 | }
34 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[306/361] Compiling XMTPiOS ContentTypeID.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:282:7: warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
280 | let alias = "xmtp-\(options.api.env.rawValue)-\(inboxId).db3"
281 | var dbURL = directoryURL.appendingPathComponent(alias).path
282 | var fileExists = FileManager.default.fileExists(atPath: dbURL)
| `- warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
283 |
284 | if !fileExists {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:555:36: warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
553 | recoveryAccount: SigningKey, identityToRemove: PublicIdentity
554 | ) async throws {
555 | let signatureRequest = try await ffiRevokeIdentity(
| `- warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
556 | identityToRemove: identityToRemove)
557 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:561:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
559 | for: signatureRequest.ffiSignatureRequest,
560 | signingKey: recoveryAccount)
561 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
562 | signatureRequest: signatureRequest)
563 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:571:36: warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
569 | public func revokeAllOtherInstallations(signingKey: SigningKey) async throws
570 | {
571 | let signatureRequest = try await ffiRevokeAllOtherInstallations()
| `- warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
572 | do {
573 | try await Client.handleSignature(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:576:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
574 | for: signatureRequest.ffiSignatureRequest,
575 | signingKey: signingKey)
576 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
577 | signatureRequest: signatureRequest)
578 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:588:36: warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
586 | ) async throws {
587 | let installations = installationIds.map { $0.hexToData }
588 | let signatureRequest = try await ffiRevokeInstallations(
| `- warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
589 | ids: installations)
590 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:594:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
592 | for: signatureRequest.ffiSignatureRequest,
593 | signingKey: signingKey)
594 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
595 | signatureRequest: signatureRequest)
596 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:621:7: warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
619 |
620 | public func deleteLocalDatabase() throws {
621 | try dropLocalDatabaseConnection()
| `- warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
622 | let fm = FileManager.default
623 | try fm.removeItem(atPath: dbPath)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:993:5: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
991 | do {
992 | deactivatePersistentLibXMTPLogWriter()
993 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
994 | // Log writer might not be active, continue with deletion
995 | }
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/GroupUpdatedCodec.swift:32:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
30 |
31 | public func decode(content: EncodedContent) throws -> GroupUpdated {
32 | return try GroupUpdated(serializedData: content.content)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
33 | }
34 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[307/361] Compiling XMTPiOS EncryptedEncodedContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:282:7: warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
280 | let alias = "xmtp-\(options.api.env.rawValue)-\(inboxId).db3"
281 | var dbURL = directoryURL.appendingPathComponent(alias).path
282 | var fileExists = FileManager.default.fileExists(atPath: dbURL)
| `- warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
283 |
284 | if !fileExists {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:555:36: warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
553 | recoveryAccount: SigningKey, identityToRemove: PublicIdentity
554 | ) async throws {
555 | let signatureRequest = try await ffiRevokeIdentity(
| `- warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
556 | identityToRemove: identityToRemove)
557 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:561:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
559 | for: signatureRequest.ffiSignatureRequest,
560 | signingKey: recoveryAccount)
561 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
562 | signatureRequest: signatureRequest)
563 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:571:36: warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
569 | public func revokeAllOtherInstallations(signingKey: SigningKey) async throws
570 | {
571 | let signatureRequest = try await ffiRevokeAllOtherInstallations()
| `- warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
572 | do {
573 | try await Client.handleSignature(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:576:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
574 | for: signatureRequest.ffiSignatureRequest,
575 | signingKey: signingKey)
576 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
577 | signatureRequest: signatureRequest)
578 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:588:36: warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
586 | ) async throws {
587 | let installations = installationIds.map { $0.hexToData }
588 | let signatureRequest = try await ffiRevokeInstallations(
| `- warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
589 | ids: installations)
590 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:594:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
592 | for: signatureRequest.ffiSignatureRequest,
593 | signingKey: signingKey)
594 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
595 | signatureRequest: signatureRequest)
596 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:621:7: warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
619 |
620 | public func deleteLocalDatabase() throws {
621 | try dropLocalDatabaseConnection()
| `- warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
622 | let fm = FileManager.default
623 | try fm.removeItem(atPath: dbPath)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:993:5: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
991 | do {
992 | deactivatePersistentLibXMTPLogWriter()
993 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
994 | // Log writer might not be active, continue with deletion
995 | }
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/GroupUpdatedCodec.swift:32:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
30 |
31 | public func decode(content: EncodedContent) throws -> GroupUpdated {
32 | return try GroupUpdated(serializedData: content.content)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
33 | }
34 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[308/361] Compiling XMTPiOS GroupUpdatedCodec.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:282:7: warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
280 | let alias = "xmtp-\(options.api.env.rawValue)-\(inboxId).db3"
281 | var dbURL = directoryURL.appendingPathComponent(alias).path
282 | var fileExists = FileManager.default.fileExists(atPath: dbURL)
| `- warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
283 |
284 | if !fileExists {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:555:36: warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
553 | recoveryAccount: SigningKey, identityToRemove: PublicIdentity
554 | ) async throws {
555 | let signatureRequest = try await ffiRevokeIdentity(
| `- warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
556 | identityToRemove: identityToRemove)
557 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:561:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
559 | for: signatureRequest.ffiSignatureRequest,
560 | signingKey: recoveryAccount)
561 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
562 | signatureRequest: signatureRequest)
563 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:571:36: warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
569 | public func revokeAllOtherInstallations(signingKey: SigningKey) async throws
570 | {
571 | let signatureRequest = try await ffiRevokeAllOtherInstallations()
| `- warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
572 | do {
573 | try await Client.handleSignature(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:576:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
574 | for: signatureRequest.ffiSignatureRequest,
575 | signingKey: signingKey)
576 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
577 | signatureRequest: signatureRequest)
578 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:588:36: warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
586 | ) async throws {
587 | let installations = installationIds.map { $0.hexToData }
588 | let signatureRequest = try await ffiRevokeInstallations(
| `- warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
589 | ids: installations)
590 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:594:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
592 | for: signatureRequest.ffiSignatureRequest,
593 | signingKey: signingKey)
594 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
595 | signatureRequest: signatureRequest)
596 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:621:7: warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
619 |
620 | public func deleteLocalDatabase() throws {
621 | try dropLocalDatabaseConnection()
| `- warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
622 | let fm = FileManager.default
623 | try fm.removeItem(atPath: dbPath)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:993:5: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
991 | do {
992 | deactivatePersistentLibXMTPLogWriter()
993 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
994 | // Log writer might not be active, continue with deletion
995 | }
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/GroupUpdatedCodec.swift:32:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
30 |
31 | public func decode(content: EncodedContent) throws -> GroupUpdated {
32 | return try GroupUpdated(serializedData: content.content)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
33 | }
34 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[309/361] Compiling XMTPiOS MultiRemoteAttachmentCodec.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:282:7: warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
280 | let alias = "xmtp-\(options.api.env.rawValue)-\(inboxId).db3"
281 | var dbURL = directoryURL.appendingPathComponent(alias).path
282 | var fileExists = FileManager.default.fileExists(atPath: dbURL)
| `- warning: variable 'fileExists' was never mutated; consider changing to 'let' constant
283 |
284 | if !fileExists {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:555:36: warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
553 | recoveryAccount: SigningKey, identityToRemove: PublicIdentity
554 | ) async throws {
555 | let signatureRequest = try await ffiRevokeIdentity(
| `- warning: 'ffiRevokeIdentity(identityToRemove:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `removeIdentity()` instead. [#DeprecatedDeclaration]
556 | identityToRemove: identityToRemove)
557 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:561:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
559 | for: signatureRequest.ffiSignatureRequest,
560 | signingKey: recoveryAccount)
561 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
562 | signatureRequest: signatureRequest)
563 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:571:36: warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
569 | public func revokeAllOtherInstallations(signingKey: SigningKey) async throws
570 | {
571 | let signatureRequest = try await ffiRevokeAllOtherInstallations()
| `- warning: 'ffiRevokeAllOtherInstallations()' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeAllOtherInstallations()` instead. [#DeprecatedDeclaration]
572 | do {
573 | try await Client.handleSignature(
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:576:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
574 | for: signatureRequest.ffiSignatureRequest,
575 | signingKey: signingKey)
576 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
577 | signatureRequest: signatureRequest)
578 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:588:36: warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
586 | ) async throws {
587 | let installations = installationIds.map { $0.hexToData }
588 | let signatureRequest = try await ffiRevokeInstallations(
| `- warning: 'ffiRevokeInstallations(ids:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `revokeInstallations()` instead. [#DeprecatedDeclaration]
589 | ids: installations)
590 | do {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:594:14: warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
592 | for: signatureRequest.ffiSignatureRequest,
593 | signingKey: signingKey)
594 | try await ffiApplySignatureRequest(
| `- warning: 'ffiApplySignatureRequest(signatureRequest:)' is deprecated: This function is delicate and should be used with caution.
Should only be used if trying to manage the signature flow independently;
otherwise use `addAccount()`, `removeAccount()`, or `revoke()` instead. [#DeprecatedDeclaration]
595 | signatureRequest: signatureRequest)
596 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:621:7: warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
619 |
620 | public func deleteLocalDatabase() throws {
621 | try dropLocalDatabaseConnection()
| `- warning: 'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase() [#DeprecatedDeclaration]
622 | let fm = FileManager.default
623 | try fm.removeItem(atPath: dbPath)
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Client.swift:993:5: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
991 | do {
992 | deactivatePersistentLibXMTPLogWriter()
993 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
994 | // Log writer might not be active, continue with deletion
995 | }
/Users/admin/builder/spi-builder-workspace/Sources/XMTPiOS/Codecs/GroupUpdatedCodec.swift:32:14: warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
30 |
31 | public func decode(content: EncodedContent) throws -> GroupUpdated {
32 | return try GroupUpdated(serializedData: content.content)
| |- warning: 'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)' [#DeprecatedDeclaration]
| `- note: use 'init(serializedBytes:extensions:partial:options:)' instead
33 | }
34 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[310/361] Compiling XMTPiOS ReactionCodec.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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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:)' [#DeprecatedDeclaration]
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:)' [#DeprecatedDeclaration]
| `- 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) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[318/361] Compiling XMTPiOS SendOptions.swift
[319/361] Compiling XMTPiOS SignedData.swift
[320/361] Compiling XMTPiOS SigningKey.swift
[321/361] Compiling XMTPiOS Topic.swift
[322/361] Compiling XMTPiOS Util.swift
[323/361] Compiling XMTPiOS XMTPEnvironment.swift
[324/361] Compiling XMTPiOS XMTPLogger.swift
[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/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)
[333/361] Compiling XMTPiOS group_metadata.pb.swift
[334/361] Compiling XMTPiOS group_mutable_metadata.pb.swift
[335/361] Compiling XMTPiOS group_permissions.pb.swift
[336/361] Compiling XMTPiOS transcript_messages.pb.swift
[337/361] Compiling XMTPiOS XMTPPush.swift
[338/361] Compiling XMTPiOS service.connect.swift
[339/361] Compiling XMTPiOS service.pb.swift
[340/361] Compiling XMTPiOS ecies.pb.swift
[341/361] Compiling XMTPiOS frames.pb.swift
[342/361] Compiling XMTPiOS invitation.pb.swift
[343/361] Compiling XMTPiOS message.pb.swift
[344/361] Compiling XMTPiOS private_key.pb.swift
[345/361] Compiling XMTPiOS private_preferences.pb.swift
[346/361] Compiling XMTPiOS public_key.pb.swift
[347/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 [#no-usage]
75 |
76 | public func sync() async throws {
77 | try await ffiClient.syncPreferences()
| `- warning: result of call to 'syncPreferences()' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
137 | continuation.yield(.hmac_keys)
138 | }
[348/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 [#no-usage]
75 |
76 | public func sync() async throws {
77 | try await ffiClient.syncPreferences()
| `- warning: result of call to 'syncPreferences()' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
137 | continuation.yield(.hmac_keys)
138 | }
[349/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 [#no-usage]
75 |
76 | public func sync() async throws {
77 | try await ffiClient.syncPreferences()
| `- warning: result of call to 'syncPreferences()' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
137 | continuation.yield(.hmac_keys)
138 | }
[350/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 [#no-usage]
75 |
76 | public func sync() async throws {
77 | try await ffiClient.syncPreferences()
| `- warning: result of call to 'syncPreferences()' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
137 | continuation.yield(.hmac_keys)
138 | }
[351/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 [#no-usage]
75 |
76 | public func sync() async throws {
77 | try await ffiClient.syncPreferences()
| `- warning: result of call to 'syncPreferences()' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
137 | continuation.yield(.hmac_keys)
138 | }
[352/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 [#no-usage]
75 |
76 | public func sync() async throws {
77 | try await ffiClient.syncPreferences()
| `- warning: result of call to 'syncPreferences()' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
137 | continuation.yield(.hmac_keys)
138 | }
[353/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 [#no-usage]
75 |
76 | public func sync() async throws {
77 | try await ffiClient.syncPreferences()
| `- warning: result of call to 'syncPreferences()' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
137 | continuation.yield(.hmac_keys)
138 | }
[354/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 [#no-usage]
75 |
76 | public func sync() async throws {
77 | try await ffiClient.syncPreferences()
| `- warning: result of call to 'syncPreferences()' is unused [#no-usage]
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 [#no-usage]
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 [#no-usage]
137 | continuation.yield(.hmac_keys)
138 | }
[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] Emitting module XMTPTestHelpers
[363/363] Compiling XMTPTestHelpers TestHelpers.swift
Build complete! (110.48s)
Fetching https://github.com/xmtp/libxmtp-swift.git
Fetching https://github.com/tesseract-one/CSecp256k1.swift.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/bufbuild/connect-swift
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2082] Fetching swift-docc-plugin
[85/2184] Fetching swift-docc-plugin, csecp256k1.swift
[179/15138] Fetching swift-docc-plugin, csecp256k1.swift, cryptoswift
[309/17073] Fetching swift-docc-plugin, csecp256k1.swift, cryptoswift, libxmtp-swift
[826/25686] Fetching swift-docc-plugin, csecp256k1.swift, cryptoswift, libxmtp-swift, connect-swift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.75s)
Fetched https://github.com/bufbuild/connect-swift from cache (1.75s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.75s)
[552/2037] Fetching csecp256k1.swift, libxmtp-swift
Fetched https://github.com/tesseract-one/CSecp256k1.swift.git from cache (48.38s)
Fetched https://github.com/xmtp/libxmtp-swift.git from cache (48.38s)
Computing version for https://github.com/xmtp/libxmtp-swift.git
Computed https://github.com/xmtp/libxmtp-swift.git at 4.2.5 (48.93s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.48s)
Computing version for https://github.com/bufbuild/connect-swift
Computed https://github.com/bufbuild/connect-swift at 1.0.0 (0.51s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/11533] Fetching swift-nio-http2
[117/26429] Fetching swift-nio-http2, swift-nio-ssl
[5711/102771] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
[65365/142198] Fetching swift-nio-http2, swift-nio-ssl, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.22s)
Fetched https://github.com/apple/swift-nio.git from cache (5.23s)
Fetched https://github.com/apple/swift-protobuf.git from cache (5.23s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (5.23s)
Computing version for https://github.com/tesseract-one/CSecp256k1.swift.git
Computed https://github.com/tesseract-one/CSecp256k1.swift.git at 0.2.0 (5.73s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.4 (0.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3418] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.17s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.72s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.39s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.42s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.95s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.60s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4443] Fetching swift-system
[1023/21158] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.68s)
Fetched https://github.com/apple/swift-system.git from cache (1.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.11s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.48s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.53s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.0
Creating working copy for https://github.com/xmtp/libxmtp-swift.git
Working copy of https://github.com/xmtp/libxmtp-swift.git resolved at 4.2.5
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/bufbuild/connect-swift
Working copy of https://github.com/bufbuild/connect-swift resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/tesseract-one/CSecp256k1.swift.git
Working copy of https://github.com/tesseract-one/CSecp256k1.swift.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.4
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Downloading binary artifact https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.2.5.dc3e8c8/LibXMTPSwiftFFI.zip
[16375/145304315] Downloading https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.2.5.dc3e8c8/LibXMTPSwiftFFI.zip
Downloaded https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.2.5.dc3e8c8/LibXMTPSwiftFFI.zip (7.12s)
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.5"
]
},
"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.