The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Project7IIIScreenshots, reference main (990910), with Swift 6.2 for Linux on 21 Apr 2026 21:41:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nilsmango/project7III-Screenshots.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/nilsmango/project7III-Screenshots
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 990910f Document Xcode screenshot target setup
Cloned https://github.com/nilsmango/project7III-Screenshots.git
Revision (git rev-parse @):
990910feda8bac3cd7f91884bbc28205b17e8c59
SUCCESS checkout https://github.com/nilsmango/project7III-Screenshots.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nilsmango/project7III-Screenshots.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
warning: No bezels found in /root/.cache/com.nilsmango.Project7IIIScreenshots/AppleDesignResource. Please run the command to download bezels first.
 "swift run Project7IIIScreenshotsCLI download-bezel-image"
[1/1] Compiling plugin RegisterBezelsCommand
Building for debugging...
[1/14] Write sources
[2/14] Copying Localizable.strings
[5/14] Copying Info.plist
[5/14] Write sources
[8/14] Register Dummy Bezel image file
[9/14] Write swift-version-24593BA9C3E375BF.txt
[10/14] Copying AppleDesignResource
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/55] Emitting module Project7IIIScreenshotsCLI
/host/spi-builder-workspace/Sources/Project7IIIScreenshotsCLI/RSSHandler.swift:19:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let urlSession: URLSessionProtocol
18 |
19 |     init(rssURL: URL, urlSession: URLSessionProtocol = URLSession.shared) {
   |                                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         self.rssURL = rssURL
21 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/Project7IIIScreenshotsCLI/BezelImageDownloader.swift:29:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 27 |         dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
 28 |         shell: (() -> ShellProtocol) = { Shell() },
 29 |         urlSession: URLSessionProtocol = URLSession.shared,
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 30 |         additionalDMGURLs: [URL] = []
 31 |     ) {
/host/spi-builder-workspace/Sources/Project7IIIScreenshotsCLI/URLSession+Protocol.swift:13:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | /// Implement this protocol in types that need to perform network requests, such as `URLSession` or mock objects in test cases.
12 | protocol URLSessionProtocol {
13 |     func data(from url: URL) async throws -> (Data, URLResponse)
   |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Project7IIIScreenshotsCLI/URLSession+Protocol.swift:16:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 | }
15 |
16 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
17 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/56] Emitting module Project7IIIScreenshotCore
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[14/60] Compiling Project7IIIScreenshotCore ScaleView.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[15/60] Compiling Project7IIIScreenshotCore ScreenContentView.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[16/60] Compiling Project7IIIScreenshotCore VerticalLinesView.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[17/60] Compiling Project7IIIScreenshotCore VirtualBezelView.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[18/60] Compiling Project7IIIScreenshotsCLI Project7IIIScreenshotsCLI.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotsCLI/RSSHandler.swift:19:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let urlSession: URLSessionProtocol
18 |
19 |     init(rssURL: URL, urlSession: URLSessionProtocol = URLSession.shared) {
   |                                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         self.rssURL = rssURL
21 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/Project7IIIScreenshotsCLI/BezelImageDownloader.swift:29:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 27 |         dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
 28 |         shell: (() -> ShellProtocol) = { Shell() },
 29 |         urlSession: URLSessionProtocol = URLSession.shared,
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 30 |         additionalDMGURLs: [URL] = []
 31 |     ) {
[19/60] Compiling Project7IIIScreenshotsCLI SketchDocument.swift
[20/60] Compiling Project7IIIScreenshotCore Sample.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[21/60] Compiling Project7IIIScreenshotCore Bezel.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[22/60] Compiling Project7IIIScreenshotCore DeviceAppearanceViewModel.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[23/60] Compiling Project7IIIScreenshotCore DeviceScreenViewModel.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[24/60] Compiling Project7IIIScreenshotCore AppScreenshot+Export.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[25/60] Compiling Project7IIIScreenshotCore AppScreenshot+Preview.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[26/60] Compiling Project7IIIScreenshotCore AppScreenshot.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[27/60] Compiling Project7IIIScreenshotCore AppScreenshotConfiguration.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[28/60] Compiling Project7IIIScreenshotCore AppScreenshotDevice.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[29/60] Compiling Project7IIIScreenshotsCLI URLSession+Protocol.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotsCLI/URLSession+Protocol.swift:13:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | /// Implement this protocol in types that need to perform network requests, such as `URLSession` or mock objects in test cases.
12 | protocol URLSessionProtocol {
13 |     func data(from url: URL) async throws -> (Data, URLResponse)
   |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Project7IIIScreenshotsCLI/URLSession+Protocol.swift:16:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 | }
15 |
16 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
17 |
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[30/60] Compiling Project7IIIScreenshotCore AppleDesignResourceBezelDefinition.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[31/60] Compiling Project7IIIScreenshotCore DeviceCategory.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[32/60] Compiling Project7IIIScreenshotCore DeviceColor.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[33/60] Compiling Project7IIIScreenshotCore DeviceModel.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[34/60] Compiling Project7IIIScreenshotCore DeviceOrientation.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[35/60] Compiling Project7IIIScreenshotCore AppScreenshotKitError.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[36/60] Compiling Project7IIIScreenshotCore BezelImageLoader.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[37/60] Compiling Project7IIIScreenshotCore PNGDataConverter.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[38/60] Compiling Project7IIIScreenshotCore DeviceView.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[39/60] Compiling Project7IIIScreenshotCore DeviceViewModel.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[40/60] Compiling Project7IIIScreenshotCore Environments.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[41/60] Compiling Project7IIIScreenshotCore HostingViewWrap.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[44/60] Compiling Project7IIIScreenshotsCLI FileManager+Protocol.swift
[45/60] Compiling Project7IIIScreenshotCore AppScreenshotEnvironment.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[46/60] Compiling Project7IIIScreenshotCore AppScreenshotImageFormat.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[47/60] Compiling Project7IIIScreenshotCore AppScreenshotSize+iPad110Inch.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[48/60] Compiling Project7IIIScreenshotCore AppScreenshotSize+iPad130Inch.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[49/60] Compiling Project7IIIScreenshotCore AppScreenshotSize+iPad97Inch.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[50/60] Compiling Project7IIIScreenshotCore AppScreenshotSize+iPhone61Inch.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[51/60] Compiling Project7IIIScreenshotCore AppScreenshotSize+iPhone63Inch.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[52/60] Compiling Project7IIIScreenshotCore AppScreenshotSize+iPhone69Inch.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
[53/60] Compiling Project7IIIScreenshotCore AppScreenshotSize.swift
/host/spi-builder-workspace/Sources/Project7IIIScreenshotCore/AppScreenshot+Preview.swift:9:8: error: no such module 'SwiftUI'
 7 |
 8 | import Foundation
 9 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
10 |
11 | // MARK: - Preview Extension
/host/spi-builder-workspace/Sources/Project7IIIScreenshotsCLI/RSSHandler.swift:19:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |     let urlSession: URLSessionProtocol
18 |
19 |     init(rssURL: URL, urlSession: URLSessionProtocol = URLSession.shared) {
   |                                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |         self.rssURL = rssURL
21 |         self.urlSession = urlSession
/host/spi-builder-workspace/Sources/Project7IIIScreenshotsCLI/BezelImageDownloader.swift:29:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 27 |         dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
 28 |         shell: (() -> ShellProtocol) = { Shell() },
 29 |         urlSession: URLSessionProtocol = URLSession.shared,
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 30 |         additionalDMGURLs: [URL] = []
 31 |     ) {
BUILD FAILURE 6.2 linux