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 AppScreenshotKit, reference main (76deb0), with Swift 6.2 for Linux on 28 Sep 2025 19:01:07 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shitamori1272/AppScreenshotKit.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/shitamori1272/AppScreenshotKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 76deb04 Support iPhone 17 Series (#11)
Cloned https://github.com/shitamori1272/AppScreenshotKit.git
Revision (git rev-parse @):
76deb0474e213470fa222221ae67cc76b877f1bc
SUCCESS checkout https://github.com/shitamori1272/AppScreenshotKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/shitamori1272/AppScreenshotKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b3eaa5734a03a9b8084848018342ef6c4e4ec1a618756d8de460b693a5f488ea
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72291] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.83s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (7.21s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.45s)
warning: No bezels found in /root/.cache/com.shitamori1272.AppScreenshotKit/AppleDesignResource. Please run the command to download bezels first.
 "swift run AppScreenshotKitCLI download-bezel-image"
[1/1] Compiling plugin RegisterBezelsCommand
[2/2] Compiling plugin SwiftFormatLintCommand
Building for debugging...
[2/18] Write sources
[8/18] Register Dummy Bezel image file
[9/18] Write swift-version-24593BA9C3E375BF.txt
[10/18] Copying AppleDesignResource
Tests/AppScreenshotKitCLITests/Mocks/FileManagerMock.swift:29:1: warning: [LineLength] line is too long
Sources/AppScreenshotCore/Model/DeviceModel.swift:46:76: warning: [AddLines] add 1 line break
[11/62] swift format lint
[13/62] Compiling AppScreenshotMacroPlugin ProvidedMacros.swift
[14/62] Emitting module AppScreenshotMacroPlugin
[15/62] Compiling AppScreenshotMacroPlugin AppScreenshotMacro.swift
[16/63] Wrapping AST for AppScreenshotMacroPlugin for debugging
[17/63] Write Objects.LinkFileList
[18/63] Linking AppScreenshotMacroPlugin-tool
[20/63] Compiling AppScreenshotCore AppScreenshot+Export.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/63] Compiling AppScreenshotCore AppScreenshot+Preview.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/63] Compiling AppScreenshotKitCLI BezelImageDownloader.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/63] Compiling AppScreenshotKitCLI CLIError.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/63] Compiling AppScreenshotCore AppScreenshotDevice.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/63] Emitting module AppScreenshotCore
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore AppScreenshotEnvironment.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore AppScreenshotSize+iPad110Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore AppScreenshotSize+iPad130Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore AppScreenshotSize+iPad97Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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
[30/67] Compiling AppScreenshotCore AppScreenshotSize+iPhone61Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore DeviceCategory.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore DeviceColor.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore DeviceModel.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore DeviceOrientation.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore AppScreenshotSize+iPhone63Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore AppScreenshotSize+iPhone69Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore AppScreenshotSize.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore AppleDesignResourceBezelDefinition.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore AppScreenshotKitError.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore BezelImageLoader.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore PNGDataConverter.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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
[42/67] Compiling AppScreenshotCore Sample.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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
[43/67] Compiling AppScreenshotCore DeviceViewModel.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore Environments.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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
[45/67] Compiling AppScreenshotCore HostingViewWrap.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore ScaleView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore Bezel.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore DeviceAppearanceViewModel.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore DeviceScreenViewModel.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore DeviceView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore ScreenContentView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore SharpView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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/67] Compiling AppScreenshotCore VerticalLinesView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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
[54/67] Compiling AppScreenshotCore VirtualBezelView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/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
[55/67] Compiling AppScreenshotKitCLI Shell.swift
[56/67] Compiling AppScreenshotKitCLI SketchDocument.swift
[57/67] Compiling AppScreenshotKitCLI DMGHandler.swift
[58/67] Compiling AppScreenshotKitCLI RSSHandler.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/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
[59/67] Compiling AppScreenshotKitCLI FileManager+Protocol.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/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/AppScreenshotKitCLI/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/AppScreenshotKitCLI/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/AppScreenshotKitCLI/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 |     ) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/68] Emitting module AppScreenshotKitCLI
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/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/AppScreenshotKitCLI/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/AppScreenshotKitCLI/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/AppScreenshotKitCLI/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>
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/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/AppScreenshotKitCLI/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/AppScreenshotKitCLI/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/AppScreenshotKitCLI/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