Build Information
Successful build of SDWebImageSwiftUI, reference 3.1.3 (451c6d
), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 10:56:58 UTC.
Swift 6 data race errors: 9
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/SDWebImage/SDWebImageSwiftUI.git
Reference: 3.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/SDWebImageSwiftUI
* tag 3.1.3 -> FETCH_HEAD
HEAD is now at 451c6df Released v3.1.3 version
Cloned https://github.com/SDWebImage/SDWebImageSwiftUI.git
Revision (git rev-parse @):
451c6dfd5ecec2cf626d1d9ca81c2d4a60355172
SUCCESS checkout https://github.com/SDWebImage/SDWebImageSwiftUI.git at 3.1.3
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/25249] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.53s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.19.0 (0.54s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.19.0
========================================
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": "sdwebimageswiftui",
"name": "SDWebImageSwiftUI",
"url": "https://github.com/SDWebImage/SDWebImageSwiftUI.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SDWebImageSwiftUI",
"dependencies": [
{
"identity": "sdwebimage",
"name": "SDWebImage",
"url": "https://github.com/SDWebImage/SDWebImage.git",
"version": "5.20.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SDWebImage",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/SDWebImage/SDWebImageSwiftUI.git
[1/3950] Fetching sdwebimageswiftui
Fetched https://github.com/SDWebImage/SDWebImageSwiftUI.git from cache (1.28s)
Fetching https://github.com/SDWebImage/SDWebImage.git from cache
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (0.70s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.20.0 (0.02s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.20.0
Creating working copy for https://github.com/SDWebImage/SDWebImageSwiftUI.git
Working copy of https://github.com/SDWebImage/SDWebImageSwiftUI.git resolved at 3.1.3 (451c6df)
warning: '.resolve-product-dependencies': dependency 'sdwebimageswiftui' is not used by any target
Found 1 product dependencies
- SDWebImage
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/SDWebImage/SDWebImageSwiftUI.git
{
"dependencies" : [
{
"identity" : "sdwebimage",
"requirement" : {
"range" : [
{
"lower_bound" : "5.10.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SDWebImage/SDWebImage.git"
}
],
"manifest_display_name" : "SDWebImageSwiftUI",
"name" : "SDWebImageSwiftUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SDWebImageSwiftUI",
"targets" : [
"SDWebImageSwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SDWebImageSwiftUI",
"module_type" : "SwiftTarget",
"name" : "SDWebImageSwiftUI",
"path" : "SDWebImageSwiftUI",
"product_dependencies" : [
"SDWebImage"
],
"product_memberships" : [
"SDWebImageSwiftUI"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Classes/AnimatedImage.swift",
"Classes/Image.swift",
"Classes/ImageManager.swift",
"Classes/ImagePlayer.swift",
"Classes/ImageViewWrapper.swift",
"Classes/Indicator/Indicator.swift",
"Classes/SDWebImageSwiftUI.swift",
"Classes/Transition/Transition.swift",
"Classes/WebImage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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/77] Write sources
[1/77] Copying PrivacyInfo.xcprivacy
[3/77] Write swift-version--7754E27361AE5C74.txt
[4/77] Compiling SDInternalMacros.m
[5/77] Compiling SDFileAttributeHelper.m
[6/77] Compiling SDWebImage resource_bundle_accessor.m
[7/77] Compiling SDAssociatedObject.m
[8/77] Compiling SDAsyncBlockOperation.m
[9/77] Compiling UIView+WebCacheState.m
[10/77] Compiling SDImageAssetManager.m
[11/77] Compiling UIView+WebCacheOperation.m
[12/77] Compiling UIColor+SDHexString.m
[13/77] Compiling SDDisplayLink.m
[14/77] Compiling SDDeviceHelper.m
[15/77] Compiling NSBezierPath+SDRoundedCorners.m
[16/77] Compiling SDImageCachesManagerOperation.m
[17/77] Compiling SDImageFramePool.m
[18/77] Compiling SDWeakProxy.m
[19/77] Compiling UIView+WebCache.m
[20/77] Compiling UIImageView+WebCache.m
[21/77] Compiling UIImageView+HighlightedWebCache.m
[22/77] Compiling UIImage+MultiFormat.m
[23/77] Compiling UIImage+Metadata.m
[24/77] Compiling UIImage+MemoryCacheCost.m
[25/77] Compiling UIImage+GIF.m
[26/77] Compiling UIImage+ExtendedCacheData.m
[27/77] Compiling UIImage+ForceDecode.m
[28/77] Compiling UIButton+WebCache.m
[29/77] Compiling SDWebImageOperation.m
[30/77] Compiling UIImage+Transform.m
[31/77] Compiling SDWebImageTransition.m
[32/77] Compiling SDWebImagePrefetcher.m
[33/77] Compiling SDWebImageOptionsProcessor.m
[34/77] Compiling SDWebImageManager.m
[35/77] Compiling SDWebImageIndicator.m
[36/77] Compiling SDWebImageError.m
[37/77] Compiling SDWebImageDownloaderResponseModifier.m
[38/77] Compiling SDWebImageDownloaderRequestModifier.m
[39/77] Compiling SDWebImageDownloaderOperation.m
[40/77] Compiling SDWebImageDownloaderDecryptor.m
[41/77] Compiling SDWebImageDownloaderConfig.m
[42/77] Compiling SDWebImageDownloader.m
[43/77] Compiling SDWebImageDefine.m
[44/77] Compiling SDWebImageCompat.m
[45/77] Compiling SDWebImageCacheSerializer.m
[46/77] Compiling SDWebImageCacheKeyFilter.m
[47/77] Compiling SDMemoryCache.m
[48/77] Compiling SDImageTransformer.m
[49/77] Compiling SDImageLoadersManager.m
[50/77] Compiling SDImageLoader.m
[51/77] Compiling SDImageIOCoder.m
[52/77] Compiling SDImageIOAnimatedCoder.m
[53/77] Compiling SDImageHEICCoder.m
[54/77] Compiling SDImageGraphics.m
[54/77] Compiling SDImageGIFCoder.m
[56/77] Compiling SDImageFrame.m
[57/77] Compiling SDImageCodersManager.m
[58/77] Compiling SDImageCoder.m
[59/77] Compiling SDImageCoderHelper.m
[60/77] Compiling SDImageCachesManager.m
[61/77] Compiling SDImageCacheDefine.m
[62/77] Compiling SDImageCacheConfig.m
[63/77] Compiling SDImageCache.m
[64/77] Compiling SDImageAWebPCoder.m
[65/77] Compiling SDImageAPNGCoder.m
[66/77] Compiling SDGraphicsImageRenderer.m
[67/77] Compiling SDCallbackQueue.m
[68/77] Compiling SDDiskCache.m
[69/77] Compiling SDAnimatedImageView.m
[70/77] Compiling SDAnimatedImageView+WebCache.m
[71/77] Compiling SDAnimatedImageRep.m
[72/77] Compiling SDAnimatedImagePlayer.m
[73/77] Compiling NSData+ImageContentType.m
[74/77] Compiling NSImage+Compatibility.m
[75/77] Compiling SDAnimatedImage.m
[76/77] Compiling NSButton+WebCache.m
[78/87] Compiling SDWebImageSwiftUI WebImage.swift
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/Image.swift:25:16: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
24 | extension PlatformImage {
25 | static var empty = PlatformImage()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
26 | }
27 |
[79/88] Compiling SDWebImageSwiftUI Transition.swift
[80/88] Compiling SDWebImageSwiftUI SDWebImageSwiftUI.swift
[81/88] Compiling SDWebImageSwiftUI ImagePlayer.swift
[82/88] Compiling SDWebImageSwiftUI Indicator.swift
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/Indicator/Indicator.swift:34:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
32 | didSet {
33 | DispatchQueue.main.async {
34 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/Indicator/Indicator.swift:42:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
40 | didSet {
41 | DispatchQueue.main.async {
42 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
43 | }
44 | }
[83/88] Compiling SDWebImageSwiftUI ImageManager.swift
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:21:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
19 | didSet {
20 | DispatchQueue.main.async {
21 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:29:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
27 | didSet {
28 | DispatchQueue.main.async {
29 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:37:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
35 | didSet {
36 | DispatchQueue.main.async {
37 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:45:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
43 | didSet {
44 | DispatchQueue.main.async {
45 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:53:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | didSet {
52 | DispatchQueue.main.async {
53 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:101:21: warning: sending 'progressBlock' risks causing data races; this is an error in the Swift 6 language mode
99 | if let progressBlock = self.progressBlock {
100 | DispatchQueue.main.async {
101 | progressBlock(receivedSize, expectedSize)
| |- warning: sending 'progressBlock' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'progressBlock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
102 | }
103 | }
[84/88] Compiling SDWebImageSwiftUI Image.swift
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/Image.swift:25:16: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
24 | extension PlatformImage {
25 | static var empty = PlatformImage()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
26 | }
27 |
[85/88] Compiling SDWebImageSwiftUI AnimatedImage.swift
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/AnimatedImage.swift:44:23: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | @Published var placeholderView: PlatformView? {
43 | didSet {
44 | oldValue?.removeFromSuperview()
| `- warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | }
46 | }
AppKit.NSView:44:26: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
42 | open func didAddSubview(_ subview: NSView)
43 | open func willRemoveSubview(_ subview: NSView)
44 | @MainActor open func removeFromSuperview()
| `- note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
45 | open func replaceSubview(_ oldView: NSView, with newView: NSView)
46 | open func removeFromSuperviewWithoutNeedingDisplay()
[86/88] Emitting module SDWebImageSwiftUI
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/AnimatedImage.swift:44:23: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | @Published var placeholderView: PlatformView? {
43 | didSet {
44 | oldValue?.removeFromSuperview()
| `- warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | }
46 | }
AppKit.NSView:44:26: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
42 | open func didAddSubview(_ subview: NSView)
43 | open func willRemoveSubview(_ subview: NSView)
44 | @MainActor open func removeFromSuperview()
| `- note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
45 | open func replaceSubview(_ oldView: NSView, with newView: NSView)
46 | open func removeFromSuperviewWithoutNeedingDisplay()
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/Image.swift:25:16: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
24 | extension PlatformImage {
25 | static var empty = PlatformImage()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:21:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
19 | didSet {
20 | DispatchQueue.main.async {
21 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
22 | }
23 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:29:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
27 | didSet {
28 | DispatchQueue.main.async {
29 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:37:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
35 | didSet {
36 | DispatchQueue.main.async {
37 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:45:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
43 | didSet {
44 | DispatchQueue.main.async {
45 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageManager.swift:53:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | didSet {
52 | DispatchQueue.main.async {
53 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/Indicator/Indicator.swift:34:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
32 | didSet {
33 | DispatchQueue.main.async {
34 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/Indicator/Indicator.swift:42:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
40 | didSet {
41 | DispatchQueue.main.async {
42 | self.objectWillChange.send()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
43 | }
44 | }
[87/88] Compiling SDWebImageSwiftUI ImageViewWrapper.swift
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageViewWrapper.swift:77:18: warning: call to main actor-isolated instance method 'invalidateIntrinsicContentSize()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | addSubview(wrapped)
76 | observation = observe(\.wrapped.image, options: [.new]) { _, _ in
77 | self.invalidateIntrinsicContentSize()
| `- warning: call to main actor-isolated instance method 'invalidateIntrinsicContentSize()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 | }
AppKit.NSView:23:26: note: calls to instance method 'invalidateIntrinsicContentSize()' from outside of its actor context are implicitly asynchronous
21 | @MainActor open var intrinsicContentSize: NSSize { get }
22 | @available(macOS 10.7, *)
23 | @MainActor open func invalidateIntrinsicContentSize()
| `- note: calls to instance method 'invalidateIntrinsicContentSize()' from outside of its actor context are implicitly asynchronous
24 | @available(macOS 10.7, *)
25 | open func contentHuggingPriority(for orientation: NSLayoutConstraint.Orientation) -> NSLayoutConstraint.Priority
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Classes/ImageViewWrapper.swift:85:18: warning: call to main actor-isolated instance method 'invalidateIntrinsicContentSize()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | addSubview(wrapped)
84 | observation = observe(\.wrapped.image, options: [.new]) { _, _ in
85 | self.invalidateIntrinsicContentSize()
| `- warning: call to main actor-isolated instance method 'invalidateIntrinsicContentSize()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
AppKit.NSView:23:26: note: calls to instance method 'invalidateIntrinsicContentSize()' from outside of its actor context are implicitly asynchronous
21 | @MainActor open var intrinsicContentSize: NSSize { get }
22 | @available(macOS 10.7, *)
23 | @MainActor open func invalidateIntrinsicContentSize()
| `- note: calls to instance method 'invalidateIntrinsicContentSize()' from outside of its actor context are implicitly asynchronous
24 | @available(macOS 10.7, *)
25 | open func contentHuggingPriority(for orientation: NSLayoutConstraint.Orientation) -> NSLayoutConstraint.Priority
[88/88] Compiling SDWebImageSwiftUI resource_bundle_accessor.swift
Build complete! (34.10s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Module/Info.plist
Build complete.
{
"dependencies" : [
{
"identity" : "sdwebimage",
"requirement" : {
"range" : [
{
"lower_bound" : "5.10.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SDWebImage/SDWebImage.git"
}
],
"manifest_display_name" : "SDWebImageSwiftUI",
"name" : "SDWebImageSwiftUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SDWebImageSwiftUI",
"targets" : [
"SDWebImageSwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SDWebImageSwiftUI",
"module_type" : "SwiftTarget",
"name" : "SDWebImageSwiftUI",
"path" : "SDWebImageSwiftUI",
"product_dependencies" : [
"SDWebImage"
],
"product_memberships" : [
"SDWebImageSwiftUI"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/SDWebImageSwiftUI/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Classes/AnimatedImage.swift",
"Classes/Image.swift",
"Classes/ImageManager.swift",
"Classes/ImagePlayer.swift",
"Classes/ImageViewWrapper.swift",
"Classes/Indicator/Indicator.swift",
"Classes/SDWebImageSwiftUI.swift",
"Classes/Transition/Transition.swift",
"Classes/WebImage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.