Build Information
Successful build of SwiftyChat, reference 2.7.4 (c6a9c5
), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 13:48:03 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EnesKaraosman/SwiftyChat.git
Reference: 2.7.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EnesKaraosman/SwiftyChat
* tag 2.7.4 -> FETCH_HEAD
HEAD is now at c6a9c52 chore(deps): update dependency onevcat/kingfisher to 8.1.0
Cloned https://github.com/EnesKaraosman/SwiftyChat.git
Revision (git rev-parse @):
c6a9c529e707156cc0ffecd4f2f29ea71225be5f
SUCCESS checkout https://github.com/EnesKaraosman/SwiftyChat.git at 2.7.4
Fetching https://github.com/dkk/WrappingHStack.git
Fetching https://github.com/EnesKaraosman/SwiftUIEKtensions.git
Fetching https://github.com/onevcat/Kingfisher.git
[1/479] Fetching wrappinghstack
[227/727] Fetching wrappinghstack, swiftuiektensions
Fetched https://github.com/dkk/WrappingHStack.git from cache (0.90s)
[1/31073] Fetching kingfisher
Fetched https://github.com/onevcat/Kingfisher.git from cache (3.60s)
Fetched https://github.com/EnesKaraosman/SwiftUIEKtensions.git from cache (3.60s)
Computing version for https://github.com/dkk/WrappingHStack.git
Computed https://github.com/dkk/WrappingHStack.git at 2.2.11 (3.36s)
Computing version for https://github.com/EnesKaraosman/SwiftUIEKtensions.git
Computed https://github.com/EnesKaraosman/SwiftUIEKtensions.git at 0.4.0 (0.42s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 8.1.0 (0.45s)
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 8.1.0
Creating working copy for https://github.com/EnesKaraosman/SwiftUIEKtensions.git
Working copy of https://github.com/EnesKaraosman/SwiftUIEKtensions.git resolved at 0.4.0
Creating working copy for https://github.com/dkk/WrappingHStack.git
Working copy of https://github.com/dkk/WrappingHStack.git resolved at 2.2.11
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftychat",
"name": "SwiftyChat",
"url": "https://github.com/EnesKaraosman/SwiftyChat.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyChat",
"dependencies": [
{
"identity": "kingfisher",
"name": "Kingfisher",
"url": "https://github.com/onevcat/Kingfisher.git",
"version": "8.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kingfisher",
"dependencies": [
]
},
{
"identity": "swiftuiektensions",
"name": "SwiftUIEKtensions",
"url": "https://github.com/EnesKaraosman/SwiftUIEKtensions.git",
"version": "0.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUIEKtensions",
"dependencies": [
]
},
{
"identity": "wrappinghstack",
"name": "WrappingHStack",
"url": "https://github.com/dkk/WrappingHStack.git",
"version": "2.2.11",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WrappingHStack",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/EnesKaraosman/SwiftyChat.git
[1/4048] Fetching swiftychat
Fetched https://github.com/EnesKaraosman/SwiftyChat.git from cache (1.69s)
Fetching https://github.com/onevcat/Kingfisher.git from cache
Fetching https://github.com/dkk/WrappingHStack.git from cache
Fetching https://github.com/EnesKaraosman/SwiftUIEKtensions.git from cache
Fetched https://github.com/EnesKaraosman/SwiftUIEKtensions.git from cache (0.52s)
Fetched https://github.com/dkk/WrappingHStack.git from cache (0.66s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (0.66s)
Computing version for https://github.com/dkk/WrappingHStack.git
Computed https://github.com/dkk/WrappingHStack.git at 2.2.11 (0.02s)
Computing version for https://github.com/EnesKaraosman/SwiftUIEKtensions.git
Computed https://github.com/EnesKaraosman/SwiftUIEKtensions.git at 0.4.0 (0.02s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 8.1.1 (0.03s)
Creating working copy for https://github.com/EnesKaraosman/SwiftyChat.git
Working copy of https://github.com/EnesKaraosman/SwiftyChat.git resolved at 2.7.4 (c6a9c52)
Creating working copy for https://github.com/EnesKaraosman/SwiftUIEKtensions.git
Working copy of https://github.com/EnesKaraosman/SwiftUIEKtensions.git resolved at 0.4.0
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 8.1.1
Creating working copy for https://github.com/dkk/WrappingHStack.git
Working copy of https://github.com/dkk/WrappingHStack.git resolved at 2.2.11
warning: '.resolve-product-dependencies': dependency 'swiftychat' is not used by any target
Found 3 product dependencies
- Kingfisher
- SwiftUIEKtensions
- WrappingHStack
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/EnesKaraosman/SwiftyChat.git
{
"dependencies" : [
{
"identity" : "kingfisher",
"requirement" : {
"range" : [
{
"lower_bound" : "8.1.0",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Kingfisher.git"
},
{
"identity" : "swiftuiektensions",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/EnesKaraosman/SwiftUIEKtensions.git"
},
{
"identity" : "wrappinghstack",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.11",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dkk/WrappingHStack.git"
}
],
"manifest_display_name" : "SwiftyChat",
"name" : "SwiftyChat",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftyChat",
"targets" : [
"SwiftyChat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftyChatMock",
"targets" : [
"SwiftyChatMock"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftyChatMock",
"module_type" : "SwiftTarget",
"name" : "SwiftyChatMock",
"path" : "Sources/SwiftyChatMock",
"product_memberships" : [
"SwiftyChatMock"
],
"sources" : [
"Lorem.swift",
"MessageMocker.swift"
],
"target_dependencies" : [
"SwiftyChat"
],
"type" : "library"
},
{
"c99name" : "SwiftyChat",
"module_type" : "SwiftTarget",
"name" : "SwiftyChat",
"path" : "Sources/SwiftyChat",
"product_dependencies" : [
"Kingfisher",
"SwiftUIEKtensions",
"WrappingHStack"
],
"product_memberships" : [
"SwiftyChat",
"SwiftyChatMock"
],
"sources" : [
"ChatMessageViewContainer.swift",
"ChatView.swift",
"Core/ChatMessageKind.swift",
"Core/Extension/Date++.swift",
"Core/Extension/String++.swift",
"Core/Extension/UIDevice++.swift",
"Core/Other/CarouselItemButtonStyle.swift",
"Core/Other/RoundedCornerShape.swift",
"Core/Protocols/CarouselItem.swift",
"Core/Protocols/ChatMessage.swift",
"Core/Protocols/ChatUser.swift",
"Core/Protocols/ContactItem.swift",
"Core/Protocols/LocationItem.swift",
"Core/Protocols/QuickReplyItem.swift",
"Core/Protocols/VideoItem.swift",
"Core/Video/ChatVideoPlayer.swift",
"Core/Video/PIPVideoCell.swift",
"Core/Video/PlayerViewModel.swift",
"Core/Video/VideoPlayerOverlay.swift",
"Core/Video/VideoPlayerRepresentable.swift",
"Core/View/LoadingThreeBallsView.swift",
"Core/ViewModifiers/AvatarModifier.swift",
"Core/ViewModifiers/DismissKeyboardModifier.swift",
"Core/ViewModifiers/EmojiModifier.swift",
"Core/ViewModifiers/KeyboardAwareModifier.swift",
"Core/ViewModifiers/MessageHorizontalAlignmentModifier.swift",
"Core/ViewModifiers/MessageViewEdgeInsetsModifier.swift",
"InputView/BasicInputView.swift",
"MessageViews/CarouselMessageView.swift",
"MessageViews/ContactMessageView.swift",
"MessageViews/ImageMessageView.swift",
"MessageViews/ImageTextMessageView.swift",
"MessageViews/LoadingMessageView.swift",
"MessageViews/LocationMessageView.swift",
"MessageViews/QuickReplyMessageView.swift",
"MessageViews/TextMessageView.swift",
"MessageViews/VideoMessageView.swift",
"Styles/AvatarStyle.swift",
"Styles/CarouselCellStyle.swift",
"Styles/ChatMessageCellStyle.swift",
"Styles/Common/CommonImageStyle.swift",
"Styles/Common/CommonTextStyle.swift",
"Styles/Common/CommonViewStyle.swift",
"Styles/ContactCellStyle.swift",
"Styles/ImageCellStyle.swift",
"Styles/ImageTextCellStyle.swift",
"Styles/LocationCellStyle.swift",
"Styles/QuickReplyCellStyle.swift",
"Styles/TextCellStyle.swift",
"Styles/VideoPlaceholderCellStyle.swift",
"VideoManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[4/7] Copying PrivacyInfo.xcprivacy
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/94] Emitting module Kingfisher
[9/100] Compiling Kingfisher CacheSerializer.swift
[10/100] Compiling Kingfisher DiskStorage.swift
[11/100] Compiling Kingfisher FormatIndicatedCacheSerializer.swift
[12/100] Compiling Kingfisher ImageCache.swift
[13/100] Compiling Kingfisher MemoryStorage.swift
[14/100] Compiling Kingfisher Storage.swift
[15/100] Compiling Kingfisher CPListItem+Kingfisher.swift
[16/100] Compiling Kingfisher Box.swift
[17/100] Compiling Kingfisher CallbackQueue.swift
[18/100] Compiling Kingfisher Delegate.swift
[19/100] Compiling Kingfisher DisplayLink.swift
[20/100] Compiling Kingfisher ExtensionHelpers.swift
[21/100] Compiling Kingfisher Result.swift
[22/100] Compiling Kingfisher HasImageComponent+Kingfisher.swift
[23/100] Compiling Kingfisher ImageView+Kingfisher.swift
[24/100] Compiling Kingfisher NSButton+Kingfisher.swift
[25/100] Compiling Kingfisher NSTextAttachment+Kingfisher.swift
[26/100] Compiling Kingfisher PHLivePhotoView+Kingfisher.swift
[27/100] Compiling Kingfisher UIButton+Kingfisher.swift
[28/100] Compiling Kingfisher AVAssetImageDataProvider.swift
[29/100] Compiling Kingfisher ImageDataProvider.swift
[30/100] Compiling Kingfisher LivePhotoSource.swift
[31/100] Compiling Kingfisher PHPickerResultImageDataProvider.swift
[32/100] Compiling Kingfisher Resource.swift
[33/100] Compiling Kingfisher Source.swift
[34/100] Compiling Kingfisher KF.swift
[35/100] Compiling Kingfisher KFOptionsSetter.swift
[36/100] Emitting module SwiftUIEKtensions
[37/101] Compiling Kingfisher GraphicsContext.swift
[38/101] Compiling Kingfisher Image.swift
[39/101] Compiling Kingfisher ImageDrawing.swift
[40/101] Compiling Kingfisher ImageFormat.swift
[41/101] Compiling Kingfisher ImageProcessor.swift
[42/101] Compiling Kingfisher ImageProgressive.swift
[43/101] Compiling Kingfisher ImageTransition.swift
[44/101] Compiling Kingfisher Kingfisher.swift
[45/101] Compiling Kingfisher KingfisherError.swift
[46/101] Compiling Kingfisher KingfisherManager+LivePhoto.swift
[47/101] Compiling Kingfisher KingfisherManager.swift
[48/101] Compiling Kingfisher KingfisherOptionsInfo.swift
[49/101] Compiling Kingfisher Filter.swift
[50/101] Compiling Kingfisher GIFAnimatedImage.swift
[51/101] Compiling Kingfisher Runtime.swift
[52/101] Compiling Kingfisher SizeExtensions.swift
[53/101] Compiling Kingfisher String+SHA256.swift
[54/101] Compiling Kingfisher AnimatedImageView.swift
[55/101] Compiling Kingfisher Indicator.swift
[56/101] Compiling Kingfisher resource_bundle_accessor.swift
[57/101] Compiling WrappingHStack WrappingHStack.swift
[58/101] Compiling WrappingHStack ViewType.swift
[59/101] Compiling SwiftUIEKtensions StatelessSingleSelectionList.swift
[60/101] Compiling WrappingHStack NewLine.swift
[61/101] Emitting module WrappingHStack
[62/101] Compiling WrappingHStack ContentManager.swift
[63/101] Compiling WrappingHStack InternalWrappingHStack.swift
[72/101] Compiling Kingfisher Placeholder.swift
[73/101] Compiling Kingfisher AuthenticationChallengeResponsable.swift
[74/101] Compiling Kingfisher ImageDataProcessor.swift
[75/101] Compiling Kingfisher ImageDownloader+LivePhoto.swift
[76/101] Compiling Kingfisher ImageDownloader.swift
[77/101] Compiling Kingfisher ImageDownloaderDelegate.swift
[78/101] Compiling Kingfisher ImageModifier.swift
[79/101] Compiling Kingfisher ImagePrefetcher.swift
[80/101] Compiling Kingfisher RedirectHandler.swift
[81/101] Compiling Kingfisher RequestModifier.swift
[82/101] Compiling Kingfisher RetryStrategy.swift
[83/101] Compiling Kingfisher SessionDataTask.swift
[84/101] Compiling Kingfisher SessionDelegate.swift
[85/101] Compiling Kingfisher ImageBinder.swift
[96/101] Compiling Kingfisher ImageContext.swift
[97/101] Compiling Kingfisher KFAnimatedImage.swift
[98/101] Compiling Kingfisher KFImage.swift
[99/101] Compiling Kingfisher KFImageOptions.swift
[100/101] Compiling Kingfisher KFImageProtocol.swift
[101/101] Compiling Kingfisher KFImageRenderer.swift
[102/148] Compiling SwiftyChat CarouselItemButtonStyle.swift
[103/148] Compiling SwiftyChat RoundedCornerShape.swift
[104/148] Compiling SwiftyChat CarouselItem.swift
[105/148] Compiling SwiftyChat ChatMessage.swift
[106/148] Compiling SwiftyChat ChatUser.swift
[107/153] Compiling SwiftyChat VideoMessageView.swift
[108/153] Compiling SwiftyChat AvatarStyle.swift
[109/153] Compiling SwiftyChat CarouselCellStyle.swift
[110/153] Compiling SwiftyChat ChatMessageCellStyle.swift
[111/153] Compiling SwiftyChat CommonImageStyle.swift
[112/153] Compiling SwiftyChat LocationCellStyle.swift
[113/153] Compiling SwiftyChat QuickReplyCellStyle.swift
[114/153] Compiling SwiftyChat TextCellStyle.swift
[115/153] Compiling SwiftyChat VideoPlaceholderCellStyle.swift
[116/153] Compiling SwiftyChat VideoManager.swift
[117/153] Emitting module SwiftyChat
[118/153] Compiling SwiftyChat ContactItem.swift
[119/153] Compiling SwiftyChat LocationItem.swift
[120/153] Compiling SwiftyChat QuickReplyItem.swift
[121/153] Compiling SwiftyChat VideoItem.swift
[122/153] Compiling SwiftyChat ChatVideoPlayer.swift
[123/153] Compiling SwiftyChat AvatarModifier.swift
[124/153] Compiling SwiftyChat DismissKeyboardModifier.swift
[125/153] Compiling SwiftyChat EmojiModifier.swift
[126/153] Compiling SwiftyChat KeyboardAwareModifier.swift
[127/153] Compiling SwiftyChat MessageHorizontalAlignmentModifier.swift
[128/153] Compiling SwiftyChat ImageTextMessageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/MessageViews/TextMessageView.swift:55:14: warning: call to main actor-isolated instance method 'roundedCorners(radius:corners:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | private extension Text {
46 | func applyChatStyle(for text: String, cellStyle: TextCellStyle) -> some View {
| `- note: add '@MainActor' to make instance method 'applyChatStyle(for:cellStyle:)' part of global actor 'MainActor'
47 | self
48 | .font(cellStyle.textStyle.font)
:
53 | .padding(cellStyle.textPadding)
54 | .background(cellStyle.cellBackgroundColor)
55 | .roundedCorners(
| `- warning: call to main actor-isolated instance method 'roundedCorners(radius:corners:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
56 | radius: cellStyle.cellCornerRadius,
57 | corners: cellStyle.cellRoundedCorners
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Other/RoundedCornerShape.swift:77:10: note: calls to instance method 'roundedCorners(radius:corners:)' from outside of its actor context are implicitly asynchronous
75 |
76 | extension View {
77 | func roundedCorners(radius: CGFloat, corners: RectCorner) -> some View {
| `- note: calls to instance method 'roundedCorners(radius:corners:)' from outside of its actor context are implicitly asynchronous
78 | clipShape(RoundedCornerShape(radius: radius, corners: corners))
79 | }
[129/153] Compiling SwiftyChat LoadingMessageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/MessageViews/TextMessageView.swift:55:14: warning: call to main actor-isolated instance method 'roundedCorners(radius:corners:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | private extension Text {
46 | func applyChatStyle(for text: String, cellStyle: TextCellStyle) -> some View {
| `- note: add '@MainActor' to make instance method 'applyChatStyle(for:cellStyle:)' part of global actor 'MainActor'
47 | self
48 | .font(cellStyle.textStyle.font)
:
53 | .padding(cellStyle.textPadding)
54 | .background(cellStyle.cellBackgroundColor)
55 | .roundedCorners(
| `- warning: call to main actor-isolated instance method 'roundedCorners(radius:corners:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
56 | radius: cellStyle.cellCornerRadius,
57 | corners: cellStyle.cellRoundedCorners
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Other/RoundedCornerShape.swift:77:10: note: calls to instance method 'roundedCorners(radius:corners:)' from outside of its actor context are implicitly asynchronous
75 |
76 | extension View {
77 | func roundedCorners(radius: CGFloat, corners: RectCorner) -> some View {
| `- note: calls to instance method 'roundedCorners(radius:corners:)' from outside of its actor context are implicitly asynchronous
78 | clipShape(RoundedCornerShape(radius: radius, corners: corners))
79 | }
[130/153] Compiling SwiftyChat LocationMessageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/MessageViews/TextMessageView.swift:55:14: warning: call to main actor-isolated instance method 'roundedCorners(radius:corners:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | private extension Text {
46 | func applyChatStyle(for text: String, cellStyle: TextCellStyle) -> some View {
| `- note: add '@MainActor' to make instance method 'applyChatStyle(for:cellStyle:)' part of global actor 'MainActor'
47 | self
48 | .font(cellStyle.textStyle.font)
:
53 | .padding(cellStyle.textPadding)
54 | .background(cellStyle.cellBackgroundColor)
55 | .roundedCorners(
| `- warning: call to main actor-isolated instance method 'roundedCorners(radius:corners:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
56 | radius: cellStyle.cellCornerRadius,
57 | corners: cellStyle.cellRoundedCorners
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Other/RoundedCornerShape.swift:77:10: note: calls to instance method 'roundedCorners(radius:corners:)' from outside of its actor context are implicitly asynchronous
75 |
76 | extension View {
77 | func roundedCorners(radius: CGFloat, corners: RectCorner) -> some View {
| `- note: calls to instance method 'roundedCorners(radius:corners:)' from outside of its actor context are implicitly asynchronous
78 | clipShape(RoundedCornerShape(radius: radius, corners: corners))
79 | }
[131/153] Compiling SwiftyChat QuickReplyMessageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/MessageViews/TextMessageView.swift:55:14: warning: call to main actor-isolated instance method 'roundedCorners(radius:corners:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | private extension Text {
46 | func applyChatStyle(for text: String, cellStyle: TextCellStyle) -> some View {
| `- note: add '@MainActor' to make instance method 'applyChatStyle(for:cellStyle:)' part of global actor 'MainActor'
47 | self
48 | .font(cellStyle.textStyle.font)
:
53 | .padding(cellStyle.textPadding)
54 | .background(cellStyle.cellBackgroundColor)
55 | .roundedCorners(
| `- warning: call to main actor-isolated instance method 'roundedCorners(radius:corners:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
56 | radius: cellStyle.cellCornerRadius,
57 | corners: cellStyle.cellRoundedCorners
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Other/RoundedCornerShape.swift:77:10: note: calls to instance method 'roundedCorners(radius:corners:)' from outside of its actor context are implicitly asynchronous
75 |
76 | extension View {
77 | func roundedCorners(radius: CGFloat, corners: RectCorner) -> some View {
| `- note: calls to instance method 'roundedCorners(radius:corners:)' from outside of its actor context are implicitly asynchronous
78 | clipShape(RoundedCornerShape(radius: radius, corners: corners))
79 | }
[132/153] Compiling SwiftyChat TextMessageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/MessageViews/TextMessageView.swift:55:14: warning: call to main actor-isolated instance method 'roundedCorners(radius:corners:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | private extension Text {
46 | func applyChatStyle(for text: String, cellStyle: TextCellStyle) -> some View {
| `- note: add '@MainActor' to make instance method 'applyChatStyle(for:cellStyle:)' part of global actor 'MainActor'
47 | self
48 | .font(cellStyle.textStyle.font)
:
53 | .padding(cellStyle.textPadding)
54 | .background(cellStyle.cellBackgroundColor)
55 | .roundedCorners(
| `- warning: call to main actor-isolated instance method 'roundedCorners(radius:corners:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
56 | radius: cellStyle.cellCornerRadius,
57 | corners: cellStyle.cellRoundedCorners
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Other/RoundedCornerShape.swift:77:10: note: calls to instance method 'roundedCorners(radius:corners:)' from outside of its actor context are implicitly asynchronous
75 |
76 | extension View {
77 | func roundedCorners(radius: CGFloat, corners: RectCorner) -> some View {
| `- note: calls to instance method 'roundedCorners(radius:corners:)' from outside of its actor context are implicitly asynchronous
78 | clipShape(RoundedCornerShape(radius: radius, corners: corners))
79 | }
[133/153] Compiling SwiftyChat PIPVideoCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PIPVideoCell.swift:99:22: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
97 | if videoManager.isFullScreen {
98 | Color.primary.colorInvert()
99 | .animation(.linear)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
100 | .edgesIgnoringSafeArea(.all)
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PIPVideoCell.swift:110:22: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
108 | .position(location)
109 | .gesture(simpleDrag(in: geometry.size))
110 | .animation(.linear(duration: 0.1))
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
111 | .onAppear { rePositionVideoFrame(toCorner: .rightTop, in: geometry.size) }
112 | .onAppear { [weak videoManager] in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:46:32: warning: main actor-isolated property 'rate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | )
45 |
46 | if self.player.rate != 0 {
| `- warning: main actor-isolated property 'rate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.player.play()
48 | }
AVFoundation.AVPlayer:2:25: note: property declared here
1 | extension AVPlayer {
2 | @MainActor open var rate: Float { get set }
| `- note: property declared here
3 | @available(macOS 13.0, *)
4 | nonisolated open var defaultRate: Float { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:47:33: warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 |
46 | if self.player.rate != 0 {
47 | self.player.play()
| `- warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | })
AVFoundation.AVPlayer:5:26: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
3 | @available(macOS 13.0, *)
4 | nonisolated open var defaultRate: Float { get set }
5 | @MainActor open func play()
| `- note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
6 | open func pause()
7 | @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:71:23: warning: capture of 'self' with non-sendable type 'PlayerViewModel?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Combine
3 |
4 | final class PlayerViewModel: ObservableObject {
| `- note: class 'PlayerViewModel' does not conform to the 'Sendable' protocol
5 | let player: AVPlayer
6 |
:
69 | queue: .main
70 | ) { [weak self] time in
71 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PlayerViewModel?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 |
73 | if self.isEditingCurrentTime == false {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:87:39: warning: main actor-isolated property 'asset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
85 | .filter({ $0 == .readyToPlay })
86 | .sink(receiveValue: { [weak self] _ in
87 | self?.duration = item.asset.duration.seconds
| `- warning: main actor-isolated property 'asset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | })
89 | .store(in: &subscriptions)
AVFoundation.AVPlayerItem:2:25: note: property declared here
1 | extension AVPlayerItem {
2 | @MainActor open var asset: AVAsset { get }
| `- note: property declared here
3 | nonisolated open var tracks: [AVPlayerItemTrack] { get }
4 | @available(macOS 10.7, *)
[134/153] Compiling SwiftyChat PlayerViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PIPVideoCell.swift:99:22: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
97 | if videoManager.isFullScreen {
98 | Color.primary.colorInvert()
99 | .animation(.linear)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
100 | .edgesIgnoringSafeArea(.all)
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PIPVideoCell.swift:110:22: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
108 | .position(location)
109 | .gesture(simpleDrag(in: geometry.size))
110 | .animation(.linear(duration: 0.1))
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
111 | .onAppear { rePositionVideoFrame(toCorner: .rightTop, in: geometry.size) }
112 | .onAppear { [weak videoManager] in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:46:32: warning: main actor-isolated property 'rate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | )
45 |
46 | if self.player.rate != 0 {
| `- warning: main actor-isolated property 'rate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.player.play()
48 | }
AVFoundation.AVPlayer:2:25: note: property declared here
1 | extension AVPlayer {
2 | @MainActor open var rate: Float { get set }
| `- note: property declared here
3 | @available(macOS 13.0, *)
4 | nonisolated open var defaultRate: Float { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:47:33: warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 |
46 | if self.player.rate != 0 {
47 | self.player.play()
| `- warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | })
AVFoundation.AVPlayer:5:26: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
3 | @available(macOS 13.0, *)
4 | nonisolated open var defaultRate: Float { get set }
5 | @MainActor open func play()
| `- note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
6 | open func pause()
7 | @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:71:23: warning: capture of 'self' with non-sendable type 'PlayerViewModel?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Combine
3 |
4 | final class PlayerViewModel: ObservableObject {
| `- note: class 'PlayerViewModel' does not conform to the 'Sendable' protocol
5 | let player: AVPlayer
6 |
:
69 | queue: .main
70 | ) { [weak self] time in
71 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PlayerViewModel?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 |
73 | if self.isEditingCurrentTime == false {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:87:39: warning: main actor-isolated property 'asset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
85 | .filter({ $0 == .readyToPlay })
86 | .sink(receiveValue: { [weak self] _ in
87 | self?.duration = item.asset.duration.seconds
| `- warning: main actor-isolated property 'asset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | })
89 | .store(in: &subscriptions)
AVFoundation.AVPlayerItem:2:25: note: property declared here
1 | extension AVPlayerItem {
2 | @MainActor open var asset: AVAsset { get }
| `- note: property declared here
3 | nonisolated open var tracks: [AVPlayerItemTrack] { get }
4 | @available(macOS 10.7, *)
[135/153] Compiling SwiftyChat VideoPlayerOverlay.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PIPVideoCell.swift:99:22: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
97 | if videoManager.isFullScreen {
98 | Color.primary.colorInvert()
99 | .animation(.linear)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
100 | .edgesIgnoringSafeArea(.all)
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PIPVideoCell.swift:110:22: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
108 | .position(location)
109 | .gesture(simpleDrag(in: geometry.size))
110 | .animation(.linear(duration: 0.1))
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
111 | .onAppear { rePositionVideoFrame(toCorner: .rightTop, in: geometry.size) }
112 | .onAppear { [weak videoManager] in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:46:32: warning: main actor-isolated property 'rate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | )
45 |
46 | if self.player.rate != 0 {
| `- warning: main actor-isolated property 'rate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.player.play()
48 | }
AVFoundation.AVPlayer:2:25: note: property declared here
1 | extension AVPlayer {
2 | @MainActor open var rate: Float { get set }
| `- note: property declared here
3 | @available(macOS 13.0, *)
4 | nonisolated open var defaultRate: Float { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:47:33: warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 |
46 | if self.player.rate != 0 {
47 | self.player.play()
| `- warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | })
AVFoundation.AVPlayer:5:26: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
3 | @available(macOS 13.0, *)
4 | nonisolated open var defaultRate: Float { get set }
5 | @MainActor open func play()
| `- note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
6 | open func pause()
7 | @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:71:23: warning: capture of 'self' with non-sendable type 'PlayerViewModel?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Combine
3 |
4 | final class PlayerViewModel: ObservableObject {
| `- note: class 'PlayerViewModel' does not conform to the 'Sendable' protocol
5 | let player: AVPlayer
6 |
:
69 | queue: .main
70 | ) { [weak self] time in
71 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PlayerViewModel?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 |
73 | if self.isEditingCurrentTime == false {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:87:39: warning: main actor-isolated property 'asset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
85 | .filter({ $0 == .readyToPlay })
86 | .sink(receiveValue: { [weak self] _ in
87 | self?.duration = item.asset.duration.seconds
| `- warning: main actor-isolated property 'asset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | })
89 | .store(in: &subscriptions)
AVFoundation.AVPlayerItem:2:25: note: property declared here
1 | extension AVPlayerItem {
2 | @MainActor open var asset: AVAsset { get }
| `- note: property declared here
3 | nonisolated open var tracks: [AVPlayerItemTrack] { get }
4 | @available(macOS 10.7, *)
[136/153] Compiling SwiftyChat VideoPlayerRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PIPVideoCell.swift:99:22: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
97 | if videoManager.isFullScreen {
98 | Color.primary.colorInvert()
99 | .animation(.linear)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
100 | .edgesIgnoringSafeArea(.all)
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PIPVideoCell.swift:110:22: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
108 | .position(location)
109 | .gesture(simpleDrag(in: geometry.size))
110 | .animation(.linear(duration: 0.1))
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
111 | .onAppear { rePositionVideoFrame(toCorner: .rightTop, in: geometry.size) }
112 | .onAppear { [weak videoManager] in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:46:32: warning: main actor-isolated property 'rate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | )
45 |
46 | if self.player.rate != 0 {
| `- warning: main actor-isolated property 'rate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.player.play()
48 | }
AVFoundation.AVPlayer:2:25: note: property declared here
1 | extension AVPlayer {
2 | @MainActor open var rate: Float { get set }
| `- note: property declared here
3 | @available(macOS 13.0, *)
4 | nonisolated open var defaultRate: Float { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:47:33: warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 |
46 | if self.player.rate != 0 {
47 | self.player.play()
| `- warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | })
AVFoundation.AVPlayer:5:26: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
3 | @available(macOS 13.0, *)
4 | nonisolated open var defaultRate: Float { get set }
5 | @MainActor open func play()
| `- note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
6 | open func pause()
7 | @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:71:23: warning: capture of 'self' with non-sendable type 'PlayerViewModel?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Combine
3 |
4 | final class PlayerViewModel: ObservableObject {
| `- note: class 'PlayerViewModel' does not conform to the 'Sendable' protocol
5 | let player: AVPlayer
6 |
:
69 | queue: .main
70 | ) { [weak self] time in
71 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PlayerViewModel?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 |
73 | if self.isEditingCurrentTime == false {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:87:39: warning: main actor-isolated property 'asset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
85 | .filter({ $0 == .readyToPlay })
86 | .sink(receiveValue: { [weak self] _ in
87 | self?.duration = item.asset.duration.seconds
| `- warning: main actor-isolated property 'asset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | })
89 | .store(in: &subscriptions)
AVFoundation.AVPlayerItem:2:25: note: property declared here
1 | extension AVPlayerItem {
2 | @MainActor open var asset: AVAsset { get }
| `- note: property declared here
3 | nonisolated open var tracks: [AVPlayerItemTrack] { get }
4 | @available(macOS 10.7, *)
[137/153] Compiling SwiftyChat LoadingThreeBallsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PIPVideoCell.swift:99:22: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
97 | if videoManager.isFullScreen {
98 | Color.primary.colorInvert()
99 | .animation(.linear)
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
100 | .edgesIgnoringSafeArea(.all)
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PIPVideoCell.swift:110:22: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
108 | .position(location)
109 | .gesture(simpleDrag(in: geometry.size))
110 | .animation(.linear(duration: 0.1))
| `- warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
111 | .onAppear { rePositionVideoFrame(toCorner: .rightTop, in: geometry.size) }
112 | .onAppear { [weak videoManager] in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:46:32: warning: main actor-isolated property 'rate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | )
45 |
46 | if self.player.rate != 0 {
| `- warning: main actor-isolated property 'rate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.player.play()
48 | }
AVFoundation.AVPlayer:2:25: note: property declared here
1 | extension AVPlayer {
2 | @MainActor open var rate: Float { get set }
| `- note: property declared here
3 | @available(macOS 13.0, *)
4 | nonisolated open var defaultRate: Float { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:47:33: warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 |
46 | if self.player.rate != 0 {
47 | self.player.play()
| `- warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | }
49 | })
AVFoundation.AVPlayer:5:26: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
3 | @available(macOS 13.0, *)
4 | nonisolated open var defaultRate: Float { get set }
5 | @MainActor open func play()
| `- note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
6 | open func pause()
7 | @available(macOS 10.12, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:71:23: warning: capture of 'self' with non-sendable type 'PlayerViewModel?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import Combine
3 |
4 | final class PlayerViewModel: ObservableObject {
| `- note: class 'PlayerViewModel' does not conform to the 'Sendable' protocol
5 | let player: AVPlayer
6 |
:
69 | queue: .main
70 | ) { [weak self] time in
71 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'PlayerViewModel?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 |
73 | if self.isEditingCurrentTime == false {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChat/Core/Video/PlayerViewModel.swift:87:39: warning: main actor-isolated property 'asset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
85 | .filter({ $0 == .readyToPlay })
86 | .sink(receiveValue: { [weak self] _ in
87 | self?.duration = item.asset.duration.seconds
| `- warning: main actor-isolated property 'asset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | })
89 | .store(in: &subscriptions)
AVFoundation.AVPlayerItem:2:25: note: property declared here
1 | extension AVPlayerItem {
2 | @MainActor open var asset: AVAsset { get }
| `- note: property declared here
3 | nonisolated open var tracks: [AVPlayerItemTrack] { get }
4 | @available(macOS 10.7, *)
[138/153] Compiling SwiftyChat CommonTextStyle.swift
[139/153] Compiling SwiftyChat CommonViewStyle.swift
[140/153] Compiling SwiftyChat ContactCellStyle.swift
[141/153] Compiling SwiftyChat ImageCellStyle.swift
[142/153] Compiling SwiftyChat ImageTextCellStyle.swift
[143/153] Compiling SwiftyChat MessageViewEdgeInsetsModifier.swift
[144/153] Compiling SwiftyChat BasicInputView.swift
[145/153] Compiling SwiftyChat CarouselMessageView.swift
[146/153] Compiling SwiftyChat ContactMessageView.swift
[147/153] Compiling SwiftyChat ImageMessageView.swift
[148/153] Compiling SwiftyChat ChatMessageViewContainer.swift
[149/153] Compiling SwiftyChat ChatView.swift
[150/153] Compiling SwiftyChat ChatMessageKind.swift
[151/153] Compiling SwiftyChat Date++.swift
[152/153] Compiling SwiftyChat String++.swift
[153/153] Compiling SwiftyChat UIDevice++.swift
[154/156] Compiling SwiftyChatMock MessageMocker.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChatMock/MessageMocker.swift:32:23: warning: static property 'sender' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public static var sender: ChatUserItem = .init(
| |- warning: static property 'sender' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sender' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sender' 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
33 | userName: "Sender",
34 | avatarURL: avatarUrl(Int.random(in: 1...250))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChatMock/MessageMocker.swift:37:23: warning: static property 'chatbot' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | )
36 |
37 | public static var chatbot: ChatUserItem = .init(
| |- warning: static property 'chatbot' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'chatbot' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'chatbot' 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
38 | userName: "Chatbot",
39 | avatarURL: avatarUrl(Int.random(in: 1...250))
[155/156] Compiling SwiftyChatMock Lorem.swift
[156/156] Emitting module SwiftyChatMock
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChatMock/MessageMocker.swift:32:23: warning: static property 'sender' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public static var sender: ChatUserItem = .init(
| |- warning: static property 'sender' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sender' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sender' 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
33 | userName: "Sender",
34 | avatarURL: avatarUrl(Int.random(in: 1...250))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyChatMock/MessageMocker.swift:37:23: warning: static property 'chatbot' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | )
36 |
37 | public static var chatbot: ChatUserItem = .init(
| |- warning: static property 'chatbot' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'chatbot' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'chatbot' 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
38 | userName: "Chatbot",
39 | avatarURL: avatarUrl(Int.random(in: 1...250))
Build complete! (45.12s)
warning: 'kingfisher': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Kingfisher/Sources/Info.plist
Build complete.
{
"dependencies" : [
{
"identity" : "kingfisher",
"requirement" : {
"range" : [
{
"lower_bound" : "8.1.0",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Kingfisher.git"
},
{
"identity" : "swiftuiektensions",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/EnesKaraosman/SwiftUIEKtensions.git"
},
{
"identity" : "wrappinghstack",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.11",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dkk/WrappingHStack.git"
}
],
"manifest_display_name" : "SwiftyChat",
"name" : "SwiftyChat",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftyChat",
"targets" : [
"SwiftyChat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftyChatMock",
"targets" : [
"SwiftyChatMock"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftyChatMock",
"module_type" : "SwiftTarget",
"name" : "SwiftyChatMock",
"path" : "Sources/SwiftyChatMock",
"product_memberships" : [
"SwiftyChatMock"
],
"sources" : [
"Lorem.swift",
"MessageMocker.swift"
],
"target_dependencies" : [
"SwiftyChat"
],
"type" : "library"
},
{
"c99name" : "SwiftyChat",
"module_type" : "SwiftTarget",
"name" : "SwiftyChat",
"path" : "Sources/SwiftyChat",
"product_dependencies" : [
"Kingfisher",
"SwiftUIEKtensions",
"WrappingHStack"
],
"product_memberships" : [
"SwiftyChat",
"SwiftyChatMock"
],
"sources" : [
"ChatMessageViewContainer.swift",
"ChatView.swift",
"Core/ChatMessageKind.swift",
"Core/Extension/Date++.swift",
"Core/Extension/String++.swift",
"Core/Extension/UIDevice++.swift",
"Core/Other/CarouselItemButtonStyle.swift",
"Core/Other/RoundedCornerShape.swift",
"Core/Protocols/CarouselItem.swift",
"Core/Protocols/ChatMessage.swift",
"Core/Protocols/ChatUser.swift",
"Core/Protocols/ContactItem.swift",
"Core/Protocols/LocationItem.swift",
"Core/Protocols/QuickReplyItem.swift",
"Core/Protocols/VideoItem.swift",
"Core/Video/ChatVideoPlayer.swift",
"Core/Video/PIPVideoCell.swift",
"Core/Video/PlayerViewModel.swift",
"Core/Video/VideoPlayerOverlay.swift",
"Core/Video/VideoPlayerRepresentable.swift",
"Core/View/LoadingThreeBallsView.swift",
"Core/ViewModifiers/AvatarModifier.swift",
"Core/ViewModifiers/DismissKeyboardModifier.swift",
"Core/ViewModifiers/EmojiModifier.swift",
"Core/ViewModifiers/KeyboardAwareModifier.swift",
"Core/ViewModifiers/MessageHorizontalAlignmentModifier.swift",
"Core/ViewModifiers/MessageViewEdgeInsetsModifier.swift",
"InputView/BasicInputView.swift",
"MessageViews/CarouselMessageView.swift",
"MessageViews/ContactMessageView.swift",
"MessageViews/ImageMessageView.swift",
"MessageViews/ImageTextMessageView.swift",
"MessageViews/LoadingMessageView.swift",
"MessageViews/LocationMessageView.swift",
"MessageViews/QuickReplyMessageView.swift",
"MessageViews/TextMessageView.swift",
"MessageViews/VideoMessageView.swift",
"Styles/AvatarStyle.swift",
"Styles/CarouselCellStyle.swift",
"Styles/ChatMessageCellStyle.swift",
"Styles/Common/CommonImageStyle.swift",
"Styles/Common/CommonTextStyle.swift",
"Styles/Common/CommonViewStyle.swift",
"Styles/ContactCellStyle.swift",
"Styles/ImageCellStyle.swift",
"Styles/ImageTextCellStyle.swift",
"Styles/LocationCellStyle.swift",
"Styles/QuickReplyCellStyle.swift",
"Styles/TextCellStyle.swift",
"Styles/VideoPlaceholderCellStyle.swift",
"VideoManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.