The Swift Package Index logo.Swift Package Index

Build Information

Failed to build QRScanner, reference 2.0.1 (f5f98c), with Swift 6.1 for macOS (SPM) on 21 Dec 2025 11:54:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mercari/QRScanner.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mercari/QRScanner
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at f5f98ce Add PrivacyInfo.xcprivacy for Apple privacy manifest compliance (#44)
Cloned https://github.com/mercari/QRScanner.git
Revision (git rev-parse @):
f5f98ce30e642226cf281b281a7825f7beae3402
SUCCESS checkout https://github.com/mercari/QRScanner.git at 2.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mercari/QRScanner.git
https://github.com/mercari/QRScanner.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "QRScanner",
  "name" : "QRScanner",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "QRScanner",
      "targets" : [
        "QRScanner"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "QRScanner",
      "module_type" : "SwiftTarget",
      "name" : "QRScanner",
      "path" : "QRScanner",
      "product_memberships" : [
        "QRScanner"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/QRScanner/Images.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/QRScanner/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Bundle+Module.swift",
        "QRScannerError.swift",
        "QRScannerSwiftUIView.swift",
        "QRScannerView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
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
Building for debugging...
[0/4] Write sources
[1/4] Copying PrivacyInfo.xcprivacy
[2/4] Copying Images.xcassets
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/10] Compiling QRScanner resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Emitting module QRScanner
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[7/10] Compiling QRScanner Bundle+Module.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[8/10] Compiling QRScanner QRScannerView.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[9/10] Compiling QRScanner QRScannerError.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[10/10] Compiling QRScanner QRScannerSwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Compiling QRScanner QRScannerSwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[3/7] Compiling QRScanner QRScannerError.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[4/7] Compiling QRScanner Bundle+Module.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[5/7] Compiling QRScanner resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[6/7] Compiling QRScanner QRScannerView.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
[7/7] Emitting module QRScanner
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import AVFoundation
 11 |
BUILD FAILURE 6.1 macosSpm