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.1 for Linux on 28 Sep 2025 19:02:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-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.1
Building package at path:  $PWD
https://github.com/shitamori1272/AppScreenshotKit.git
https://github.com/shitamori1272/AppScreenshotKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "601.0.0-latest",
            "upper_bound" : "602.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "AppScreenshotKit",
  "name" : "AppScreenshotKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "AppScreenshotKit",
      "targets" : [
        "AppScreenshotKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AppScreenshotKitTestTools",
      "targets" : [
        "AppScreenshotKitTestTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AppScreenshotKitCLI",
      "targets" : [
        "AppScreenshotKitCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "AppScreenshotMacroPlugin",
      "targets" : [
        "AppScreenshotMacroPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftFormatLintCommand",
      "module_type" : "PluginTarget",
      "name" : "SwiftFormatLintCommand",
      "path" : "Plugins/SwiftFormatLintCommand",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "AppScreenshotKit",
        "AppScreenshotKitTestTools",
        "AppScreenshotKitCLI"
      ],
      "sources" : [
        "SwiftFormatLintCommand.swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "RegisterBezelsCommand",
      "module_type" : "PluginTarget",
      "name" : "RegisterBezelsCommand",
      "path" : "Plugins/RegisterBezelsCommand",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "AppScreenshotKitTestTools"
      ],
      "sources" : [
        "RegisterBezelsCommand.swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "AppScreenshotMacroPlugin",
      "module_type" : "SwiftTarget",
      "name" : "AppScreenshotMacroPlugin",
      "path" : "Sources/AppScreenshotMacroPlugin",
      "product_dependencies" : [
        "SwiftCompilerPlugin",
        "SwiftSyntaxMacros"
      ],
      "product_memberships" : [
        "AppScreenshotKit",
        "AppScreenshotKitTestTools",
        "AppScreenshotMacroPlugin"
      ],
      "sources" : [
        "AppScreenshotMacro.swift",
        "ProvidedMacros.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "AppScreenshotMacro",
      "module_type" : "SwiftTarget",
      "name" : "AppScreenshotMacro",
      "path" : "Sources/AppScreenshotMacro",
      "product_memberships" : [
        "AppScreenshotKit",
        "AppScreenshotKitTestTools"
      ],
      "sources" : [
        "AppScreenshotMacro.swift"
      ],
      "target_dependencies" : [
        "AppScreenshotCore",
        "AppScreenshotMacroPlugin"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppScreenshotKitTests",
      "module_type" : "SwiftTarget",
      "name" : "AppScreenshotKitTests",
      "path" : "Tests/AppScreenshotKitTests",
      "sources" : [
        "AppScreenshotKitTests.swift"
      ],
      "target_dependencies" : [
        "AppScreenshotKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppScreenshotKitTestToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "AppScreenshotKitTestToolsTests",
      "path" : "Tests/AppScreenshotKitTestToolsTests",
      "sources" : [
        "AppScreenshotKitTestToolsTests.swift"
      ],
      "target_dependencies" : [
        "AppScreenshotKitTestTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppScreenshotKitTestTools",
      "module_type" : "SwiftTarget",
      "name" : "AppScreenshotKitTestTools",
      "path" : "Sources/AppScreenshotKitTestTools",
      "product_memberships" : [
        "AppScreenshotKitTestTools"
      ],
      "sources" : [
        "AppScreenshotExporter.swift",
        "AppScreenshotKitUtils.swift"
      ],
      "target_dependencies" : [
        "AppScreenshotKit",
        "RegisterBezelsCommand",
        "SwiftFormatLintCommand"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppScreenshotKitCLITests",
      "module_type" : "SwiftTarget",
      "name" : "AppScreenshotKitCLITests",
      "path" : "Tests/AppScreenshotKitCLITests",
      "sources" : [
        "ArgumentsParserTests.swift",
        "BezelFetcherTests.swift",
        "BezelImageDownloaderTests.swift",
        "DMGHandlerTests.swift",
        "Mocks/DMGHandlerMock.swift",
        "Mocks/DataHelperForTests.swift",
        "Mocks/FileManagerMock.swift",
        "Mocks/RSSHandlerMock.swift",
        "Mocks/ShellMock.swift",
        "Mocks/URLSessionMock.swift",
        "RSSHandlerTests.swift",
        "ShellTests.swift",
        "SketchDocumentTests.swift"
      ],
      "target_dependencies" : [
        "AppScreenshotKitCLI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppScreenshotKitCLI",
      "module_type" : "SwiftTarget",
      "name" : "AppScreenshotKitCLI",
      "path" : "Sources/AppScreenshotKitCLI",
      "product_memberships" : [
        "AppScreenshotKitCLI"
      ],
      "sources" : [
        "AppScreenshotKitCLI.swift",
        "ArgumentsParser.swift",
        "BezelImageDownloader.swift",
        "CLIError.swift",
        "DMGHandler.swift",
        "FileManager+Protocol.swift",
        "RSSHandler.swift",
        "Shell.swift",
        "SketchDocument.swift",
        "URLSession+Protocol.swift"
      ],
      "target_dependencies" : [
        "SwiftFormatLintCommand"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AppScreenshotKit",
      "module_type" : "SwiftTarget",
      "name" : "AppScreenshotKit",
      "path" : "Sources/AppScreenshotKit",
      "product_memberships" : [
        "AppScreenshotKit",
        "AppScreenshotKitTestTools"
      ],
      "sources" : [
        "AppScreenshotKit.swift"
      ],
      "target_dependencies" : [
        "AppScreenshotCore",
        "AppScreenshotMacro"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppScreenshotCore",
      "module_type" : "SwiftTarget",
      "name" : "AppScreenshotCore",
      "path" : "Sources/AppScreenshotCore",
      "product_memberships" : [
        "AppScreenshotKit",
        "AppScreenshotKitTestTools"
      ],
      "sources" : [
        "AppScreenshot+Export.swift",
        "AppScreenshot+Preview.swift",
        "AppScreenshot.swift",
        "Model/AppScreenshotConfiguration.swift",
        "Model/AppScreenshotDevice.swift",
        "Model/AppScreenshotEnvironment.swift",
        "Model/AppScreenshotSize+iPad110Inch.swift",
        "Model/AppScreenshotSize+iPad130Inch.swift",
        "Model/AppScreenshotSize+iPad97Inch.swift",
        "Model/AppScreenshotSize+iPhone61Inch.swift",
        "Model/AppScreenshotSize+iPhone63Inch.swift",
        "Model/AppScreenshotSize+iPhone69Inch.swift",
        "Model/AppScreenshotSize.swift",
        "Model/AppleDesignResourceBezelDefinition.swift",
        "Model/DeviceCategory.swift",
        "Model/DeviceColor.swift",
        "Model/DeviceModel.swift",
        "Model/DeviceOrientation.swift",
        "Utils/AppScreenshotKitError.swift",
        "Utils/BezelImageLoader.swift",
        "Utils/PNGDataConverter.swift",
        "Utils/Sample.swift",
        "View/Bezel.swift",
        "View/DeviceAppearanceViewModel.swift",
        "View/DeviceScreenViewModel.swift",
        "View/DeviceView.swift",
        "View/DeviceViewModel.swift",
        "View/Environments.swift",
        "View/HostingViewWrap.swift",
        "View/ScaleView.swift",
        "View/ScreenContentView.swift",
        "View/SharpView.swift",
        "View/VerticalLinesView.swift",
        "View/VirtualBezelView.swift"
      ],
      "target_dependencies" : [
        "SwiftFormatLintCommand"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72291] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.06s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (7.05s)
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] Register Dummy Bezel image file
[24/49] Copying AppleDesignResource
[25/49] Compiling _SwiftSyntaxCShims dummy.c
[26/49] Write swift-version-24593BA9C3E375BF.txt
[28/98] Emitting module SwiftSyntax600
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
[28/98] swift format lint
[30/98] Compiling SwiftSyntax600 Empty.swift
[31/99] Emitting module SwiftSyntax601
[32/99] Compiling SwiftSyntax601 Empty.swift
[33/100] Emitting module SwiftSyntax509
[34/100] Compiling SwiftSyntax509 Empty.swift
[36/101] Emitting module SwiftSyntax510
[37/101] Compiling SwiftSyntax510 Empty.swift
[40/102] Wrapping AST for SwiftSyntax600 for debugging
[41/102] Wrapping AST for SwiftSyntax601 for debugging
[42/102] Wrapping AST for SwiftSyntax510 for debugging
[43/102] Wrapping AST for SwiftSyntax509 for debugging
[45/166] Compiling SwiftSyntax AbsolutePosition.swift
[46/166] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[47/166] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[48/166] Compiling SwiftSyntax Assert.swift
[49/166] Compiling SwiftSyntax BumpPtrAllocator.swift
[50/166] Compiling SwiftSyntax CommonAncestor.swift
[51/166] Compiling SwiftSyntax Convenience.swift
[52/166] Compiling SwiftSyntax CustomTraits.swift
[53/166] Compiling SwiftSyntax EditorPlaceholder.swift
[54/175] Compiling AppScreenshotKitCLI Shell.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/175] 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
/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/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/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/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/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)
[61/175] 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
14 | }
15 |
16 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
17 |
[62/180] 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
/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/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/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/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/180] Compiling SwiftSyntax SyntaxHashable.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/180] 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
[69/180] 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
[70/180] 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
[71/180] Compiling SwiftSyntax SyntaxArena.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
[72/180] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.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
[73/180] Compiling SwiftSyntax SyntaxChildren.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
[74/180] Compiling SwiftSyntax SyntaxCollection.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: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 |     ) {
[77/180] Compiling AppScreenshotKitCLI DMGHandler.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 |     ) {
[80/180] 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
[81/180] 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
[82/180] 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
[83/180] 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
[84/180] 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
[85/180] 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
[86/180] 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
[87/180] 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
[88/180] 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
[89/180] 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
[90/180] 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
[91/180] 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
[92/180] Compiling SwiftSyntax Syntax.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
[93/180] Compiling AppScreenshotKitCLI SketchDocument.swift
[94/180] Compiling AppScreenshotKitCLI FileManager+Protocol.swift
[95/180] 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
[96/180] 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
[97/180] 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
[98/180] 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
[99/180] 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 |
[107/180] Compiling SwiftSyntax TokenSequence.swift
[108/180] Compiling SwiftSyntax TokenSyntax.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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"
[0/1] Planning build
[1/1] Compiling plugin RegisterBezelsCommand
[2/2] Compiling plugin SwiftFormatLintCommand
Building for debugging...
[2/26] Register Dummy Bezel image file
[3/26] Copying AppleDesignResource
[4/26] Write swift-version-24593BA9C3E375BF.txt
[6/53] Compiling SwiftSyntax510 Empty.swift
[7/53] Emitting module SwiftSyntax510
[8/53] Emitting module SwiftSyntax509
[9/54] Compiling SwiftSyntax509 Empty.swift
[10/64] Emitting module SwiftSyntax601
[11/77] Compiling SwiftSyntax600 Empty.swift
[12/77] Emitting module SwiftSyntax600
[13/78] Compiling SwiftSyntax601 Empty.swift
[17/76] Compiling AppScreenshotKitCLI Shell.swift
[19/77] 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
[20/77] 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
[21/77] 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
[22/77] 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
[23/77] Compiling AppScreenshotKitCLI DMGHandler.swift
[24/77] 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
[25/77] 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
[26/77] 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
[27/77] 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
[28/81] 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
[29/81] 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
[30/81] 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
[31/81] 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
[32/81] 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
[33/81] Compiling AppScreenshotKitCLI FileManager+Protocol.swift
[34/81] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/81] 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
14 | }
15 |
16 | extension URLSession: URLSessionProtocol {}
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
17 |
[36/81] Compiling AppScreenshotKitCLI AppScreenshotKitCLI.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 |     ) {
[37/80] 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
[38/80] 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
[39/80] 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
[40/80] 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
[41/80] 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
[42/80] 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
[43/80] 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
[44/80] 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
[45/80] Compiling AppScreenshotKitCLI ArgumentsParser.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 |     ) {
[46/80] Compiling AppScreenshotKitCLI BezelImageDownloader.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 |     ) {
[47/80] Compiling AppScreenshotKitCLI CLIError.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 |     ) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/80] 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
/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/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/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/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/80] 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
[54/80] 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
[55/80] 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
[56/80] 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
[57/80] 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
[58/80] 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 |
[59/80] 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
[60/80] 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
[61/80] 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
[62/80] 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
[63/80] Compiling AppScreenshotKitCLI SketchDocument.swift
BUILD FAILURE 6.1 linux