Build Information
Successful build of QRCode, reference main (94fa5c
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 09:08:06 UTC.
Swift 6 data race errors: 111
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[268/285] Compiling QRCode QRCodePupilShapeTeardrop.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[269/285] Compiling QRCode QRCodePupilShapeUFO.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[270/285] Compiling QRCode QRCodePupilShapeUFORounded.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[271/285] Compiling QRCode QRCodePupilShapeUsePixelShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[272/285] Compiling QRCode QRCodeDocumentView+AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[273/285] Compiling QRCode QRCodeDocumentView+UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[274/285] Compiling QRCode QRCodeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[275/285] Compiling QRCode QRCodeDocumentUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[276/285] Compiling QRCode QRCodeShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[277/285] Compiling QRCode QRCodeViewUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[278/285] Compiling QRCode resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:62:13: warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| `- warning: let 'pupilGeneratedPath__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeSpikyCircle.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
19 |
20 | import Foundation
21 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
22 |
23 | // MARK: - Pupil shape
:
60 |
61 | /// The fixed pupil shape
62 | private let pupilGeneratedPath__: CGPath = {
| |- note: add '@MainActor' to make let 'pupilGeneratedPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | CGPath.make { eyepupilPath in
64 | eyepupilPath.move(to: CGPoint(x: 55.32, y: 33.92))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFO.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 60))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:82:13: warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
80 | }
81 |
82 | private let pupilShape__: CGPath =
| `- warning: let 'pupilShape__' is not concurrency-safe because non-'Sendable' type 'CGPath' may have shared mutable state; this is an error in the Swift 6 language mode
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
CoreGraphics.CGPath:1:14: note: class 'CGPath' does not conform to the 'Sendable' protocol
1 | public class CGPath : _CFObject {
| `- note: class 'CGPath' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUFORounded.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
18 | //
19 |
20 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
21 | import Foundation
22 |
:
80 | }
81 |
82 | private let pupilShape__: CGPath =
| |- note: add '@MainActor' to make let 'pupilShape__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | CGPath.make { pupilPath in
84 | pupilPath.move(to: CGPoint(x: 60, y: 56))
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/styles/pupil/QRCodePupilShapeUsePixelShape.swift:25:13: warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
23 | // MARK: - Pupil shape
24 |
25 | private let _PupilTemplate = BoolMatrix(dimension: 6, rawFlattenedInt: [
| |- warning: let '_PupilTemplate' is not concurrency-safe because non-'Sendable' type 'BoolMatrix' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '_PupilTemplate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 0, 0, 0, 0, 0, 0,
27 | 0, 0, 0, 0, 0, 0,
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/private/BoolMatrix.swift:23:38: note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
21 |
22 | /// A boolean matrix (Array2D<Bool> wrapper) with equal dimensions in row and column
23 | @objc(QRCodeBoolMatrix) public class BoolMatrix: NSObject {
| `- note: class 'BoolMatrix' does not conform to the 'Sendable' protocol
24 |
25 | @objc public override init() {
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:264:8: warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
262 | override func prepareForInterfaceBuilder() {
263 | super.prepareForInterfaceBuilder()
264 | self.rebuildDocumentUsingStoredProperties()
| `- warning: call to main actor-isolated instance method 'rebuildDocumentUsingStoredProperties()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 | }
:
270 | extension QRCodeView {
271 | // Build up the qr representation
272 | private func rebuildDocumentUsingStoredProperties() {
| |- note: calls to instance method 'rebuildDocumentUsingStoredProperties()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'QRCodeDocumentView'
273 | do {
274 | try self._document.update(data: self.data, errorCorrection: self.errorCorrection)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:336:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
334 |
335 | if type == .pdf {
336 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | pasteboard.setData(pdfData, forType: .pdf)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:30: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:340:53: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
338 | }
339 | else if type == .tiff,
340 | let imageData = try? self._document.nsImage(self.dragImageSize, dpi: 144).tiffRepresentation {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
341 | pasteboard.setData(imageData, forType: .tiff)
342 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:344:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
342 | }
343 | else if type == .png,
344 | let pngdata = try? self._document.nsImage(self.dragImageSize, dpi: 144).representation.png() {
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
345 | pasteboard.setData(pngdata, forType: .png)
346 | }
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:28: warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | /// The internal document.
168 | private var _document = QRCode.Document() {
| `- note: property declared here
169 | didSet { self.rebuildQRCode() }
170 | }
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property '_document' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/QRCodeView.swift:362:51: warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |
145 | /// The size of the QRCode image when dragged out of the view
146 | @objc dynamic var dragImageSize: CGSize = CGSize(width: 512, height: 512)
| `- note: property declared here
147 |
148 | private var _eyeShape: String = "" {
:
360 | let dest = FileManager.UniqueFileURL(for: "Dropped QRCode.pdf", in: destinationFolderURL)
361 |
362 | let pdfData = try? self._document.pdfData(self.dragImageSize)
| `- warning: main actor-isolated property 'dragImageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
363 | do {
364 | try pdfData?.write(to: dest, options: .atomic)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/views/SwiftUI/QRCodeDocumentUIView.swift:97:13: warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
97 | private let __dummy = QRCode.Document()
| |- warning: let '__dummy' is not concurrency-safe because non-'Sendable' type 'QRCode.Document' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let '__dummy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 8, *)
/Users/admin/builder/spi-builder-workspace/Sources/QRCode/QRCode+Document.swift:29:30: note: class 'Document' does not conform to the 'Sendable' protocol
27 | public extension QRCode {
28 | /// A QR Code document
29 | @objc(QRCodeDocument) class Document: NSObject {
| `- note: class 'Document' does not conform to the 'Sendable' protocol
30 | /// The correction level to use when generating the QR code
31 | @objc public var errorCorrection: QRCode.ErrorCorrection = .quantize {
[278/285] Write Objects.LinkFileList
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'CGImage+extensions.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/QRCode.build/CGImage+extensions.swift.o(CGImage+extensions.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftImageReadWrite.build/CGImage+extensions.swift.o(CGImage+extensions.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'QRCode.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/QRCodeGenerator.build/QRCode.swift.o(QRCode.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/QRCode.build/QRCode.swift.o(QRCode.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Utils.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/QRCode.build/Utils.swift.o(Utils.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftImageReadWrite.build/Utils.swift.o(Utils.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'resource_bundle_accessor.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftImageReadWrite.build/resource_bundle_accessor.swift.o(resource_bundle_accessor.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/QRCode.build/resource_bundle_accessor.swift.o(resource_bundle_accessor.swift.o)'
[280/285] Archiving libQRCodeStatic.a
[282/289] Compiling qrcodegen resource_bundle_accessor.swift
[283/289] Compiling qrcodegen utils.swift
[283/289] Linking libQRCodeDynamic.dylib
[285/289] Compiling qrcodegen main.swift
[286/289] Emitting module qrcodegen
[286/289] Write Objects.LinkFileList
[287/289] Linking qrcodegen
[288/289] Applying qrcodegen
Build complete! (23.69s)
Fetching https://github.com/dagronf/SwiftImageReadWrite
Fetching https://github.com/dagronf/swift-qrcode-generator
Fetching https://github.com/apple/swift-argument-parser from cache
[1/378] Fetching swiftimagereadwrite
[379/723] Fetching swiftimagereadwrite, swift-qrcode-generator
Fetched https://github.com/dagronf/SwiftImageReadWrite from cache (5.86s)
Fetched https://github.com/dagronf/swift-qrcode-generator from cache (5.86s)
Fetched https://github.com/apple/swift-argument-parser from cache (5.87s)
Computing version for https://github.com/dagronf/swift-qrcode-generator
Computed https://github.com/dagronf/swift-qrcode-generator at 2.0.2 (6.48s)
Computing version for https://github.com/dagronf/SwiftImageReadWrite
Computed https://github.com/dagronf/SwiftImageReadWrite at 1.9.2 (0.57s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.4 (0.59s)
Creating working copy for https://github.com/dagronf/SwiftImageReadWrite
Working copy of https://github.com/dagronf/SwiftImageReadWrite resolved at 1.9.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.4.4
Creating working copy for https://github.com/dagronf/swift-qrcode-generator
Working copy of https://github.com/dagronf/swift-qrcode-generator resolved at 2.0.2
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.3",
"upper_bound" : "0.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-qrcode-generator",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.2",
"upper_bound" : "2.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/swift-qrcode-generator"
},
{
"identity" : "swiftimagereadwrite",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.1",
"upper_bound" : "1.10.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/SwiftImageReadWrite"
}
],
"manifest_display_name" : "QRCode",
"name" : "QRCode",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "QRCode",
"targets" : [
"QRCode"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "QRCodeStatic",
"targets" : [
"QRCode"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "QRCodeDynamic",
"targets" : [
"QRCode"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "QRCodeDetector",
"targets" : [
"QRCodeDetector"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "qrcodegen",
"targets" : [
"qrcodegen"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "qrcodegen",
"module_type" : "SwiftTarget",
"name" : "qrcodegen",
"path" : "Sources/qrcodegen",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"qrcodegen"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/qrcodegen/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"main.swift",
"utils.swift"
],
"target_dependencies" : [
"QRCode"
],
"type" : "executable"
},
{
"c99name" : "QRCodeTests",
"module_type" : "SwiftTarget",
"name" : "QRCodeTests",
"path" : "Tests/QRCodeTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/apple.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/b-image.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/beach-square.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/colored-fill-bw.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/colored-fill-invert.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/colored-fill.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/corner-heart.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/example-com.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/instagram-icon.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/lego.jpeg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/logo-mask.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/logo-scan.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/logo.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/nsw-health.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/photo-logo.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/qrcodes-image.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/square-logo.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/svg/Issue19Generated.svg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/swift-logo.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/wiki-logo.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/wombles.jpeg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/QRCodeTests/Resources/wwf.jpeg",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CGPathCoderTests.swift",
"ComponentsTests.swift",
"DocumentationImageTests.swift",
"QRCodeBugFixTests.swift",
"QRCodeBuilderTests.swift",
"QRCodeDetectionTests.swift",
"QRCodeDocGenerator.swift",
"QRCodeEncodeDecodeTests.swift",
"QRCodeExternalGenerationTests.swift",
"QRCodeEyeShapeTests.swift",
"QRCodeFillTests.swift",
"QRCodeImageFillTests.swift",
"QRCodeMaskingTests.swift",
"QRCodeMessageFormattingTests.swift",
"QRCodePathTests.swift",
"QRCodePixelInsetDocumentTests.swift",
"QRCodePixelInsetTests.swift",
"QRCodePixelRotationDocumentTests.swift",
"QRCodePixelRotationTests.swift",
"QRCodeSVGExportTests.swift",
"QRCodeTests.swift",
"QRCodeWatchOSTests.swift",
"QRLoadSaveTests.swift",
"ShadowTests.swift",
"TestFilesContainer.swift",
"Utils.swift"
],
"target_dependencies" : [
"QRCode"
],
"type" : "test"
},
{
"c99name" : "QRCodeDetector",
"module_type" : "SwiftTarget",
"name" : "QRCodeDetector",
"path" : "Sources/QRCodeDetector",
"product_memberships" : [
"QRCodeDetector"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/QRCodeDetector/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"QRCodeDetector+VideoDetector.swift"
],
"type" : "library"
},
{
"c99name" : "QRCode",
"module_type" : "SwiftTarget",
"name" : "QRCode",
"path" : "Sources/QRCode",
"product_dependencies" : [
"SwiftImageReadWrite",
"QRCodeGenerator"
],
"product_memberships" : [
"QRCode",
"QRCodeStatic",
"QRCodeDynamic",
"qrcodegen"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/QRCode/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"QRCode+ASCII.swift",
"QRCode+Builder.swift",
"QRCode+Combine.swift",
"QRCode+Content.swift",
"QRCode+Conveniences.swift",
"QRCode+Design.swift",
"QRCode+Detection.swift",
"QRCode+Document+Export.swift",
"QRCode+Document+LoadSave.swift",
"QRCode+Document.swift",
"QRCode+Drawing.swift",
"QRCode+Error.swift",
"QRCode+ErrorCorrection.swift",
"QRCode+FormattedContent.swift",
"QRCode+Image.swift",
"QRCode+Keys.swift",
"QRCode+LogoTemplate.swift",
"QRCode+Message.swift",
"QRCode+Pasteboard.swift",
"QRCode+Path.swift",
"QRCode+SVG.swift",
"QRCode+Shadow.swift",
"QRCode+Templating.swift",
"QRCode+Types.swift",
"QRCode+UTI.swift",
"QRCode.swift",
"generator/QRCodeEngine+CoreImage.swift",
"generator/QRCodeEngine.swift",
"generator/external/QRCodeEngine+External+Wrapper.swift",
"generator/external/QRCodeEngine+External.swift",
"message/QRCode+Message+Contact.swift",
"message/QRCode+Message+Data.swift",
"message/QRCode+Message+Event.swift",
"message/QRCode+Message+Link.swift",
"message/QRCode+Message+Location.swift",
"message/QRCode+Message+Mail.swift",
"message/QRCode+Message+Phone.swift",
"message/QRCode+Message+SMS.swift",
"message/QRCode+Message+Text.swift",
"private/Array2D.swift",
"private/BinaryFloatingPoint+extensions.swift",
"private/BoolMatrix.swift",
"private/CGColor+BackwardsCompatibility.swift",
"private/CGColor+extensions.swift",
"private/CGColor+hex.swift",
"private/CGContext+extensions.swift",
"private/CGFloat+extensions.swift",
"private/CGImage+diff.swift",
"private/CGImage+extensions.swift",
"private/CGMutablePath+PaintCodeHelpers.swift",
"private/CGPath+RoundedRectExtensions.swift",
"private/CGPath+SVG.swift",
"private/CGPath+codable.swift",
"private/CGPath+extensions.swift",
"private/CGPath+hexagon.swift",
"private/CGSize+extensions.swift",
"private/Clamp.swift",
"private/DSFGradient.swift",
"private/Debounce.swift",
"private/FileManager+extensions.swift",
"private/FixedWidthInteger+extensions.swift",
"private/NSBezierPath+extensions.swift",
"private/NSImage+extensions.swift",
"private/Neighbours.swift",
"private/Optional+extensions.swift",
"private/QRCode+Platform.swift",
"private/RandomNumberWithSeed.swift",
"private/String+extensions.swift",
"private/Utils.swift",
"styles/QRCode+Shape.swift",
"styles/QRCode+Style.swift",
"styles/data/QRCodePixelShape.swift",
"styles/data/QRCodePixelShapeAbstract.swift",
"styles/data/QRCodePixelShapeBlob.swift",
"styles/data/QRCodePixelShapeCircuit.swift",
"styles/data/QRCodePixelShapeCurvePixel.swift",
"styles/data/QRCodePixelShapeFactory.swift",
"styles/data/QRCodePixelShapeGrid.swift",
"styles/data/QRCodePixelShapeHorizontal.swift",
"styles/data/QRCodePixelShapePointy.swift",
"styles/data/QRCodePixelShapeRazor.swift",
"styles/data/QRCodePixelShapeRoundedEndIndent.swift",
"styles/data/QRCodePixelShapeRoundedPath.swift",
"styles/data/QRCodePixelShapeVertical.swift",
"styles/data/QRCodePixelShapeVortex.swift",
"styles/data/pixel/QRCodePixelShapeArrow.swift",
"styles/data/pixel/QRCodePixelShapeCRT.swift",
"styles/data/pixel/QRCodePixelShapeCircle.swift",
"styles/data/pixel/QRCodePixelShapeDiagonal.swift",
"styles/data/pixel/QRCodePixelShapeDiamond.swift",
"styles/data/pixel/QRCodePixelShapeDonut.swift",
"styles/data/pixel/QRCodePixelShapeFlower.swift",
"styles/data/pixel/QRCodePixelShapeHeart.swift",
"styles/data/pixel/QRCodePixelShapeHexagon.swift",
"styles/data/pixel/QRCodePixelShapeKoala.swift",
"styles/data/pixel/QRCodePixelShapeRoundedRect.swift",
"styles/data/pixel/QRCodePixelShapeSharp.swift",
"styles/data/pixel/QRCodePixelShapeShiny.swift",
"styles/data/pixel/QRCodePixelShapeSpikyCircle.swift",
"styles/data/pixel/QRCodePixelShapeSquare.swift",
"styles/data/pixel/QRCodePixelShapeSquircle.swift",
"styles/data/pixel/QRCodePixelShapeStar.swift",
"styles/data/pixel/QRCodePixelShapeStitch.swift",
"styles/data/pixel/QRCodePixelShapeWave.swift",
"styles/data/pixel/QRCodePixelShapeWex.swift",
"styles/data/pixel/inset-generator/QRCodePixelShapeInset+Fixed.swift",
"styles/data/pixel/inset-generator/QRCodePixelShapeInset+Generator.swift",
"styles/data/pixel/inset-generator/QRCodePixelShapeInset+HorizontalWave.swift",
"styles/data/pixel/inset-generator/QRCodePixelShapeInset+Punch.swift",
"styles/data/pixel/inset-generator/QRCodePixelShapeInset+Random.swift",
"styles/data/pixel/inset-generator/QRCodePixelShapeInset+VerticalWave.swift",
"styles/data/pixel/private/QRCodePixelShapePixel.swift",
"styles/data/pixel/rotation-generator/QRCodePixelShapeRotation+Fixed.swift",
"styles/data/pixel/rotation-generator/QRCodePixelShapeRotation+Generator.swift",
"styles/data/pixel/rotation-generator/QRCodePixelShapeRotation+HWave.swift",
"styles/data/pixel/rotation-generator/QRCodePixelShapeRotation+Random.swift",
"styles/data/pixel/rotation-generator/QRCodePixelShapeRotation+VWave.swift",
"styles/eye/QRCodeEyeShape.swift",
"styles/eye/QRCodeEyeShapeBarsHorizontal.swift",
"styles/eye/QRCodeEyeShapeBarsVertical.swift",
"styles/eye/QRCodeEyeShapeCRT.swift",
"styles/eye/QRCodeEyeShapeCircle.swift",
"styles/eye/QRCodeEyeShapeCloud.swift",
"styles/eye/QRCodeEyeShapeCorneredPixels.swift",
"styles/eye/QRCodeEyeShapeDotDrag.swift",
"styles/eye/QRCodeEyeShapeEdges.swift",
"styles/eye/QRCodeEyeShapeExplode.swift",
"styles/eye/QRCodeEyeShapeEye.swift",
"styles/eye/QRCodeEyeShapeFactory.swift",
"styles/eye/QRCodeEyeShapeFireball.swift",
"styles/eye/QRCodeEyeShapeHeadlight.swift",
"styles/eye/QRCodeEyeShapeLeaf.swift",
"styles/eye/QRCodeEyeShapePeacock.swift",
"styles/eye/QRCodeEyeShapePinch.swift",
"styles/eye/QRCodeEyeShapePixels.swift",
"styles/eye/QRCodeEyeShapeRoundedOuter.swift",
"styles/eye/QRCodeEyeShapeRoundedPointingIn.swift",
"styles/eye/QRCodeEyeShapeRoundedPointingOut.swift",
"styles/eye/QRCodeEyeShapeRoundedRect.swift",
"styles/eye/QRCodeEyeShapeShield.swift",
"styles/eye/QRCodeEyeShapeSpikyCircle.swift",
"styles/eye/QRCodeEyeShapeSquare.swift",
"styles/eye/QRCodeEyeShapeSquarePeg.swift",
"styles/eye/QRCodeEyeShapeSquircle.swift",
"styles/eye/QRCodeEyeShapeSurroundingBars.swift",
"styles/eye/QRCodeEyeShapeTeardrop.swift",
"styles/eye/QRCodeEyeShapeUFO.swift",
"styles/eye/QRCodeEyeShapeUFORounded.swift",
"styles/eye/QRCodeEyeShapeUsePixelShape.swift",
"styles/fill/QRCodeFillStyle.swift",
"styles/fill/QRCodeFillStyleFactory.swift",
"styles/fill/QRCodeFillStyleImage.swift",
"styles/fill/QRCodeFillStyleLinearGradient.swift",
"styles/fill/QRCodeFillStyleRadialGradient.swift",
"styles/fill/QRCodeFillStyleSolid.swift",
"styles/pupil/QRCodePupilShape.swift",
"styles/pupil/QRCodePupilShapeBarsHorizontal.swift",
"styles/pupil/QRCodePupilShapeBarsVertical.swift",
"styles/pupil/QRCodePupilShapeBlade.swift",
"styles/pupil/QRCodePupilShapeBlobby.swift",
"styles/pupil/QRCodePupilShapeCRT.swift",
"styles/pupil/QRCodePupilShapeCircle.swift",
"styles/pupil/QRCodePupilShapeCloud.swift",
"styles/pupil/QRCodePupilShapeCorneredPixels.swift",
"styles/pupil/QRCodePupilShapeCross.swift",
"styles/pupil/QRCodePupilShapeCrossCurved.swift",
"styles/pupil/QRCodePupilShapeDotDrag.swift",
"styles/pupil/QRCodePupilShapeEdges.swift",
"styles/pupil/QRCodePupilShapeExplode.swift",
"styles/pupil/QRCodePupilShapeFactory.swift",
"styles/pupil/QRCodePupilShapeForest.swift",
"styles/pupil/QRCodePupilShapeHexagonLeaf.swift",
"styles/pupil/QRCodePupilShapeLeaf.swift",
"styles/pupil/QRCodePupilShapeOrbits.swift",
"styles/pupil/QRCodePupilShapePinch.swift",
"styles/pupil/QRCodePupilShapePixels.swift",
"styles/pupil/QRCodePupilShapeRoundedOuter.swift",
"styles/pupil/QRCodePupilShapeRoundedPointingIn.swift",
"styles/pupil/QRCodePupilShapeRoundedPointingOut.swift",
"styles/pupil/QRCodePupilShapeRoundedRect.swift",
"styles/pupil/QRCodePupilShapeSeal.swift",
"styles/pupil/QRCodePupilShapeShield.swift",
"styles/pupil/QRCodePupilShapeSpikyCircle.swift",
"styles/pupil/QRCodePupilShapeSquare.swift",
"styles/pupil/QRCodePupilShapeSquircle.swift",
"styles/pupil/QRCodePupilShapeTeardrop.swift",
"styles/pupil/QRCodePupilShapeUFO.swift",
"styles/pupil/QRCodePupilShapeUFORounded.swift",
"styles/pupil/QRCodePupilShapeUsePixelShape.swift",
"views/QRCodeDocumentView+AppKit.swift",
"views/QRCodeDocumentView+UIKit.swift",
"views/QRCodeView.swift",
"views/SwiftUI/QRCodeDocumentUIView.swift",
"views/SwiftUI/QRCodeShape.swift",
"views/SwiftUI/QRCodeViewUI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.