Fix SQL App Group Crash #339
Merged
Xcode Cloud / XMTPiOSExample | Test | Test - iOS
required action
May 24, 2024 in 11m 55s
36 test failures, 111 warnings
Report Summary | |
---|---|
Errors | 0 |
Test Failures | 36 |
Analysis Issues | 0 |
Warnings | 111 |
Details
36 Test Failures
Details
- ClientTests.testPreEnableIdentityCallback() | Tests/XMTPTests/ClientTests.swift:328
failed - Error: ClientError.creationError: ApiError(message: "API error: connection failed: transport error")
- GroupTests.testIsActive() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- ClientTests.testCanDropReconnectDatabase() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanStreamAllGroupDecryptedMessages() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- ClientTests.testPassingSavedKeysWithMLS() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanCreateAGroupWithAdminPermissions() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanListGroupsAndConversations() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanSendMessagesToGroupDecrypted() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanListGroups() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCannotStartGroupWithNonRegisteredIdentity() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanAddGroupMembers() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- ClientTests.testPassingSavedKeysWithNoSignerWithMLSErrors() | Tests/XMTPTests/ClientTests.swift:37
XCTAssertTrue failed
- ClientTests.testPassingMLSEncryptionKeyAndDatabasePath() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCannotStartGroupWithSelf() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- ClientTests.testPassingMLSEncryptionKey() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanMessage() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- ConversationTests.testCanHaveConsentState() | Tests/XMTPTests/ConversationTests.swift:666
XCTAssertTrue failed
- ClientTests.testCanDeleteDatabase() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testAddedByAddress() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanStreamGroups() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanStreamAllGroupMessages() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanListGroupMembers() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanStartEmptyGroup() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanStreamAllMessages() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- ClientTests.testPreCreateIdentityCallback() | Tests/XMTPTests/ClientTests.swift:346
failed - Error: ClientError.creationError: ApiError(message: "API error: connection failed: transport error")
- GroupTests.testCanStreamGroupsAndConversationsWorksGroups() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanStreamGroupMessages() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanSendMessagesToGroup() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanCreateAGroupWithDefaultPermissions() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testGroupStartsWithAllowedState() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanStreamAllDecryptedMessages() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanUpdateGroupName() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- ConversationsTests.testConsentProofInvalidSignature() | Tests/XMTPTests/ConversationsTest.swift:274
XCTAssertFalse failed
- GroupTests.testCanListGroupMessages() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- FramesTests.testInstantiateFramesClient() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
- GroupTests.testCanRemoveMembers() | Sources/XMTPiOS/Client.swift:127
failed: caught error: "ClientError.creationError: ApiError(message: "API error: connection failed: transport error")"
111 Warnings
Details
- Tests/XMTPTests/InvitationTests.swift:80
No calls to throwing functions occur within 'try' expression
- Tests/XMTPTests/IntegrationTests.swift:366
Variable 'messages' was never mutated; consider changing to 'let' constant
- Sources/XMTPiOS/Client.swift:186
Initialization of immutable value 'contacts' was never used; consider replacing with assignment to '_' or removing it
- Tests/XMTPTests/InvitationTests.swift:75
No calls to throwing functions occur within 'try' expression
- Tests/XMTPTests/ReactionTests.swift:64
Result of call to 'send(text:options:)' is unused
- Tests/XMTPTests/IntegrationTests.swift:610
Code after 'throw' will never be executed
- Tests/XMTPTests/RemoteAttachmentTest.swift:128
'let' pattern has no effect; sub-pattern didn't bind any variables
-
(x86_64) skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /Volumes/workspace/DerivedData/Build/Products/Debug-iphonesimulator/libxmtpv3.a(montgomery_inv.o)
-
(x86_64) skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /Volumes/workspace/DerivedData/Build/Products/Debug-iphonesimulator/libxmtpv3.a(limbs.o)
- Tests/XMTPTests/IntegrationTests.swift:312
Code after 'throw' will never be executed
- Tests/XMTPTests/GroupTests.swift:577
No calls to throwing functions occur within 'try' expression
- Tests/XMTPTests/ConversationTests.swift:115
Immutable value 'conversation' was never used; consider replacing with '_' or removing it
- Sources/XMTPiOS/Conversation.swift:120
Immutable value 'group' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/ConversationTests.swift:250
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
-
(x86_64) skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /Volumes/workspace/DerivedData/Build/Products/Debug-iphonesimulator/libxmtpv3.a(crypto.o)
- Tests/XMTPTests/IntegrationTests.swift:604
Result of call to 'send(text:options:)' is unused
- Sources/XMTPTestHelpers/TestHelpers.swift:83
Non-final class 'FakeApiClient' cannot conform to 'Sendable'; use '@unchecked Sendable'
- Sources/XMTPiOS/Conversation.swift:188
Immutable value 'group' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/IntegrationTests.swift:523
Immutable value 'convo' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/IntegrationTests.swift:63
Initialization of immutable value 'aliceAgain' was never used; consider replacing with assignment to '_' or removing it
- Sources/XMTPiOS/Conversation.swift:27
Associated value 'group' of 'Sendable'-conforming enum 'Conversation' has non-sendable type 'Group'
- Tests/XMTPTests/ReplyTests.swift:20
Result of call to 'send(text:options:)' is unused
- Tests/XMTPTests/IntegrationTests.swift:343
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Tests/XMTPTests/GroupTests.swift:424
Variable 'bobMessagesCount' was never mutated; consider changing to 'let' constant
- Tests/XMTPTests/MessageTests.swift:138
Initialization of immutable value 'decoder' was never used; consider replacing with assignment to '_' or removing it
- Tests/XMTPTests/ConversationTests.swift:381
Code after 'throw' will never be executed
- file:///Volumes/workspace/DerivedData/SourcePackages/checkouts/swift-nio-transport-services/Sources/NIOTransportServices/NIOTSChannelOptions.swift:16
'@preconcurrency' attribute on module 'Network' is unused
-
(x86_64) skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /Volumes/workspace/DerivedData/Build/Products/Debug-iphonesimulator/libxmtpv3.a(ecp_nistz.o)
- Tests/XMTPTests/GroupTests.swift:473
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Sources/XMTPiOS/Conversation.swift:106
Immutable value 'group' was never used; consider replacing with '_' or removing it
- Sources/XMTPTestHelpers/TestHelpers.swift:88
Stored property 'environment' of 'Sendable'-conforming class 'FakeApiClient' is mutable
- Tests/XMTPTests/MessageTests.swift:116
Initialization of immutable value 'key' was never used; consider replacing with assignment to '_' or removing it
- Sources/XMTPiOS/Conversation.swift:149
Immutable value 'group' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/IntegrationTests.swift:488
Code after 'throw' will never be executed
- Tests/XMTPTests/IntegrationTests.swift:461
Result of call to 'send(text:options:)' is unused
- Sources/XMTPiOS/Conversation.swift:212
Immutable value 'group' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/ConversationTests.swift:101
Instance method 'wait' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Tests/XMTPTests/ConversationTests.swift:138
Initialization of immutable value 'newClient' was never used; consider replacing with assignment to '_' or removing it
- Tests/XMTPTests/IntegrationTests.swift:543
Initialization of immutable value 'newClient' was never used; consider replacing with assignment to '_' or removing it
-
(x86_64) skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /Volumes/workspace/DerivedData/Build/Products/Debug-iphonesimulator/libxmtpv3.a(poly1305_vec.o)
-
(x86_64) skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /Volumes/workspace/DerivedData/Build/Products/Debug-iphonesimulator/libxmtpv3.a(montgomery.o)
- Tests/XMTPTests/ReactionTests.swift:80
Initialization of immutable value 'updatedMessages' was never used; consider replacing with assignment to '_' or removing it
- file:///Volumes/workspace/DerivedData/SourcePackages/checkouts/swift-nio-transport-services/Sources/NIOTransportServices/NIOTSNetworkEvents.swift:16
'@preconcurrency' attribute on module 'Network' is unused
- Tests/XMTPTests/InvitationTests.swift:58
No calls to throwing functions occur within 'try' expression
- Tests/XMTPTests/GroupTests.swift:549
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Tests/XMTPTests/ClientTests.swift:201
Variable 'boClient' was never mutated; consider changing to 'let' constant
- Tests/XMTPTests/IntegrationTests.swift:552
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Tests/XMTPTests/GroupTests.swift:540
No calls to throwing functions occur within 'try' expression
- Tests/XMTPTests/ConversationTests.swift:96
Result of call to 'newConversation(with:context:consentProofPayload:)' is unused
- Tests/XMTPTests/IntegrationTests.swift:156
Result of call to 'send(text:options:)' is unused
- Tests/XMTPTests/RemoteAttachmentTest.swift:158
Instance method 'wait' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Tests/XMTPTests/ReadReceiptTests.swift:21
Result of call to 'send(text:options:)' is unused
- Tests/XMTPTests/ConversationTests.swift:661
Result of call to 'refreshConsentList()' is unused
- Sources/XMTPiOS/ApiClient.swift:93
Stored property 'authToken' of 'Sendable'-conforming class 'GRPCApiClient' is mutable
- Tests/XMTPTests/PaginationTests.swift:132
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Sources/XMTPiOS/Conversation.swift:27
Associated value 'v1' of 'Sendable'-conforming enum 'Conversation' has non-sendable type 'ConversationV1'
- Sources/XMTPiOS/Conversations.swift:723
Variable 'envelopes' was never mutated; consider changing to 'let' constant
-
(x86_64) skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /Volumes/workspace/DerivedData/Build/Products/Debug-iphonesimulator/libxmtpv3.a(gfp_p384.o)
- Sources/XMTPiOS/DecodedMessage.swift:24
Stored property 'client' of 'Sendable'-conforming struct 'DecodedMessage' has non-sendable type 'Client'
- Sources/XMTPiOS/Conversation.swift:173
'let' pattern has no effect; sub-pattern didn't bind any variables
- Tests/XMTPTests/IntegrationTests.swift:369
Initialization of immutable value 'secondMessageSent' was never used; consider replacing with assignment to '_' or removing it
- Tests/XMTPTests/PaginationTests.swift:111
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Sources/XMTPiOS/Conversation.swift:273
Immutable value 'group' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/GroupTests.swift:584
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Tests/XMTPTests/IntegrationTests.swift:282
Code after 'throw' will never be executed
- Sources/XMTPiOS/KeyUtil.swift:67
'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
- Tests/XMTPTests/GroupTests.swift:527
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Tests/XMTPTests/IntegrationTests.swift:474
Result of call to 'send(text:options:)' is unused
- Tests/XMTPTests/ClientTests.swift:28
Initialization of immutable value 'client' was never used; consider replacing with assignment to '_' or removing it
-
(x86_64) skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /Volumes/workspace/DerivedData/Build/Products/Debug-iphonesimulator/libxmtpv3.a(aes_nohw.o)
- Tests/XMTPTests/IntegrationTests.swift:516
Initialization of immutable value 'aliceClient' was never used; consider replacing with assignment to '_' or removing it
- Tests/XMTPTests/PrivateKeyBundleTests.swift:17
No calls to throwing functions occur within 'try' expression
-
(x86_64) skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /Volumes/workspace/DerivedData/Build/Products/Debug-iphonesimulator/libxmtpv3.a(mem.o)
- Tests/XMTPTests/ClientTests.swift:223
'dropLocalDatabaseConnection()' is deprecated: This function is delicate and should be used with caution. App will error if database not properly reconnected. See: reconnectLocalDatabase()
- Tests/XMTPTests/GroupTests.swift:426
Variable 'bobMessagesPublishedCount' was never mutated; consider changing to 'let' constant
- Tests/XMTPTests/InvitationTests.swift:57
No calls to throwing functions occur within 'try' expression
- Sources/XMTPiOS/Client.swift:287
Initialization of immutable value 'contacts' was never used; consider replacing with assignment to '_' or removing it
- Sources/XMTPiOS/Client.swift:185
Initialization of immutable value 'conversations' was never used; consider replacing with assignment to '_' or removing it
-
(x86_64) skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /Volumes/workspace/DerivedData/Build/Products/Debug-iphonesimulator/libxmtpv3.a(curve25519.o)
- Sources/XMTPiOS/Conversation.swift:199
Immutable value 'group' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/GroupTests.swift:560
No calls to throwing functions occur within 'try' expression
- Tests/XMTPTests/IntegrationTests.swift:271
Result of call to 'send(text:options:)' is unused
- Tests/XMTPTests/MessageTests.swift:63
Initialization of immutable value 'sealedInvitation' was never used; consider replacing with assignment to '_' or removing it
- Tests/XMTPTests/ConversationTests.swift:148
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Sources/XMTPiOS/Client.swift:286
Initialization of immutable value 'conversations' was never used; consider replacing with assignment to '_' or removing it
- Tests/XMTPTests/IntegrationTests.swift:581
Code after 'throw' will never be executed
- Tests/XMTPTests/IntegrationTests.swift:124
Result of call to 'send(text:options:)' is unused
- Tests/XMTPTests/ReplyTests.swift:35
Initialization of immutable value 'updatedMessages' was never used; consider replacing with assignment to '_' or removing it
- Tests/XMTPTests/ConversationTests.swift:641
Result of call to 'refreshConsentList()' is unused
- Tests/XMTPTests/GroupTests.swift:507
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Tests/XMTPTests/ReadReceiptTests.swift:30
Initialization of immutable value 'updatedMessages' was never used; consider replacing with assignment to '_' or removing it
- Tests/XMTPTests/ConversationTests.swift:684
Result of call to 'refreshConsentList()' is unused
- Tests/XMTPTests/RemoteAttachmentTest.swift:99
Immutable value 'conversation' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/InvitationTests.swift:71
No calls to throwing functions occur within 'try' expression
- Tests/XMTPTests/MessageTests.swift:110
No calls to throwing functions occur within 'try' expression
- Tests/XMTPTests/ConversationsTest.swift:81
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Sources/XMTPiOS/Conversation.swift:72
Immutable value 'group' was never used; consider replacing with '_' or removing it
- Sources/XMTPiOS/Conversation.swift:27
Associated value 'v2' of 'Sendable'-conforming enum 'Conversation' has non-sendable type 'ConversationV2'
- Tests/XMTPTests/InvitationTests.swift:72
No calls to throwing functions occur within 'try' expression
- Tests/XMTPTests/GroupTests.swift:567
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Sources/XMTPiOS/Conversation.swift:177
Immutable value 'group' was never used; consider replacing with '_' or removing it
- Sources/XMTPiOS/Conversation.swift:163
Immutable value 'group' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/GroupTests.swift:499
No calls to throwing functions occur within 'try' expression
- Tests/XMTPTests/GroupTests.swift:489
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Tests/XMTPTests/InvitationTests.swift:34
Immutable value 'i' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/IntegrationTests.swift:306
Instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
- Tests/XMTPTests/IntegrationTests.swift:558
Code after 'throw' will never be executed
- Tests/XMTPTests/ConversationTests.swift:333
Code after 'throw' will never be executed
- Sources/XMTPiOS/Conversation.swift:102
Immutable value 'conversationV1' was never used; consider replacing with '_' or removing it
- Tests/XMTPTests/GroupTests.swift:425
Variable 'bobMessagesUnpublishedCount' was never mutated; consider changing to 'let' constant
- Tests/XMTPTests/PrivateKeyBundleTests.swift:32
No calls to throwing functions occur within 'try' expression
Loading