The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ScanKit, reference main (bd732d), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 15:40:36 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/git-shawn/SwiftUI-ScanKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/git-shawn/SwiftUI-ScanKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bd732d6 Remove print
Cloned https://github.com/git-shawn/SwiftUI-ScanKit.git
Revision (git rev-parse @):
bd732d6e3c11d22c4ff1a4fc5e73a3a529963a3a
SUCCESS checkout https://github.com/git-shawn/SwiftUI-ScanKit.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swiftui-scankit",
      "name": "ScanKit",
      "url": "https://github.com/git-shawn/SwiftUI-ScanKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI-ScanKit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/git-shawn/SwiftUI-ScanKit.git
[1/54] Fetching swiftui-scankit
Fetched https://github.com/git-shawn/SwiftUI-ScanKit.git from cache (0.76s)
Creating working copy for https://github.com/git-shawn/SwiftUI-ScanKit.git
Working copy of https://github.com/git-shawn/SwiftUI-ScanKit.git resolved at main (bd732d6)
warning: '.resolve-product-dependencies': dependency 'swiftui-scankit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/git-shawn/SwiftUI-ScanKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/7] Compiling ScanKit UIScanKitPreview.swift
[4/7] Compiling ScanKit NSScanKitPreview.swift
[5/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>
[6/7] Emitting module ScanKit
[7/7] Compiling ScanKit ScanKit.swift
Build complete! (12.34s)
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.