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 master (e94bc2), with Swift 6.1 for macOS (SPM) on 4 Jul 2025 12:57:33 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mercari/QRScanner
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e94bc2a update README.md
Cloned https://github.com/mercari/QRScanner.git
Revision (git rev-parse @):
e94bc2a8a8a7ef69f10fc2a11cc763815839719b
SUCCESS checkout https://github.com/mercari/QRScanner.git at master
========================================
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 (1.29s)
Creating working copy for https://github.com/mercari/QRScanner.git
Working copy of https://github.com/mercari/QRScanner.git resolved at master (e94bc2a)
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 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 |
[9/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 |
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] 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 |
[3/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 |
[4/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 |
[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 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 |
[7/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 |
BUILD FAILURE 6.1 macosSpm