Build Information
Successful build of ContributorUI, reference v1.0.1 (6aff70
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 11:33:44 UTC.
Swift 6 data race errors: 15
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dscyrescotti/ContributorUI.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dscyrescotti/ContributorUI
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at 6aff70e Merge pull request #36 from dscyrescotti/develop
Cloned https://github.com/dscyrescotti/ContributorUI.git
Revision (git rev-parse @):
6aff70e45603c26d2c9aea828b3aa6e9eab2c89b
SUCCESS checkout https://github.com/dscyrescotti/ContributorUI.git at v1.0.1
Fetching https://github.com/nalexn/ViewInspector.git
Fetching https://github.com/onevcat/Kingfisher.git
[1/12323] Fetching viewinspector
[2220/43723] Fetching viewinspector, kingfisher
Fetched https://github.com/nalexn/ViewInspector.git from cache (5.40s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (5.40s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 7.6.2 (6.06s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.9.5 (0.59s)
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.9.5
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 7.6.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "contributorui",
"name": "ContributorUI",
"url": "https://github.com/dscyrescotti/ContributorUI.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ContributorUI",
"dependencies": [
{
"identity": "kingfisher",
"name": "Kingfisher",
"url": "https://github.com/onevcat/Kingfisher.git",
"version": "7.12.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kingfisher",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/dscyrescotti/ContributorUI.git
[1/796] Fetching contributorui
Fetched https://github.com/dscyrescotti/ContributorUI.git from cache (1.06s)
Fetching https://github.com/onevcat/Kingfisher.git from cache
Fetched https://github.com/onevcat/Kingfisher.git from cache (0.59s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 7.12.0 (1.10s)
Creating working copy for https://github.com/dscyrescotti/ContributorUI.git
Working copy of https://github.com/dscyrescotti/ContributorUI.git resolved at v1.0.1 (6aff70e)
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 7.12.0
warning: '.resolve-product-dependencies': dependency 'contributorui' is not used by any target
Found 1 product dependencies
- Kingfisher
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dscyrescotti/ContributorUI.git
https://github.com/dscyrescotti/ContributorUI.git
{
"dependencies" : [
{
"identity" : "viewinspector",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nalexn/ViewInspector.git"
},
{
"identity" : "kingfisher",
"requirement" : {
"range" : [
{
"lower_bound" : "7.6.2",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Kingfisher.git"
}
],
"manifest_display_name" : "ContributorUI",
"name" : "ContributorUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ContributorUI",
"targets" : [
"ContributorUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ContributorUITests",
"module_type" : "SwiftTarget",
"name" : "ContributorUITests",
"path" : "Tests/ContributorUITests",
"product_dependencies" : [
"ViewInspector",
"Kingfisher"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ContributorUITests/Resources/contributors-swift-1.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ContributorUITests/Resources/contributors-swift-2.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ContributorUITests/Resources/contributors.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Helpers/Extensions/Inspection+InspectionEmissary.swift",
"Helpers/Extensions/NSError+APIError.swift",
"Helpers/Extensions/Style+Equatable.swift",
"Helpers/Mocks/MockAPI.swift",
"Helpers/Mocks/MockURLProtocol.swift",
"Helpers/ViewModels/TestContributroListViewModel.swift",
"Helpers/Views/CardViewWrapper.swift",
"TestCases/AppKit/AppKitSupportTests.swift",
"TestCases/ContributorCard/ContributorCardTests.swift",
"TestCases/ContributorCard/ContributorCardViewModelTests.swift",
"TestCases/ContributorList/ContributorListTests.swift",
"TestCases/ContributorList/ContributorListViewModelTests.swift",
"TestCases/ContributorUI/ContributorUITests.swift",
"TestCases/Networking/APITests.swift",
"TestCases/Networking/NetworkingTests.swift",
"TestCases/UIKit/UIKitSupportTests.swift"
],
"target_dependencies" : [
"ContributorUI"
],
"type" : "test"
},
{
"c99name" : "ContributorUI",
"module_type" : "SwiftTarget",
"name" : "ContributorUI",
"path" : "Sources/ContributorUI",
"product_dependencies" : [
"Kingfisher"
],
"product_memberships" : [
"ContributorUI"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Resources/Icon.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"API/Abstract/API.swift",
"API/Abstract/Endpoint.swift",
"API/Error/APIError.swift",
"API/GitHub/GitHub.swift",
"API/GitHub/GitHubAPI.swift",
"AppKit/NSContributorCard.swift",
"AppKit/NSContributorListController.swift",
"Components/ContributorCard/ContributorCard+Configuration.swift",
"Components/ContributorCard/ContributorCard.swift",
"Components/ContributorCard/ContributorCardViewModel.swift",
"Components/ContributorList/ContributorList+Configuration.swift",
"Components/ContributorList/ContributorList.swift",
"Components/ContributorList/ContributorListViewModel.swift",
"Components/ContributorList/ListContainer/GridListContainer.swift",
"Components/ContributorList/ListContainer/ListContainer.swift",
"Components/ContributorList/ListContainer/TableListContainer.swift",
"ContributorUI.swift",
"Models/Contributor.swift",
"Services/Networking/Networking.swift",
"UIKit/UIContributorCard.swift",
"UIKit/UIContributorListController.swift",
"Utilities/Inspection/Inspection.swift",
"Utilities/Modifiers/BorderStyleModifier.swift",
"Utilities/Modifiers/HoverModifier.swift",
"Utilities/Modifiers/ShimmerModifier.swift",
"Utilities/Modifiers/SizeModifer.swift",
"Utilities/PreferenceKeys/SizePreferenceKey.swift",
"Utilities/Shapes/BubbleBox.swift",
"Utilities/Styles/AvatarStyle.swift",
"Utilities/Styles/BorderStyle.swift",
"Utilities/Styles/ContributorListStyle.swift",
"Utilities/Styles/LabelStyle.swift",
"Utilities/Views/ErrorPrompt.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[2/4] Copying Icon.xcassets
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/60] Emitting module Kingfisher
[6/66] Compiling Kingfisher Result.swift
[7/66] Compiling Kingfisher Runtime.swift
[8/66] Compiling Kingfisher SizeExtensions.swift
[9/66] Compiling Kingfisher String+MD5.swift
[10/66] Compiling Kingfisher AnimatedImageView.swift
[11/66] Compiling Kingfisher Indicator.swift
[12/66] Compiling Kingfisher ImageView+Kingfisher.swift
[13/66] Compiling Kingfisher NSButton+Kingfisher.swift
[14/66] Compiling Kingfisher NSTextAttachment+Kingfisher.swift
[15/66] Compiling Kingfisher TVMonogramView+Kingfisher.swift
[16/66] Compiling Kingfisher UIButton+Kingfisher.swift
[17/66] Compiling Kingfisher WKInterfaceImage+Kingfisher.swift
[18/66] Compiling Kingfisher ImageTransition.swift
[19/66] Compiling Kingfisher Placeholder.swift
[20/66] Compiling Kingfisher AuthenticationChallengeResponsable.swift
[21/66] Compiling Kingfisher ImageDataProcessor.swift
[22/66] Compiling Kingfisher ImageDownloader.swift
[23/66] Compiling Kingfisher ImageDownloaderDelegate.swift
[24/66] Compiling Kingfisher ImageModifier.swift
[25/66] Compiling Kingfisher ImagePrefetcher.swift
[26/66] Compiling Kingfisher RedirectHandler.swift
[27/66] Compiling Kingfisher RequestModifier.swift
[28/66] Compiling Kingfisher RetryStrategy.swift
[29/66] Compiling Kingfisher SessionDataTask.swift
[30/66] Compiling Kingfisher Kingfisher.swift
[31/66] Compiling Kingfisher KingfisherError.swift
[32/66] Compiling Kingfisher KingfisherManager.swift
[33/66] Compiling Kingfisher KingfisherOptionsInfo.swift
[34/66] Compiling Kingfisher Filter.swift
[35/66] Compiling Kingfisher GIFAnimatedImage.swift
[36/66] Compiling Kingfisher CacheSerializer.swift
[37/66] Compiling Kingfisher DiskStorage.swift
[38/66] Compiling Kingfisher FormatIndicatedCacheSerializer.swift
[39/66] Compiling Kingfisher ImageCache.swift
[40/66] Compiling Kingfisher MemoryStorage.swift
[41/66] Compiling Kingfisher Storage.swift
[42/66] Compiling Kingfisher CPListItem+Kingfisher.swift
[43/66] Compiling Kingfisher KFImageProtocol.swift
[44/66] Compiling Kingfisher KFImageRenderer.swift
[45/66] Compiling Kingfisher Box.swift
[46/66] Compiling Kingfisher CallbackQueue.swift
[47/66] Compiling Kingfisher Delegate.swift
[48/66] Compiling Kingfisher ExtensionHelpers.swift
[49/66] Compiling Kingfisher SessionDelegate.swift
[50/66] Compiling Kingfisher ImageBinder.swift
[51/66] Compiling Kingfisher ImageContext.swift
[52/66] Compiling Kingfisher KFAnimatedImage.swift
[53/66] Compiling Kingfisher KFImage.swift
[54/66] Compiling Kingfisher KFImageOptions.swift
[55/66] Compiling Kingfisher GraphicsContext.swift
[56/66] Compiling Kingfisher Image.swift
[57/66] Compiling Kingfisher ImageDrawing.swift
[58/66] Compiling Kingfisher ImageFormat.swift
[59/66] Compiling Kingfisher ImageProcessor.swift
[60/66] Compiling Kingfisher ImageProgressive.swift
[61/66] Compiling Kingfisher AVAssetImageDataProvider.swift
[62/66] Compiling Kingfisher ImageDataProvider.swift
[63/66] Compiling Kingfisher Resource.swift
[64/66] Compiling Kingfisher Source.swift
[65/66] Compiling Kingfisher KF.swift
[66/66] Compiling Kingfisher KFOptionsSetter.swift
[67/98] Emitting module ContributorUI
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/API/GitHub/GitHub.swift:13:16: warning: static property 'live' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension GitHub {
13 | static var live = GitHub(on: GitHubAPI())
| |- warning: static property 'live' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'live' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:15:9: warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct GridListContainer: View, ListContainer {
| `- note: add '@preconcurrency' to the 'ListContainer' conformance to defer isolation checking to run time
13 | var contributors: Contributors
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
| `- warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:18:9: note: requirement 'configutation' declared here
16 | var contributors: Contributors { get set }
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
| `- note: requirement 'configutation' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:16:9: warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
| `- warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
17 |
18 | @ScaledMetric var size: CGFloat = 110
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:19:9: note: requirement 'loadNextPage' declared here
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
| `- note: requirement 'loadNextPage' declared here
20 |
21 | var container: Container { get }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:25:9: warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
23 |
24 | @ViewBuilder
25 | var container: some View {
| `- warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
26 | GeometryReader { geometry in
27 | let count = Int(geometry.size.width / size)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:21:9: note: requirement 'container' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
21 | var container: Container { get }
| `- note: requirement 'container' declared here
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:57:10: warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
55 | }
56 |
57 | func cell(_ contributor: Contributor) -> some View {
| |- warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cell' to make this instance method not isolated to the actor
58 | GeometryReader { geometry in
59 | let size = geometry.size.width * 0.6
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:22:10: note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
20 |
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
| `- note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
23 | func placeholder() -> Placeholder
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:87:10: warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
85 | }
86 |
87 | func placeholder() -> some View {
| |- warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'placeholder()' to make this instance method not isolated to the actor
88 | GeometryReader { geometry in
89 | let size = geometry.size.width * 0.6
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:23:10: note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
| `- note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:15:9: warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct TableListContainer: View, ListContainer {
| `- note: add '@preconcurrency' to the 'ListContainer' conformance to defer isolation checking to run time
13 | var contributors: Contributors
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
| `- warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:18:9: note: requirement 'configutation' declared here
16 | var contributors: Contributors { get set }
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
| `- note: requirement 'configutation' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:16:9: warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
| `- warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
17 |
18 | @ScaledMetric var size: CGFloat = 50
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:19:9: note: requirement 'loadNextPage' declared here
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
| `- note: requirement 'loadNextPage' declared here
20 |
21 | var container: Container { get }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:24:9: warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | var container: some View {
| `- warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
25 | List {
26 | ForEach(contributors) { contributor in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:21:9: note: requirement 'container' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
21 | var container: Container { get }
| `- note: requirement 'container' declared here
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:54:10: warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
52 | }
53 |
54 | func cell(_ contributor: Contributor) -> some View {
| |- warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cell' to make this instance method not isolated to the actor
55 | HStack(spacing: 10) {
56 | KFImage(contributor.imageURL)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:22:10: note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
20 |
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
| `- note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
23 | func placeholder() -> Placeholder
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:77:10: warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
75 | }
76 |
77 | func placeholder() -> some View {
| |- warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'placeholder()' to make this instance method not isolated to the actor
78 | HStack(spacing: 10) {
79 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:23:10: note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
| `- note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:13:16: warning: static property 'TOKEN_KEY' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct ContributorUI {
13 | static var TOKEN_KEY: String?
| |- warning: static property 'TOKEN_KEY' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TOKEN_KEY' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'TOKEN_KEY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static public func configure(with token: String?) {
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:21:16: warning: static property 'contribtorUI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public extension Bundle {
21 | static var contribtorUI: Bundle = {
| |- warning: static property 'contribtorUI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contribtorUI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contribtorUI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let bundleName = "ContributorUI_ContributorUI"
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Utilities/PreferenceKeys/SizePreferenceKey.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct SizePreferenceKey: PreferenceKey {
11 | static var defaultValue: CGSize = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) { }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Utilities/Styles/LabelStyle.swift:24:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | public extension LabelStyle {
24 | static var `default`: LabelStyle = LabelStyle()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func custom<S: ShapeStyle>(font: Font, color: Color, backgroundStyle: S) -> LabelStyle {
[68/101] Compiling ContributorUI BorderStyleModifier.swift
[69/101] Compiling ContributorUI HoverModifier.swift
[70/101] Compiling ContributorUI ShimmerModifier.swift
[71/101] Compiling ContributorUI API.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/API/GitHub/GitHub.swift:13:16: warning: static property 'live' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension GitHub {
13 | static var live = GitHub(on: GitHubAPI())
| |- warning: static property 'live' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'live' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[72/101] Compiling ContributorUI Endpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/API/GitHub/GitHub.swift:13:16: warning: static property 'live' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension GitHub {
13 | static var live = GitHub(on: GitHubAPI())
| |- warning: static property 'live' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'live' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[73/101] Compiling ContributorUI APIError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/API/GitHub/GitHub.swift:13:16: warning: static property 'live' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension GitHub {
13 | static var live = GitHub(on: GitHubAPI())
| |- warning: static property 'live' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'live' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[74/101] Compiling ContributorUI GitHub.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/API/GitHub/GitHub.swift:13:16: warning: static property 'live' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension GitHub {
13 | static var live = GitHub(on: GitHubAPI())
| |- warning: static property 'live' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'live' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[75/101] Compiling ContributorUI SizeModifer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Utilities/PreferenceKeys/SizePreferenceKey.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct SizePreferenceKey: PreferenceKey {
11 | static var defaultValue: CGSize = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) { }
[76/101] Compiling ContributorUI SizePreferenceKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Utilities/PreferenceKeys/SizePreferenceKey.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct SizePreferenceKey: PreferenceKey {
11 | static var defaultValue: CGSize = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) { }
[77/101] Compiling ContributorUI BubbleBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Utilities/PreferenceKeys/SizePreferenceKey.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct SizePreferenceKey: PreferenceKey {
11 | static var defaultValue: CGSize = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) { }
[78/101] Compiling ContributorUI AvatarStyle.swift
[79/101] Compiling ContributorUI BorderStyle.swift
[80/101] Compiling ContributorUI ContributorListStyle.swift
[81/101] Compiling ContributorUI UIContributorCard.swift
[82/101] Compiling ContributorUI UIContributorListController.swift
[83/101] Compiling ContributorUI Inspection.swift
[84/101] Compiling ContributorUI ContributorUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:13:16: warning: static property 'TOKEN_KEY' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct ContributorUI {
13 | static var TOKEN_KEY: String?
| |- warning: static property 'TOKEN_KEY' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TOKEN_KEY' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'TOKEN_KEY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static public func configure(with token: String?) {
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:21:16: warning: static property 'contribtorUI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public extension Bundle {
21 | static var contribtorUI: Bundle = {
| |- warning: static property 'contribtorUI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contribtorUI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contribtorUI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let bundleName = "ContributorUI_ContributorUI"
23 |
[85/101] Compiling ContributorUI Contributor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:13:16: warning: static property 'TOKEN_KEY' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct ContributorUI {
13 | static var TOKEN_KEY: String?
| |- warning: static property 'TOKEN_KEY' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TOKEN_KEY' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'TOKEN_KEY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static public func configure(with token: String?) {
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:21:16: warning: static property 'contribtorUI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public extension Bundle {
21 | static var contribtorUI: Bundle = {
| |- warning: static property 'contribtorUI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contribtorUI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contribtorUI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let bundleName = "ContributorUI_ContributorUI"
23 |
[86/101] Compiling ContributorUI Networking.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:13:16: warning: static property 'TOKEN_KEY' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct ContributorUI {
13 | static var TOKEN_KEY: String?
| |- warning: static property 'TOKEN_KEY' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TOKEN_KEY' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'TOKEN_KEY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static public func configure(with token: String?) {
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:21:16: warning: static property 'contribtorUI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public extension Bundle {
21 | static var contribtorUI: Bundle = {
| |- warning: static property 'contribtorUI' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contribtorUI' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contribtorUI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let bundleName = "ContributorUI_ContributorUI"
23 |
[87/101] Compiling ContributorUI GitHubAPI.swift
[88/101] Compiling ContributorUI NSContributorCard.swift
[89/101] Compiling ContributorUI NSContributorListController.swift
[90/101] Compiling ContributorUI ContributorCard+Configuration.swift
[91/101] Compiling ContributorUI LabelStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Utilities/Styles/LabelStyle.swift:24:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | public extension LabelStyle {
24 | static var `default`: LabelStyle = LabelStyle()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func custom<S: ShapeStyle>(font: Font, color: Color, backgroundStyle: S) -> LabelStyle {
[92/101] Compiling ContributorUI ErrorPrompt.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Utilities/Styles/LabelStyle.swift:24:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | public extension LabelStyle {
24 | static var `default`: LabelStyle = LabelStyle()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func custom<S: ShapeStyle>(font: Font, color: Color, backgroundStyle: S) -> LabelStyle {
[93/101] Compiling ContributorUI resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Utilities/Styles/LabelStyle.swift:24:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | public extension LabelStyle {
24 | static var `default`: LabelStyle = LabelStyle()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func custom<S: ShapeStyle>(font: Font, color: Color, backgroundStyle: S) -> LabelStyle {
[94/101] Compiling ContributorUI ContributorListViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:15:9: warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct GridListContainer: View, ListContainer {
| `- note: add '@preconcurrency' to the 'ListContainer' conformance to defer isolation checking to run time
13 | var contributors: Contributors
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
| `- warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:18:9: note: requirement 'configutation' declared here
16 | var contributors: Contributors { get set }
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
| `- note: requirement 'configutation' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:16:9: warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
| `- warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
17 |
18 | @ScaledMetric var size: CGFloat = 110
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:19:9: note: requirement 'loadNextPage' declared here
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
| `- note: requirement 'loadNextPage' declared here
20 |
21 | var container: Container { get }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:25:9: warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
23 |
24 | @ViewBuilder
25 | var container: some View {
| `- warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
26 | GeometryReader { geometry in
27 | let count = Int(geometry.size.width / size)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:21:9: note: requirement 'container' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
21 | var container: Container { get }
| `- note: requirement 'container' declared here
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:57:10: warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
55 | }
56 |
57 | func cell(_ contributor: Contributor) -> some View {
| |- warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cell' to make this instance method not isolated to the actor
58 | GeometryReader { geometry in
59 | let size = geometry.size.width * 0.6
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:22:10: note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
20 |
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
| `- note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
23 | func placeholder() -> Placeholder
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:87:10: warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
85 | }
86 |
87 | func placeholder() -> some View {
| |- warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'placeholder()' to make this instance method not isolated to the actor
88 | GeometryReader { geometry in
89 | let size = geometry.size.width * 0.6
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:23:10: note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
| `- note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:15:9: warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct TableListContainer: View, ListContainer {
| `- note: add '@preconcurrency' to the 'ListContainer' conformance to defer isolation checking to run time
13 | var contributors: Contributors
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
| `- warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:18:9: note: requirement 'configutation' declared here
16 | var contributors: Contributors { get set }
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
| `- note: requirement 'configutation' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:16:9: warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
| `- warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
17 |
18 | @ScaledMetric var size: CGFloat = 50
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:19:9: note: requirement 'loadNextPage' declared here
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
| `- note: requirement 'loadNextPage' declared here
20 |
21 | var container: Container { get }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:24:9: warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | var container: some View {
| `- warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
25 | List {
26 | ForEach(contributors) { contributor in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:21:9: note: requirement 'container' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
21 | var container: Container { get }
| `- note: requirement 'container' declared here
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:54:10: warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
52 | }
53 |
54 | func cell(_ contributor: Contributor) -> some View {
| |- warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cell' to make this instance method not isolated to the actor
55 | HStack(spacing: 10) {
56 | KFImage(contributor.imageURL)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:22:10: note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
20 |
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
| `- note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
23 | func placeholder() -> Placeholder
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:77:10: warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
75 | }
76 |
77 | func placeholder() -> some View {
| |- warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'placeholder()' to make this instance method not isolated to the actor
78 | HStack(spacing: 10) {
79 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:23:10: note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
| `- note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:45:71: warning: main actor-isolated property 'size' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
18 | @ScaledMetric var size: CGFloat = 50
| `- note: property declared here
19 |
20 | var body: some View {
:
43 | }
44 | .alignmentGuide(.listRowSeparatorLeading) { viewDimensions in
45 | return viewDimensions[.listRowSeparatorLeading] + size + 10
| `- warning: main actor-isolated property 'size' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
46 | }
47 | case .idle, .end:
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:28:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 | guard self.state == .idle else { return }
27 | await MainActor.run {
28 | self.error = nil
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
29 | self.state = .loading
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:45:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
43 | self.lastId = contributors.last?.id
44 | await MainActor.run {
45 | self.contributors.append(contentsOf: contributors)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
46 | self.state = contributors.count < 50 ? .end : .idle
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:50:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
48 | } catch {
49 | await MainActor.run {
50 | self.error = error as? APIError ?? .unknownError
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
51 | self.state = .idle
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:38:39: warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
36 | .frame(width: size, height: size * factor)
37 | .task {
38 | await loadNextPage(contributor, configutation)
| |- warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configutation' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:29:31: warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
27 | cell(contributor)
28 | .task {
29 | await loadNextPage(contributor, configutation)
| |- warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configutation' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
30 | }
31 | }
[95/101] Compiling ContributorUI GridListContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:15:9: warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct GridListContainer: View, ListContainer {
| `- note: add '@preconcurrency' to the 'ListContainer' conformance to defer isolation checking to run time
13 | var contributors: Contributors
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
| `- warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:18:9: note: requirement 'configutation' declared here
16 | var contributors: Contributors { get set }
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
| `- note: requirement 'configutation' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:16:9: warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
| `- warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
17 |
18 | @ScaledMetric var size: CGFloat = 110
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:19:9: note: requirement 'loadNextPage' declared here
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
| `- note: requirement 'loadNextPage' declared here
20 |
21 | var container: Container { get }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:25:9: warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
23 |
24 | @ViewBuilder
25 | var container: some View {
| `- warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
26 | GeometryReader { geometry in
27 | let count = Int(geometry.size.width / size)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:21:9: note: requirement 'container' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
21 | var container: Container { get }
| `- note: requirement 'container' declared here
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:57:10: warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
55 | }
56 |
57 | func cell(_ contributor: Contributor) -> some View {
| |- warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cell' to make this instance method not isolated to the actor
58 | GeometryReader { geometry in
59 | let size = geometry.size.width * 0.6
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:22:10: note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
20 |
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
| `- note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
23 | func placeholder() -> Placeholder
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:87:10: warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
85 | }
86 |
87 | func placeholder() -> some View {
| |- warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'placeholder()' to make this instance method not isolated to the actor
88 | GeometryReader { geometry in
89 | let size = geometry.size.width * 0.6
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:23:10: note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
| `- note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:15:9: warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct TableListContainer: View, ListContainer {
| `- note: add '@preconcurrency' to the 'ListContainer' conformance to defer isolation checking to run time
13 | var contributors: Contributors
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
| `- warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:18:9: note: requirement 'configutation' declared here
16 | var contributors: Contributors { get set }
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
| `- note: requirement 'configutation' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:16:9: warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
| `- warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
17 |
18 | @ScaledMetric var size: CGFloat = 50
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:19:9: note: requirement 'loadNextPage' declared here
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
| `- note: requirement 'loadNextPage' declared here
20 |
21 | var container: Container { get }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:24:9: warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | var container: some View {
| `- warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
25 | List {
26 | ForEach(contributors) { contributor in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:21:9: note: requirement 'container' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
21 | var container: Container { get }
| `- note: requirement 'container' declared here
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:54:10: warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
52 | }
53 |
54 | func cell(_ contributor: Contributor) -> some View {
| |- warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cell' to make this instance method not isolated to the actor
55 | HStack(spacing: 10) {
56 | KFImage(contributor.imageURL)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:22:10: note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
20 |
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
| `- note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
23 | func placeholder() -> Placeholder
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:77:10: warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
75 | }
76 |
77 | func placeholder() -> some View {
| |- warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'placeholder()' to make this instance method not isolated to the actor
78 | HStack(spacing: 10) {
79 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:23:10: note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
| `- note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:45:71: warning: main actor-isolated property 'size' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
18 | @ScaledMetric var size: CGFloat = 50
| `- note: property declared here
19 |
20 | var body: some View {
:
43 | }
44 | .alignmentGuide(.listRowSeparatorLeading) { viewDimensions in
45 | return viewDimensions[.listRowSeparatorLeading] + size + 10
| `- warning: main actor-isolated property 'size' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
46 | }
47 | case .idle, .end:
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:28:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 | guard self.state == .idle else { return }
27 | await MainActor.run {
28 | self.error = nil
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
29 | self.state = .loading
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:45:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
43 | self.lastId = contributors.last?.id
44 | await MainActor.run {
45 | self.contributors.append(contentsOf: contributors)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
46 | self.state = contributors.count < 50 ? .end : .idle
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:50:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
48 | } catch {
49 | await MainActor.run {
50 | self.error = error as? APIError ?? .unknownError
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
51 | self.state = .idle
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:38:39: warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
36 | .frame(width: size, height: size * factor)
37 | .task {
38 | await loadNextPage(contributor, configutation)
| |- warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configutation' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:29:31: warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
27 | cell(contributor)
28 | .task {
29 | await loadNextPage(contributor, configutation)
| |- warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configutation' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
30 | }
31 | }
[96/101] Compiling ContributorUI ListContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:15:9: warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct GridListContainer: View, ListContainer {
| `- note: add '@preconcurrency' to the 'ListContainer' conformance to defer isolation checking to run time
13 | var contributors: Contributors
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
| `- warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:18:9: note: requirement 'configutation' declared here
16 | var contributors: Contributors { get set }
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
| `- note: requirement 'configutation' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:16:9: warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
| `- warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
17 |
18 | @ScaledMetric var size: CGFloat = 110
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:19:9: note: requirement 'loadNextPage' declared here
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
| `- note: requirement 'loadNextPage' declared here
20 |
21 | var container: Container { get }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:25:9: warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
23 |
24 | @ViewBuilder
25 | var container: some View {
| `- warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
26 | GeometryReader { geometry in
27 | let count = Int(geometry.size.width / size)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:21:9: note: requirement 'container' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
21 | var container: Container { get }
| `- note: requirement 'container' declared here
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:57:10: warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
55 | }
56 |
57 | func cell(_ contributor: Contributor) -> some View {
| |- warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cell' to make this instance method not isolated to the actor
58 | GeometryReader { geometry in
59 | let size = geometry.size.width * 0.6
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:22:10: note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
20 |
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
| `- note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
23 | func placeholder() -> Placeholder
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:87:10: warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
85 | }
86 |
87 | func placeholder() -> some View {
| |- warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'placeholder()' to make this instance method not isolated to the actor
88 | GeometryReader { geometry in
89 | let size = geometry.size.width * 0.6
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:23:10: note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
| `- note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:15:9: warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct TableListContainer: View, ListContainer {
| `- note: add '@preconcurrency' to the 'ListContainer' conformance to defer isolation checking to run time
13 | var contributors: Contributors
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
| `- warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:18:9: note: requirement 'configutation' declared here
16 | var contributors: Contributors { get set }
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
| `- note: requirement 'configutation' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:16:9: warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
| `- warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
17 |
18 | @ScaledMetric var size: CGFloat = 50
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:19:9: note: requirement 'loadNextPage' declared here
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
| `- note: requirement 'loadNextPage' declared here
20 |
21 | var container: Container { get }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:24:9: warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | var container: some View {
| `- warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
25 | List {
26 | ForEach(contributors) { contributor in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:21:9: note: requirement 'container' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
21 | var container: Container { get }
| `- note: requirement 'container' declared here
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:54:10: warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
52 | }
53 |
54 | func cell(_ contributor: Contributor) -> some View {
| |- warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cell' to make this instance method not isolated to the actor
55 | HStack(spacing: 10) {
56 | KFImage(contributor.imageURL)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:22:10: note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
20 |
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
| `- note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
23 | func placeholder() -> Placeholder
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:77:10: warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
75 | }
76 |
77 | func placeholder() -> some View {
| |- warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'placeholder()' to make this instance method not isolated to the actor
78 | HStack(spacing: 10) {
79 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:23:10: note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
| `- note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:45:71: warning: main actor-isolated property 'size' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
18 | @ScaledMetric var size: CGFloat = 50
| `- note: property declared here
19 |
20 | var body: some View {
:
43 | }
44 | .alignmentGuide(.listRowSeparatorLeading) { viewDimensions in
45 | return viewDimensions[.listRowSeparatorLeading] + size + 10
| `- warning: main actor-isolated property 'size' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
46 | }
47 | case .idle, .end:
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:28:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 | guard self.state == .idle else { return }
27 | await MainActor.run {
28 | self.error = nil
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
29 | self.state = .loading
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:45:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
43 | self.lastId = contributors.last?.id
44 | await MainActor.run {
45 | self.contributors.append(contentsOf: contributors)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
46 | self.state = contributors.count < 50 ? .end : .idle
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:50:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
48 | } catch {
49 | await MainActor.run {
50 | self.error = error as? APIError ?? .unknownError
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
51 | self.state = .idle
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:38:39: warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
36 | .frame(width: size, height: size * factor)
37 | .task {
38 | await loadNextPage(contributor, configutation)
| |- warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configutation' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:29:31: warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
27 | cell(contributor)
28 | .task {
29 | await loadNextPage(contributor, configutation)
| |- warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configutation' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
30 | }
31 | }
[97/101] Compiling ContributorUI TableListContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:15:9: warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct GridListContainer: View, ListContainer {
| `- note: add '@preconcurrency' to the 'ListContainer' conformance to defer isolation checking to run time
13 | var contributors: Contributors
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
| `- warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:18:9: note: requirement 'configutation' declared here
16 | var contributors: Contributors { get set }
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
| `- note: requirement 'configutation' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:16:9: warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
| `- warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
17 |
18 | @ScaledMetric var size: CGFloat = 110
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:19:9: note: requirement 'loadNextPage' declared here
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
| `- note: requirement 'loadNextPage' declared here
20 |
21 | var container: Container { get }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:25:9: warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
23 |
24 | @ViewBuilder
25 | var container: some View {
| `- warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
26 | GeometryReader { geometry in
27 | let count = Int(geometry.size.width / size)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:21:9: note: requirement 'container' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
21 | var container: Container { get }
| `- note: requirement 'container' declared here
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:57:10: warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
55 | }
56 |
57 | func cell(_ contributor: Contributor) -> some View {
| |- warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cell' to make this instance method not isolated to the actor
58 | GeometryReader { geometry in
59 | let size = geometry.size.width * 0.6
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:22:10: note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
20 |
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
| `- note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
23 | func placeholder() -> Placeholder
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:87:10: warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
85 | }
86 |
87 | func placeholder() -> some View {
| |- warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'placeholder()' to make this instance method not isolated to the actor
88 | GeometryReader { geometry in
89 | let size = geometry.size.width * 0.6
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:23:10: note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
| `- note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:15:9: warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct TableListContainer: View, ListContainer {
| `- note: add '@preconcurrency' to the 'ListContainer' conformance to defer isolation checking to run time
13 | var contributors: Contributors
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
| `- warning: main actor-isolated property 'configutation' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:18:9: note: requirement 'configutation' declared here
16 | var contributors: Contributors { get set }
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
| `- note: requirement 'configutation' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:16:9: warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
14 | var state: ListContainerState
15 | var configutation: ContributorList.Configuration
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
| `- warning: main actor-isolated property 'loadNextPage' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
17 |
18 | @ScaledMetric var size: CGFloat = 50
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:19:9: note: requirement 'loadNextPage' declared here
17 | var state: ListContainerState { get set }
18 | var configutation: ContributorList.Configuration { get set }
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
| `- note: requirement 'loadNextPage' declared here
20 |
21 | var container: Container { get }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:24:9: warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
22 | }
23 |
24 | var container: some View {
| `- warning: main actor-isolated property 'container' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
25 | List {
26 | ForEach(contributors) { contributor in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:21:9: note: requirement 'container' declared here
19 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void { get set }
20 |
21 | var container: Container { get }
| `- note: requirement 'container' declared here
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:54:10: warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
52 | }
53 |
54 | func cell(_ contributor: Contributor) -> some View {
| |- warning: main actor-isolated instance method 'cell' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cell' to make this instance method not isolated to the actor
55 | HStack(spacing: 10) {
56 | KFImage(contributor.imageURL)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:22:10: note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
20 |
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
| `- note: mark the protocol requirement 'cell' 'async' to allow actor-isolated conformances
23 | func placeholder() -> Placeholder
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:77:10: warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
75 | }
76 |
77 | func placeholder() -> some View {
| |- warning: main actor-isolated instance method 'placeholder()' cannot be used to satisfy nonisolated requirement from protocol 'ListContainer'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'placeholder()' to make this instance method not isolated to the actor
78 | HStack(spacing: 10) {
79 | Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/ListContainer.swift:23:10: note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
21 | var container: Container { get }
22 | func cell(_ contributor: Contributor) -> Cell
23 | func placeholder() -> Placeholder
| `- note: mark the protocol requirement 'placeholder()' 'async' to allow actor-isolated conformances
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:45:71: warning: main actor-isolated property 'size' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
16 | var loadNextPage: (Contributor, ContributorList.Configuration) async -> Void
17 |
18 | @ScaledMetric var size: CGFloat = 50
| `- note: property declared here
19 |
20 | var body: some View {
:
43 | }
44 | .alignmentGuide(.listRowSeparatorLeading) { viewDimensions in
45 | return viewDimensions[.listRowSeparatorLeading] + size + 10
| `- warning: main actor-isolated property 'size' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
46 | }
47 | case .idle, .end:
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:28:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 | guard self.state == .idle else { return }
27 | await MainActor.run {
28 | self.error = nil
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
29 | self.state = .loading
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:45:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
43 | self.lastId = contributors.last?.id
44 | await MainActor.run {
45 | self.contributors.append(contentsOf: contributors)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
46 | self.state = contributors.count < 50 ? .end : .idle
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:50:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
48 | } catch {
49 | await MainActor.run {
50 | self.error = error as? APIError ?? .unknownError
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
51 | self.state = .idle
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:38:39: warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
36 | .frame(width: size, height: size * factor)
37 | .task {
38 | await loadNextPage(contributor, configutation)
| |- warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configutation' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:29:31: warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
27 | cell(contributor)
28 | .task {
29 | await loadNextPage(contributor, configutation)
| |- warning: sending 'self.configutation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configutation' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
30 | }
31 | }
[98/101] Compiling ContributorUI ContributorCard.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:113:31: warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
111 | state: viewModel.state,
112 | configutation: configuration,
113 | loadNextPage: viewModel.loadNextPageIfReachToBottom
| `- warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
114 | )
115 | case .grid:
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:10:7: note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:120:31: warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
118 | state: viewModel.state,
119 | configutation: configuration,
120 | loadNextPage: viewModel.loadNextPageIfReachToBottom
| `- warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
121 | )
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:10:7: note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:43:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
41 | }
42 | .task {
43 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
44 | }
45 | .onChange(of: configuration) { configuration in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:43:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
41 | }
42 | .task {
43 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
44 | }
45 | .onChange(of: configuration) { configuration in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:47:37: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
45 | .onChange(of: configuration) { configuration in
46 | Task {
47 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
48 | }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:67:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | if viewModel.contributors.isEmpty, let error = viewModel.error {
66 | ErrorPrompt(error: error) {
67 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
68 | }
69 | .frame(minHeight: minimumHeight)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:67:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
65 | if viewModel.contributors.isEmpty, let error = viewModel.error {
66 | ErrorPrompt(error: error) {
67 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
68 | }
69 | .frame(minHeight: minimumHeight)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:24:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
22 | do {
23 | await MainActor.run {
24 | self.error = nil
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | self.isLoading = true
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:38:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | await MainActor.run {
38 | self.isLoading = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
39 | self.contributors = contributors
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:43:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
41 | } catch {
42 | await MainActor.run {
43 | self.error = error as? APIError ?? .unknownError
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | self.isLoading = false
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:84:29: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
82 | }
83 | .task {
84 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
85 | }
86 | #if canImport(XCTest)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:84:29: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
82 | }
83 | .task {
84 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
85 | }
86 | #if canImport(XCTest)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:97:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
95 | if viewModel.contributors.isEmpty, let error = viewModel.error {
96 | ErrorPrompt(error: error) {
97 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
98 | }
99 | .padding(20)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:97:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
95 | if viewModel.contributors.isEmpty, let error = viewModel.error {
96 | ErrorPrompt(error: error) {
97 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
98 | }
99 | .padding(20)
[99/101] Compiling ContributorUI ContributorCardViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:113:31: warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
111 | state: viewModel.state,
112 | configutation: configuration,
113 | loadNextPage: viewModel.loadNextPageIfReachToBottom
| `- warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
114 | )
115 | case .grid:
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:10:7: note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:120:31: warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
118 | state: viewModel.state,
119 | configutation: configuration,
120 | loadNextPage: viewModel.loadNextPageIfReachToBottom
| `- warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
121 | )
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:10:7: note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:43:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
41 | }
42 | .task {
43 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
44 | }
45 | .onChange(of: configuration) { configuration in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:43:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
41 | }
42 | .task {
43 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
44 | }
45 | .onChange(of: configuration) { configuration in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:47:37: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
45 | .onChange(of: configuration) { configuration in
46 | Task {
47 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
48 | }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:67:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | if viewModel.contributors.isEmpty, let error = viewModel.error {
66 | ErrorPrompt(error: error) {
67 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
68 | }
69 | .frame(minHeight: minimumHeight)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:67:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
65 | if viewModel.contributors.isEmpty, let error = viewModel.error {
66 | ErrorPrompt(error: error) {
67 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
68 | }
69 | .frame(minHeight: minimumHeight)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:24:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
22 | do {
23 | await MainActor.run {
24 | self.error = nil
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | self.isLoading = true
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:38:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | await MainActor.run {
38 | self.isLoading = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
39 | self.contributors = contributors
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:43:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
41 | } catch {
42 | await MainActor.run {
43 | self.error = error as? APIError ?? .unknownError
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | self.isLoading = false
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:84:29: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
82 | }
83 | .task {
84 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
85 | }
86 | #if canImport(XCTest)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:84:29: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
82 | }
83 | .task {
84 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
85 | }
86 | #if canImport(XCTest)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:97:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
95 | if viewModel.contributors.isEmpty, let error = viewModel.error {
96 | ErrorPrompt(error: error) {
97 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
98 | }
99 | .padding(20)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:97:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
95 | if viewModel.contributors.isEmpty, let error = viewModel.error {
96 | ErrorPrompt(error: error) {
97 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
98 | }
99 | .padding(20)
[100/101] Compiling ContributorUI ContributorList+Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:113:31: warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
111 | state: viewModel.state,
112 | configutation: configuration,
113 | loadNextPage: viewModel.loadNextPageIfReachToBottom
| `- warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
114 | )
115 | case .grid:
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:10:7: note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:120:31: warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
118 | state: viewModel.state,
119 | configutation: configuration,
120 | loadNextPage: viewModel.loadNextPageIfReachToBottom
| `- warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
121 | )
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:10:7: note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:43:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
41 | }
42 | .task {
43 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
44 | }
45 | .onChange(of: configuration) { configuration in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:43:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
41 | }
42 | .task {
43 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
44 | }
45 | .onChange(of: configuration) { configuration in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:47:37: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
45 | .onChange(of: configuration) { configuration in
46 | Task {
47 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
48 | }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:67:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | if viewModel.contributors.isEmpty, let error = viewModel.error {
66 | ErrorPrompt(error: error) {
67 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
68 | }
69 | .frame(minHeight: minimumHeight)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:67:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
65 | if viewModel.contributors.isEmpty, let error = viewModel.error {
66 | ErrorPrompt(error: error) {
67 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
68 | }
69 | .frame(minHeight: minimumHeight)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:24:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
22 | do {
23 | await MainActor.run {
24 | self.error = nil
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | self.isLoading = true
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:38:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | await MainActor.run {
38 | self.isLoading = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
39 | self.contributors = contributors
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:43:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
41 | } catch {
42 | await MainActor.run {
43 | self.error = error as? APIError ?? .unknownError
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | self.isLoading = false
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:84:29: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
82 | }
83 | .task {
84 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
85 | }
86 | #if canImport(XCTest)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:84:29: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
82 | }
83 | .task {
84 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
85 | }
86 | #if canImport(XCTest)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:97:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
95 | if viewModel.contributors.isEmpty, let error = viewModel.error {
96 | ErrorPrompt(error: error) {
97 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
98 | }
99 | .padding(20)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:97:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
95 | if viewModel.contributors.isEmpty, let error = viewModel.error {
96 | ErrorPrompt(error: error) {
97 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
98 | }
99 | .padding(20)
[101/101] Compiling ContributorUI ContributorList.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:113:31: warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
111 | state: viewModel.state,
112 | configutation: configuration,
113 | loadNextPage: viewModel.loadNextPageIfReachToBottom
| `- warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
114 | )
115 | case .grid:
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:10:7: note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:120:31: warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
118 | state: viewModel.state,
119 | configutation: configuration,
120 | loadNextPage: viewModel.loadNextPageIfReachToBottom
| `- warning: non-sendable type 'ContributorListViewModel' cannot exit main actor-isolated context in call to nonisolated instance method 'loadNextPageIfReachToBottom(_:with:)'; this is an error in the Swift 6 language mode
121 | )
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:10:7: note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:43:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
41 | }
42 | .task {
43 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
44 | }
45 | .onChange(of: configuration) { configuration in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:43:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
41 | }
42 | .task {
43 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
44 | }
45 | .onChange(of: configuration) { configuration in
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:47:37: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
45 | .onChange(of: configuration) { configuration in
46 | Task {
47 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
48 | }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:67:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | if viewModel.contributors.isEmpty, let error = viewModel.error {
66 | ErrorPrompt(error: error) {
67 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
68 | }
69 | .frame(minHeight: minimumHeight)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift:67:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
65 | if viewModel.contributors.isEmpty, let error = viewModel.error {
66 | ErrorPrompt(error: error) {
67 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
68 | }
69 | .frame(minHeight: minimumHeight)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:24:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
22 | do {
23 | await MainActor.run {
24 | self.error = nil
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | self.isLoading = true
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:38:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
36 | )
37 | await MainActor.run {
38 | self.isLoading = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
39 | self.contributors = contributors
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:43:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
41 | } catch {
42 | await MainActor.run {
43 | self.error = error as? APIError ?? .unknownError
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | self.isLoading = false
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:84:29: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
82 | }
83 | .task {
84 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
85 | }
86 | #if canImport(XCTest)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:84:29: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
82 | }
83 | .task {
84 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
85 | }
86 | #if canImport(XCTest)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:97:33: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
95 | if viewModel.contributors.isEmpty, let error = viewModel.error {
96 | ErrorPrompt(error: error) {
97 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.configuration' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
98 | }
99 | .padding(20)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorList.swift:97:33: warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
95 | if viewModel.contributors.isEmpty, let error = viewModel.error {
96 | ErrorPrompt(error: error) {
97 | await viewModel.loadContributors(with: configuration)
| |- warning: sending 'self.viewModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.viewModel' to nonisolated instance method 'loadContributors(with:)' risks causing data races between nonisolated and main actor-isolated uses
98 | }
99 | .padding(20)
Build complete! (19.16s)
Build complete.
{
"dependencies" : [
{
"identity" : "viewinspector",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nalexn/ViewInspector.git"
},
{
"identity" : "kingfisher",
"requirement" : {
"range" : [
{
"lower_bound" : "7.6.2",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Kingfisher.git"
}
],
"manifest_display_name" : "ContributorUI",
"name" : "ContributorUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ContributorUI",
"targets" : [
"ContributorUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ContributorUITests",
"module_type" : "SwiftTarget",
"name" : "ContributorUITests",
"path" : "Tests/ContributorUITests",
"product_dependencies" : [
"ViewInspector",
"Kingfisher"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ContributorUITests/Resources/contributors-swift-1.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ContributorUITests/Resources/contributors-swift-2.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ContributorUITests/Resources/contributors.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Helpers/Extensions/Inspection+InspectionEmissary.swift",
"Helpers/Extensions/NSError+APIError.swift",
"Helpers/Extensions/Style+Equatable.swift",
"Helpers/Mocks/MockAPI.swift",
"Helpers/Mocks/MockURLProtocol.swift",
"Helpers/ViewModels/TestContributroListViewModel.swift",
"Helpers/Views/CardViewWrapper.swift",
"TestCases/AppKit/AppKitSupportTests.swift",
"TestCases/ContributorCard/ContributorCardTests.swift",
"TestCases/ContributorCard/ContributorCardViewModelTests.swift",
"TestCases/ContributorList/ContributorListTests.swift",
"TestCases/ContributorList/ContributorListViewModelTests.swift",
"TestCases/ContributorUI/ContributorUITests.swift",
"TestCases/Networking/APITests.swift",
"TestCases/Networking/NetworkingTests.swift",
"TestCases/UIKit/UIKitSupportTests.swift"
],
"target_dependencies" : [
"ContributorUI"
],
"type" : "test"
},
{
"c99name" : "ContributorUI",
"module_type" : "SwiftTarget",
"name" : "ContributorUI",
"path" : "Sources/ContributorUI",
"product_dependencies" : [
"Kingfisher"
],
"product_memberships" : [
"ContributorUI"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Resources/Icon.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"API/Abstract/API.swift",
"API/Abstract/Endpoint.swift",
"API/Error/APIError.swift",
"API/GitHub/GitHub.swift",
"API/GitHub/GitHubAPI.swift",
"AppKit/NSContributorCard.swift",
"AppKit/NSContributorListController.swift",
"Components/ContributorCard/ContributorCard+Configuration.swift",
"Components/ContributorCard/ContributorCard.swift",
"Components/ContributorCard/ContributorCardViewModel.swift",
"Components/ContributorList/ContributorList+Configuration.swift",
"Components/ContributorList/ContributorList.swift",
"Components/ContributorList/ContributorListViewModel.swift",
"Components/ContributorList/ListContainer/GridListContainer.swift",
"Components/ContributorList/ListContainer/ListContainer.swift",
"Components/ContributorList/ListContainer/TableListContainer.swift",
"ContributorUI.swift",
"Models/Contributor.swift",
"Services/Networking/Networking.swift",
"UIKit/UIContributorCard.swift",
"UIKit/UIContributorListController.swift",
"Utilities/Inspection/Inspection.swift",
"Utilities/Modifiers/BorderStyleModifier.swift",
"Utilities/Modifiers/HoverModifier.swift",
"Utilities/Modifiers/ShimmerModifier.swift",
"Utilities/Modifiers/SizeModifer.swift",
"Utilities/PreferenceKeys/SizePreferenceKey.swift",
"Utilities/Shapes/BubbleBox.swift",
"Utilities/Styles/AvatarStyle.swift",
"Utilities/Styles/BorderStyle.swift",
"Utilities/Styles/ContributorListStyle.swift",
"Utilities/Styles/LabelStyle.swift",
"Utilities/Views/ErrorPrompt.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.