The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ScanKit, reference 1.0.2 (0dbca3), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 05:04:04 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/git-shawn/SwiftUI-ScanKit.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/git-shawn/SwiftUI-ScanKit
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 0dbca34 Fix Orientation & Animation
Cloned https://github.com/git-shawn/SwiftUI-ScanKit.git
Revision (git rev-parse @):
0dbca347a3e794b7a6c27b97af57a40b72385192
SUCCESS checkout https://github.com/git-shawn/SwiftUI-ScanKit.git at 1.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/git-shawn/SwiftUI-ScanKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] ScanKit
[30 / 111]
[33 / 111]
[41 / 111]
[43 / 111]
[44 / 111]
[50 / 111]
[52 / 111]
[54 / 111]
[57 / 111]
[62 / 111]
[65 / 111]
[67 / 111]
[68 / 111]
[79 / 111]
[81 / 111]
[83 / 111]
[89 / 111]
[95 / 111]
[96 / 111]
[102 / 111] ScanKit
[108 / 111] ScanKit
Build complete! (10.62 sec)
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKit.swift:204:9: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
202 |         }
203 |
204 |         Task {
    |         |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |         `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
205 |             try handler.perform([request])
206 |         }
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:323:21: warning: capture of 'self' with non-Sendable type 'ScanKitCamera?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
 33 |
 34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
    |              `- note: class 'ScanKitCamera' does not conform to the 'Sendable' protocol
 35 |     private let captureSession = AVCaptureSession()
 36 |     private var isCaptureSessionConfigured: Bool = false
    :
321 |             if !isCapturing {
322 |                 sessionQueue.async { [weak self] in
323 |                     self?.captureSession.startRunning()
    |                     `- warning: capture of 'self' with non-Sendable type 'ScanKitCamera?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
324 |                 }
325 |             }
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:330:13: warning: capture of 'self' with non-Sendable type 'ScanKitCamera?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 32 | fileprivate let logger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "dev.fromshawn.scankit", category: "ScanKitCamera")
 33 |
 34 | public class ScanKitCamera: NSObject, ObservableObject, AVCaptureVideoDataOutputSampleBufferDelegate {
    |              `- note: class 'ScanKitCamera' does not conform to the 'Sendable' protocol
 35 |     private let captureSession = AVCaptureSession()
 36 |     private var isCaptureSessionConfigured: Bool = false
    :
328 |
329 |         sessionQueue.async { [weak self] in
330 |             self?.configureCaptureSession { success in
    |             `- warning: capture of 'self' with non-Sendable type 'ScanKitCamera?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
331 |                 guard success else { return }
332 |                 self?.captureSession.startRunning()
/Users/admin/builder/spi-builder-workspace/Sources/ScanKit/ScanKitCamera.swift:372:33: warning: 'supportedSymbologies' was deprecated in macOS 12.0 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
370 |     /// An array of symbologies supported by the scanner.
371 |     public var supportedSymbologies: [VNBarcodeSymbology] {
372 |         VNDetectBarcodesRequest.supportedSymbologies
    |                                 `- warning: 'supportedSymbologies' was deprecated in macOS 12.0 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
373 |     }
374 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ScanKit",
  "name" : "ScanKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "ScanKit",
      "targets" : [
        "ScanKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScanKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ScanKitTests",
      "path" : "Tests/ScanKitTests",
      "sources" : [
        "ScanKitTests.swift"
      ],
      "target_dependencies" : [
        "ScanKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScanKit",
      "module_type" : "SwiftTarget",
      "name" : "ScanKit",
      "path" : "Sources/ScanKit",
      "product_memberships" : [
        "ScanKit"
      ],
      "sources" : [
        "NSScanKitPreview.swift",
        "ScanKit.swift",
        "ScanKitCamera.swift",
        "UIScanKitPreview.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.