The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build QRScanner, reference 2.0.0 (5ff64f), with Swift 6.1 for macOS (SPM) on 4 Jul 2025 12:59:14 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mercari/QRScanner.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mercari/QRScanner
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 5ff64fd Add SwiftUI support for QRScanner framework (#43)
Cloned https://github.com/mercari/QRScanner.git
Revision (git rev-parse @):
5ff64fd19fc1ae1c11a35bba8ac765c940c794b7
SUCCESS checkout https://github.com/mercari/QRScanner.git at 2.0.0
========================================
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",
  "dependencies": [
    {
      "identity": "qrscanner",
      "name": "QRScanner",
      "url": "https://github.com/mercari/QRScanner.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/QRScanner",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mercari/QRScanner.git
[1/521] Fetching qrscanner
Fetched https://github.com/mercari/QRScanner.git from cache (2.82s)
Creating working copy for https://github.com/mercari/QRScanner.git
Working copy of https://github.com/mercari/QRScanner.git resolved at 2.0.0 (5ff64fd)
warning: '.resolve-product-dependencies': dependency 'qrscanner' is not used by any target
Found 0 product dependencies
========================================
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" : {
            }
          }
        }
      ],
      "sources" : [
        "Bundle+Module.swift",
        "QRScannerError.swift",
        "QRScannerSwiftUIView.swift",
        "QRScannerView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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/3] Write sources
[1/3] Copying Images.xcassets
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/9] 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 |
[5/9] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] 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/9] 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/9] 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 |
[9/9] 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
[2/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 |
[3/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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 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 |
[6/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 |
[7/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 |
BUILD FAILURE 6.1 macosSpm