Build Information
Failed to build FZQuicklook, reference main (f63716
), with Swift 6.1 for macOS (SPM) on 5 May 2025 04:41:19 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/flocked/FZQuicklook.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/flocked/FZQuicklook
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f63716d Update Package.swift
Cloned https://github.com/flocked/FZQuicklook.git
Revision (git rev-parse @):
f63716db5da618a4ee1eb84d04d1d3c063eaaa8a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/flocked/FZQuicklook.git at main
Fetching https://github.com/flocked/FZSwiftUtils.git
[1/67667] Fetching fzswiftutils
Fetched https://github.com/flocked/FZSwiftUtils.git from cache (2.48s)
Creating working copy for https://github.com/flocked/FZSwiftUtils.git
Working copy of https://github.com/flocked/FZSwiftUtils.git resolved at main (3b793f1)
========================================
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": "fzquicklook",
"name": "FZQuicklook",
"url": "https://github.com/flocked/FZQuicklook.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FZQuicklook",
"dependencies": [
{
"identity": "fzswiftutils",
"name": "FZSwiftUtils",
"url": "https://github.com/flocked/FZSwiftUtils.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FZSwiftUtils",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/flocked/FZQuicklook.git
[1/1995] Fetching fzquicklook
Fetched https://github.com/flocked/FZQuicklook.git from cache (0.94s)
Fetching https://github.com/flocked/FZSwiftUtils.git from cache
Fetched https://github.com/flocked/FZSwiftUtils.git from cache (0.45s)
Creating working copy for https://github.com/flocked/FZQuicklook.git
Working copy of https://github.com/flocked/FZQuicklook.git resolved at main (f63716d)
Creating working copy for https://github.com/flocked/FZSwiftUtils.git
Working copy of https://github.com/flocked/FZSwiftUtils.git resolved at main (3b793f1)
warning: '.resolve-product-dependencies': dependency 'fzquicklook' is not used by any target
Found 1 product dependencies
- FZSwiftUtils
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/flocked/FZQuicklook.git
https://github.com/flocked/FZQuicklook.git
{
"dependencies" : [
{
"identity" : "fzswiftutils",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/flocked/FZSwiftUtils.git"
}
],
"manifest_display_name" : "FZQuicklook",
"name" : "FZQuicklook",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "FZQuicklook",
"targets" : [
"FZQuicklook"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FZQuicklook",
"module_type" : "SwiftTarget",
"name" : "FZQuicklook",
"path" : "Sources/FZQuicklook",
"product_dependencies" : [
"FZSwiftUtils"
],
"product_memberships" : [
"FZQuicklook"
],
"sources" : [
"Extensions/NSCollectionView+KeyDown.swift",
"Extensions/NSImageView+.swift",
"Extensions/NSTableCellView+.swift",
"Extensions/NSTableRowView+.swift",
"Extensions/NSView+.swift",
"Extensions/NSView+QuicklookPreviewable.swift",
"NSCollectionView/NSCollectionView+Qucklook.swift",
"NSCollectionView/NSCollectionViewDataSource+Quicklook.swift",
"NSCollectionView/NSCollectionViewItem+Quicklook.swift",
"NSTableView/NSTableCellView+Quicklook.swift",
"NSTableView/NSTableView+Qucklook.swift",
"NSTableView/NSTableViewDataSource+Quicklook.swift",
"QuicklookItem.swift",
"QuicklookPanel.swift",
"QuicklookPreviewable+Item.swift",
"QuicklookPreviewable.swift",
"QuicklookView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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/5] Write sources
[2/5] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Compiling _SuperBuilder SuperBuilder.m
[4/5] Compiling _ExceptionCatcher NSObject+ExceptionCatcher.m
[6/215] Compiling FZSwiftUtils NSKeyedUnarchiver+.swift
[7/215] Compiling FZSwiftUtils Interpose+AnyHook.swift
[8/215] Compiling FZSwiftUtils Interpose+ClassHook.swift
[9/215] Compiling FZSwiftUtils Interpose+Error.swift
[10/215] Compiling FZSwiftUtils Interpose+HookFinder.swift
[11/215] Compiling FZSwiftUtils Interpose+ObjectHook+Optional.swift
[12/215] Compiling FZSwiftUtils Interpose+ObjectHook.swift
[13/215] Compiling FZSwiftUtils Interpose+Subclass.swift
[14/215] Compiling FZSwiftUtils Interpose.swift
[15/215] Compiling FZSwiftUtils KVObserver.swift
[16/215] Compiling FZSwiftUtils KeyValueObservation.swift
[17/215] Compiling FZSwiftUtils KeyValueObserver.swift
[18/215] Compiling FZSwiftUtils NSObject+.swift
[19/215] Compiling FZSwiftUtils NSObject+KeyPath.swift
[20/215] Compiling FZSwiftUtils NSObject+Observe.swift
[21/215] Compiling FZSwiftUtils NSObject+Reflection.swift
[22/215] Compiling FZSwiftUtils NSObject+Swizzle.swift
[23/215] Compiling FZSwiftUtils NSRectEdge+.swift
[24/215] Compiling FZSwiftUtils NSRunningApplication+.swift
[25/215] Compiling FZSwiftUtils NSUIRectEdge+.swift
[26/215] Compiling FZSwiftUtils NSWorkspace+.swift
[27/215] Compiling FZSwiftUtils HTTPCookieStorage+.swift
[28/215] Compiling FZSwiftUtils HTTPURLResponse+.swift
[29/238] Compiling FZSwiftUtils URL+Redirect.swift
[30/238] Compiling FZSwiftUtils URLComponents+.swift
[31/238] Compiling FZSwiftUtils URLRequest+.swift
[32/238] Compiling FZSwiftUtils URLResponse+.swift
[33/238] Compiling FZSwiftUtils URLSession+.swift
[34/238] Compiling FZSwiftUtils URLSession+Sync.swift
[35/238] Compiling FZSwiftUtils URLSessionConfiguration+.swift
[36/238] Compiling FZSwiftUtils URLSessionDataTask+Resume.swift
[37/238] Compiling FZSwiftUtils URLSessionTask+.swift
[38/238] Compiling FZSwiftUtils Notification+.swift
[39/238] Compiling FZSwiftUtils Operation+.swift
[40/238] Compiling FZSwiftUtils OperationQueue+.swift
[41/238] Compiling FZSwiftUtils NSComparisonPredicate+.swift
[42/238] Compiling FZSwiftUtils NSComparisonPredicate+Expression.swift
[43/238] Compiling FZSwiftUtils NSExpression+.swift
[44/238] Compiling FZSwiftUtils NSPredicate+.swift
[45/238] Compiling FZSwiftUtils NSPredicate+Operator.swift
[46/238] Compiling FZSwiftUtils Predicates.swift
[47/238] Compiling FZSwiftUtils ProcessInfo+.swift
[48/238] Compiling FZSwiftUtils Progress+.swift
[49/238] Compiling FZSwiftUtils CFType.swift
[50/238] Compiling FZSwiftUtils CaseIterable+.swift
[51/238] Compiling FZSwiftUtils Comparable+.swift
[52/238] Compiling FZSwiftUtils Bundle+.swift
[53/238] Compiling FZSwiftUtils CVTimeStamp+.swift
[54/238] Compiling FZSwiftUtils Array+.swift
[55/238] Compiling FZSwiftUtils Collection+.swift
[56/238] Compiling FZSwiftUtils Collection+Advance.swift
[57/238] Compiling FZSwiftUtils Collection+Average.swift
[58/238] Compiling FZSwiftUtils Collection+Chunk.swift
[59/238] Compiling FZSwiftUtils Collection+Indexed.swift
[60/238] Compiling FZSwiftUtils Collection+LazySplit.swift
[61/238] Compiling FZSwiftUtils Collection+Random.swift
[62/238] Compiling FZSwiftUtils Collection+Sort.swift
[63/238] Compiling FZSwiftUtils CollectionDifference+.swift
[64/238] Compiling FZSwiftUtils Dictionary+.swift
[65/238] Compiling FZSwiftUtils Dictionary+Merge.swift
[66/238] Compiling FZSwiftUtils IndexPath+.swift
[67/238] Compiling FZSwiftUtils OptionSet+.swift
[68/238] Compiling FZSwiftUtils Sequence+.swift
[69/238] Compiling FZSwiftUtils Sequence+Collect.swift
[70/238] Compiling FZSwiftUtils Sequence+Concurrency.swift
[71/238] Compiling FZSwiftUtils Sequence+Difference.swift
[72/238] Compiling FZSwiftUtils Sequence+Flat.swift
[73/238] Compiling FZSwiftUtils Sequence+Identifable.swift
[74/238] Compiling FZSwiftUtils Sequence+Keypath.swift
[75/238] Compiling FZSwiftUtils Sequence+Occurency.swift
[76/238] Compiling FZSwiftUtils FileType.swift
[77/238] Compiling FZSwiftUtils NSMetadata+.swift
[78/238] Compiling FZSwiftUtils URL+.swift
[79/238] Compiling FZSwiftUtils URL+DuplicateFiles.swift
[80/238] Compiling FZSwiftUtils URL+ExtendedAttributes.swift
[81/238] Compiling FZSwiftUtils URL+File.swift
[82/238] Compiling FZSwiftUtils URL+Item.swift
[83/238] Compiling FZSwiftUtils URL+Iterate.swift
[84/238] Compiling FZSwiftUtils URL+ResourceValue.swift
[85/238] Compiling FZSwiftUtils URL+fileSystemItem.swift
[86/238] Compiling FZSwiftUtils URLResources.swift
[87/238] Compiling FZSwiftUtils UTType+.swift
[88/238] Compiling FZSwiftUtils ByteCountFormatter+.swift
[89/238] Compiling FZSwiftUtils MeasurementFormatter+.swift
[90/238] Compiling FZSwiftUtils UnitInformationStorage+.swift
[91/238] Compiling FZSwiftUtils Digest+.swift
[92/238] Compiling FZSwiftUtils HashFunction+.swift
[93/238] Compiling FZSwiftUtils Hasher+.swift
[94/238] Compiling FZSwiftUtils JSONSerialization+.swift
[95/238] Compiling FZSwiftUtils KeyPath+.swift
[96/238] Compiling FZSwiftUtils Locale+.swift
[97/238] Compiling FZSwiftUtils Locale+Currency.swift
[98/238] Compiling FZSwiftUtils Logger+.swift
[99/238] Compiling FZSwiftUtils TIFF+Extended.swift
[100/238] Compiling FZSwiftUtils GIFImageProperties.swift
[101/238] Compiling FZSwiftUtils HEICImageProperties.swift
[102/238] Compiling FZSwiftUtils IPTCImageProperties.swift
[103/238] Compiling FZSwiftUtils ImageProperties.swift
[104/238] Compiling FZSwiftUtils JPEGImageProperties.swift
[105/238] Compiling FZSwiftUtils PNGImageProperties.swift
[106/238] Compiling FZSwiftUtils TIFFImageProperties.swift
[107/238] Compiling FZSwiftUtils ImageSource.swift
[108/238] Compiling FZSwiftUtils KeyValueCodable.swift
[109/238] Compiling FZSwiftUtils MeasureTime.swift
[110/238] Compiling FZSwiftUtils MutableProgress.swift
[111/238] Compiling FZSwiftUtils NotificationToken.swift
[112/238] Compiling FZSwiftUtils OSHash.swift
[113/238] Compiling FZSwiftUtils AsyncOperation.swift
[114/238] Compiling FZSwiftUtils PausableOperationQueue.swift
[115/238] Compiling FZSwiftUtils OutlineItem.swift
[116/238] Compiling FZSwiftUtils Reachability.swift
[117/238] Compiling FZSwiftUtils RuntimeError.swift
[118/238] Compiling FZSwiftUtils Swizzle.swift
[119/238] Compiling FZSwiftUtils Synchronized.swift
[120/238] Compiling FZSwiftUtils ThroughputFormatter.swift
[121/238] Compiling FZSwiftUtils Weak.swift
[122/238] Compiling FZSwiftUtils Sequence+Sort.swift
[123/238] Compiling FZSwiftUtils Sequence+String.swift
[124/238] Compiling FZSwiftUtils Sequence+Unique.swift
[125/238] Compiling FZSwiftUtils Sequence+Zip.swift
[126/238] Compiling FZSwiftUtils Set+.swift
[127/238] Compiling FZSwiftUtils Calendar+.swift
[128/238] Compiling FZSwiftUtils Date+.swift
[129/238] Compiling FZSwiftUtils DateComponentsFormatter+.swift
[130/238] Compiling FZSwiftUtils DateFormatter+.swift
[131/238] Compiling FZSwiftUtils DateFormatter+Components.swift
[132/238] Compiling FZSwiftUtils DateIntervalFormatter+.swift
[133/238] Compiling FZSwiftUtils RelativeDateTimeFormatter+.swift
[134/238] Compiling FZSwiftUtils NSCalendar+.swift
[135/238] Compiling FZSwiftUtils TimeZone.swift
[136/238] Compiling FZSwiftUtils DispatchQueue+.swift
[137/238] Compiling FZSwiftUtils DispatchWorkItem+.swift
[138/238] Compiling FZSwiftUtils Collection+Decode.swift
[139/238] Compiling FZSwiftUtils Dictionary+Codable.swift
[140/238] Compiling FZSwiftUtils JSONEncoderDecoder+.swift
[141/238] Compiling FZSwiftUtils JSONEncoderDecoder+Codable.swift
[142/238] Compiling FZSwiftUtils Enum+Displayable.swift
[143/238] Compiling FZSwiftUtils Enum+Name.swift
[144/238] Compiling FZSwiftUtils FileAttributes.swift
[145/238] Compiling FZSwiftUtils FileManager+.swift
[146/238] Emitting module FZSwiftUtils
[147/238] Compiling FZSwiftUtils Accelerate+Operator.swift
[148/238] Compiling FZSwiftUtils ApproximateEquatable.swift
[149/238] Compiling FZSwiftUtils Bool+.swift
[150/238] Compiling FZSwiftUtils CGPoint+.swift
[151/238] Compiling FZSwiftUtils CGRect+.swift
[152/238] Compiling FZSwiftUtils CGSize+.swift
[153/238] Compiling FZSwiftUtils FloatingPoint+.swift
[154/238] Compiling FZSwiftUtils FloatingPoint+Initializable.swift
[155/238] Compiling FZSwiftUtils FloatingPoint+Rounding.swift
[156/238] Compiling FZSwiftUtils Int+.swift
[157/238] Compiling FZSwiftUtils MultiplicativeArithmetic.swift
[158/238] Compiling FZSwiftUtils NSNumber+.swift
[159/238] Compiling FZSwiftUtils NSRange+.swift
[160/238] Compiling FZSwiftUtils NSValue+.swift
[161/238] Compiling FZSwiftUtils Number+Interpolate.swift
[162/238] Compiling FZSwiftUtils Number+String.swift
[163/238] Compiling FZSwiftUtils NumberFormatter+.swift
[164/238] Compiling FZSwiftUtils NumberFormatter+String.swift
[165/238] Compiling FZSwiftUtils Range+.swift
[166/238] Compiling FZSwiftUtils TimeInterval+.swift
[167/238] Compiling FZSwiftUtils Mirror+.swift
[168/238] Compiling FZSwiftUtils NSCoder+.swift
[169/238] Compiling FZSwiftUtils NSError+.swift
[170/238] Compiling FZSwiftUtils Scale.swift
[171/238] Compiling FZSwiftUtils TimeDuration.swift
[172/238] Compiling FZSwiftUtils Defaults.swift
[173/238] Compiling FZSwiftUtils FSEvent+Actions.swift
[174/238] Compiling FZSwiftUtils FSEvent+Flags.swift
[175/238] Compiling FZSwiftUtils FSEvent+ItemType.swift
[176/238] Compiling FZSwiftUtils FSEvent.swift
[177/238] Compiling FZSwiftUtils FSEventMonitor+Options.swift
[178/238] Compiling FZSwiftUtils FSEventMonitor.swift
[179/238] Compiling FZSwiftUtils FileConvertible.swift
[180/238] Compiling FZSwiftUtils CGImageFrame.swift
[181/238] Compiling FZSwiftUtils ImageFrameSequence.swift
[182/238] Compiling FZSwiftUtils ImageSequence.swift
[183/238] Compiling FZSwiftUtils ImageOptions.swift
[184/238] Compiling FZSwiftUtils EXIF+HumanReadable.swift
[185/238] Compiling FZSwiftUtils EXIFImageProperties.swift
[186/238] Compiling FZSwiftUtils Canon.swift
[187/238] Compiling FZSwiftUtils ColorModel.swift
[188/238] Compiling FZSwiftUtils EXIF+Extended.swift
[189/238] Compiling FZSwiftUtils GPS.swift
[190/238] Compiling FZSwiftUtils ImageProperties+Keys.swift
[191/238] Compiling FZSwiftUtils Nikon.swift
[192/238] Compiling FZSwiftUtils PNG+Extended.swift
[193/238] Compiling FZSwiftUtils DateValueCodable.swift
[194/238] Compiling FZSwiftUtils PropertyWrappers.swift
[195/238] Compiling FZSwiftUtils ApplicationInfo.swift
[196/238] Compiling FZSwiftUtils FileTypeDefinition.swift
[197/238] Compiling FZSwiftUtils AssociatedValue.swift
[198/238] Compiling FZSwiftUtils BaseArray.swift
[199/238] Compiling FZSwiftUtils BaseDictionary.swift
[200/238] Compiling FZSwiftUtils Deque.swift
[201/238] Compiling FZSwiftUtils OrderedDictionary.swift
[202/238] Compiling FZSwiftUtils OrderedSet.swift
[203/238] Compiling FZSwiftUtils Queue.swift
[204/238] Compiling FZSwiftUtils SelectableArray.swift
[205/238] Compiling FZSwiftUtils Stack.swift
[206/238] Compiling FZSwiftUtils SynchronizedArray.swift
[207/238] Compiling FZSwiftUtils SynchronizedDictionary.swift
[208/238] Compiling FZSwiftUtils DataSize.swift
[209/238] Compiling FZSwiftUtils FractionalPoint.swift
[210/238] Compiling FZSwiftUtils NSRectCorner.swift
[211/238] Compiling FZSwiftUtils Point3D.swift
[212/238] Compiling FZSwiftUtils RectEdge.swift
[213/238] Compiling FZSwiftUtils RectEdgeCorner.swift
[214/238] Compiling FZSwiftUtils Rotation.swift
[215/238] Compiling FZSwiftUtils RotationAngle.swift
[216/238] Compiling FZSwiftUtils Comparable+Clamp.swift
[217/238] Compiling FZSwiftUtils Decodable+.swift
[218/238] Compiling FZSwiftUtils Equatable+.swift
[219/238] Compiling FZSwiftUtils OptionSetDescribable.swift
[220/238] Compiling FZSwiftUtils Optional+.swift
[221/238] Compiling FZSwiftUtils SortComparator+.swift
[222/238] Compiling FZSwiftUtils Result+.swift
[223/238] Compiling FZSwiftUtils Selector+.swift
[224/238] Compiling FZSwiftUtils AttributedString+.swift
[225/238] Compiling FZSwiftUtils Character+.swift
[226/238] Compiling FZSwiftUtils CharacterSet+.swift
[227/238] Compiling FZSwiftUtils NSAttributedString+.swift
[228/238] Compiling FZSwiftUtils NSRegularExpression+.swift
[229/238] Compiling FZSwiftUtils NSTextCheckingResult+.swift
[230/238] Compiling FZSwiftUtils String+.swift
[231/238] Compiling FZSwiftUtils String+HTML.swift
[232/238] Compiling FZSwiftUtils String+Height.swift
[233/238] Compiling FZSwiftUtils String+Match.swift
[234/238] Compiling FZSwiftUtils String+Random.swift
[235/238] Compiling FZSwiftUtils XMLNode+.swift
[236/238] Compiling FZSwiftUtils NSUI Typealias.swift
[237/238] Compiling FZSwiftUtils Operator.swift
[238/238] Compiling FZSwiftUtils CodableDefault.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[239/255] Compiling FZQuicklook NSCollectionView+KeyDown.swift
[240/255] Compiling FZQuicklook NSImageView+.swift
[241/255] Compiling FZQuicklook NSView+.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+QuicklookPreviewable.swift:22:46: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | guard newValue != isPreviewableBySpacebar else { return }
21 | if newValue {
22 | quicklookGestureRecognizer = QuicklookGestureRecognizer()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | addGestureRecognizer(quicklookGestureRecognizer!)
24 | } else {
:
87 | }
88 |
89 | convenience init() {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSGestureRecognizer'
90 | self.init(target: nil, action: nil)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+QuicklookPreviewable.swift:23:17: warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | if newValue {
22 | quicklookGestureRecognizer = QuicklookGestureRecognizer()
23 | addGestureRecognizer(quicklookGestureRecognizer!)
| `- warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | } else {
25 | quicklookGestureRecognizer?.removeFromView()
AppKit.NSView.addGestureRecognizer:3:24: note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer)}
| |- note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+QuicklookPreviewable.swift:25:45: warning: call to main actor-isolated instance method 'removeFromView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | addGestureRecognizer(quicklookGestureRecognizer!)
24 | } else {
25 | quicklookGestureRecognizer?.removeFromView()
| `- warning: call to main actor-isolated instance method 'removeFromView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | quicklookGestureRecognizer = nil
27 | }
:
82 | }
83 |
84 | func removeFromView() {
| |- note: calls to instance method 'removeFromView()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSGestureRecognizer'
85 | viewObservation = nil
86 | view?.removeGestureRecognizer(self)
[242/255] Compiling FZQuicklook NSView+QuicklookPreviewable.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+QuicklookPreviewable.swift:22:46: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
20 | guard newValue != isPreviewableBySpacebar else { return }
21 | if newValue {
22 | quicklookGestureRecognizer = QuicklookGestureRecognizer()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | addGestureRecognizer(quicklookGestureRecognizer!)
24 | } else {
:
87 | }
88 |
89 | convenience init() {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSGestureRecognizer'
90 | self.init(target: nil, action: nil)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+QuicklookPreviewable.swift:23:17: warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | if newValue {
22 | quicklookGestureRecognizer = QuicklookGestureRecognizer()
23 | addGestureRecognizer(quicklookGestureRecognizer!)
| `- warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | } else {
25 | quicklookGestureRecognizer?.removeFromView()
AppKit.NSView.addGestureRecognizer:3:24: note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer)}
| |- note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+QuicklookPreviewable.swift:25:45: warning: call to main actor-isolated instance method 'removeFromView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | addGestureRecognizer(quicklookGestureRecognizer!)
24 | } else {
25 | quicklookGestureRecognizer?.removeFromView()
| `- warning: call to main actor-isolated instance method 'removeFromView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | quicklookGestureRecognizer = nil
27 | }
:
82 | }
83 |
84 | func removeFromView() {
| |- note: calls to instance method 'removeFromView()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSGestureRecognizer'
85 | viewObservation = nil
86 | view?.removeGestureRecognizer(self)
[243/255] Compiling FZQuicklook NSTableCellView+.swift
[244/255] Compiling FZQuicklook NSTableRowView+.swift
[245/255] Emitting module FZQuicklook
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:31:11: error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
29 | }
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
| | `- error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
| `- note: add @available attribute to enclosing extension
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:298:17: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
276 | }
277 |
278 | extension QuicklookPanel: QLPreviewPanelDataSource, QLPreviewPanelDelegate {
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
279 | public func previewPanel(_: QLPreviewPanel!, handle event: NSEvent!) -> Bool {
280 | if event.type == .keyUp {
:
296 | }
297 |
298 | public func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
299 | _items.count
300 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:294:17: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
292 | }
293 |
294 | public func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
295 | _items[safe: index]
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:279:17: warning: main actor-isolated instance method 'previewPanel(_:handle:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
276 | }
277 |
278 | extension QuicklookPanel: QLPreviewPanelDataSource, QLPreviewPanelDelegate {
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDelegate' conformance to defer isolation checking to run time
279 | public func previewPanel(_: QLPreviewPanel!, handle event: NSEvent!) -> Bool {
| |- warning: main actor-isolated instance method 'previewPanel(_:handle:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:handle:)' to make this instance method not isolated to the actor
280 | if event.type == .keyUp {
281 | if event.keyCode == 49 || event.keyCode == 53 {
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:290:17: warning: main actor-isolated instance method 'previewPanel(_:sourceFrameOnScreenFor:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
288 | }
289 |
290 | public func previewPanel(_: QLPreviewPanel!, sourceFrameOnScreenFor item: QLPreviewItem!) -> NSRect {
| |- warning: main actor-isolated instance method 'previewPanel(_:sourceFrameOnScreenFor:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:sourceFrameOnScreenFor:)' to make this instance method not isolated to the actor
291 | (item as? QuicklookPreviewItem)?.previewItemFrame ?? .zero
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:302:17: warning: main actor-isolated instance method 'previewPanel(_:transitionImageFor:contentRect:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
300 | }
301 |
302 | public func previewPanel(_: QLPreviewPanel!, transitionImageFor item: QLPreviewItem!, contentRect _: UnsafeMutablePointer<NSRect>!) -> Any! {
| |- warning: main actor-isolated instance method 'previewPanel(_:transitionImageFor:contentRect:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:transitionImageFor:contentRect:)' to make this instance method not isolated to the actor
303 | (item as? QuicklookPreviewable)?.previewItemTransitionImage
304 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookView.swift:138:16: warning: main actor-isolated property 'previewItemURL' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
15 | To enable quicklock of the preview item by spacebar, use ``QuicklookPreviewable/isPreviewableBySpacebar``
16 | */
17 | @objc open class QuicklookView: NSView, QuicklookPreviewable {
| `- note: add '@preconcurrency' to the 'QuicklookPreviewable' conformance to defer isolation checking to run time
18 | var qlPreviewView: QLPreviewView!
19 | var previousItem: QuicklookPreviewable?
:
136 | }
137 |
138 | public var previewItemURL: URL? {
| `- warning: main actor-isolated property 'previewItemURL' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
139 | item?.previewItemURL
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:50:9: note: requirement 'previewItemURL' declared here
48 | If the item isn’t available for preview eturn `nil`. In this case, the ``QuicklookPanel`` and ``QuicklookView`` displays a “loading” view. Use ``QuicklookPanel/refreshCurrentItem()`` to reload the item once the URL content is available.
49 | */
50 | var previewItemURL: URL? { get }
| `- note: requirement 'previewItemURL' declared here
51 | /**
52 | The item frame on the screen.
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookView.swift:142:16: warning: main actor-isolated property 'previewItemFrame' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
140 | }
141 |
142 | public var previewItemFrame: CGRect? {
| `- warning: main actor-isolated property 'previewItemFrame' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
143 | frameOnScreen
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:58:9: note: requirement 'previewItemFrame' declared here
56 | `NSView` and `NSCollectionViewItem` conforming to `QuicklookPreviewable` provide their frame as default value.
57 | */
58 | var previewItemFrame: CGRect? { get }
| `- note: requirement 'previewItemFrame' declared here
59 | /**
60 | The transition image for the item.
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookView.swift:146:16: warning: main actor-isolated property 'previewItemTitle' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
144 | }
145 |
146 | public var previewItemTitle: String? {
| `- warning: main actor-isolated property 'previewItemTitle' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
147 | item?.previewItemTitle
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:72:9: note: requirement 'previewItemTitle' declared here
70 | If you don’t implement this property, Quick Look examines the URL or content of the previewed item to determine an appropriate title. Return a non-nil value for this property to provide a custom title.
71 | */
72 | var previewItemTitle: String? { get }
| `- note: requirement 'previewItemTitle' declared here
73 | }
74 |
[246/256] Compiling FZQuicklook NSCollectionViewItem+Quicklook.swift
[247/256] Compiling FZQuicklook NSTableCellView+Quicklook.swift
[248/256] Compiling FZQuicklook QuicklookPreviewable.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:131:14: warning: main actor-isolated property 'frameOnScreen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
129 | public extension QuicklookPreviewable where Self: NSCollectionViewItem {
130 | var previewItemFrame: CGRect? {
131 | view.frameOnScreen
| `- warning: main actor-isolated property 'frameOnScreen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
132 | }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:25:9: note: property declared here
23 | This rectangle defines the size and position of the view in its screen’s coordinate system.
24 | */
25 | var frameOnScreen: CGRect? {
| `- note: property declared here
26 | window?.convertToScreen(frameInWindow)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:131:9: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
129 | public extension QuicklookPreviewable where Self: NSCollectionViewItem {
130 | var previewItemFrame: CGRect? {
131 | view.frameOnScreen
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
132 | }
133 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:135:14: warning: main actor-isolated property 'renderedImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | var previewItemTransitionImage: NSImage? {
135 | view.renderedImage
| `- warning: main actor-isolated property 'renderedImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 | }
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:33:9: note: property declared here
31 | }
32 |
33 | var renderedImage: NSImage {
| `- note: property declared here
34 | let image = NSImage(size: bounds.size)
35 | image.lockFocus()
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:135:9: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
133 |
134 | var previewItemTransitionImage: NSImage? {
135 | view.renderedImage
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 | }
137 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:141:9: warning: main actor-isolated property 'frameOnScreen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 | public extension QuicklookPreviewable where Self: NSView {
140 | var previewItemFrame: CGRect? {
141 | frameOnScreen
| `- warning: main actor-isolated property 'frameOnScreen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:25:9: note: property declared here
23 | This rectangle defines the size and position of the view in its screen’s coordinate system.
24 | */
25 | var frameOnScreen: CGRect? {
| `- note: property declared here
26 | window?.convertToScreen(frameInWindow)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:145:9: warning: main actor-isolated property 'renderedImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
143 |
144 | var previewItemTransitionImage: NSImage? {
145 | renderedImage
| `- warning: main actor-isolated property 'renderedImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 | }
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:33:9: note: property declared here
31 | }
32 |
33 | var renderedImage: NSImage {
| `- note: property declared here
34 | let image = NSImage(size: bounds.size)
35 | image.lockFocus()
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:151:16: warning: main actor-isolated property 'image' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
149 | public extension QuicklookPreviewable where Self: NSImageView {
150 | var previewItemFrame: CGRect? {
151 | return image != nil ? window?.convertToScreen(convert(imageBounds, to: nil)) : frameOnScreen
| `- warning: main actor-isolated property 'image' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 | }
153 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h:42:39: note: property declared here
40 | + (instancetype)imageViewWithImage:(NSImage *)image API_AVAILABLE(macos(10.12));
41 |
42 | @property (nullable, strong) NSImage *image;
| `- note: property declared here
43 |
44 | @property (getter=isEditable) BOOL editable;
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:151:39: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
149 | public extension QuicklookPreviewable where Self: NSImageView {
150 | var previewItemFrame: CGRect? {
151 | return image != nil ? window?.convertToScreen(convert(imageBounds, to: nil)) : frameOnScreen
| `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 | }
153 |
AppKit.NSWindow.convertToScreen:3:24: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect}
| |- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:151:31: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
149 | public extension QuicklookPreviewable where Self: NSImageView {
150 | var previewItemFrame: CGRect? {
151 | return image != nil ? window?.convertToScreen(convert(imageBounds, to: nil)) : frameOnScreen
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 | }
153 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:151:55: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
149 | public extension QuicklookPreviewable where Self: NSImageView {
150 | var previewItemFrame: CGRect? {
151 | return image != nil ? window?.convertToScreen(convert(imageBounds, to: nil)) : frameOnScreen
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 | }
153 |
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:151:63: warning: main actor-isolated property 'imageBounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
149 | public extension QuicklookPreviewable where Self: NSImageView {
150 | var previewItemFrame: CGRect? {
151 | return image != nil ? window?.convertToScreen(convert(imageBounds, to: nil)) : frameOnScreen
| `- warning: main actor-isolated property 'imageBounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 | }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSImageView+.swift:11:9: note: property declared here
9 |
10 | extension NSImageView {
11 | var imageBounds: CGRect {
| `- note: property declared here
12 | if let bounds = value(forKey: "_drawingRectForImage") as? CGRect {
13 | return bounds
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:151:88: warning: main actor-isolated property 'frameOnScreen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
149 | public extension QuicklookPreviewable where Self: NSImageView {
150 | var previewItemFrame: CGRect? {
151 | return image != nil ? window?.convertToScreen(convert(imageBounds, to: nil)) : frameOnScreen
| `- warning: main actor-isolated property 'frameOnScreen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
152 | }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:25:9: note: property declared here
23 | This rectangle defines the size and position of the view in its screen’s coordinate system.
24 | */
25 | var frameOnScreen: CGRect? {
| `- note: property declared here
26 | window?.convertToScreen(frameInWindow)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:155:9: warning: main actor-isolated property 'image' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
153 |
154 | var previewItemTransitionImage: NSImage? {
155 | image
| `- warning: main actor-isolated property 'image' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 | }
157 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h:42:39: note: property declared here
40 | + (instancetype)imageViewWithImage:(NSImage *)image API_AVAILABLE(macos(10.12));
41 |
42 | @property (nullable, strong) NSImage *image;
| `- note: property declared here
43 |
44 | @property (getter=isEditable) BOOL editable;
[249/256] Compiling FZQuicklook NSTableView+Qucklook.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:36: warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified row in the table view.
22 | */
23 | func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
24 | if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: rowView)
26 | }
AppKit.NSTableView.rowView:3:24: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
1 | class NSTableView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func rowView(atRow row: Int, makeIfNecessary: Bool) -> NSTableRowView?}
| |- note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:159: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified row in the table view.
22 | */
23 | func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
24 | if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: rowView)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:103: warning: main actor-isolated property 'cellViews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified row in the table view.
22 | */
23 | func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
24 | if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'cellViews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: rowView)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSTableRowView+.swift:16:9: note: property declared here
14 | This array contains zero or more NSTableCellView objects that represent the cell views embedded in the current row view’s content.
15 | */
16 | var cellViews: [NSTableCellView] {
| `- note: property declared here
17 | (0 ..< numberOfColumns).compactMap { self.view(atColumn: $0) as? NSTableCellView }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:131: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
22 | */
23 | func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
24 | if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: rowView)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:35:37: warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | @available(macOS 11.0, *)
32 | extension NSTableViewDiffableDataSource: NSTableViewQuicklookProvider {
33 | public func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
34 | if let previewable = itemIdentifier(forRow: row) as? QuicklookPreviewable {
35 | let rowView = tableView.rowView(atRow: row, makeIfNecessary: false)
| `- warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | return QuicklookPreviewItem(previewable, view: rowView)
37 | } else if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
AppKit.NSTableView.rowView:3:24: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
1 | class NSTableView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func rowView(atRow row: Int, makeIfNecessary: Bool) -> NSTableRowView?}
| |- note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:43: warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | @available(macOS 11.0, *)
32 | extension NSTableViewDiffableDataSource: NSTableViewQuicklookProvider {
33 | public func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
34 | if let previewable = itemIdentifier(forRow: row) as? QuicklookPreviewable {
35 | let rowView = tableView.rowView(atRow: row, makeIfNecessary: false)
36 | return QuicklookPreviewItem(previewable, view: rowView)
37 | } else if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | return QuicklookPreviewItem(preview, view: rowView)
39 | }
AppKit.NSTableView.rowView:3:24: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
1 | class NSTableView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func rowView(atRow row: Int, makeIfNecessary: Bool) -> NSTableRowView?}
| |- note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:166: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 | @available(macOS 11.0, *)
32 | extension NSTableViewDiffableDataSource: NSTableViewQuicklookProvider {
33 | public func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
34 | if let previewable = itemIdentifier(forRow: row) as? QuicklookPreviewable {
35 | let rowView = tableView.rowView(atRow: row, makeIfNecessary: false)
36 | return QuicklookPreviewItem(previewable, view: rowView)
37 | } else if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | return QuicklookPreviewItem(preview, view: rowView)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:110: warning: main actor-isolated property 'cellViews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 | @available(macOS 11.0, *)
32 | extension NSTableViewDiffableDataSource: NSTableViewQuicklookProvider {
33 | public func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
34 | if let previewable = itemIdentifier(forRow: row) as? QuicklookPreviewable {
35 | let rowView = tableView.rowView(atRow: row, makeIfNecessary: false)
36 | return QuicklookPreviewItem(previewable, view: rowView)
37 | } else if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'cellViews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | return QuicklookPreviewItem(preview, view: rowView)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSTableRowView+.swift:16:9: note: property declared here
14 | This array contains zero or more NSTableCellView objects that represent the cell views embedded in the current row view’s content.
15 | */
16 | var cellViews: [NSTableCellView] {
| `- note: property declared here
17 | (0 ..< numberOfColumns).compactMap { self.view(atColumn: $0) as? NSTableCellView }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:138: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | let rowView = tableView.rowView(atRow: row, makeIfNecessary: false)
36 | return QuicklookPreviewItem(previewable, view: rowView)
37 | } else if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | return QuicklookPreviewItem(preview, view: rowView)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
[250/256] Compiling FZQuicklook NSTableViewDataSource+Quicklook.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:36: warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified row in the table view.
22 | */
23 | func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
24 | if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: rowView)
26 | }
AppKit.NSTableView.rowView:3:24: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
1 | class NSTableView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func rowView(atRow row: Int, makeIfNecessary: Bool) -> NSTableRowView?}
| |- note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:159: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified row in the table view.
22 | */
23 | func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
24 | if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: rowView)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:103: warning: main actor-isolated property 'cellViews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified row in the table view.
22 | */
23 | func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
24 | if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'cellViews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: rowView)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSTableRowView+.swift:16:9: note: property declared here
14 | This array contains zero or more NSTableCellView objects that represent the cell views embedded in the current row view’s content.
15 | */
16 | var cellViews: [NSTableCellView] {
| `- note: property declared here
17 | (0 ..< numberOfColumns).compactMap { self.view(atColumn: $0) as? NSTableCellView }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:131: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
22 | */
23 | func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
24 | if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: rowView)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:35:37: warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | @available(macOS 11.0, *)
32 | extension NSTableViewDiffableDataSource: NSTableViewQuicklookProvider {
33 | public func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
34 | if let previewable = itemIdentifier(forRow: row) as? QuicklookPreviewable {
35 | let rowView = tableView.rowView(atRow: row, makeIfNecessary: false)
| `- warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | return QuicklookPreviewItem(previewable, view: rowView)
37 | } else if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
AppKit.NSTableView.rowView:3:24: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
1 | class NSTableView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func rowView(atRow row: Int, makeIfNecessary: Bool) -> NSTableRowView?}
| |- note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:43: warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | @available(macOS 11.0, *)
32 | extension NSTableViewDiffableDataSource: NSTableViewQuicklookProvider {
33 | public func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
34 | if let previewable = itemIdentifier(forRow: row) as? QuicklookPreviewable {
35 | let rowView = tableView.rowView(atRow: row, makeIfNecessary: false)
36 | return QuicklookPreviewItem(previewable, view: rowView)
37 | } else if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: call to main actor-isolated instance method 'rowView(atRow:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | return QuicklookPreviewItem(preview, view: rowView)
39 | }
AppKit.NSTableView.rowView:3:24: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
1 | class NSTableView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func rowView(atRow row: Int, makeIfNecessary: Bool) -> NSTableRowView?}
| |- note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:166: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 | @available(macOS 11.0, *)
32 | extension NSTableViewDiffableDataSource: NSTableViewQuicklookProvider {
33 | public func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
34 | if let previewable = itemIdentifier(forRow: row) as? QuicklookPreviewable {
35 | let rowView = tableView.rowView(atRow: row, makeIfNecessary: false)
36 | return QuicklookPreviewItem(previewable, view: rowView)
37 | } else if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | return QuicklookPreviewItem(preview, view: rowView)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:110: warning: main actor-isolated property 'cellViews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 | @available(macOS 11.0, *)
32 | extension NSTableViewDiffableDataSource: NSTableViewQuicklookProvider {
33 | public func tableView(_ tableView: NSTableView, quicklookPreviewForRow row: Int) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'tableView(_:quicklookPreviewForRow:)' part of global actor 'MainActor'
34 | if let previewable = itemIdentifier(forRow: row) as? QuicklookPreviewable {
35 | let rowView = tableView.rowView(atRow: row, makeIfNecessary: false)
36 | return QuicklookPreviewItem(previewable, view: rowView)
37 | } else if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'cellViews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | return QuicklookPreviewItem(preview, view: rowView)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSTableRowView+.swift:16:9: note: property declared here
14 | This array contains zero or more NSTableCellView objects that represent the cell views embedded in the current row view’s content.
15 | */
16 | var cellViews: [NSTableCellView] {
| `- note: property declared here
17 | (0 ..< numberOfColumns).compactMap { self.view(atColumn: $0) as? NSTableCellView }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:138: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | let rowView = tableView.rowView(atRow: row, makeIfNecessary: false)
36 | return QuicklookPreviewItem(previewable, view: rowView)
37 | } else if let rowView = tableView.rowView(atRow: row, makeIfNecessary: false), let preview = rowView.cellViews.first(where: { $0.quicklookPreview != nil })?.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | return QuicklookPreviewItem(preview, view: rowView)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
[251/256] Compiling FZQuicklook QuicklookItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:298:17: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
276 | }
277 |
278 | extension QuicklookPanel: QLPreviewPanelDataSource, QLPreviewPanelDelegate {
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
279 | public func previewPanel(_: QLPreviewPanel!, handle event: NSEvent!) -> Bool {
280 | if event.type == .keyUp {
:
296 | }
297 |
298 | public func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
299 | _items.count
300 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:294:17: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
292 | }
293 |
294 | public func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
295 | _items[safe: index]
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:279:17: warning: main actor-isolated instance method 'previewPanel(_:handle:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
276 | }
277 |
278 | extension QuicklookPanel: QLPreviewPanelDataSource, QLPreviewPanelDelegate {
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDelegate' conformance to defer isolation checking to run time
279 | public func previewPanel(_: QLPreviewPanel!, handle event: NSEvent!) -> Bool {
| |- warning: main actor-isolated instance method 'previewPanel(_:handle:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:handle:)' to make this instance method not isolated to the actor
280 | if event.type == .keyUp {
281 | if event.keyCode == 49 || event.keyCode == 53 {
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:290:17: warning: main actor-isolated instance method 'previewPanel(_:sourceFrameOnScreenFor:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
288 | }
289 |
290 | public func previewPanel(_: QLPreviewPanel!, sourceFrameOnScreenFor item: QLPreviewItem!) -> NSRect {
| |- warning: main actor-isolated instance method 'previewPanel(_:sourceFrameOnScreenFor:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:sourceFrameOnScreenFor:)' to make this instance method not isolated to the actor
291 | (item as? QuicklookPreviewItem)?.previewItemFrame ?? .zero
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:302:17: warning: main actor-isolated instance method 'previewPanel(_:transitionImageFor:contentRect:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
300 | }
301 |
302 | public func previewPanel(_: QLPreviewPanel!, transitionImageFor item: QLPreviewItem!, contentRect _: UnsafeMutablePointer<NSRect>!) -> Any! {
| |- warning: main actor-isolated instance method 'previewPanel(_:transitionImageFor:contentRect:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:transitionImageFor:contentRect:)' to make this instance method not isolated to the actor
303 | (item as? QuicklookPreviewable)?.previewItemTransitionImage
304 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:251:15: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
249 |
250 | override public func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
251 | panel.dataSource = self
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
252 | panel.delegate = self
253 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:252:15: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
250 | override public func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
251 | panel.dataSource = self
252 | panel.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
253 | }
254 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:169:53: note: mutation of this property is only permitted within the actor
167 | /// The class assigned as the delegate should conform to the
168 | /// ``QuickLookUI/QLPreviewPanelDelegate`` protocol.
169 | @property(assign) id /** <QLPreviewPanelDelegate>*/ delegate;
| `- note: mutation of this property is only permitted within the actor
170 |
171 | /*
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:256:15: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
254 |
255 | override public func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
256 | panel.dataSource = nil
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
257 | panel.delegate = nil
258 | panelDidCloseHandler?()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:257:15: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
255 | override public func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
256 | panel.dataSource = nil
257 | panel.delegate = nil
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
258 | panelDidCloseHandler?()
259 | reset()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:169:53: note: mutation of this property is only permitted within the actor
167 | /// The class assigned as the delegate should conform to the
168 | /// ``QuickLookUI/QLPreviewPanelDelegate`` protocol.
169 | @property(assign) id /** <QLPreviewPanelDelegate>*/ delegate;
| `- note: mutation of this property is only permitted within the actor
170 |
171 | /*
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:258:9: warning: main actor-isolated property 'panelDidCloseHandler' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 | The handler is set to `nil` after the panel closes.
137 | */
138 | @objc open var panelDidCloseHandler: (() -> Void)? = nil
| `- note: property declared here
139 |
140 | /**
:
256 | panel.dataSource = nil
257 | panel.delegate = nil
258 | panelDidCloseHandler?()
| `- warning: main actor-isolated property 'panelDidCloseHandler' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
259 | reset()
260 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:259:9: warning: call to main actor-isolated instance method 'reset()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
221 | }
222 |
223 | func reset() {
| |- note: calls to instance method 'reset()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
224 | items.removeAll()
225 | itemsProviderWindow = nil
:
257 | panel.delegate = nil
258 | panelDidCloseHandler?()
259 | reset()
| `- warning: call to main actor-isolated instance method 'reset()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
260 | }
261 |
[252/256] Compiling FZQuicklook QuicklookPanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:298:17: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
276 | }
277 |
278 | extension QuicklookPanel: QLPreviewPanelDataSource, QLPreviewPanelDelegate {
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
279 | public func previewPanel(_: QLPreviewPanel!, handle event: NSEvent!) -> Bool {
280 | if event.type == .keyUp {
:
296 | }
297 |
298 | public func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'numberOfPreviewItems(in:)' to make this instance method not isolated to the actor
299 | _items.count
300 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:294:17: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
292 | }
293 |
294 | public func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDataSource'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:previewItemAt:)' to make this instance method not isolated to the actor
295 | _items[safe: index]
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:279:17: warning: main actor-isolated instance method 'previewPanel(_:handle:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
276 | }
277 |
278 | extension QuicklookPanel: QLPreviewPanelDataSource, QLPreviewPanelDelegate {
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDelegate' conformance to defer isolation checking to run time
279 | public func previewPanel(_: QLPreviewPanel!, handle event: NSEvent!) -> Bool {
| |- warning: main actor-isolated instance method 'previewPanel(_:handle:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:handle:)' to make this instance method not isolated to the actor
280 | if event.type == .keyUp {
281 | if event.keyCode == 49 || event.keyCode == 53 {
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:290:17: warning: main actor-isolated instance method 'previewPanel(_:sourceFrameOnScreenFor:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
288 | }
289 |
290 | public func previewPanel(_: QLPreviewPanel!, sourceFrameOnScreenFor item: QLPreviewItem!) -> NSRect {
| |- warning: main actor-isolated instance method 'previewPanel(_:sourceFrameOnScreenFor:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:sourceFrameOnScreenFor:)' to make this instance method not isolated to the actor
291 | (item as? QuicklookPreviewItem)?.previewItemFrame ?? .zero
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:302:17: warning: main actor-isolated instance method 'previewPanel(_:transitionImageFor:contentRect:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
300 | }
301 |
302 | public func previewPanel(_: QLPreviewPanel!, transitionImageFor item: QLPreviewItem!, contentRect _: UnsafeMutablePointer<NSRect>!) -> Any! {
| |- warning: main actor-isolated instance method 'previewPanel(_:transitionImageFor:contentRect:)' cannot be used to satisfy nonisolated requirement from protocol 'QLPreviewPanelDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'previewPanel(_:transitionImageFor:contentRect:)' to make this instance method not isolated to the actor
303 | (item as? QuicklookPreviewable)?.previewItemTransitionImage
304 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:251:15: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
249 |
250 | override public func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
251 | panel.dataSource = self
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
252 | panel.delegate = self
253 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:252:15: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
250 | override public func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
251 | panel.dataSource = self
252 | panel.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
253 | }
254 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:169:53: note: mutation of this property is only permitted within the actor
167 | /// The class assigned as the delegate should conform to the
168 | /// ``QuickLookUI/QLPreviewPanelDelegate`` protocol.
169 | @property(assign) id /** <QLPreviewPanelDelegate>*/ delegate;
| `- note: mutation of this property is only permitted within the actor
170 |
171 | /*
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:256:15: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
254 |
255 | override public func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
256 | panel.dataSource = nil
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
257 | panel.delegate = nil
258 | panelDidCloseHandler?()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:104:49: note: mutation of this property is only permitted within the actor
102 |
103 | /// The preview panel data source.
104 | @property(assign) id <QLPreviewPanelDataSource> dataSource;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:257:15: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
255 | override public func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
256 | panel.dataSource = nil
257 | panel.delegate = nil
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
258 | panelDidCloseHandler?()
259 | reset()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/QuickLookUI.framework/Headers/QLPreviewPanel.h:169:53: note: mutation of this property is only permitted within the actor
167 | /// The class assigned as the delegate should conform to the
168 | /// ``QuickLookUI/QLPreviewPanelDelegate`` protocol.
169 | @property(assign) id /** <QLPreviewPanelDelegate>*/ delegate;
| `- note: mutation of this property is only permitted within the actor
170 |
171 | /*
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:258:9: warning: main actor-isolated property 'panelDidCloseHandler' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 | The handler is set to `nil` after the panel closes.
137 | */
138 | @objc open var panelDidCloseHandler: (() -> Void)? = nil
| `- note: property declared here
139 |
140 | /**
:
256 | panel.dataSource = nil
257 | panel.delegate = nil
258 | panelDidCloseHandler?()
| `- warning: main actor-isolated property 'panelDidCloseHandler' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
259 | reset()
260 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:259:9: warning: call to main actor-isolated instance method 'reset()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
221 | }
222 |
223 | func reset() {
| |- note: calls to instance method 'reset()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
224 | items.removeAll()
225 | itemsProviderWindow = nil
:
257 | panel.delegate = nil
258 | panelDidCloseHandler?()
259 | reset()
| `- warning: call to main actor-isolated instance method 'reset()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
260 | }
261 |
[253/256] Compiling FZQuicklook QuicklookPreviewable+Item.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable+Item.swift:22:15: warning: main actor-isolated property 'frameOnScreen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 |
21 | var previewItemFrame: CGRect? {
22 | view?.frameOnScreen ?? preview.previewItemFrame
| `- warning: main actor-isolated property 'frameOnScreen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:25:9: note: property declared here
23 | This rectangle defines the size and position of the view in its screen’s coordinate system.
24 | */
25 | var frameOnScreen: CGRect? {
| `- note: property declared here
26 | window?.convertToScreen(frameInWindow)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable+Item.swift:30:15: warning: main actor-isolated property 'renderedImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 |
29 | var previewItemTransitionImage: NSImage? {
30 | view?.renderedImage ?? preview.previewItemTransitionImage
| `- warning: main actor-isolated property 'renderedImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:33:9: note: property declared here
31 | }
32 |
33 | var renderedImage: NSImage {
| `- note: property declared here
34 | let image = NSImage(size: bounds.size)
35 | image.lockFocus()
[254/256] Compiling FZQuicklook NSCollectionView+Qucklook.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:31:11: error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
29 | }
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
| | `- error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
| `- note: add @available attribute to enclosing extension
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:24:38: warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified item in the collection view.
22 | */
23 | func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
24 | if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
| `- warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: item.view)
26 | }
AppKit.NSCollectionView.item:3:24: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?}
| |- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:24:78: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified item in the collection view.
22 | */
23 | func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
24 | if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: item.view)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewItem+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:25:61: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified item in the collection view.
22 | */
23 | func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
24 | if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
25 | return QuicklookPreviewItem(preview, view: item.view)
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
26 | }
27 | return nil
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:33:38: warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
| `- warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | return QuicklookPreviewItem(previewable, view: item.view)
35 | } else if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
AppKit.NSCollectionView.item:3:24: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?}
| |- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:34:65: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
34 | return QuicklookPreviewItem(previewable, view: item.view)
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | } else if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
36 | return QuicklookPreviewItem(preview, view: item.view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:35:45: warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
34 | return QuicklookPreviewItem(previewable, view: item.view)
35 | } else if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
| `- warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | return QuicklookPreviewItem(preview, view: item.view)
37 | }
AppKit.NSCollectionView.item:3:24: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?}
| |- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:35:85: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
34 | return QuicklookPreviewItem(previewable, view: item.view)
35 | } else if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 | return QuicklookPreviewItem(preview, view: item.view)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewItem+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:36:61: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
34 | return QuicklookPreviewItem(previewable, view: item.view)
35 | } else if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
36 | return QuicklookPreviewItem(preview, view: item.view)
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 | }
38 | return nil
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
[255/256] Compiling FZQuicklook NSCollectionViewDataSource+Quicklook.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:31:11: error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
29 | }
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
| | `- error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
| `- note: add @available attribute to enclosing extension
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:24:38: warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified item in the collection view.
22 | */
23 | func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
24 | if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
| `- warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: item.view)
26 | }
AppKit.NSCollectionView.item:3:24: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?}
| |- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:24:78: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified item in the collection view.
22 | */
23 | func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
24 | if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | return QuicklookPreviewItem(preview, view: item.view)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewItem+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:25:61: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | Asks your data source object for a quicklook preview that corresponds to the specified item in the collection view.
22 | */
23 | func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
24 | if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
25 | return QuicklookPreviewItem(preview, view: item.view)
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
26 | }
27 | return nil
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:33:38: warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
| `- warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | return QuicklookPreviewItem(previewable, view: item.view)
35 | } else if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
AppKit.NSCollectionView.item:3:24: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?}
| |- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:34:65: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
34 | return QuicklookPreviewItem(previewable, view: item.view)
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | } else if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
36 | return QuicklookPreviewItem(preview, view: item.view)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:35:45: warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
34 | return QuicklookPreviewItem(previewable, view: item.view)
35 | } else if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
| `- warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | return QuicklookPreviewItem(preview, view: item.view)
37 | }
AppKit.NSCollectionView.item:3:24: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?}
| |- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:35:85: warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
34 | return QuicklookPreviewItem(previewable, view: item.view)
35 | } else if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
| `- warning: main actor-isolated property 'quicklookPreview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 | return QuicklookPreviewItem(preview, view: item.view)
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewItem+Quicklook.swift:19:9: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue("quicklookPreview", initialValue: nil) }
21 | set { setAssociatedValue(newValue, key: "quicklookPreview")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:36:61: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
| `- note: add '@MainActor' to make instance method 'collectionView(_:quicklookPreviewForItemAt:)' part of global actor 'MainActor'
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
34 | return QuicklookPreviewItem(previewable, view: item.view)
35 | } else if let item = collectionView.item(at: indexPath), let preview = item.quicklookPreview {
36 | return QuicklookPreviewItem(preview, view: item.view)
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 | }
38 | return nil
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
[256/256] Compiling FZQuicklook QuicklookView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookView.swift:138:16: warning: main actor-isolated property 'previewItemURL' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
15 | To enable quicklock of the preview item by spacebar, use ``QuicklookPreviewable/isPreviewableBySpacebar``
16 | */
17 | @objc open class QuicklookView: NSView, QuicklookPreviewable {
| `- note: add '@preconcurrency' to the 'QuicklookPreviewable' conformance to defer isolation checking to run time
18 | var qlPreviewView: QLPreviewView!
19 | var previousItem: QuicklookPreviewable?
:
136 | }
137 |
138 | public var previewItemURL: URL? {
| `- warning: main actor-isolated property 'previewItemURL' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
139 | item?.previewItemURL
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:50:9: note: requirement 'previewItemURL' declared here
48 | If the item isn’t available for preview eturn `nil`. In this case, the ``QuicklookPanel`` and ``QuicklookView`` displays a “loading” view. Use ``QuicklookPanel/refreshCurrentItem()`` to reload the item once the URL content is available.
49 | */
50 | var previewItemURL: URL? { get }
| `- note: requirement 'previewItemURL' declared here
51 | /**
52 | The item frame on the screen.
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookView.swift:142:16: warning: main actor-isolated property 'previewItemFrame' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
140 | }
141 |
142 | public var previewItemFrame: CGRect? {
| `- warning: main actor-isolated property 'previewItemFrame' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
143 | frameOnScreen
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:58:9: note: requirement 'previewItemFrame' declared here
56 | `NSView` and `NSCollectionViewItem` conforming to `QuicklookPreviewable` provide their frame as default value.
57 | */
58 | var previewItemFrame: CGRect? { get }
| `- note: requirement 'previewItemFrame' declared here
59 | /**
60 | The transition image for the item.
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookView.swift:146:16: warning: main actor-isolated property 'previewItemTitle' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
144 | }
145 |
146 | public var previewItemTitle: String? {
| `- warning: main actor-isolated property 'previewItemTitle' cannot be used to satisfy nonisolated requirement from protocol 'QuicklookPreviewable'; this is an error in the Swift 6 language mode
147 | item?.previewItemTitle
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:72:9: note: requirement 'previewItemTitle' declared here
70 | If you don’t implement this property, Quick Look examines the URL or content of the previewed item to determine an appropriate title. Return a non-nil value for this property to provide a custom title.
71 | */
72 | var previewItemTitle: String? { get }
| `- note: requirement 'previewItemTitle' declared here
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookView.swift:135: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
133 |
134 | deinit {
135 | qlPreviewView.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
136 | }
137 |
AppKit.NSView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func removeFromSuperview()}
| |- note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/211] Compiling FZSwiftUtils URL+Redirect.swift
[3/211] Compiling FZSwiftUtils URLComponents+.swift
[4/211] Compiling FZSwiftUtils URLRequest+.swift
[5/211] Compiling FZSwiftUtils URLResponse+.swift
[6/211] Compiling FZSwiftUtils URLSession+.swift
[7/211] Compiling FZSwiftUtils URLSession+Sync.swift
[8/211] Compiling FZSwiftUtils URLSessionConfiguration+.swift
[9/211] Compiling FZSwiftUtils URLSessionDataTask+Resume.swift
[10/211] Compiling FZSwiftUtils URLSessionTask+.swift
[11/211] Compiling FZSwiftUtils Notification+.swift
[12/211] Compiling FZSwiftUtils Operation+.swift
[13/211] Compiling FZSwiftUtils OperationQueue+.swift
[14/211] Compiling FZSwiftUtils NSComparisonPredicate+.swift
[15/211] Compiling FZSwiftUtils NSComparisonPredicate+Expression.swift
[16/211] Compiling FZSwiftUtils NSExpression+.swift
[17/211] Compiling FZSwiftUtils NSPredicate+.swift
[18/211] Compiling FZSwiftUtils NSPredicate+Operator.swift
[19/211] Compiling FZSwiftUtils Predicates.swift
[20/211] Compiling FZSwiftUtils ProcessInfo+.swift
[21/211] Compiling FZSwiftUtils Progress+.swift
[22/211] Compiling FZSwiftUtils CFType.swift
[23/211] Compiling FZSwiftUtils CaseIterable+.swift
[24/211] Compiling FZSwiftUtils Comparable+.swift
[25/211] Compiling FZSwiftUtils Sequence+Sort.swift
[26/211] Compiling FZSwiftUtils Sequence+String.swift
[27/211] Compiling FZSwiftUtils Sequence+Unique.swift
[28/211] Compiling FZSwiftUtils Sequence+Zip.swift
[29/211] Compiling FZSwiftUtils Set+.swift
[30/211] Compiling FZSwiftUtils Calendar+.swift
[31/211] Compiling FZSwiftUtils Date+.swift
[32/211] Compiling FZSwiftUtils DateComponentsFormatter+.swift
[33/211] Compiling FZSwiftUtils DateFormatter+.swift
[34/211] Compiling FZSwiftUtils DateFormatter+Components.swift
[35/211] Compiling FZSwiftUtils DateIntervalFormatter+.swift
[36/211] Compiling FZSwiftUtils RelativeDateTimeFormatter+.swift
[37/211] Compiling FZSwiftUtils NSCalendar+.swift
[38/211] Compiling FZSwiftUtils TimeZone.swift
[39/211] Compiling FZSwiftUtils DispatchQueue+.swift
[40/211] Compiling FZSwiftUtils DispatchWorkItem+.swift
[41/211] Compiling FZSwiftUtils Collection+Decode.swift
[42/211] Compiling FZSwiftUtils Dictionary+Codable.swift
[43/211] Compiling FZSwiftUtils JSONEncoderDecoder+.swift
[44/211] Compiling FZSwiftUtils JSONEncoderDecoder+Codable.swift
[45/211] Compiling FZSwiftUtils Enum+Displayable.swift
[46/211] Compiling FZSwiftUtils Enum+Name.swift
[47/211] Compiling FZSwiftUtils FileAttributes.swift
[48/211] Compiling FZSwiftUtils FileManager+.swift
[49/234] Compiling FZSwiftUtils NSKeyedUnarchiver+.swift
[50/234] Compiling FZSwiftUtils Interpose+AnyHook.swift
[51/234] Compiling FZSwiftUtils Interpose+ClassHook.swift
[52/234] Compiling FZSwiftUtils Interpose+Error.swift
[53/234] Compiling FZSwiftUtils Interpose+HookFinder.swift
[54/234] Compiling FZSwiftUtils Interpose+ObjectHook+Optional.swift
[55/234] Compiling FZSwiftUtils Interpose+ObjectHook.swift
[56/234] Compiling FZSwiftUtils Interpose+Subclass.swift
[57/234] Compiling FZSwiftUtils Interpose.swift
[58/234] Compiling FZSwiftUtils KVObserver.swift
[59/234] Compiling FZSwiftUtils KeyValueObservation.swift
[60/234] Compiling FZSwiftUtils KeyValueObserver.swift
[61/234] Compiling FZSwiftUtils NSObject+.swift
[62/234] Compiling FZSwiftUtils NSObject+KeyPath.swift
[63/234] Compiling FZSwiftUtils NSObject+Observe.swift
[64/234] Compiling FZSwiftUtils NSObject+Reflection.swift
[65/234] Compiling FZSwiftUtils NSObject+Swizzle.swift
[66/234] Compiling FZSwiftUtils NSRectEdge+.swift
[67/234] Compiling FZSwiftUtils NSRunningApplication+.swift
[68/234] Compiling FZSwiftUtils NSUIRectEdge+.swift
[69/234] Compiling FZSwiftUtils NSWorkspace+.swift
[70/234] Compiling FZSwiftUtils HTTPCookieStorage+.swift
[71/234] Compiling FZSwiftUtils HTTPURLResponse+.swift
[72/234] Compiling FZSwiftUtils DateValueCodable.swift
[73/234] Compiling FZSwiftUtils PropertyWrappers.swift
[74/234] Compiling FZSwiftUtils ApplicationInfo.swift
[75/234] Compiling FZSwiftUtils FileTypeDefinition.swift
[76/234] Compiling FZSwiftUtils AssociatedValue.swift
[77/234] Compiling FZSwiftUtils BaseArray.swift
[78/234] Compiling FZSwiftUtils BaseDictionary.swift
[79/234] Compiling FZSwiftUtils Deque.swift
[80/234] Compiling FZSwiftUtils OrderedDictionary.swift
[81/234] Compiling FZSwiftUtils OrderedSet.swift
[82/234] Compiling FZSwiftUtils Queue.swift
[83/234] Compiling FZSwiftUtils SelectableArray.swift
[84/234] Compiling FZSwiftUtils Stack.swift
[85/234] Compiling FZSwiftUtils SynchronizedArray.swift
[86/234] Compiling FZSwiftUtils SynchronizedDictionary.swift
[87/234] Compiling FZSwiftUtils DataSize.swift
[88/234] Compiling FZSwiftUtils FractionalPoint.swift
[89/234] Compiling FZSwiftUtils NSRectCorner.swift
[90/234] Compiling FZSwiftUtils Point3D.swift
[91/234] Compiling FZSwiftUtils RectEdge.swift
[92/234] Compiling FZSwiftUtils RectEdgeCorner.swift
[93/234] Compiling FZSwiftUtils Rotation.swift
[94/234] Compiling FZSwiftUtils RotationAngle.swift
[95/234] Emitting module FZSwiftUtils
[96/234] Compiling FZSwiftUtils TIFF+Extended.swift
[97/234] Compiling FZSwiftUtils GIFImageProperties.swift
[98/234] Compiling FZSwiftUtils HEICImageProperties.swift
[99/234] Compiling FZSwiftUtils IPTCImageProperties.swift
[100/234] Compiling FZSwiftUtils ImageProperties.swift
[101/234] Compiling FZSwiftUtils JPEGImageProperties.swift
[102/234] Compiling FZSwiftUtils PNGImageProperties.swift
[103/234] Compiling FZSwiftUtils TIFFImageProperties.swift
[104/234] Compiling FZSwiftUtils ImageSource.swift
[105/234] Compiling FZSwiftUtils KeyValueCodable.swift
[106/234] Compiling FZSwiftUtils MeasureTime.swift
[107/234] Compiling FZSwiftUtils MutableProgress.swift
[108/234] Compiling FZSwiftUtils NotificationToken.swift
[109/234] Compiling FZSwiftUtils OSHash.swift
[110/234] Compiling FZSwiftUtils AsyncOperation.swift
[111/234] Compiling FZSwiftUtils PausableOperationQueue.swift
[112/234] Compiling FZSwiftUtils OutlineItem.swift
[113/234] Compiling FZSwiftUtils Reachability.swift
[114/234] Compiling FZSwiftUtils RuntimeError.swift
[115/234] Compiling FZSwiftUtils Swizzle.swift
[116/234] Compiling FZSwiftUtils Synchronized.swift
[117/234] Compiling FZSwiftUtils ThroughputFormatter.swift
[118/234] Compiling FZSwiftUtils Weak.swift
[119/234] Compiling FZSwiftUtils Bundle+.swift
[120/234] Compiling FZSwiftUtils CVTimeStamp+.swift
[121/234] Compiling FZSwiftUtils Array+.swift
[122/234] Compiling FZSwiftUtils Collection+.swift
[123/234] Compiling FZSwiftUtils Collection+Advance.swift
[124/234] Compiling FZSwiftUtils Collection+Average.swift
[125/234] Compiling FZSwiftUtils Collection+Chunk.swift
[126/234] Compiling FZSwiftUtils Collection+Indexed.swift
[127/234] Compiling FZSwiftUtils Collection+LazySplit.swift
[128/234] Compiling FZSwiftUtils Collection+Random.swift
[129/234] Compiling FZSwiftUtils Collection+Sort.swift
[130/234] Compiling FZSwiftUtils CollectionDifference+.swift
[131/234] Compiling FZSwiftUtils Dictionary+.swift
[132/234] Compiling FZSwiftUtils Dictionary+Merge.swift
[133/234] Compiling FZSwiftUtils IndexPath+.swift
[134/234] Compiling FZSwiftUtils OptionSet+.swift
[135/234] Compiling FZSwiftUtils Sequence+.swift
[136/234] Compiling FZSwiftUtils Sequence+Collect.swift
[137/234] Compiling FZSwiftUtils Sequence+Concurrency.swift
[138/234] Compiling FZSwiftUtils Sequence+Difference.swift
[139/234] Compiling FZSwiftUtils Sequence+Flat.swift
[140/234] Compiling FZSwiftUtils Sequence+Identifable.swift
[141/234] Compiling FZSwiftUtils Sequence+Keypath.swift
[142/234] Compiling FZSwiftUtils Sequence+Occurency.swift
[143/234] Compiling FZSwiftUtils Comparable+Clamp.swift
[144/234] Compiling FZSwiftUtils Decodable+.swift
[145/234] Compiling FZSwiftUtils Equatable+.swift
[146/234] Compiling FZSwiftUtils OptionSetDescribable.swift
[147/234] Compiling FZSwiftUtils Optional+.swift
[148/234] Compiling FZSwiftUtils SortComparator+.swift
[149/234] Compiling FZSwiftUtils Result+.swift
[150/234] Compiling FZSwiftUtils Selector+.swift
[151/234] Compiling FZSwiftUtils AttributedString+.swift
[152/234] Compiling FZSwiftUtils Character+.swift
[153/234] Compiling FZSwiftUtils CharacterSet+.swift
[154/234] Compiling FZSwiftUtils NSAttributedString+.swift
[155/234] Compiling FZSwiftUtils NSRegularExpression+.swift
[156/234] Compiling FZSwiftUtils NSTextCheckingResult+.swift
[157/234] Compiling FZSwiftUtils String+.swift
[158/234] Compiling FZSwiftUtils String+HTML.swift
[159/234] Compiling FZSwiftUtils String+Height.swift
[160/234] Compiling FZSwiftUtils String+Match.swift
[161/234] Compiling FZSwiftUtils String+Random.swift
[162/234] Compiling FZSwiftUtils XMLNode+.swift
[163/234] Compiling FZSwiftUtils NSUI Typealias.swift
[164/234] Compiling FZSwiftUtils Operator.swift
[165/234] Compiling FZSwiftUtils CodableDefault.swift
[166/234] Compiling FZSwiftUtils FileType.swift
[167/234] Compiling FZSwiftUtils NSMetadata+.swift
[168/234] Compiling FZSwiftUtils URL+.swift
[169/234] Compiling FZSwiftUtils URL+DuplicateFiles.swift
[170/234] Compiling FZSwiftUtils URL+ExtendedAttributes.swift
[171/234] Compiling FZSwiftUtils URL+File.swift
[172/234] Compiling FZSwiftUtils URL+Item.swift
[173/234] Compiling FZSwiftUtils URL+Iterate.swift
[174/234] Compiling FZSwiftUtils URL+ResourceValue.swift
[175/234] Compiling FZSwiftUtils URL+fileSystemItem.swift
[176/234] Compiling FZSwiftUtils URLResources.swift
[177/234] Compiling FZSwiftUtils UTType+.swift
[178/234] Compiling FZSwiftUtils ByteCountFormatter+.swift
[179/234] Compiling FZSwiftUtils MeasurementFormatter+.swift
[180/234] Compiling FZSwiftUtils UnitInformationStorage+.swift
[181/234] Compiling FZSwiftUtils Digest+.swift
[182/234] Compiling FZSwiftUtils HashFunction+.swift
[183/234] Compiling FZSwiftUtils Hasher+.swift
[184/234] Compiling FZSwiftUtils JSONSerialization+.swift
[185/234] Compiling FZSwiftUtils KeyPath+.swift
[186/234] Compiling FZSwiftUtils Locale+.swift
[187/234] Compiling FZSwiftUtils Locale+Currency.swift
[188/234] Compiling FZSwiftUtils Logger+.swift
[189/234] Compiling FZSwiftUtils Accelerate+Operator.swift
[190/234] Compiling FZSwiftUtils ApproximateEquatable.swift
[191/234] Compiling FZSwiftUtils Bool+.swift
[192/234] Compiling FZSwiftUtils CGPoint+.swift
[193/234] Compiling FZSwiftUtils CGRect+.swift
[194/234] Compiling FZSwiftUtils CGSize+.swift
[195/234] Compiling FZSwiftUtils FloatingPoint+.swift
[196/234] Compiling FZSwiftUtils FloatingPoint+Initializable.swift
[197/234] Compiling FZSwiftUtils FloatingPoint+Rounding.swift
[198/234] Compiling FZSwiftUtils Int+.swift
[199/234] Compiling FZSwiftUtils MultiplicativeArithmetic.swift
[200/234] Compiling FZSwiftUtils NSNumber+.swift
[201/234] Compiling FZSwiftUtils NSRange+.swift
[202/234] Compiling FZSwiftUtils NSValue+.swift
[203/234] Compiling FZSwiftUtils Number+Interpolate.swift
[204/234] Compiling FZSwiftUtils Number+String.swift
[205/234] Compiling FZSwiftUtils NumberFormatter+.swift
[206/234] Compiling FZSwiftUtils NumberFormatter+String.swift
[207/234] Compiling FZSwiftUtils Range+.swift
[208/234] Compiling FZSwiftUtils TimeInterval+.swift
[209/234] Compiling FZSwiftUtils Mirror+.swift
[210/234] Compiling FZSwiftUtils NSCoder+.swift
[211/234] Compiling FZSwiftUtils NSError+.swift
[212/234] Compiling FZSwiftUtils Scale.swift
[213/234] Compiling FZSwiftUtils TimeDuration.swift
[214/234] Compiling FZSwiftUtils Defaults.swift
[215/234] Compiling FZSwiftUtils FSEvent+Actions.swift
[216/234] Compiling FZSwiftUtils FSEvent+Flags.swift
[217/234] Compiling FZSwiftUtils FSEvent+ItemType.swift
[218/234] Compiling FZSwiftUtils FSEvent.swift
[219/234] Compiling FZSwiftUtils FSEventMonitor+Options.swift
[220/234] Compiling FZSwiftUtils FSEventMonitor.swift
[221/234] Compiling FZSwiftUtils FileConvertible.swift
[222/234] Compiling FZSwiftUtils CGImageFrame.swift
[223/234] Compiling FZSwiftUtils ImageFrameSequence.swift
[224/234] Compiling FZSwiftUtils ImageSequence.swift
[225/234] Compiling FZSwiftUtils ImageOptions.swift
[226/234] Compiling FZSwiftUtils EXIF+HumanReadable.swift
[227/234] Compiling FZSwiftUtils EXIFImageProperties.swift
[228/234] Compiling FZSwiftUtils Canon.swift
[229/234] Compiling FZSwiftUtils ColorModel.swift
[230/234] Compiling FZSwiftUtils EXIF+Extended.swift
[231/234] Compiling FZSwiftUtils GPS.swift
[232/234] Compiling FZSwiftUtils ImageProperties+Keys.swift
[233/234] Compiling FZSwiftUtils Nikon.swift
[234/234] Compiling FZSwiftUtils PNG+Extended.swift
[235/251] Compiling FZQuicklook QuicklookPreviewable+Item.swift
[236/251] Compiling FZQuicklook NSTableView+Qucklook.swift
[237/251] Compiling FZQuicklook NSTableViewDataSource+Quicklook.swift
[238/251] Compiling FZQuicklook QuicklookPreviewable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[239/252] Compiling FZQuicklook NSCollectionViewItem+Quicklook.swift
[240/252] Compiling FZQuicklook NSTableCellView+Quicklook.swift
[241/252] Compiling FZQuicklook NSView+.swift
[242/252] Compiling FZQuicklook NSView+QuicklookPreviewable.swift
[243/252] Compiling FZQuicklook NSCollectionView+KeyDown.swift
[244/252] Compiling FZQuicklook NSImageView+.swift
[245/252] Compiling FZQuicklook NSTableCellView+.swift
[246/252] Compiling FZQuicklook NSTableRowView+.swift
[247/252] Compiling FZQuicklook QuicklookItem.swift
[248/252] Compiling FZQuicklook QuicklookPanel.swift
[249/252] Emitting module FZQuicklook
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:31:11: error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
29 | }
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
| | `- error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
| `- note: add @available attribute to enclosing extension
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
[250/252] Compiling FZQuicklook NSCollectionView+Qucklook.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:31:11: error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
29 | }
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
| | `- error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
| `- note: add @available attribute to enclosing extension
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
[251/252] Compiling FZQuicklook NSCollectionViewDataSource+Quicklook.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewDataSource+Quicklook.swift:31:11: error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
29 | }
30 |
31 | extension NSCollectionViewDiffableDataSource: NSCollectionViewQuicklookProvider {
| | `- error: 'NSCollectionViewDiffableDataSource' is only available in macOS 10.15.1 or newer
| `- note: add @available attribute to enclosing extension
32 | public func collectionView(_ collectionView: NSCollectionView, quicklookPreviewForItemAt indexPath: IndexPath) -> QuicklookPreviewable? {
33 | if let item = collectionView.item(at: indexPath), let previewable = itemIdentifier(for: indexPath) as? QuicklookPreviewable {
[252/252] Compiling FZQuicklook QuicklookView.swift
BUILD FAILURE 6.1 macosSpm