Build Information
Failed to build FZQuicklook, reference 1.0.5 (90bcac
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 10:26:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/flocked/FZQuicklook.git
Reference: 1.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/flocked/FZQuicklook
* tag 1.0.5 -> FETCH_HEAD
HEAD is now at 90bcacc updated
Cloned https://github.com/flocked/FZQuicklook.git
Revision (git rev-parse @):
90bcacc0a508dd1b766d76bbc40d62e453aedc59
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/flocked/FZQuicklook.git at 1.0.5
Fetching https://github.com/flocked/FZSwiftUtils.git
[1/65378] Fetching fzswiftutils
Fetched https://github.com/flocked/FZSwiftUtils.git from cache (18.93s)
Creating working copy for https://github.com/flocked/FZSwiftUtils.git
Working copy of https://github.com/flocked/FZSwiftUtils.git resolved at main (6f3a54b)
========================================
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/1992] Fetching fzquicklook
Fetched https://github.com/flocked/FZQuicklook.git from cache (1.14s)
Fetching https://github.com/flocked/FZSwiftUtils.git from cache
Fetched https://github.com/flocked/FZSwiftUtils.git from cache (0.48s)
Creating working copy for https://github.com/flocked/FZSwiftUtils.git
Working copy of https://github.com/flocked/FZSwiftUtils.git resolved at main (6f3a54b)
Creating working copy for https://github.com/flocked/FZQuicklook.git
Working copy of https://github.com/flocked/FZQuicklook.git resolved at 1.0.5 (90bcacc)
warning: '.resolve-product-dependencies': dependency 'fzquicklook' is not used by any target
Found 1 product dependencies
- FZSwiftUtils
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
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.1"
}
],
"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/NSTableCellView+.swift",
"Extensions/NSTableRowView+.swift",
"Extensions/NSTableView+KeyDown.swift",
"Extensions/NSView+.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.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[2/4] Write swift-version--7754E27361AE5C74.txt
[3/4] Compiling _SuperBuilder SuperBuilder.m
[5/179] Compiling FZSwiftUtils URLComponents+.swift
[6/179] Compiling FZSwiftUtils URLRequest+.swift
[7/179] Compiling FZSwiftUtils URLResponse+.swift
[8/179] Compiling FZSwiftUtils URLSession+.swift
[9/179] Compiling FZSwiftUtils URLSession+Sync.swift
[10/179] Compiling FZSwiftUtils URLSessionConfiguration+.swift
[11/179] Compiling FZSwiftUtils URLSessionDataTask+Resume.swift
[12/179] Compiling FZSwiftUtils URLSessionTask+.swift
[13/179] Compiling FZSwiftUtils Operation+.swift
[14/179] Compiling FZSwiftUtils OperationQueue+.swift
[15/179] Compiling FZSwiftUtils NSExpression+.swift
[16/179] Compiling FZSwiftUtils NSPredicate+.swift
[17/179] Compiling FZSwiftUtils NSPredicate+ComparisonExpression.swift
[18/179] Compiling FZSwiftUtils NSPredicate+Operator.swift
[19/179] Compiling FZSwiftUtils Predicates.swift
[20/179] Compiling FZSwiftUtils Progress+.swift
[21/179] Compiling FZSwiftUtils CaseIterable+.swift
[22/179] Compiling FZSwiftUtils Comparable+.swift
[23/179] Compiling FZSwiftUtils Comparable+Clamp.swift
[24/198] Emitting module FZSwiftUtils
[25/198] Compiling FZSwiftUtils CGPoint+.swift
[26/198] Compiling FZSwiftUtils CGRect+.swift
[27/198] Compiling FZSwiftUtils CGSize+.swift
[28/198] Compiling FZSwiftUtils FloatingPoint+.swift
[29/198] Compiling FZSwiftUtils FloatingPoint+Initializable.swift
[30/198] Compiling FZSwiftUtils FloatingPoint+Rounding.swift
[31/198] Compiling FZSwiftUtils MultiplicativeArithmetic.swift
[32/198] Compiling FZSwiftUtils NSNumber+.swift
[33/198] Compiling FZSwiftUtils NSRange+.swift
[34/198] Compiling FZSwiftUtils NSValue+.swift
[35/198] Compiling FZSwiftUtils Number+Interpolate.swift
[36/198] Compiling FZSwiftUtils Number+String.swift
[37/198] Compiling FZSwiftUtils NumberFormatter+.swift
[38/198] Compiling FZSwiftUtils NumberFormatter+String.swift
[39/198] Compiling FZSwiftUtils Range+.swift
[40/198] Compiling FZSwiftUtils TimeInterval+.swift
[41/198] Compiling FZSwiftUtils NSError+.swift
[42/198] Compiling FZSwiftUtils NSKeyedUnarchiver+.swift
[43/198] Compiling FZSwiftUtils Interpose+AnyHook.swift
[44/198] Compiling FZSwiftUtils Interpose+ClassHook.swift
[45/198] Compiling FZSwiftUtils Interpose+Error.swift
[46/198] Compiling FZSwiftUtils Interpose+HookFinder.swift
[47/198] Compiling FZSwiftUtils Interpose+ObjectHook.swift
[48/198] Compiling FZSwiftUtils Interpose+Subclass.swift
[49/198] Compiling FZSwiftUtils Interpose+SubclassAlt.swift
[50/198] Compiling FZSwiftUtils Interpose.swift
[51/198] Compiling FZSwiftUtils NSObject+.swift
[52/198] Compiling FZSwiftUtils NSObject+KeyPath.swift
[53/198] Compiling FZSwiftUtils NSObject+Observe.swift
[54/198] Compiling FZSwiftUtils NSObject+Reflection.swift
[55/198] Compiling FZSwiftUtils NSObject+Swizzle.swift
[56/198] Compiling FZSwiftUtils NSRectEdge+.swift
[57/198] Compiling FZSwiftUtils NSRunningApplication+.swift
[58/198] Compiling FZSwiftUtils NSUIRectEdge+.swift
[59/198] Compiling FZSwiftUtils NSWorkspace+.swift
[60/198] Compiling FZSwiftUtils HTTPCookieStorage+.swift
[61/198] Compiling FZSwiftUtils HTTPURLResponse+.swift
[62/198] Compiling FZSwiftUtils URL+Redirect.swift
[63/198] Compiling FZSwiftUtils ImageSequence.swift
[64/198] Compiling FZSwiftUtils ImageOptions.swift
[65/198] Compiling FZSwiftUtils EXIF+HumanReadable.swift
[66/198] Compiling FZSwiftUtils EXIFImageProperties.swift
[67/198] Compiling FZSwiftUtils Canon.swift
[68/198] Compiling FZSwiftUtils ColorModel.swift
[69/198] Compiling FZSwiftUtils EXIF+Extended.swift
[70/198] Compiling FZSwiftUtils GPS.swift
[71/198] Compiling FZSwiftUtils ImageProperties+Keys.swift
[72/198] Compiling FZSwiftUtils Nikon.swift
[73/198] Compiling FZSwiftUtils PNG+Extended.swift
[74/198] Compiling FZSwiftUtils TIFF+Extended.swift
[75/198] Compiling FZSwiftUtils GIFImageProperties.swift
[76/198] Compiling FZSwiftUtils HEICImageProperties.swift
[77/198] Compiling FZSwiftUtils IPTCImageProperties.swift
[78/198] Compiling FZSwiftUtils ImageProperties.swift
[79/198] Compiling FZSwiftUtils JPEGImageProperties.swift
[80/198] Compiling FZSwiftUtils PNGImageProperties.swift
[81/198] Compiling FZSwiftUtils TIFFImageProperties.swift
[82/198] Compiling FZSwiftUtils Sequence+Identifable.swift
[83/198] Compiling FZSwiftUtils Sequence+Keypath.swift
[84/198] Compiling FZSwiftUtils Sequence+Occurency.swift
[85/198] Compiling FZSwiftUtils Sequence+Sort.swift
[86/198] Compiling FZSwiftUtils Sequence+String.swift
[87/198] Compiling FZSwiftUtils Sequence+Unique.swift
[88/198] Compiling FZSwiftUtils Set+.swift
[89/198] Compiling FZSwiftUtils Calendar+.swift
[90/198] Compiling FZSwiftUtils Date+.swift
[91/198] Compiling FZSwiftUtils DateComponentsFormatter+.swift
[92/198] Compiling FZSwiftUtils DateFormatter+.swift
[93/198] Compiling FZSwiftUtils DateFormatter+Components.swift
[94/198] Compiling FZSwiftUtils DateIntervalFormatter+.swift
[95/198] Compiling FZSwiftUtils RelativeDateTimeFormatter+.swift
[96/198] Compiling FZSwiftUtils NSCalendar+.swift
[97/198] Compiling FZSwiftUtils DispatchQueue+.swift
[98/198] Compiling FZSwiftUtils DispatchWorkItem+.swift
[99/198] Compiling FZSwiftUtils Collection+Decode.swift
[100/198] Compiling FZSwiftUtils Dictionary+Codable.swift
[101/198] Compiling FZSwiftUtils JSONEncoderDecoder+.swift
[102/198] Compiling FZSwiftUtils ApplicationInfo.swift
[103/198] Compiling FZSwiftUtils FileTypeDefinition.swift
[104/198] Compiling FZSwiftUtils AssociatedValue.swift
[105/198] Compiling FZSwiftUtils AsyncOperation.swift
[106/198] Compiling FZSwiftUtils BaseArray.swift
[107/198] Compiling FZSwiftUtils BaseDictionary.swift
[108/198] Compiling FZSwiftUtils Options.swift
[109/198] Compiling FZSwiftUtils OrderedSet.swift
[110/198] Compiling FZSwiftUtils SelectableArray.swift
[111/198] Compiling FZSwiftUtils SelectableArrayAlt.swift
[112/198] Compiling FZSwiftUtils SynchronizedArray.swift
[113/198] Compiling FZSwiftUtils SynchronizedDictionary.swift
[114/198] Compiling FZSwiftUtils DataSize.swift
[115/198] Compiling FZSwiftUtils Defaults.swift
[116/198] Compiling FZSwiftUtils Enum+Displayable.swift
[117/198] Compiling FZSwiftUtils Enum+Name.swift
[118/198] Compiling FZSwiftUtils FileConvertible.swift
[119/198] Compiling FZSwiftUtils CGImageFrame.swift
[120/198] Compiling FZSwiftUtils ImageFrameSequence.swift
[121/198] Compiling FZSwiftUtils Bundle+.swift
[122/198] Compiling FZSwiftUtils ByteCountFormatter+.swift
[123/198] Compiling FZSwiftUtils CVTimeStamp+.swift
[124/198] Compiling FZSwiftUtils Array+.swift
[125/198] Compiling FZSwiftUtils Collection+.swift
[126/198] Compiling FZSwiftUtils Collection+Advance.swift
[127/198] Compiling FZSwiftUtils Collection+Chunk.swift
[128/198] Compiling FZSwiftUtils Collection+Indexed.swift
[129/198] Compiling FZSwiftUtils Collection+LazySplit.swift
[130/198] Compiling FZSwiftUtils Collection+Operator.swift
[131/198] Compiling FZSwiftUtils Collection+Random.swift
[132/198] Compiling FZSwiftUtils Dictionary+.swift
[133/198] Compiling FZSwiftUtils Dictionary+Merge.swift
[134/198] Compiling FZSwiftUtils IndexPath+.swift
[135/198] Compiling FZSwiftUtils OptionSet+.swift
[136/198] Compiling FZSwiftUtils Sequence+.swift
[137/198] Compiling FZSwiftUtils Sequence+Collect.swift
[138/198] Compiling FZSwiftUtils Sequence+Concurrency.swift
[139/198] Compiling FZSwiftUtils Sequence+Difference.swift
[140/198] Compiling FZSwiftUtils Sequence+Flat.swift
[141/198] Compiling FZSwiftUtils Decodable+.swift
[142/198] Compiling FZSwiftUtils Equatable+.swift
[143/198] Compiling FZSwiftUtils Optional+.swift
[144/198] Compiling FZSwiftUtils SortComparator+.swift
[145/198] Compiling FZSwiftUtils AttributedString+.swift
[146/198] Compiling FZSwiftUtils Character+.swift
[147/198] Compiling FZSwiftUtils CharacterSet+.swift
[148/198] Compiling FZSwiftUtils NSAttributedString+.swift
[149/198] Compiling FZSwiftUtils NSRegularExpression+.swift
[150/198] Compiling FZSwiftUtils NSTextCheckingResult+.swift
[151/198] Compiling FZSwiftUtils String+.swift
[152/198] Compiling FZSwiftUtils String+Height.swift
[153/198] Compiling FZSwiftUtils String+Match.swift
[154/198] Compiling FZSwiftUtils String+Random.swift
[155/198] Compiling FZSwiftUtils NSUI Typealias.swift
[156/198] Compiling FZSwiftUtils Operator.swift
[157/198] Compiling FZSwiftUtils CodableDefault.swift
[158/198] Compiling FZSwiftUtils DateValueCodable.swift
[159/198] Compiling FZSwiftUtils PropertyWrappers.swift
[160/198] Compiling FZSwiftUtils ImageSource.swift
[161/198] Compiling FZSwiftUtils KeyValueCodable.swift
[162/198] Compiling FZSwiftUtils KeyValueObserver.swift
[163/198] Compiling FZSwiftUtils MeasureTime.swift
[164/198] Compiling FZSwiftUtils MutableProgress.swift
[165/198] Compiling FZSwiftUtils NSRectCorner.swift
[166/198] Compiling FZSwiftUtils NotificationToken.swift
[167/198] Compiling FZSwiftUtils OSHash.swift
[168/198] Compiling FZSwiftUtils OutlineItem.swift
[169/198] Compiling FZSwiftUtils PausableOperationQueue.swift
[170/198] Compiling FZSwiftUtils Reachability.swift
[171/198] Compiling FZSwiftUtils RectEdge.swift
[172/198] Compiling FZSwiftUtils RuntimeError.swift
[173/198] Compiling FZSwiftUtils Selector+.swift
[174/198] Compiling FZSwiftUtils Swizzle.swift
[175/198] Compiling FZSwiftUtils Synchronized.swift
[176/198] Compiling FZSwiftUtils TimeDuration.swift
[177/198] Compiling FZSwiftUtils URL+File.swift
[178/198] Compiling FZSwiftUtils Weak.swift
[179/198] Compiling FZSwiftUtils JSONEncoderDecoder+Codable.swift
[180/198] Compiling FZSwiftUtils FileAttributes.swift
[181/198] Compiling FZSwiftUtils FileManager+.swift
[182/198] Compiling FZSwiftUtils FileType.swift
[183/198] Compiling FZSwiftUtils NSMetadata+.swift
[184/198] Compiling FZSwiftUtils URL+.swift
[185/198] Compiling FZSwiftUtils URL+DirectoryEnumerator.swift
[186/198] Compiling FZSwiftUtils URL+ExtendedAttributes.swift
[187/198] Compiling FZSwiftUtils URL+Item.swift
[188/198] Compiling FZSwiftUtils URL+ResourceValue.swift
[189/198] Compiling FZSwiftUtils URL+fileSystemItem.swift
[190/198] Compiling FZSwiftUtils URLResources.swift
[191/198] Compiling FZSwiftUtils UTType+.swift
[192/198] Compiling FZSwiftUtils Digest+.swift
[193/198] Compiling FZSwiftUtils HashFunction+.swift
[194/198] Compiling FZSwiftUtils Hasher+.swift
[195/198] Compiling FZSwiftUtils KeyPath+.swift
[196/198] Compiling FZSwiftUtils Logger+.swift
[197/198] Compiling FZSwiftUtils Accelerate+Operator.swift
[198/198] Compiling FZSwiftUtils ApproximateEquatable.swift
[199/214] Compiling FZQuicklook QuicklookPanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:290:17: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
254 | }
255 |
256 | extension QuicklookPanel: QLPreviewPanelDataSource, QLPreviewPanelDelegate {
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
257 | public func previewPanel(_: QLPreviewPanel!, handle event: NSEvent!) -> Bool {
258 | if event.type == .keyUp, event.keyCode == 53 {
:
288 | }
289 |
290 | public func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; 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
291 | return _items.count
292 | }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
1 | public protocol QLPreviewPanelDataSource {
2 | @available(macOS 10.6, *)
3 | func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
| `- note: 'numberOfPreviewItems(in:)' declared here
4 | @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
5 | func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:286:17: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; 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
287 | return _items[index]
288 | }
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
5 | func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
6 | @available(macOS 10.6, *)
7 | func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
| `- note: 'previewPanel(_:previewItemAt:)' declared here
8 | @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
9 | func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:257:17: warning: main actor-isolated instance method 'previewPanel(_:handle:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
254 | }
255 |
256 | extension QuicklookPanel: QLPreviewPanelDataSource, QLPreviewPanelDelegate {
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDelegate' conformance to defer isolation checking to run time
257 | public func previewPanel(_: QLPreviewPanel!, handle event: NSEvent!) -> Bool {
| |- warning: main actor-isolated instance method 'previewPanel(_:handle:)' cannot be used to satisfy nonisolated protocol requirement; 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
258 | if event.type == .keyUp, event.keyCode == 53 {
259 | self.close()
QuickLookUI.QLPreviewPanelDelegate:3:19: note: 'previewPanel(_:handle:)' declared here
1 | public protocol QLPreviewPanelDelegate : NSWindowDelegate {
2 | @available(macOS 10.6, *)
3 | optional func previewPanel(_ panel: QLPreviewPanel!, handle event: NSEvent!) -> Bool
| `- note: 'previewPanel(_:handle:)' declared here
4 | @available(swift, obsoleted: 3, renamed: "previewPanel(_:handle:)")
5 | optional func previewPanel(_ panel: QLPreviewPanel!, handleEvent event: NSEvent!) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:268:17: warning: main actor-isolated instance method 'previewPanel(_:sourceFrameOnScreenFor:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
266 | }
267 |
268 | public func previewPanel(_: QLPreviewPanel!, sourceFrameOnScreenFor item: QLPreviewItem!) -> NSRect {
| |- warning: main actor-isolated instance method 'previewPanel(_:sourceFrameOnScreenFor:)' cannot be used to satisfy nonisolated protocol requirement; 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
269 | if let frame = (item as? QuicklookPreviewItem)?.previewItemFrame {
270 | return frame
QuickLookUI.QLPreviewPanelDelegate:7:19: note: 'previewPanel(_:sourceFrameOnScreenFor:)' declared here
5 | optional func previewPanel(_ panel: QLPreviewPanel!, handleEvent event: NSEvent!) -> Bool
6 | @available(macOS 10.6, *)
7 | optional func previewPanel(_ panel: QLPreviewPanel!, sourceFrameOnScreenFor item: (any QLPreviewItem)!) -> NSRect
| `- note: 'previewPanel(_:sourceFrameOnScreenFor:)' declared here
8 | @available(swift, obsoleted: 3, renamed: "previewPanel(_:sourceFrameOnScreenFor:)")
9 | optional func previewPanel(_ panel: QLPreviewPanel!, sourceFrameOnScreenForPreviewItem item: (any QLPreviewItem)!) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:294:17: warning: main actor-isolated instance method 'previewPanel(_:transitionImageFor:contentRect:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
292 | }
293 |
294 | 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 protocol requirement; 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
295 | return (item as? QuicklookPreviewable)?.previewItemTransitionImage
296 | }
QuickLookUI.QLPreviewPanelDelegate:11:19: note: 'previewPanel(_:transitionImageFor:contentRect:)' declared here
9 | optional func previewPanel(_ panel: QLPreviewPanel!, sourceFrameOnScreenForPreviewItem item: (any QLPreviewItem)!) -> NSRect
10 | @available(macOS 10.6, *)
11 | optional func previewPanel(_ panel: QLPreviewPanel!, transitionImageFor item: (any QLPreviewItem)!, contentRect: UnsafeMutablePointer<NSRect>!) -> Any!
| `- note: 'previewPanel(_:transitionImageFor:contentRect:)' declared here
12 | @available(swift, obsoleted: 3, renamed: "previewPanel(_:transitionImageFor:contentRect:)")
13 | optional func previewPanel(_ panel: QLPreviewPanel!, transitionImageForPreviewItem item: (any QLPreviewItem)!, contentRect: UnsafeMutablePointer<NSRect>!) -> Any!
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:229: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
227 |
228 | override public func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
229 | 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
230 | panel.delegate = self
231 | }
QuickLookUI.QLPreviewPanel:9:41: note: mutation of this property is only permitted within the actor
7 | open var currentController: Any! { get }
8 | @MainActor open func updateController()
9 | @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
| `- note: mutation of this property is only permitted within the actor
10 | @MainActor open func reloadData()
11 | @MainActor open func refreshCurrentPreviewItem()
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:230: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
228 | override public func beginPreviewPanelControl(_ panel: QLPreviewPanel!) {
229 | panel.dataSource = self
230 | 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
231 | }
232 |
QuickLookUI.QLPreviewPanel:15:30: note: mutation of this property is only permitted within the actor
13 | open var currentPreviewItem: (any QLPreviewItem)! { get }
14 | open var displayState: Any! { get set }
15 | unowned(unsafe) open var delegate: AnyObject! { get set }
| `- note: mutation of this property is only permitted within the actor
16 | @MainActor open func enterFullScreenMode(_ screen: NSScreen!, withOptions options: [AnyHashable : Any]! = [:]) -> Bool
17 | @MainActor open func exitFullScreenMode(options: [AnyHashable : Any]! = [:])
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:234: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
232 |
233 | override public func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
234 | 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
235 | panel.delegate = nil
236 |
QuickLookUI.QLPreviewPanel:9:41: note: mutation of this property is only permitted within the actor
7 | open var currentController: Any! { get }
8 | @MainActor open func updateController()
9 | @MainActor unowned(unsafe) open var dataSource: (any QLPreviewPanelDataSource)! { get set }
| `- note: mutation of this property is only permitted within the actor
10 | @MainActor open func reloadData()
11 | @MainActor open func refreshCurrentPreviewItem()
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:235: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
233 | override public func endPreviewPanelControl(_ panel: QLPreviewPanel!) {
234 | panel.dataSource = nil
235 | 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
236 |
237 | self.panelDidCloseHandler?()
QuickLookUI.QLPreviewPanel:15:30: note: mutation of this property is only permitted within the actor
13 | open var currentPreviewItem: (any QLPreviewItem)! { get }
14 | open var displayState: Any! { get set }
15 | unowned(unsafe) open var delegate: AnyObject! { get set }
| `- note: mutation of this property is only permitted within the actor
16 | @MainActor open func enterFullScreenMode(_ screen: NSScreen!, withOptions options: [AnyHashable : Any]! = [:]) -> Bool
17 | @MainActor open func exitFullScreenMode(options: [AnyHashable : Any]! = [:])
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:237:14: warning: main actor-isolated property 'panelDidCloseHandler' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 |
115 | /// The handler gets called when the panel did close.
116 | public var panelDidCloseHandler: (()->())? = nil
| `- note: property declared here
117 |
118 | /**
:
235 | panel.delegate = nil
236 |
237 | self.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
238 | self.reset()
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:238:14: warning: call to main actor-isolated instance method 'reset()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
199 | weak var itemsProviderWindow: NSWindow? = nil
200 |
201 | func reset() {
| `- note: calls to instance method 'reset()' from outside of its actor context are implicitly asynchronous
202 | items.removeAll()
203 | itemsProviderWindow = nil
:
236 |
237 | self.panelDidCloseHandler?()
238 | self.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
239 | }
240 |
[200/214] Compiling FZQuicklook QuicklookPreviewable+Item.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable+Item.swift:21: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
19 |
20 | var previewItemFrame: CGRect? {
21 | 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
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:26:9: note: property declared here
24 | This rectangle defines the size and position of the view in its screen’s coordinate system.
25 | */
26 | var frameOnScreen: CGRect? {
| `- note: property declared here
27 | return window?.convertToScreen(frameInWindow)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable+Item.swift:29: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
27 |
28 | var previewItemTransitionImage: NSImage? {
29 | 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
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:34:9: note: property declared here
32 | }
33 |
34 | var renderedImage: NSImage {
| `- note: property declared here
35 | let image = NSImage(size: bounds.size)
36 | image.lockFocus()
[201/214] Emitting module FZQuicklook
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:290:17: warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
254 | }
255 |
256 | extension QuicklookPanel: QLPreviewPanelDataSource, QLPreviewPanelDelegate {
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDataSource' conformance to defer isolation checking to run time
257 | public func previewPanel(_: QLPreviewPanel!, handle event: NSEvent!) -> Bool {
258 | if event.type == .keyUp, event.keyCode == 53 {
:
288 | }
289 |
290 | public func numberOfPreviewItems(in _: QLPreviewPanel!) -> Int {
| |- warning: main actor-isolated instance method 'numberOfPreviewItems(in:)' cannot be used to satisfy nonisolated protocol requirement; 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
291 | return _items.count
292 | }
QuickLookUI.QLPreviewPanelDataSource:3:10: note: 'numberOfPreviewItems(in:)' declared here
1 | public protocol QLPreviewPanelDataSource {
2 | @available(macOS 10.6, *)
3 | func numberOfPreviewItems(in panel: QLPreviewPanel!) -> Int
| `- note: 'numberOfPreviewItems(in:)' declared here
4 | @available(swift, obsoleted: 3, renamed: "numberOfPreviewItems(in:)")
5 | func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:286:17: warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public func previewPanel(_: QLPreviewPanel!, previewItemAt index: Int) -> QLPreviewItem! {
| |- warning: main actor-isolated instance method 'previewPanel(_:previewItemAt:)' cannot be used to satisfy nonisolated protocol requirement; 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
287 | return _items[index]
288 | }
QuickLookUI.QLPreviewPanelDataSource:7:10: note: 'previewPanel(_:previewItemAt:)' declared here
5 | func numberOfPreviewItemsInPreviewPanel(_ panel: QLPreviewPanel!) -> Int
6 | @available(macOS 10.6, *)
7 | func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!
| `- note: 'previewPanel(_:previewItemAt:)' declared here
8 | @available(swift, obsoleted: 3, renamed: "previewPanel(_:previewItemAt:)")
9 | func previewPanel(_ panel: QLPreviewPanel!, previewItemAtIndex index: Int) -> (any QLPreviewItem)!
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:257:17: warning: main actor-isolated instance method 'previewPanel(_:handle:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
254 | }
255 |
256 | extension QuicklookPanel: QLPreviewPanelDataSource, QLPreviewPanelDelegate {
| `- note: add '@preconcurrency' to the 'QLPreviewPanelDelegate' conformance to defer isolation checking to run time
257 | public func previewPanel(_: QLPreviewPanel!, handle event: NSEvent!) -> Bool {
| |- warning: main actor-isolated instance method 'previewPanel(_:handle:)' cannot be used to satisfy nonisolated protocol requirement; 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
258 | if event.type == .keyUp, event.keyCode == 53 {
259 | self.close()
QuickLookUI.QLPreviewPanelDelegate:3:19: note: 'previewPanel(_:handle:)' declared here
1 | public protocol QLPreviewPanelDelegate : NSWindowDelegate {
2 | @available(macOS 10.6, *)
3 | optional func previewPanel(_ panel: QLPreviewPanel!, handle event: NSEvent!) -> Bool
| `- note: 'previewPanel(_:handle:)' declared here
4 | @available(swift, obsoleted: 3, renamed: "previewPanel(_:handle:)")
5 | optional func previewPanel(_ panel: QLPreviewPanel!, handleEvent event: NSEvent!) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:268:17: warning: main actor-isolated instance method 'previewPanel(_:sourceFrameOnScreenFor:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
266 | }
267 |
268 | public func previewPanel(_: QLPreviewPanel!, sourceFrameOnScreenFor item: QLPreviewItem!) -> NSRect {
| |- warning: main actor-isolated instance method 'previewPanel(_:sourceFrameOnScreenFor:)' cannot be used to satisfy nonisolated protocol requirement; 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
269 | if let frame = (item as? QuicklookPreviewItem)?.previewItemFrame {
270 | return frame
QuickLookUI.QLPreviewPanelDelegate:7:19: note: 'previewPanel(_:sourceFrameOnScreenFor:)' declared here
5 | optional func previewPanel(_ panel: QLPreviewPanel!, handleEvent event: NSEvent!) -> Bool
6 | @available(macOS 10.6, *)
7 | optional func previewPanel(_ panel: QLPreviewPanel!, sourceFrameOnScreenFor item: (any QLPreviewItem)!) -> NSRect
| `- note: 'previewPanel(_:sourceFrameOnScreenFor:)' declared here
8 | @available(swift, obsoleted: 3, renamed: "previewPanel(_:sourceFrameOnScreenFor:)")
9 | optional func previewPanel(_ panel: QLPreviewPanel!, sourceFrameOnScreenForPreviewItem item: (any QLPreviewItem)!) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPanel.swift:294:17: warning: main actor-isolated instance method 'previewPanel(_:transitionImageFor:contentRect:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
292 | }
293 |
294 | 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 protocol requirement; 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
295 | return (item as? QuicklookPreviewable)?.previewItemTransitionImage
296 | }
QuickLookUI.QLPreviewPanelDelegate:11:19: note: 'previewPanel(_:transitionImageFor:contentRect:)' declared here
9 | optional func previewPanel(_ panel: QLPreviewPanel!, sourceFrameOnScreenForPreviewItem item: (any QLPreviewItem)!) -> NSRect
10 | @available(macOS 10.6, *)
11 | optional func previewPanel(_ panel: QLPreviewPanel!, transitionImageFor item: (any QLPreviewItem)!, contentRect: UnsafeMutablePointer<NSRect>!) -> Any!
| `- note: 'previewPanel(_:transitionImageFor:contentRect:)' declared here
12 | @available(swift, obsoleted: 3, renamed: "previewPanel(_:transitionImageFor:contentRect:)")
13 | optional func previewPanel(_ panel: QLPreviewPanel!, transitionImageForPreviewItem item: (any QLPreviewItem)!, contentRect: UnsafeMutablePointer<NSRect>!) -> Any!
[202/214] Compiling FZQuicklook QuicklookPreviewable.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:131:21: 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 | extension QuicklookPreviewable where Self: NSView {
130 | public var previewItemFrame: CGRect? {
131 | return self.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:26:9: note: property declared here
24 | This rectangle defines the size and position of the view in its screen’s coordinate system.
25 | */
26 | var frameOnScreen: CGRect? {
| `- note: property declared here
27 | return window?.convertToScreen(frameInWindow)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:135:21: 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 | public var previewItemTransitionImage: NSImage? {
135 | return self.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:34:9: note: property declared here
32 | }
33 |
34 | var renderedImage: NSImage {
| `- note: property declared here
35 | let image = NSImage(size: bounds.size)
36 | image.lockFocus()
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:141:14: warning: main actor-isolated property 'image' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 | extension QuicklookPreviewable where Self: NSImageView {
140 | public var previewItemTransitionImage: NSImage? {
141 | self.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
142 | }
143 | }
AppKit.NSImageView:7:25: note: property declared here
5 | @available(*, unavailable, renamed: "init(image:)", message: "Not available in Swift")
6 | open class func imageViewWithImage(_ image: NSImage) -> Self
7 | @MainActor open var image: NSImage? { get set }
| `- note: property declared here
8 | open var isEditable: Bool { get set }
9 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:147:19: warning: main actor-isolated property 'frameOnScreen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
145 | extension QuicklookPreviewable where Self: NSCollectionViewItem {
146 | public var previewItemFrame: CGRect? {
147 | self.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
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:26:9: note: property declared here
24 | This rectangle defines the size and position of the view in its screen’s coordinate system.
25 | */
26 | var frameOnScreen: CGRect? {
| `- note: property declared here
27 | return window?.convertToScreen(frameInWindow)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:147:14: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
145 | extension QuicklookPreviewable where Self: NSCollectionViewItem {
146 | public var previewItemFrame: CGRect? {
147 | self.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
148 | }
149 |
AppKit.NSViewController:9:35: note: property declared here
7 | open var representedObject: Any? { get set }
8 | open var title: String? { get set }
9 | @IBOutlet @MainActor open var view: NSView { get set }
| `- note: property declared here
10 | @available(macOS 14.0, *)
11 | open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:151:26: warning: main actor-isolated property 'renderedImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
149 |
150 | public var previewItemTransitionImage: NSImage? {
151 | return self.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
152 | }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSView+.swift:34:9: note: property declared here
32 | }
33 |
34 | var renderedImage: NSImage {
| `- note: property declared here
35 | let image = NSImage(size: bounds.size)
36 | image.lockFocus()
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/QuicklookPreviewable.swift:151:21: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
149 |
150 | public var previewItemTransitionImage: NSImage? {
151 | return self.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
152 | }
153 | }
AppKit.NSViewController:9:35: note: property declared here
7 | open var representedObject: Any? { get set }
8 | open var title: String? { get set }
9 | @IBOutlet @MainActor open var view: NSView { get set }
| `- note: property declared here
10 | @available(macOS 14.0, *)
11 | open var viewIfLoaded: NSView? { get }
[203/214] 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 | public 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:141:26: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
139 | open func viewAtColumn(_ column: Int, row: Int, makeIfNecessary: Bool) -> NSView?
140 | @available(macOS 10.7, *)
141 | @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
142 | @available(macOS 10.7, *)
143 | @available(swift, obsoleted: 3, renamed: "rowView(atRow:makeIfNecessary:)")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:157: 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 | public 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:20:16: note: property declared here
18 | Make sure to reset it's value inside `prepareForReuse()`.
19 | */
20 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
/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 | public 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:17:9: note: property declared here
15 | This array contains zero or more NSTableCellView objects that represent the cell views embedded in the current row view’s content.
16 | */
17 | var cellViews: [NSTableCellView] {
| `- note: property declared here
18 | (0 ..< numberOfColumns).compactMap { self.view(atColumn: $0) as? NSTableCellView }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:130: 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 | public 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:20:16: note: property declared here
18 | Make sure to reset it's value inside `prepareForReuse()`.
19 | */
20 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
/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:141:26: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
139 | open func viewAtColumn(_ column: Int, row: Int, makeIfNecessary: Bool) -> NSView?
140 | @available(macOS 10.7, *)
141 | @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
142 | @available(macOS 10.7, *)
143 | @available(swift, obsoleted: 3, renamed: "rowView(atRow:makeIfNecessary:)")
/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:141:26: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
139 | open func viewAtColumn(_ column: Int, row: Int, makeIfNecessary: Bool) -> NSView?
140 | @available(macOS 10.7, *)
141 | @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
142 | @available(macOS 10.7, *)
143 | @available(swift, obsoleted: 3, renamed: "rowView(atRow:makeIfNecessary:)")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:164: 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:20:16: note: property declared here
18 | Make sure to reset it's value inside `prepareForReuse()`.
19 | */
20 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
/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:17:9: note: property declared here
15 | This array contains zero or more NSTableCellView objects that represent the cell views embedded in the current row view’s content.
16 | */
17 | var cellViews: [NSTableCellView] {
| `- note: property declared here
18 | (0 ..< numberOfColumns).compactMap { self.view(atColumn: $0) as? NSTableCellView }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:137: 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:20:16: note: property declared here
18 | Make sure to reset it's value inside `prepareForReuse()`.
19 | */
20 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
[204/214] Compiling FZQuicklook QuicklookItem.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 | public 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:141:26: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
139 | open func viewAtColumn(_ column: Int, row: Int, makeIfNecessary: Bool) -> NSView?
140 | @available(macOS 10.7, *)
141 | @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
142 | @available(macOS 10.7, *)
143 | @available(swift, obsoleted: 3, renamed: "rowView(atRow:makeIfNecessary:)")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:157: 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 | public 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:20:16: note: property declared here
18 | Make sure to reset it's value inside `prepareForReuse()`.
19 | */
20 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
/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 | public 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:17:9: note: property declared here
15 | This array contains zero or more NSTableCellView objects that represent the cell views embedded in the current row view’s content.
16 | */
17 | var cellViews: [NSTableCellView] {
| `- note: property declared here
18 | (0 ..< numberOfColumns).compactMap { self.view(atColumn: $0) as? NSTableCellView }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:24:130: 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 | public 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:20:16: note: property declared here
18 | Make sure to reset it's value inside `prepareForReuse()`.
19 | */
20 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
/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:141:26: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
139 | open func viewAtColumn(_ column: Int, row: Int, makeIfNecessary: Bool) -> NSView?
140 | @available(macOS 10.7, *)
141 | @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
142 | @available(macOS 10.7, *)
143 | @available(swift, obsoleted: 3, renamed: "rowView(atRow:makeIfNecessary:)")
/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:141:26: note: calls to instance method 'rowView(atRow:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
139 | open func viewAtColumn(_ column: Int, row: Int, makeIfNecessary: Bool) -> NSView?
140 | @available(macOS 10.7, *)
141 | @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
142 | @available(macOS 10.7, *)
143 | @available(swift, obsoleted: 3, renamed: "rowView(atRow:makeIfNecessary:)")
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:164: 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:20:16: note: property declared here
18 | Make sure to reset it's value inside `prepareForReuse()`.
19 | */
20 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
/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:17:9: note: property declared here
15 | This array contains zero or more NSTableCellView objects that represent the cell views embedded in the current row view’s content.
16 | */
17 | var cellViews: [NSTableCellView] {
| `- note: property declared here
18 | (0 ..< numberOfColumns).compactMap { self.view(atColumn: $0) as? NSTableCellView }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableViewDataSource+Quicklook.swift:37:137: 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:20:16: note: property declared here
18 | Make sure to reset it's value inside `prepareForReuse()`.
19 | */
20 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
[205/214] Compiling FZQuicklook NSTableCellView+Quicklook.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:21:67: error: extra argument 'object' in call
19 | */
20 | public var quicklookPreview: QuicklookPreviewable? {
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
23 | if newValue != nil {
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:22:16: error: cannot find 'set' in scope
20 | public var quicklookPreview: QuicklookPreviewable? {
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
| `- error: cannot find 'set' in scope
23 | if newValue != nil {
24 | self.tableView?.isQuicklookPreviewable = true
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableView+Qucklook.swift:50:73: error: extra argument 'object' in call
48 | */
49 | public var isQuicklookPreviewable: Bool {
50 | get { getAssociatedValue(key: "isQuicklookPreviewable", object: self, initialValue: false) }
| `- error: extra argument 'object' in call
51 | set { set(associatedValue: newValue, key: "isQuicklookPreviewable", object: self)
52 | self.setupKeyDownMonitor()
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableView+Qucklook.swift:51:16: error: cannot find 'set' in scope
49 | public var isQuicklookPreviewable: Bool {
50 | get { getAssociatedValue(key: "isQuicklookPreviewable", object: self, initialValue: false) }
51 | set { set(associatedValue: newValue, key: "isQuicklookPreviewable", object: self)
| `- error: cannot find 'set' in scope
52 | self.setupKeyDownMonitor()
53 | }
[206/214] Compiling FZQuicklook NSTableView+Qucklook.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:21:67: error: extra argument 'object' in call
19 | */
20 | public var quicklookPreview: QuicklookPreviewable? {
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
23 | if newValue != nil {
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableCellView+Quicklook.swift:22:16: error: cannot find 'set' in scope
20 | public var quicklookPreview: QuicklookPreviewable? {
21 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
22 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
| `- error: cannot find 'set' in scope
23 | if newValue != nil {
24 | self.tableView?.isQuicklookPreviewable = true
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableView+Qucklook.swift:50:73: error: extra argument 'object' in call
48 | */
49 | public var isQuicklookPreviewable: Bool {
50 | get { getAssociatedValue(key: "isQuicklookPreviewable", object: self, initialValue: false) }
| `- error: extra argument 'object' in call
51 | set { set(associatedValue: newValue, key: "isQuicklookPreviewable", object: self)
52 | self.setupKeyDownMonitor()
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSTableView/NSTableView+Qucklook.swift:51:16: error: cannot find 'set' in scope
49 | public var isQuicklookPreviewable: Bool {
50 | get { getAssociatedValue(key: "isQuicklookPreviewable", object: self, initialValue: false) }
51 | set { set(associatedValue: newValue, key: "isQuicklookPreviewable", object: self)
| `- error: cannot find 'set' in scope
52 | self.setupKeyDownMonitor()
53 | }
[207/214] Compiling FZQuicklook NSView+.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionView+Qucklook.swift:50:73: error: extra argument 'object' in call
48 | */
49 | public var isQuicklookPreviewable: Bool {
50 | get { getAssociatedValue(key: "isQuicklookPreviewable", object: self, initialValue: false) }
| `- error: extra argument 'object' in call
51 | set { set(associatedValue: newValue, key: "isQuicklookPreviewable", object: self)
52 | self.setupKeyDownMonitor()
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionView+Qucklook.swift:51:16: error: cannot find 'set' in scope
49 | public var isQuicklookPreviewable: Bool {
50 | get { getAssociatedValue(key: "isQuicklookPreviewable", object: self, initialValue: false) }
51 | set { set(associatedValue: newValue, key: "isQuicklookPreviewable", object: self)
| `- error: cannot find 'set' in scope
52 | self.setupKeyDownMonitor()
53 | }
[208/214] Compiling FZQuicklook NSCollectionView+Qucklook.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionView+Qucklook.swift:50:73: error: extra argument 'object' in call
48 | */
49 | public var isQuicklookPreviewable: Bool {
50 | get { getAssociatedValue(key: "isQuicklookPreviewable", object: self, initialValue: false) }
| `- error: extra argument 'object' in call
51 | set { set(associatedValue: newValue, key: "isQuicklookPreviewable", object: self)
52 | self.setupKeyDownMonitor()
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionView+Qucklook.swift:51:16: error: cannot find 'set' in scope
49 | public var isQuicklookPreviewable: Bool {
50 | get { getAssociatedValue(key: "isQuicklookPreviewable", object: self, initialValue: false) }
51 | set { set(associatedValue: newValue, key: "isQuicklookPreviewable", object: self)
| `- error: cannot find 'set' in scope
52 | self.setupKeyDownMonitor()
53 | }
[209/214] Compiling FZQuicklook NSCollectionViewDataSource+Quicklook.swift
/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 | public 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:105:26: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
103 | open func itemAtIndex(_ index: Int) -> NSCollectionViewItem?
104 | @available(macOS 10.11, *)
105 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?
| `- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
106 | @available(macOS 10.11, *)
107 | @available(swift, obsoleted: 3, renamed: "item(at:)")
/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 | public 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:16: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
21 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
/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 | public 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
AppKit.NSViewController:9:35: note: property declared here
7 | open var representedObject: Any? { get set }
8 | open var title: String? { get set }
9 | @IBOutlet @MainActor open var view: NSView { get set }
| `- note: property declared here
10 | @available(macOS 14.0, *)
11 | open var viewIfLoaded: NSView? { get }
/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:105:26: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
103 | open func itemAtIndex(_ index: Int) -> NSCollectionViewItem?
104 | @available(macOS 10.11, *)
105 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?
| `- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
106 | @available(macOS 10.11, *)
107 | @available(swift, obsoleted: 3, renamed: "item(at:)")
/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)
AppKit.NSViewController:9:35: note: property declared here
7 | open var representedObject: Any? { get set }
8 | open var title: String? { get set }
9 | @IBOutlet @MainActor open var view: NSView { get set }
| `- note: property declared here
10 | @available(macOS 14.0, *)
11 | open var viewIfLoaded: NSView? { get }
/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:105:26: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
103 | open func itemAtIndex(_ index: Int) -> NSCollectionViewItem?
104 | @available(macOS 10.11, *)
105 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?
| `- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
106 | @available(macOS 10.11, *)
107 | @available(swift, obsoleted: 3, renamed: "item(at:)")
/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:16: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
21 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
/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
AppKit.NSViewController:9:35: note: property declared here
7 | open var representedObject: Any? { get set }
8 | open var title: String? { get set }
9 | @IBOutlet @MainActor open var view: NSView { get set }
| `- note: property declared here
10 | @available(macOS 14.0, *)
11 | open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewItem+Quicklook.swift:20:67: error: extra argument 'object' in call
18 | */
19 | public var quicklookPreview: QuicklookPreviewable? {
20 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
21 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
22 | if newValue != nil {
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewItem+Quicklook.swift:21:16: error: cannot find 'set' in scope
19 | public var quicklookPreview: QuicklookPreviewable? {
20 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
21 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
| `- error: cannot find 'set' in scope
22 | if newValue != nil {
23 | self.collectionView?.isQuicklookPreviewable = true
[210/214] Compiling FZQuicklook NSCollectionViewItem+Quicklook.swift
/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 | public 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:105:26: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
103 | open func itemAtIndex(_ index: Int) -> NSCollectionViewItem?
104 | @available(macOS 10.11, *)
105 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?
| `- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
106 | @available(macOS 10.11, *)
107 | @available(swift, obsoleted: 3, renamed: "item(at:)")
/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 | public 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:16: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
21 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
/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 | public 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
AppKit.NSViewController:9:35: note: property declared here
7 | open var representedObject: Any? { get set }
8 | open var title: String? { get set }
9 | @IBOutlet @MainActor open var view: NSView { get set }
| `- note: property declared here
10 | @available(macOS 14.0, *)
11 | open var viewIfLoaded: NSView? { get }
/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:105:26: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
103 | open func itemAtIndex(_ index: Int) -> NSCollectionViewItem?
104 | @available(macOS 10.11, *)
105 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?
| `- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
106 | @available(macOS 10.11, *)
107 | @available(swift, obsoleted: 3, renamed: "item(at:)")
/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)
AppKit.NSViewController:9:35: note: property declared here
7 | open var representedObject: Any? { get set }
8 | open var title: String? { get set }
9 | @IBOutlet @MainActor open var view: NSView { get set }
| `- note: property declared here
10 | @available(macOS 14.0, *)
11 | open var viewIfLoaded: NSView? { get }
/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:105:26: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
103 | open func itemAtIndex(_ index: Int) -> NSCollectionViewItem?
104 | @available(macOS 10.11, *)
105 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?
| `- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
106 | @available(macOS 10.11, *)
107 | @available(swift, obsoleted: 3, renamed: "item(at:)")
/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:16: note: property declared here
17 | Make sure to reset it's value inside `prepareForReuse()`.
18 | */
19 | public var quicklookPreview: QuicklookPreviewable? {
| `- note: property declared here
20 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
21 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
/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
AppKit.NSViewController:9:35: note: property declared here
7 | open var representedObject: Any? { get set }
8 | open var title: String? { get set }
9 | @IBOutlet @MainActor open var view: NSView { get set }
| `- note: property declared here
10 | @available(macOS 14.0, *)
11 | open var viewIfLoaded: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewItem+Quicklook.swift:20:67: error: extra argument 'object' in call
18 | */
19 | public var quicklookPreview: QuicklookPreviewable? {
20 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
21 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
22 | if newValue != nil {
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/NSCollectionView/NSCollectionViewItem+Quicklook.swift:21:16: error: cannot find 'set' in scope
19 | public var quicklookPreview: QuicklookPreviewable? {
20 | get { getAssociatedValue(key: "quicklookPreview", object: self, initialValue: nil) }
21 | set { set(associatedValue: newValue, key: "quicklookPreview", object: self)
| `- error: cannot find 'set' in scope
22 | if newValue != nil {
23 | self.collectionView?.isQuicklookPreviewable = true
[211/214] Compiling FZQuicklook NSCollectionView+KeyDown.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:14:82: error: extra argument 'object' in call
12 | extension NSCollectionView {
13 | var keyDownMonitor: Any? {
14 | get { getAssociatedValue(key: "NSCollectionView_keyDownMonitor", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
15 | set { set(associatedValue: newValue, key: "NSCollectionView_keyDownMonitor", object: self) }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:15:16: error: cannot find 'set' in scope
13 | var keyDownMonitor: Any? {
14 | get { getAssociatedValue(key: "NSCollectionView_keyDownMonitor", object: self, initialValue: nil) }
15 | set { set(associatedValue: newValue, key: "NSCollectionView_keyDownMonitor", object: self) }
| `- error: cannot find 'set' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:19:84: error: extra argument 'object' in call
17 |
18 | var mouseDownMonitor: Any? {
19 | get { getAssociatedValue(key: "NSCollectionView_mouseDownMonitor", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
20 | set { set(associatedValue: newValue, key: "NSCollectionView_mouseDownMonitor", object: self) }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:20:16: error: cannot find 'set' in scope
18 | var mouseDownMonitor: Any? {
19 | get { getAssociatedValue(key: "NSCollectionView_mouseDownMonitor", object: self, initialValue: nil) }
20 | set { set(associatedValue: newValue, key: "NSCollectionView_mouseDownMonitor", object: self) }
| `- error: cannot find 'set' in scope
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:24:86: error: extra argument 'object' in call
22 |
23 | var selectionObserver: NSKeyValueObservation? {
24 | get { getAssociatedValue(key: "NSCollectionView_selectionObserver_", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
25 | set { set(associatedValue: newValue, key: "NSCollectionView_selectionObserver_", object: self) }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:25:16: error: cannot find 'set' in scope
23 | var selectionObserver: NSKeyValueObservation? {
24 | get { getAssociatedValue(key: "NSCollectionView_selectionObserver_", object: self, initialValue: nil) }
25 | set { set(associatedValue: newValue, key: "NSCollectionView_selectionObserver_", object: self) }
| `- error: cannot find 'set' in scope
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:62:36: error: cannot assign value of type 'KeyValueObservation?' to type 'NSKeyValueObservation?'
60 | func addSelectionObserver() {
61 | if self.selectionObserver == nil {
62 | self.selectionObserver = self.observeChanges(for: \.selectionIndexPaths, handler: { [weak self] old, new in
| `- error: cannot assign value of type 'KeyValueObservation?' to type 'NSKeyValueObservation?'
63 | guard let self = self else { return }
64 | if QuicklookPanel.shared.isVisible {
[212/214] Compiling FZQuicklook NSTableCellView+.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:14:82: error: extra argument 'object' in call
12 | extension NSCollectionView {
13 | var keyDownMonitor: Any? {
14 | get { getAssociatedValue(key: "NSCollectionView_keyDownMonitor", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
15 | set { set(associatedValue: newValue, key: "NSCollectionView_keyDownMonitor", object: self) }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:15:16: error: cannot find 'set' in scope
13 | var keyDownMonitor: Any? {
14 | get { getAssociatedValue(key: "NSCollectionView_keyDownMonitor", object: self, initialValue: nil) }
15 | set { set(associatedValue: newValue, key: "NSCollectionView_keyDownMonitor", object: self) }
| `- error: cannot find 'set' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:19:84: error: extra argument 'object' in call
17 |
18 | var mouseDownMonitor: Any? {
19 | get { getAssociatedValue(key: "NSCollectionView_mouseDownMonitor", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
20 | set { set(associatedValue: newValue, key: "NSCollectionView_mouseDownMonitor", object: self) }
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:20:16: error: cannot find 'set' in scope
18 | var mouseDownMonitor: Any? {
19 | get { getAssociatedValue(key: "NSCollectionView_mouseDownMonitor", object: self, initialValue: nil) }
20 | set { set(associatedValue: newValue, key: "NSCollectionView_mouseDownMonitor", object: self) }
| `- error: cannot find 'set' in scope
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:24:86: error: extra argument 'object' in call
22 |
23 | var selectionObserver: NSKeyValueObservation? {
24 | get { getAssociatedValue(key: "NSCollectionView_selectionObserver_", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
25 | set { set(associatedValue: newValue, key: "NSCollectionView_selectionObserver_", object: self) }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:25:16: error: cannot find 'set' in scope
23 | var selectionObserver: NSKeyValueObservation? {
24 | get { getAssociatedValue(key: "NSCollectionView_selectionObserver_", object: self, initialValue: nil) }
25 | set { set(associatedValue: newValue, key: "NSCollectionView_selectionObserver_", object: self) }
| `- error: cannot find 'set' in scope
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSCollectionView+KeyDown.swift:62:36: error: cannot assign value of type 'KeyValueObservation?' to type 'NSKeyValueObservation?'
60 | func addSelectionObserver() {
61 | if self.selectionObserver == nil {
62 | self.selectionObserver = self.observeChanges(for: \.selectionIndexPaths, handler: { [weak self] old, new in
| `- error: cannot assign value of type 'KeyValueObservation?' to type 'NSKeyValueObservation?'
63 | guard let self = self else { return }
64 | if QuicklookPanel.shared.isVisible {
[213/214] Compiling FZQuicklook NSTableRowView+.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSTableView+KeyDown.swift:15:77: error: extra argument 'object' in call
13 | extension NSTableView {
14 | var keyDownMonitor: Any? {
15 | get { getAssociatedValue(key: "NSTableView_keyDownMonitor", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
16 | set { set(associatedValue: newValue, key: "NSTableView_keyDownMonitor", object: self) }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSTableView+KeyDown.swift:16:16: error: cannot find 'set' in scope
14 | var keyDownMonitor: Any? {
15 | get { getAssociatedValue(key: "NSTableView_keyDownMonitor", object: self, initialValue: nil) }
16 | set { set(associatedValue: newValue, key: "NSTableView_keyDownMonitor", object: self) }
| `- error: cannot find 'set' in scope
17 | }
18 |
[214/214] Compiling FZQuicklook NSTableView+KeyDown.swift
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSTableView+KeyDown.swift:15:77: error: extra argument 'object' in call
13 | extension NSTableView {
14 | var keyDownMonitor: Any? {
15 | get { getAssociatedValue(key: "NSTableView_keyDownMonitor", object: self, initialValue: nil) }
| `- error: extra argument 'object' in call
16 | set { set(associatedValue: newValue, key: "NSTableView_keyDownMonitor", object: self) }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/FZQuicklook/Extensions/NSTableView+KeyDown.swift:16:16: error: cannot find 'set' in scope
14 | var keyDownMonitor: Any? {
15 | get { getAssociatedValue(key: "NSTableView_keyDownMonitor", object: self, initialValue: nil) }
16 | set { set(associatedValue: newValue, key: "NSTableView_keyDownMonitor", object: self) }
| `- error: cannot find 'set' in scope
17 | }
18 |
[215/215] Compiling FZQuicklook QuicklookView.swift
BUILD FAILURE 6.0 macosSpm