Build Information
Successful build of SwiftyChat, reference 2.7.4 (c6a9c5
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 21:59:56 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/EnesKaraosman/SwiftyChat.git
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.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[2/7] Copying PrivacyInfo.xcprivacy
[3/7] Write sources
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/94] Compiling Kingfisher Box.swift
[9/94] Compiling Kingfisher CallbackQueue.swift
[10/94] Compiling Kingfisher Delegate.swift
[11/94] Compiling Kingfisher DisplayLink.swift
[12/94] Compiling Kingfisher ExtensionHelpers.swift
[13/94] Compiling Kingfisher Result.swift
[14/100] Compiling Kingfisher ImageDataProvider.swift
[15/100] Compiling Kingfisher LivePhotoSource.swift
[16/101] Emitting module Kingfisher
[17/101] Compiling Kingfisher Placeholder.swift
[18/101] Compiling Kingfisher AuthenticationChallengeResponsable.swift
[19/101] Compiling Kingfisher ImageDataProcessor.swift
[20/101] Compiling Kingfisher ImageDownloader+LivePhoto.swift
[21/101] Compiling Kingfisher ImageDownloader.swift
[22/101] Compiling Kingfisher ImageDownloaderDelegate.swift
[23/101] Compiling Kingfisher ImageModifier.swift
[24/101] Compiling Kingfisher ImagePrefetcher.swift
[25/101] Compiling Kingfisher RedirectHandler.swift
[26/101] Compiling Kingfisher RequestModifier.swift
[27/101] Compiling Kingfisher RetryStrategy.swift
[28/101] Compiling Kingfisher SessionDataTask.swift
[29/101] Compiling Kingfisher SessionDelegate.swift
[30/101] Compiling Kingfisher ImageBinder.swift
[31/101] Compiling Kingfisher ImageContext.swift
[32/101] Compiling Kingfisher KFAnimatedImage.swift
[33/101] Compiling Kingfisher KFImage.swift
[34/101] Compiling Kingfisher KFImageOptions.swift
[35/101] Compiling Kingfisher KFImageProtocol.swift
[36/101] Compiling Kingfisher KFImageRenderer.swift
[37/101] Compiling Kingfisher UIButton+Kingfisher.swift
[38/101] Compiling Kingfisher AVAssetImageDataProvider.swift
[39/101] Compiling Kingfisher NSTextAttachment+Kingfisher.swift
[40/101] Compiling Kingfisher PHLivePhotoView+Kingfisher.swift
[41/101] Compiling Kingfisher CPListItem+Kingfisher.swift
[42/101] Compiling Kingfisher HasImageComponent+Kingfisher.swift
[43/101] Compiling Kingfisher PHPickerResultImageDataProvider.swift
[44/101] Compiling Kingfisher Resource.swift
[45/101] Compiling Kingfisher MemoryStorage.swift
[46/101] Compiling Kingfisher Storage.swift
[47/101] Compiling Kingfisher FormatIndicatedCacheSerializer.swift
[48/101] Compiling Kingfisher ImageCache.swift
[49/101] Compiling Kingfisher ImageView+Kingfisher.swift
[50/101] Compiling Kingfisher NSButton+Kingfisher.swift
[51/101] Emitting module SwiftUIEKtensions
[52/101] Compiling Kingfisher CacheSerializer.swift
[53/101] Compiling Kingfisher DiskStorage.swift
[54/101] Compiling WrappingHStack NewLine.swift
[55/101] Compiling WrappingHStack ViewType.swift
[56/101] Compiling WrappingHStack InternalWrappingHStack.swift
[57/101] Compiling WrappingHStack WrappingHStack.swift
[58/101] Compiling WrappingHStack ContentManager.swift
[59/101] Emitting module WrappingHStack
[74/101] Compiling SwiftUIEKtensions StatelessSingleSelectionList.swift
[79/101] Compiling Kingfisher Source.swift
[80/101] Compiling Kingfisher KF.swift
[81/101] Compiling Kingfisher KFOptionsSetter.swift
[82/101] Compiling Kingfisher Kingfisher.swift
[83/101] Compiling Kingfisher KingfisherError.swift
[84/101] Compiling Kingfisher KingfisherManager+LivePhoto.swift
[85/101] Compiling Kingfisher KingfisherManager.swift
[86/101] Compiling Kingfisher KingfisherOptionsInfo.swift
[87/101] Compiling Kingfisher Filter.swift
[88/101] Compiling Kingfisher GIFAnimatedImage.swift
[89/101] Compiling Kingfisher GraphicsContext.swift
[90/101] Compiling Kingfisher Image.swift
[91/101] Compiling Kingfisher ImageDrawing.swift
[92/101] Compiling Kingfisher ImageFormat.swift
[93/101] Compiling Kingfisher ImageProcessor.swift
[94/101] Compiling Kingfisher ImageProgressive.swift
[95/101] Compiling Kingfisher ImageTransition.swift
[96/101] Compiling Kingfisher Runtime.swift
[97/101] Compiling Kingfisher SizeExtensions.swift
[98/101] Compiling Kingfisher String+SHA256.swift
[99/101] Compiling Kingfisher AnimatedImageView.swift
[100/101] Compiling Kingfisher Indicator.swift
[101/101] Compiling Kingfisher resource_bundle_accessor.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 CommonTextStyle.swift
[108/153] Compiling SwiftyChat CommonViewStyle.swift
[109/153] Compiling SwiftyChat ContactCellStyle.swift
[110/153] Compiling SwiftyChat ImageCellStyle.swift
[111/153] Compiling SwiftyChat ImageTextCellStyle.swift
[112/153] Compiling SwiftyChat AvatarModifier.swift
[113/153] Compiling SwiftyChat DismissKeyboardModifier.swift
[114/153] Compiling SwiftyChat EmojiModifier.swift
[115/153] Compiling SwiftyChat KeyboardAwareModifier.swift
[116/153] Compiling SwiftyChat MessageHorizontalAlignmentModifier.swift
[117/153] Emitting module SwiftyChat
[118/153] Compiling SwiftyChat ChatMessageViewContainer.swift
[119/153] Compiling SwiftyChat ChatView.swift
[120/153] Compiling SwiftyChat ChatMessageKind.swift
[121/153] Compiling SwiftyChat Date++.swift
[122/153] Compiling SwiftyChat String++.swift
[123/153] Compiling SwiftyChat UIDevice++.swift
[124/153] Compiling SwiftyChat MessageViewEdgeInsetsModifier.swift
[125/153] Compiling SwiftyChat BasicInputView.swift
[126/153] Compiling SwiftyChat CarouselMessageView.swift
[127/153] Compiling SwiftyChat ContactMessageView.swift
[128/153] Compiling SwiftyChat ImageMessageView.swift
[129/153] Compiling SwiftyChat VideoMessageView.swift
[130/153] Compiling SwiftyChat AvatarStyle.swift
[131/153] Compiling SwiftyChat CarouselCellStyle.swift
[132/153] Compiling SwiftyChat ChatMessageCellStyle.swift
[133/153] Compiling SwiftyChat CommonImageStyle.swift
[134/153] Compiling SwiftyChat LocationCellStyle.swift
[135/153] Compiling SwiftyChat QuickReplyCellStyle.swift
[136/153] Compiling SwiftyChat TextCellStyle.swift
[137/153] Compiling SwiftyChat VideoPlaceholderCellStyle.swift
[138/153] Compiling SwiftyChat VideoManager.swift
[139/153] Compiling SwiftyChat ContactItem.swift
[140/153] Compiling SwiftyChat LocationItem.swift
[141/153] Compiling SwiftyChat QuickReplyItem.swift
[142/153] Compiling SwiftyChat VideoItem.swift
[143/153] Compiling SwiftyChat ChatVideoPlayer.swift
[144/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 | }
[145/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 | }
[146/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 | }
[147/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 | }
[148/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 | }
[149/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:184:17: note: property declared here
182 | Before macOS 13, iOS 16, tvOS 16, and watchOS 9, this property must be accessed on the main thread/queue.
183 | */
184 | @property float rate
| `- note: property declared here
185 | #if AVF_DEPLOYING_TO_2022_RELEASES_AND_LATER
186 | NS_SWIFT_NONISOLATED
/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.play:2:22: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
1 | class AVPlayer {
2 | @MainActor open func play()}
| `- note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
3 |
/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
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
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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h:218:42: note: property declared here
216 | @abstract Accessor for underlying AVAsset.
217 | */
218 | @property (nonatomic, readonly) AVAsset *asset;
| `- note: property declared here
219 |
220 | /*!
[150/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:184:17: note: property declared here
182 | Before macOS 13, iOS 16, tvOS 16, and watchOS 9, this property must be accessed on the main thread/queue.
183 | */
184 | @property float rate
| `- note: property declared here
185 | #if AVF_DEPLOYING_TO_2022_RELEASES_AND_LATER
186 | NS_SWIFT_NONISOLATED
/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.play:2:22: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
1 | class AVPlayer {
2 | @MainActor open func play()}
| `- note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
3 |
/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
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
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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h:218:42: note: property declared here
216 | @abstract Accessor for underlying AVAsset.
217 | */
218 | @property (nonatomic, readonly) AVAsset *asset;
| `- note: property declared here
219 |
220 | /*!
[151/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:184:17: note: property declared here
182 | Before macOS 13, iOS 16, tvOS 16, and watchOS 9, this property must be accessed on the main thread/queue.
183 | */
184 | @property float rate
| `- note: property declared here
185 | #if AVF_DEPLOYING_TO_2022_RELEASES_AND_LATER
186 | NS_SWIFT_NONISOLATED
/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.play:2:22: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
1 | class AVPlayer {
2 | @MainActor open func play()}
| `- note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
3 |
/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
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
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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h:218:42: note: property declared here
216 | @abstract Accessor for underlying AVAsset.
217 | */
218 | @property (nonatomic, readonly) AVAsset *asset;
| `- note: property declared here
219 |
220 | /*!
[152/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:184:17: note: property declared here
182 | Before macOS 13, iOS 16, tvOS 16, and watchOS 9, this property must be accessed on the main thread/queue.
183 | */
184 | @property float rate
| `- note: property declared here
185 | #if AVF_DEPLOYING_TO_2022_RELEASES_AND_LATER
186 | NS_SWIFT_NONISOLATED
/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.play:2:22: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
1 | class AVPlayer {
2 | @MainActor open func play()}
| `- note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
3 |
/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
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
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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h:218:42: note: property declared here
216 | @abstract Accessor for underlying AVAsset.
217 | */
218 | @property (nonatomic, readonly) AVAsset *asset;
| `- note: property declared here
219 |
220 | /*!
[153/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:184:17: note: property declared here
182 | Before macOS 13, iOS 16, tvOS 16, and watchOS 9, this property must be accessed on the main thread/queue.
183 | */
184 | @property float rate
| `- note: property declared here
185 | #if AVF_DEPLOYING_TO_2022_RELEASES_AND_LATER
186 | NS_SWIFT_NONISOLATED
/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.play:2:22: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
1 | class AVPlayer {
2 | @MainActor open func play()}
| `- note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
3 |
/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
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
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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h:218:42: note: property declared here
216 | @abstract Accessor for underlying AVAsset.
217 | */
218 | @property (nonatomic, readonly) AVAsset *asset;
| `- note: property declared here
219 |
220 | /*!
[154/156] Compiling SwiftyChatMock Lorem.swift
[155/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: add '@MainActor' to make static property 'sender' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'chatbot' part of global actor 'MainActor'
| `- 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))
[156/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: add '@MainActor' to make static property 'sender' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'chatbot' part of global actor 'MainActor'
| `- 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! (23.02s)
Fetching https://github.com/dkk/WrappingHStack.git
Fetching https://github.com/EnesKaraosman/SwiftUIEKtensions.git
Fetching https://github.com/onevcat/Kingfisher.git
[1/248] Fetching swiftuiektensions
[242/727] Fetching swiftuiektensions, wrappinghstack
[721/32127] Fetching swiftuiektensions, wrappinghstack, kingfisher
Fetched https://github.com/EnesKaraosman/SwiftUIEKtensions.git from cache (3.18s)
Fetched https://github.com/dkk/WrappingHStack.git from cache (3.19s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (3.19s)
Computing version for https://github.com/dkk/WrappingHStack.git
Computed https://github.com/dkk/WrappingHStack.git at 2.2.11 (4.15s)
Computing version for https://github.com/EnesKaraosman/SwiftUIEKtensions.git
Computed https://github.com/EnesKaraosman/SwiftUIEKtensions.git at 0.4.0 (0.46s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 8.3.2 (0.47s)
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 8.3.2
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
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.