Skip to content

Improved Search

Improved Search #121

GitHub Actions / Xcode test results failed Sep 29, 2023 in 0s

Xcode test results

Build Summary

Compile UserModel.swift (x86_64)
Compile ReadCheck.swift (x86_64)
Compile PostSortType.swift (x86_64)
Compile LayoutWidgetTracker.swift (x86_64)
Compile CreateComment.swift (x86_64)
Compile HideCommunity.swift (x86_64)
Compile CommunityResultView.swift (x86_64)
error: Swift Compiler Error: Extra arguments at positions #2, #4 in call
error: Swift Compiler Error: Missing argument for parameter 'action' in call

Mlem/Views/Tabs/Search/CommunityResultView.swift:92:19: error: extra arguments at positions #2, #4 in call
            Button(
                  ^
SwiftUI.Button:3:12: note: 'init(_:role:action:)' declared here
    public init(_ titleKey: LocalizedStringKey, role: ButtonRole?, action: @escaping () -> Void)
           ^
Mlem/Views/Tabs/Search/CommunityResultView.swift:94:88: error: missing argument for parameter 'action' in call
                systemImage: community.subscribed ? Icons.unsubscribe : Icons.subscribe,
                                                                                       ^
                                                                                       , action: <#() -> Void#>
SwiftUI.Button:3:12: note: 'init(_:role:action:)' declared here
    public init(_ titleKey: LocalizedStringKey, role: ButtonRole?, action: @escaping () -> Void)
           ^

Compile NavigationLink+Helpers.swift (x86_64)
Compile View - Hide View.swift (x86_64)
Compile Notifiable.swift (x86_64)
Compile User.swift (x86_64)
Compile InternetConnectionManager.swift (x86_64)
Compile UnreadTracker.swift (x86_64)
Compile Post Tracker.swift (x86_64)
Compile Replies Feed View.swift (x86_64)
Compile GetPosts.swift (x86_64)
Compile QuickLookView.swift (x86_64)
Compile PostComposerView.swift (x86_64)
Compile APICommunityModeratorView.swift (x86_64)
Compile CreatePrivateMessageRequest.swift (x86_64)
Compile CommunityLinkView.swift (x86_64)
Compile APISiteAggregates.swift (x86_64)
Compile PersistenceRepository+Dependency.swift (x86_64)
Compile UserViewTab.swift (x86_64)
Compile SiteInformationTracker+Dependency.swift (x86_64)
Compile ReplyToComment.swift (x86_64)
Compile Notifier.swift (x86_64)
Compile DeleteAccountView.swift (x86_64)
Compile ReplyToCommentReply.swift (x86_64)
Compile String.swift (x86_64)
Compile CommunityResponse+Mock.swift (x86_64)
Compile ThemeSettingsView.swift (x86_64)
Compile APIMyUserInfo.swift (x86_64)
Compile APISite.swift (x86_64)
Compile Cached Image.swift (x86_64)
Compile GetCommunity.swift (x86_64)
Compile Feed View Logic.swift (x86_64)
Compile Inbox View.swift (x86_64)
Compile Inbox Item Type.swift (x86_64)
Compile SearchTabPicker.swift (x86_64)
Compile LicensesView.swift (x86_64)
Compile FancyTabBar.swift (x86_64)
Compile CommunityListModel.swift (x86_64)
Compile Menu Function.swift (x86_64)
Compile SearchModel.swift (x86_64)
Compile CommentSettingsView.swift (x86_64)
Compile App State.swift (x86_64)
Compile CommentRepository+Dependency.swift (x86_64)
Compile SearchRequest.swift (x86_64)
Compile Inbox Tracker.swift (x86_64)
Compile ConcreteEditorModel.swift (x86_64)
Compile IconSettingsView.swift (x86_64)
Compile CreateCommentLike.swift (x86_64)
Compile TimestampView.swift (x86_64)
Compile Window.swift (x86_64)
Compile APISubscribedStatus.swift (x86_64)
Compile FancyTabItemViewModifier.swift (x86_64)
Compile RecentSearchesTracker.swift (x86_64)
Compile Messages Tracker.swift (x86_64)
Compile BlockCommunity.swift (x86_64)
Compile PostDetailEditorView.swift (x86_64)
Compile Comment Item Logic.swift (x86_64)
Compile APIPrivateMessageView.swift (x86_64)
Compile APICommunityAggregates+Mock.swift (x86_64)
Compile Feed Root.swift (x86_64)
Compile AccessibilitySettingsView.swift (x86_64)
Compile ErrorHandler+Dependency.swift (x86_64)
Compile Logo View.swift (x86_64)
Compile InternetSpeed.swift (x86_64)
Compile URLHandler.swift (x86_64)
Compile Outlined Web Complex Style.swift (x86_64)
Compile Get Correct URL to Endpoint.swift (x86_64)
Compile DownvoteButtonView.swift (x86_64)
Compile APISession.swift (x86_64)
Compile Task+Notifiable.swift (x86_64)
Compile Check if Endpoint Exists.swift (x86_64)
Compile Comments.swift (x86_64)
Compile ContentView.swift (x86_64)
Compile Community List View.swift (x86_64)
Compile JumpButtonView.swift (x86_64)
Compile UIViewController.swift (x86_64)
Compile APIPostView.swift (x86_64)
Compile CommentEditor.swift (x86_64)
Compile UpvoteButtonView.swift (x86_64)
Compile View - Handle Lemmy Links.swift (x86_64)
Compile TabBarSettingsView.swift (x86_64)
Compile GetPersonMentions.swift (x86_64)
Compile Sidebar Header.swift (x86_64)
Compile Community Search Result Tracker.swift (x86_64)
Compile APICommunityView+Mock.swift (x86_64)
Compile NSFW Overlay.swift (x86_64)
Compile APIPersonView.swift (x86_64)
Compile Settings View.swift (x86_64)
Compile TabSelection.swift (x86_64)
Compile APIErrorResponse.swift (x86_64)
Compile APIPrivateMessageReport.swift (x86_64)
Compile EditPost.swift (x86_64)
Compile APIPostReportView.swift (x86_64)
Compiling SavedAccount+Mock.swift, Abbreviate Numbers.swift, APIFederatedInstances.swift, MarkAllAsReadRequest.swift, DownvoteCounterView.swift, Sidebar Header Avatar.swift, APIPersonMentionView.swift, ServerInstanceLocation.swift, ContributorsView.swift, SavePost.swift, PostRepository+Dependency.swift, SiteVersion.swift, APICommentAggregates.swift, Lazy Load Expanded Post.swift, APIPerson.swift, Thumbnail Image View.swift, APIContentViewProtocol.swift, UserLinkView.swift, SearchBarExtensions.swift, FeedTracking.swift, APIPostAggregates.swift, CommunityRepository+Dependency.swift, APIComment+Mock.swift, Access Token.swift, Array+SafeIndexing.swift
error: Command SwiftCompile failed with a nonzero exit code

Command SwiftCompile failed with a nonzero exit code

Annotations

Check failure on line 92 in Mlem/Views/Tabs/Search/CommunityResultView.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Extra arguments at positions #2, #4 in call

Check failure on line 94 in Mlem/Views/Tabs/Search/CommunityResultView.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Missing argument for parameter 'action' in call