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 (742587), with Swift 6.0 for Linux on 31 May 2025 04:57:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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 7425878 Update README.md to reflect changes in @AppScreenshot usage and clari… (#8)
Cloned https://github.com/shitamori1272/AppScreenshotKit.git
Revision (git rev-parse @):
7425878f25340268980b31e8219a5d63fc363b3d
SUCCESS checkout https://github.com/shitamori1272/AppScreenshotKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/shitamori1272/AppScreenshotKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:eaa733228b13fb63f7b48fc0ae9a4552a427b7215d37e5caded5aa10021734d9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70541] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.67s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.40s)
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
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/49] Write sources
[23/49] Compiling _SwiftSyntaxCShims dummy.c
[24/49] Register Dummy Bezel image file
[25/49] Write swift-version-24593BA9C3E375BF.txt
[26/49] Copying AppleDesignResource
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
Tests/AppScreenshotKitCLITests/BezelImageDownloaderTests.swift:8:16: warning: [AlwaysUseLowerCamelCase] rename the function 'test_init_and_properties' using lowerCamelCase
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
Tests/AppScreenshotKitCLITests/DMGHandlerTests.swift:22:16: warning: [AlwaysUseLowerCamelCase] rename the function 'init_and_properties' using lowerCamelCase
Tests/AppScreenshotKitCLITests/DMGHandlerTests.swift:26:16: warning: [AlwaysUseLowerCamelCase] rename the function 'mount_should_call_handler' using lowerCamelCase
Tests/AppScreenshotKitCLITests/DMGHandlerTests.swift:50:16: warning: [AlwaysUseLowerCamelCase] rename the function 'mount_should_attach_and_detach_dmg' using lowerCamelCase
Tests/AppScreenshotKitCLITests/DMGHandlerTests.swift:79:16: warning: [AlwaysUseLowerCamelCase] rename the function 'mount_should_still_detach_even_if_handler_throws' using lowerCamelCase
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
Tests/AppScreenshotKitCLITests/ShellTests.swift:8:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_unzip_command_arguments' using lowerCamelCase
Tests/AppScreenshotKitCLITests/ShellTests.swift:18:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_detachDmg_command_arguments' using lowerCamelCase
Tests/AppScreenshotKitCLITests/ShellTests.swift:29:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_attachDmg_command_arguments' using lowerCamelCase
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
Tests/AppScreenshotKitCLITests/SketchDocumentTests.swift:8:10: warning: [AlwaysUseLowerCamelCase] rename the function 'imageNameMap_returnsCorrectMap' using lowerCamelCase
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
Tests/AppScreenshotKitCLITests/RSSHandlerTests.swift:11:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_fetch_success' using lowerCamelCase
Tests/AppScreenshotKitCLITests/RSSHandlerTests.swift:44:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_fetch_invalidUtf8Data' using lowerCamelCase
Tests/AppScreenshotKitCLITests/RSSHandlerTests.swift:80:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_fetch_noDmgLinkFound' using lowerCamelCase
Tests/AppScreenshotKitCLITests/RSSHandlerTests.swift:127:10: warning: [AlwaysUseLowerCamelCase] rename the function 'test_fetch_networkError' using lowerCamelCase
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: AvoidRetroactiveConformances
<unknown>: warning: Configuration contains an unrecognized rule: NoEmptyLinesOpeningClosingBraces
[27/49] swift format lint
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/98] 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:28:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 26 |         dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
 27 |         shell: (() -> ShellProtocol) = { Shell() },
 28 |         urlSession: URLSessionProtocol = URLSession.shared
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 29 |     ) {
 30 |         self.fileManager = fileManager
/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
14 | }
15 |
16 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
17 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/99] 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
[31/103] Emitting module SwiftSyntax600
[32/103] Compiling SwiftSyntax600 Empty.swift
[34/104] Emitting module SwiftSyntax601
[35/104] Compiling SwiftSyntax601 Empty.swift
[36/105] 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
[37/105] 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
[38/105] 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
[39/105] 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
[40/105] Emitting module SwiftSyntax510
[41/105] Compiling SwiftSyntax510 Empty.swift
[42/105] Emitting module SwiftSyntax509
[43/105] Compiling SwiftSyntax509 Empty.swift
[43/106] Wrapping AST for SwiftSyntax600 for debugging
[46/107] Wrapping AST for SwiftSyntax601 for debugging
[48/107] Wrapping AST for SwiftSyntax510 for debugging
[49/107] Wrapping AST for SwiftSyntax509 for debugging
[51/171] Compiling SwiftSyntax AbsolutePosition.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/171] Compiling SwiftSyntax AbsoluteRawSyntax.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/171] Compiling SwiftSyntax AbsoluteSyntaxInfo.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/171] Compiling SwiftSyntax Assert.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/171] Compiling SwiftSyntax BumpPtrAllocator.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
[56/171] Compiling AppScreenshotKitCLI URLSession+Protocol.swift
/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
14 | }
15 |
16 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
17 |
[57/171] Compiling SwiftSyntax RawSyntaxNodeProtocol.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
[58/171] Compiling SwiftSyntax RawSyntaxTokenView.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
[59/171] Compiling SwiftSyntax SourceEdit.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
[60/171] Compiling SwiftSyntax SourceLength.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
[61/171] Compiling SwiftSyntax SyntaxIdentifier.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
[62/171] Compiling SwiftSyntax SyntaxNodeFactory.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
[63/171] Compiling SwiftSyntax SyntaxNodeStructure.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
[64/171] Compiling SwiftSyntax SyntaxProtocol.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
[65/171] Compiling SwiftSyntax MemoryLayout.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
[66/171] Compiling SwiftSyntax MissingNodeInitializers.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
[67/171] Compiling SwiftSyntax RawSyntax.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
[68/171] Compiling SwiftSyntax RawSyntaxLayoutView.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
/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:28:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 26 |         dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
 27 |         shell: (() -> ShellProtocol) = { Shell() },
 28 |         urlSession: URLSessionProtocol = URLSession.shared
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 29 |     ) {
 30 |         self.fileManager = fileManager
/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:28:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 26 |         dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
 27 |         shell: (() -> ShellProtocol) = { Shell() },
 28 |         urlSession: URLSessionProtocol = URLSession.shared
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 29 |     ) {
 30 |         self.fileManager = fileManager
[71/171] Compiling AppScreenshotKitCLI SketchDocument.swift
[72/171] Compiling AppScreenshotKitCLI Shell.swift
[73/171] 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
[74/171] Compiling SwiftSyntax CommonAncestor.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
[75/171] Compiling SwiftSyntax Convenience.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
[76/171] Compiling SwiftSyntax CustomTraits.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
[77/171] Compiling SwiftSyntax EditorPlaceholder.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
[78/171] Compiling SwiftSyntax Identifier.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
[79/171] Compiling SwiftSyntax TokenSyntax.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
[80/171] Compiling SwiftSyntax SourceLocation.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
[81/171] Compiling SwiftSyntax SourcePresence.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
[82/171] Compiling SwiftSyntax SwiftSyntaxCompatibility.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
[83/171] Compiling SwiftSyntax SyntaxText.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
[84/171] Compiling SwiftSyntax SyntaxTreeViewMode.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
[85/171] Compiling SwiftSyntax TokenDiagnostic.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
[86/171] Compiling SwiftSyntax TokenSequence.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
/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:28:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 26 |         dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
 27 |         shell: (() -> ShellProtocol) = { Shell() },
 28 |         urlSession: URLSessionProtocol = URLSession.shared
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 29 |     ) {
 30 |         self.fileManager = fileManager
/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:28:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 26 |         dmgHandler: ((URL) -> DMGHandlerProtocol) = { DMGHandler(mountPointURL: $0) },
 27 |         shell: (() -> ShellProtocol) = { Shell() },
 28 |         urlSession: URLSessionProtocol = URLSession.shared
    |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 29 |     ) {
 30 |         self.fileManager = fileManager
[89/171] Compiling AppScreenshotKitCLI DMGHandler.swift
BUILD FAILURE 6.0 linux