Build Information
Failed to build Scanner, reference main (3c5eee
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 13:00:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IBM/ios-scanner.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/IBM/ios-scanner
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3c5eee0 Merge branch 'main' of github.com:IBM/ios-scanner
Cloned https://github.com/IBM/ios-scanner.git
Revision (git rev-parse @):
3c5eee0ce439b6ceb389c6c358061a24f1cac0f4
SUCCESS checkout https://github.com/IBM/ios-scanner.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",
"dependencies": [
{
"identity": "ios-scanner",
"name": "Scanner",
"url": "https://github.com/IBM/ios-scanner.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ios-scanner",
"dependencies": [
]
}
]
}
Fetching https://github.com/IBM/ios-scanner.git
[3/69] Fetching ios-scanner
Fetched https://github.com/IBM/ios-scanner.git from cache (0.63s)
Creating working copy for https://github.com/IBM/ios-scanner.git
Working copy of https://github.com/IBM/ios-scanner.git resolved at main (3c5eee0)
warning: '.resolve-product-dependencies': dependency 'ios-scanner' 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/IBM/ios-scanner.git
https://github.com/IBM/ios-scanner.git
{
"dependencies" : [
],
"manifest_display_name" : "Scanner",
"name" : "Scanner",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Scanner",
"targets" : [
"Scanner"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScannerTests",
"module_type" : "SwiftTarget",
"name" : "ScannerTests",
"path" : "Tests/ScannerTests",
"sources" : [
"Mock/DefaultScannerDelegate.swift",
"ScannerTests.swift"
],
"target_dependencies" : [
"Scanner"
],
"type" : "test"
},
{
"c99name" : "Scanner",
"module_type" : "SwiftTarget",
"name" : "Scanner",
"path" : "Sources/Scanner",
"product_memberships" : [
"Scanner"
],
"sources" : [
"ScanError.swift",
"ScanMode.swift",
"Scanner.swift",
"ScannerCoordinator.swift",
"ScannerDelegate.swift",
"ScannerViewController.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling Scanner ScannerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
[4/9] Compiling Scanner ScannerViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Compiling Scanner Scanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
[6/9] Emitting module Scanner
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
[7/9] Compiling Scanner ScanMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
[8/9] Compiling Scanner ScannerCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
[9/9] Compiling Scanner ScanError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
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/8] Compiling Scanner ScannerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Compiling Scanner ScannerCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
[4/8] Emitting module Scanner
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
[5/8] Compiling Scanner ScanError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
[6/8] Compiling Scanner ScannerViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
[7/8] Compiling Scanner Scanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
[8/8] Compiling Scanner ScanMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scanner/ScannerViewController.swift:10:8: error: no such module 'UIKit'
8 | import AVFoundation
9 | import Foundation
10 | import UIKit
| `- error: no such module 'UIKit'
11 |
12 | #if targetEnvironment(simulator)
BUILD FAILURE 6.1 macosSpm