Build Information
Successful build of ContributorUI with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dscyrescotti/ContributorUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dscyrescotti/ContributorUI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aebacb9 update README.md
Cloned https://github.com/dscyrescotti/ContributorUI.git
Revision (git rev-parse @):
aebacb973378f85f5bbaa070b582c10145304608
SUCCESS checkout https://github.com/dscyrescotti/ContributorUI.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/dscyrescotti/ContributorUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[2/4] Copying Icon.xcassets
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/60] Compiling Kingfisher Kingfisher.swift
[6/60] Compiling Kingfisher KingfisherError.swift
[7/60] Compiling Kingfisher KingfisherManager.swift
[8/60] Compiling Kingfisher KingfisherOptionsInfo.swift
[9/60] Compiling Kingfisher Filter.swift
[10/60] Compiling Kingfisher GIFAnimatedImage.swift
[11/60] Compiling Kingfisher ImageTransition.swift
[12/60] Compiling Kingfisher Placeholder.swift
[13/60] Compiling Kingfisher AuthenticationChallengeResponsable.swift
[14/60] Compiling Kingfisher ImageDataProcessor.swift
[15/60] Compiling Kingfisher ImageDownloader.swift
[16/60] Compiling Kingfisher ImageDownloaderDelegate.swift
[17/60] Compiling Kingfisher AVAssetImageDataProvider.swift
[18/60] Compiling Kingfisher ImageDataProvider.swift
[19/60] Compiling Kingfisher Resource.swift
[20/60] Compiling Kingfisher Source.swift
[21/60] Compiling Kingfisher KF.swift
[22/60] Compiling Kingfisher KFOptionsSetter.swift
[23/60] Compiling Kingfisher GraphicsContext.swift
[24/60] Compiling Kingfisher Image.swift
[25/60] Compiling Kingfisher ImageDrawing.swift
[26/60] Compiling Kingfisher ImageFormat.swift
[27/60] Compiling Kingfisher ImageProcessor.swift
[28/60] Compiling Kingfisher ImageProgressive.swift
[29/60] Compiling Kingfisher KFImageProtocol.swift
[30/60] Compiling Kingfisher KFImageRenderer.swift
[31/60] Compiling Kingfisher Box.swift
[32/60] Compiling Kingfisher CallbackQueue.swift
[33/60] Compiling Kingfisher Delegate.swift
[34/60] Compiling Kingfisher ExtensionHelpers.swift
[35/60] Compiling Kingfisher ImageModifier.swift
[36/60] Compiling Kingfisher ImagePrefetcher.swift
[37/60] Compiling Kingfisher RedirectHandler.swift
[38/60] Compiling Kingfisher RequestModifier.swift
[39/60] Compiling Kingfisher RetryStrategy.swift
[40/60] Compiling Kingfisher SessionDataTask.swift
[41/66] Emitting module Kingfisher
[42/66] Compiling Kingfisher CacheSerializer.swift
[43/66] Compiling Kingfisher DiskStorage.swift
[44/66] Compiling Kingfisher FormatIndicatedCacheSerializer.swift
[45/66] Compiling Kingfisher ImageCache.swift
[46/66] Compiling Kingfisher MemoryStorage.swift
[47/66] Compiling Kingfisher Storage.swift
[48/66] Compiling Kingfisher CPListItem+Kingfisher.swift
[49/66] Compiling Kingfisher ImageView+Kingfisher.swift
[50/66] Compiling Kingfisher NSButton+Kingfisher.swift
[51/66] Compiling Kingfisher NSTextAttachment+Kingfisher.swift
[52/66] Compiling Kingfisher TVMonogramView+Kingfisher.swift
[53/66] Compiling Kingfisher UIButton+Kingfisher.swift
[54/66] Compiling Kingfisher WKInterfaceImage+Kingfisher.swift
[55/66] Compiling Kingfisher SessionDelegate.swift
[56/66] Compiling Kingfisher ImageBinder.swift
[57/66] Compiling Kingfisher ImageContext.swift
[58/66] Compiling Kingfisher KFAnimatedImage.swift
[59/66] Compiling Kingfisher KFImage.swift
[60/66] Compiling Kingfisher KFImageOptions.swift
[61/66] Compiling Kingfisher Result.swift
[62/66] Compiling Kingfisher Runtime.swift
[63/66] Compiling Kingfisher SizeExtensions.swift
[64/66] Compiling Kingfisher String+MD5.swift
[65/66] Compiling Kingfisher AnimatedImageView.swift
[66/66] Compiling Kingfisher Indicator.swift
[67/98] Compiling ContributorUI UIContributorCard.swift
[68/98] Compiling ContributorUI UIContributorListController.swift
[69/98] Compiling ContributorUI Inspection.swift
[70/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 non-isolated 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 non-isolated 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) { }
[71/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 non-isolated 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 non-isolated 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) { }
[72/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 non-isolated 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 non-isolated 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) { }
[73/101] Compiling ContributorUI AvatarStyle.swift
[74/101] Compiling ContributorUI BorderStyle.swift
[75/101] Compiling ContributorUI ContributorListStyle.swift
[76/101] Compiling ContributorUI BorderStyleModifier.swift
[77/101] Compiling ContributorUI HoverModifier.swift
[78/101] Compiling ContributorUI ShimmerModifier.swift
[79/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 non-isolated 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 non-isolated 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: annotate 'TOKEN_KEY' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'contribtorUI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let bundleName = "ContributorUI_ContributorUI"
23 |
[80/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 non-isolated 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 non-isolated 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: annotate 'TOKEN_KEY' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'contribtorUI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let bundleName = "ContributorUI_ContributorUI"
23 |
[81/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 non-isolated 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 non-isolated 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: annotate 'TOKEN_KEY' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'contribtorUI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | let bundleName = "ContributorUI_ContributorUI"
23 |
[82/101] 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 non-isolated 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 non-isolated 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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/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 non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:13:16: warning: static property 'TOKEN_KEY' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'TOKEN_KEY' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'contribtorUI' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) { }
[83/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 non-isolated 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 non-isolated 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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[84/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 non-isolated 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 non-isolated 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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[85/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 non-isolated 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 non-isolated 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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[86/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 non-isolated 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 non-isolated 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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[87/101] Compiling ContributorUI GitHubAPI.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 non-isolated 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 non-isolated 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: annotate 'TOKEN_KEY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Utilities/Styles/LabelStyle.swift:24:16: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
[88/101] Compiling ContributorUI NSContributorCard.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 non-isolated 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 non-isolated 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: annotate 'TOKEN_KEY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Utilities/Styles/LabelStyle.swift:24:16: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
[89/101] Compiling ContributorUI NSContributorListController.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 non-isolated 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 non-isolated 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: annotate 'TOKEN_KEY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Utilities/Styles/LabelStyle.swift:24:16: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
[90/101] Compiling ContributorUI ContributorCard+Configuration.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 non-isolated 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 non-isolated 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: annotate 'TOKEN_KEY' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Utilities/Styles/LabelStyle.swift:24:16: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
[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 non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 ContributorCard.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 non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
/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 non-isolated 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 non-isolated 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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ContributorCard/ContributorCardViewModel.swift:24:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
22 | do {
23 | await MainActor.run {
24 | self.error = nil
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | self.isLoading = true
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:38:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
36 | )
37 | await MainActor.run {
38 | self.isLoading = false
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | self.contributors = contributors
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:43:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
41 | } catch {
42 | await MainActor.run {
43 | self.error = error as? APIError ?? .unknownError
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | self.isLoading = false
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:21:16: warning: static property 'contribtorUI' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'contribtorUI' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Components/ContributorList/ContributorList.swift:113:31: warning: non-sendable type 'ContributorListViewModel' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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)
[95/101] Compiling ContributorUI ContributorCardViewModel.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 non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
/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 non-isolated 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 non-isolated 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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ContributorCard/ContributorCardViewModel.swift:24:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
22 | do {
23 | await MainActor.run {
24 | self.error = nil
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | self.isLoading = true
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:38:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
36 | )
37 | await MainActor.run {
38 | self.isLoading = false
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | self.contributors = contributors
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:43:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
41 | } catch {
42 | await MainActor.run {
43 | self.error = error as? APIError ?? .unknownError
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | self.isLoading = false
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:21:16: warning: static property 'contribtorUI' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'contribtorUI' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Components/ContributorList/ContributorList.swift:113:31: warning: non-sendable type 'ContributorListViewModel' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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)
[96/101] Compiling ContributorUI ContributorList+Configuration.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 non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
/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 non-isolated 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 non-isolated 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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ContributorCard/ContributorCardViewModel.swift:24:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
22 | do {
23 | await MainActor.run {
24 | self.error = nil
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | self.isLoading = true
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:38:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
36 | )
37 | await MainActor.run {
38 | self.isLoading = false
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | self.contributors = contributors
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:43:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
41 | } catch {
42 | await MainActor.run {
43 | self.error = error as? APIError ?? .unknownError
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | self.isLoading = false
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:21:16: warning: static property 'contribtorUI' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'contribtorUI' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Components/ContributorList/ContributorList.swift:113:31: warning: non-sendable type 'ContributorListViewModel' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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)
[97/101] Compiling ContributorUI ContributorList.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 non-isolated 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 non-isolated 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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 {
/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 non-isolated 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 non-isolated 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: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- 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/ContributorCard/ContributorCardViewModel.swift:24:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
22 | do {
23 | await MainActor.run {
24 | self.error = nil
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | self.isLoading = true
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:38:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
36 | )
37 | await MainActor.run {
38 | self.isLoading = false
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | self.contributors = contributors
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorCard/ContributorCardViewModel.swift:43:17: warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorCardViewModel: ObservableObject {
| `- note: class 'ContributorCardViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
41 | } catch {
42 | await MainActor.run {
43 | self.error = error as? APIError ?? .unknownError
| `- warning: capture of 'self' with non-sendable type 'ContributorCardViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | self.isLoading = false
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/ContributorUI.swift:21:16: warning: static property 'contribtorUI' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'contribtorUI' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Components/ContributorList/ContributorList.swift:113:31: warning: non-sendable type 'ContributorListViewModel' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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' exiting main actor-isolated context in call to non-isolated instance method 'loadNextPageIfReachToBottom(_:with:)' cannot cross actor boundary; 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)
[98/101] Compiling ContributorUI ContributorListViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:28:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
26 | guard self.state == .idle else { return }
27 | await MainActor.run {
28 | self.error = nil
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | self.state = .loading
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:45:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
43 | self.lastId = contributors.last?.id
44 | await MainActor.run {
45 | self.contributors.append(contentsOf: contributors)
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | self.state = contributors.count < 50 ? .end : .idle
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:50:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
48 | } catch {
49 | await MainActor.run {
50 | self.error = error as? APIError ?? .unknownError
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | self.state = .idle
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:38:39: warning: capture of 'self' with non-sendable type 'GridListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct GridListContainer: View, ListContainer {
| `- note: consider making struct 'GridListContainer' conform to the 'Sendable' protocol
13 | var contributors: Contributors
14 | var state: ListContainerState
:
36 | .frame(width: size, height: size * factor)
37 | .task {
38 | await loadNextPage(contributor, configutation)
| `- warning: capture of 'self' with non-sendable type 'GridListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:25:9: warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | var container: some View {
25 | List {
| `- warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | ForEach(contributors) { contributor in
27 | cell(contributor)
SwiftUI.List:3:23: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension List where SelectionValue == Never {
3 | @MainActor public init(@ViewBuilder content: () -> Content)
| `- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
4 | @MainActor public init<Data, RowContent>(_ data: Data, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable
5 | @available(iOS 14.0, macOS 11.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:29:31: warning: capture of 'self' with non-sendable type 'TableListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct TableListContainer: View, ListContainer {
| `- note: consider making struct 'TableListContainer' conform to the 'Sendable' protocol
13 | var contributors: Contributors
14 | var state: ListContainerState
:
27 | cell(contributor)
28 | .task {
29 | await loadNextPage(contributor, configutation)
| `- warning: capture of 'self' with non-sendable type 'TableListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/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/TableListContainer.swift:25:9: warning: sending task-isolated value of type '() -> TupleView<(ForEach<Contributors, Int, some View>, _ConditionalContent<some View, EmptyView>)>' (aka '() -> TupleView<(ForEach<Array<Contributor>, Int, some View>, _ConditionalContent<some View, EmptyView>)>') with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
23 |
24 | var container: some View {
25 | List {
| `- warning: sending task-isolated value of type '() -> TupleView<(ForEach<Contributors, Int, some View>, _ConditionalContent<some View, EmptyView>)>' (aka '() -> TupleView<(ForEach<Array<Contributor>, Int, some View>, _ConditionalContent<some View, EmptyView>)>') with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
26 | ForEach(contributors) { contributor in
27 | cell(contributor)
[99/101] Compiling ContributorUI GridListContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:28:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
26 | guard self.state == .idle else { return }
27 | await MainActor.run {
28 | self.error = nil
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | self.state = .loading
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:45:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
43 | self.lastId = contributors.last?.id
44 | await MainActor.run {
45 | self.contributors.append(contentsOf: contributors)
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | self.state = contributors.count < 50 ? .end : .idle
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:50:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
48 | } catch {
49 | await MainActor.run {
50 | self.error = error as? APIError ?? .unknownError
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | self.state = .idle
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:38:39: warning: capture of 'self' with non-sendable type 'GridListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct GridListContainer: View, ListContainer {
| `- note: consider making struct 'GridListContainer' conform to the 'Sendable' protocol
13 | var contributors: Contributors
14 | var state: ListContainerState
:
36 | .frame(width: size, height: size * factor)
37 | .task {
38 | await loadNextPage(contributor, configutation)
| `- warning: capture of 'self' with non-sendable type 'GridListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:25:9: warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | var container: some View {
25 | List {
| `- warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | ForEach(contributors) { contributor in
27 | cell(contributor)
SwiftUI.List:3:23: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension List where SelectionValue == Never {
3 | @MainActor public init(@ViewBuilder content: () -> Content)
| `- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
4 | @MainActor public init<Data, RowContent>(_ data: Data, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable
5 | @available(iOS 14.0, macOS 11.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:29:31: warning: capture of 'self' with non-sendable type 'TableListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct TableListContainer: View, ListContainer {
| `- note: consider making struct 'TableListContainer' conform to the 'Sendable' protocol
13 | var contributors: Contributors
14 | var state: ListContainerState
:
27 | cell(contributor)
28 | .task {
29 | await loadNextPage(contributor, configutation)
| `- warning: capture of 'self' with non-sendable type 'TableListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/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/TableListContainer.swift:25:9: warning: sending task-isolated value of type '() -> TupleView<(ForEach<Contributors, Int, some View>, _ConditionalContent<some View, EmptyView>)>' (aka '() -> TupleView<(ForEach<Array<Contributor>, Int, some View>, _ConditionalContent<some View, EmptyView>)>') with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
23 |
24 | var container: some View {
25 | List {
| `- warning: sending task-isolated value of type '() -> TupleView<(ForEach<Contributors, Int, some View>, _ConditionalContent<some View, EmptyView>)>' (aka '() -> TupleView<(ForEach<Array<Contributor>, Int, some View>, _ConditionalContent<some View, EmptyView>)>') with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
26 | ForEach(contributors) { contributor in
27 | cell(contributor)
[100/101] Compiling ContributorUI ListContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:28:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
26 | guard self.state == .idle else { return }
27 | await MainActor.run {
28 | self.error = nil
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | self.state = .loading
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:45:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
43 | self.lastId = contributors.last?.id
44 | await MainActor.run {
45 | self.contributors.append(contentsOf: contributors)
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | self.state = contributors.count < 50 ? .end : .idle
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:50:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
48 | } catch {
49 | await MainActor.run {
50 | self.error = error as? APIError ?? .unknownError
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | self.state = .idle
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:38:39: warning: capture of 'self' with non-sendable type 'GridListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct GridListContainer: View, ListContainer {
| `- note: consider making struct 'GridListContainer' conform to the 'Sendable' protocol
13 | var contributors: Contributors
14 | var state: ListContainerState
:
36 | .frame(width: size, height: size * factor)
37 | .task {
38 | await loadNextPage(contributor, configutation)
| `- warning: capture of 'self' with non-sendable type 'GridListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:25:9: warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | var container: some View {
25 | List {
| `- warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | ForEach(contributors) { contributor in
27 | cell(contributor)
SwiftUI.List:3:23: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension List where SelectionValue == Never {
3 | @MainActor public init(@ViewBuilder content: () -> Content)
| `- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
4 | @MainActor public init<Data, RowContent>(_ data: Data, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable
5 | @available(iOS 14.0, macOS 11.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:29:31: warning: capture of 'self' with non-sendable type 'TableListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct TableListContainer: View, ListContainer {
| `- note: consider making struct 'TableListContainer' conform to the 'Sendable' protocol
13 | var contributors: Contributors
14 | var state: ListContainerState
:
27 | cell(contributor)
28 | .task {
29 | await loadNextPage(contributor, configutation)
| `- warning: capture of 'self' with non-sendable type 'TableListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/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/TableListContainer.swift:25:9: warning: sending task-isolated value of type '() -> TupleView<(ForEach<Contributors, Int, some View>, _ConditionalContent<some View, EmptyView>)>' (aka '() -> TupleView<(ForEach<Array<Contributor>, Int, some View>, _ConditionalContent<some View, EmptyView>)>') with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
23 |
24 | var container: some View {
25 | List {
| `- warning: sending task-isolated value of type '() -> TupleView<(ForEach<Contributors, Int, some View>, _ConditionalContent<some View, EmptyView>)>' (aka '() -> TupleView<(ForEach<Array<Contributor>, Int, some View>, _ConditionalContent<some View, EmptyView>)>') with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
26 | ForEach(contributors) { contributor in
27 | cell(contributor)
[101/101] Compiling ContributorUI TableListContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:28:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
26 | guard self.state == .idle else { return }
27 | await MainActor.run {
28 | self.error = nil
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | self.state = .loading
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:45:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
43 | self.lastId = contributors.last?.id
44 | await MainActor.run {
45 | self.contributors.append(contentsOf: contributors)
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | self.state = contributors.count < 50 ? .end : .idle
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ContributorListViewModel.swift:50:17: warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class ContributorListViewModel: ObservableObject {
| `- note: class 'ContributorListViewModel' does not conform to the 'Sendable' protocol
11 | let github: GitHub
12 |
:
48 | } catch {
49 | await MainActor.run {
50 | self.error = error as? APIError ?? .unknownError
| `- warning: capture of 'self' with non-sendable type 'ContributorListViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | self.state = .idle
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/GridListContainer.swift:38:39: warning: capture of 'self' with non-sendable type 'GridListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct GridListContainer: View, ListContainer {
| `- note: consider making struct 'GridListContainer' conform to the 'Sendable' protocol
13 | var contributors: Contributors
14 | var state: ListContainerState
:
36 | .frame(width: size, height: size * factor)
37 | .task {
38 | await loadNextPage(contributor, configutation)
| `- warning: capture of 'self' with non-sendable type 'GridListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:25:9: warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 |
24 | var container: some View {
25 | List {
| `- warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | ForEach(contributors) { contributor in
27 | cell(contributor)
SwiftUI.List:3:23: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension List where SelectionValue == Never {
3 | @MainActor public init(@ViewBuilder content: () -> Content)
| `- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
4 | @MainActor public init<Data, RowContent>(_ data: Data, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable
5 | @available(iOS 14.0, macOS 11.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/ContributorUI/Components/ContributorList/ListContainer/TableListContainer.swift:29:31: warning: capture of 'self' with non-sendable type 'TableListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | import Kingfisher
11 |
12 | struct TableListContainer: View, ListContainer {
| `- note: consider making struct 'TableListContainer' conform to the 'Sendable' protocol
13 | var contributors: Contributors
14 | var state: ListContainerState
:
27 | cell(contributor)
28 | .task {
29 | await loadNextPage(contributor, configutation)
| `- warning: capture of 'self' with non-sendable type 'TableListContainer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | }
31 | }
/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/TableListContainer.swift:25:9: warning: sending task-isolated value of type '() -> TupleView<(ForEach<Contributors, Int, some View>, _ConditionalContent<some View, EmptyView>)>' (aka '() -> TupleView<(ForEach<Array<Contributor>, Int, some View>, _ConditionalContent<some View, EmptyView>)>') with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
23 |
24 | var container: some View {
25 | List {
| `- warning: sending task-isolated value of type '() -> TupleView<(ForEach<Contributors, Int, some View>, _ConditionalContent<some View, EmptyView>)>' (aka '() -> TupleView<(ForEach<Array<Contributor>, Int, some View>, _ConditionalContent<some View, EmptyView>)>') with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
26 | ForEach(contributors) { contributor in
27 | cell(contributor)
Build complete! (64.07s)
Fetching https://github.com/nalexn/ViewInspector.git
Fetching https://github.com/onevcat/Kingfisher.git
[1/11472] Fetching viewinspector
[1722/41573] Fetching viewinspector, kingfisher
Fetched https://github.com/nalexn/ViewInspector.git from cache (3.40s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (3.40s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 7.6.2 (0.71s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.9.5 (0.66s)
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
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-2.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ContributorUITests/Resources/contributors.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ContributorUITests/Resources/contributors-swift-1.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.