The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ScanKit, reference 1.0.2 (0dbca3), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 04:23:51 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/git-shawn/SwiftUI-ScanKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/7] Compiling ScanKit NSScanKitPreview.swift
[4/7] Emitting module ScanKit
[5/7] Compiling ScanKit ScanKit.swift
[6/7] Compiling ScanKit UIScanKitPreview.swift
[7/7] Compiling ScanKit ScanKitCamera.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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! (9.06s)
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.