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 swift-html-to-pdf, reference 0.4.0 (445d92), with Swift 6.1 for Wasm on 30 May 2025 12:13:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coenttb/swift-html-to-pdf.git
Reference: 0.4.0
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/coenttb/swift-html-to-pdf
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 445d920 This commit makes several key improvements to the PDF generation functionality:
Cloned https://github.com/coenttb/swift-html-to-pdf.git
Revision (git rev-parse @):
445d920c28b4b62d3208763511794253fd7c9e15
SUCCESS checkout https://github.com/coenttb/swift-html-to-pdf.git at 0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/coenttb/swift-html-to-pdf.git
https://github.com/coenttb/swift-html-to-pdf.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-dependencies",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-dependencies"
    }
  ],
  "manifest_display_name" : "swift-html-to-pdf",
  "name" : "swift-html-to-pdf",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "HtmlToPdf",
      "targets" : [
        "HtmlToPdf"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "HtmlToPdfTests",
      "module_type" : "SwiftTarget",
      "name" : "HtmlToPdfTests",
      "path" : "Tests/HtmlToPdfTests",
      "sources" : [
        "HtmlToPdfTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "HtmlToPdf"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HtmlToPdf",
      "module_type" : "SwiftTarget",
      "name" : "HtmlToPdf",
      "path" : "Sources/HtmlToPdf",
      "product_dependencies" : [
        "Dependencies"
      ],
      "product_memberships" : [
        "HtmlToPdf"
      ],
      "sources" : [
        "HtmlToPdf-AsyncStream.swift",
        "HtmlToPdf.swift",
        "NSPrintOperation.swift",
        "UIPrintPageRenderer.swift",
        "WebViewPool.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/pointfreeco/swift-dependencies
[1/6249] Fetching swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.61s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (1.49s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/2410] Fetching combine-schedulers
[98/3262] Fetching combine-schedulers, swift-concurrency-extras
[618/4554] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
[3451/10012] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.82s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.84s)
[5522/7868] Fetching combine-schedulers, xctest-dynamic-overlay
[7869/78364] Fetching combine-schedulers, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.50s)
[8050/72906] Fetching combine-schedulers, swift-syntax
Fetched https://github.com/pointfreeco/combine-schedulers from cache (8.25s)
Fetched https://github.com/swiftlang/swift-syntax from cache (8.30s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (9.23s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.64s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.82s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.96s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (2.97s)
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.2
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/38] Compiling ConcurrencyExtras Result.swift
[10/39] Compiling IssueReporting TestContext.swift
[11/39] Compiling IssueReporting Unimplemented.swift
[12/41] Compiling IssueReporting XCTest.swift
[13/41] Compiling IssueReporting IsTesting.swift
[14/41] Compiling IssueReporting IssueReporter.swift
[15/41] Compiling ConcurrencyExtras UncheckedSendable.swift
[16/41] Compiling IssueReporting WithExpectedIssue.swift
[17/41] Compiling IssueReporting WithIssueContext.swift
[18/41] Compiling IssueReporting BreakpointReporter.swift
[19/41] Compiling IssueReporting FatalErrorReporter.swift
[20/41] Compiling IssueReporting RuntimeWarningReporter.swift
[21/41] Compiling IssueReporting ReportIssue.swift
[22/41] Compiling ConcurrencyExtras Task.swift
[23/41] Emitting module IssueReporting
[24/41] Compiling ConcurrencyExtras MainSerialExecutor.swift
[25/41] Compiling ConcurrencyExtras LockIsolated.swift
[26/41] Compiling IssueReporting ErrorReporting.swift
[27/41] Compiling IssueReporting AppHostWarning.swift
[28/41] Compiling IssueReporting Deprecations.swift
[29/41] Compiling IssueReporting FailureObserver.swift
[30/41] Compiling IssueReporting LockIsolated.swift
[31/41] Compiling IssueReporting Rethrows.swift
[32/41] Compiling IssueReporting SwiftTesting.swift
[33/41] Compiling IssueReporting UncheckedSendable.swift
[34/41] Compiling IssueReporting Warn.swift
[37/42] Emitting module ConcurrencyExtras
[44/66] Compiling XCTestDynamicOverlay Exports.swift
[45/66] Emitting module CombineSchedulers
[46/67] Compiling Clocks Timer.swift
[47/67] Compiling CombineSchedulers UIScheduler.swift
[48/67] Compiling CombineSchedulers Lock.swift
[49/67] Compiling CombineSchedulers NSRecursiveLock.swift
[50/67] Compiling CombineSchedulers SwiftUI.swift
[51/67] Compiling CombineSchedulers TestScheduler.swift
[52/67] Compiling CombineSchedulers Timer.swift
[53/68] Compiling CombineSchedulers ImmediateScheduler.swift
[54/68] Compiling CombineSchedulers Deprecations.swift
[55/68] Compiling CombineSchedulers AnyScheduler.swift
[56/68] Compiling CombineSchedulers Concurrency.swift
[57/68] Compiling Clocks Lock.swift
[58/68] Compiling CombineSchedulers UIKit.swift
[59/68] Compiling Clocks SwiftUI.swift
[60/68] Compiling CombineSchedulers UnimplementedScheduler.swift
[61/69] Compiling Clocks ImmediateClock.swift
[62/69] Compiling Clocks AnyClock.swift
[63/69] Emitting module Clocks
[65/69] Compiling XCTestDynamicOverlay Deprecations.swift
[66/69] Emitting module XCTestDynamicOverlay
[68/70] Compiling Clocks UnimplementedClock.swift
[69/70] Compiling Clocks _AsyncTimerSequence.swift
[70/70] Compiling Clocks TestClock.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/94] Emitting module Dependencies
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
[73/97] Compiling Dependencies OpenURL.swift
[74/97] Compiling Dependencies TimeZone.swift
[75/97] Compiling Dependencies URLSession.swift
[76/97] Compiling Dependencies Context.swift
[77/97] Compiling Dependencies Date.swift
[78/97] Compiling Dependencies FireAndForget.swift
[79/97] Compiling Dependencies Deprecations.swift
[80/97] Compiling Dependencies Exports.swift
[81/97] Compiling Dependencies TypeName.swift
[82/97] Compiling Dependencies Locale.swift
[83/97] Compiling Dependencies MainQueue.swift
[84/97] Compiling Dependencies MainRunLoop.swift
[85/97] Compiling Dependencies UUID.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
[86/97] Compiling Dependencies WithRandomNumberGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
[87/97] Compiling Dependencies AppEntryPoint.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
[88/97] Compiling Dependencies Assert.swift
[89/97] Compiling Dependencies Calendar.swift
[90/97] Compiling Dependencies Clocks.swift
[91/97] Compiling Dependencies Dependency.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
[92/97] Compiling Dependencies DependencyContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
[93/97] Compiling Dependencies DependencyKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
[94/97] Compiling Dependencies DependencyValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
[95/97] Compiling Dependencies PreviewTrait.swift
[96/97] Compiling Dependencies TestTrait.swift
[97/97] Compiling Dependencies WithDependencies.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/HtmlToPdfTests/HtmlToPdf.xctestplan
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/31] Compiling ConcurrencyExtras UncheckedBox.swift
[3/31] Compiling ConcurrencyExtras AsyncStream.swift
[4/31] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[5/31] Compiling ConcurrencyExtras ActorIsolated.swift
[6/31] Compiling ConcurrencyExtras AnyHashableSendable.swift
[7/31] Compiling ConcurrencyExtras Locking.swift
[8/33] Compiling ConcurrencyExtras Result.swift
[9/33] Compiling ConcurrencyExtras Task.swift
[10/33] Compiling ConcurrencyExtras LockIsolated.swift
[13/33] Compiling ConcurrencyExtras MainSerialExecutor.swift
[16/34] Emitting module ConcurrencyExtras
[19/34] Compiling IssueReporting RuntimeWarningReporter.swift
[20/34] Compiling IssueReporting ReportIssue.swift
[21/34] Compiling IssueReporting BreakpointReporter.swift
[22/34] Compiling IssueReporting FatalErrorReporter.swift
[23/34] Compiling IssueReporting XCTest.swift
[24/34] Compiling IssueReporting IsTesting.swift
[25/34] Compiling IssueReporting IssueReporter.swift
[26/34] Compiling IssueReporting TestContext.swift
[27/34] Compiling IssueReporting Unimplemented.swift
[28/34] Compiling ConcurrencyExtras UncheckedSendable.swift
[30/35] Emitting module IssueReporting
[31/35] Compiling IssueReporting SwiftTesting.swift
[32/35] Compiling IssueReporting UncheckedSendable.swift
[33/35] Compiling IssueReporting Warn.swift
[34/35] Compiling IssueReporting WithExpectedIssue.swift
[35/35] Compiling IssueReporting WithIssueContext.swift
[37/51] Compiling XCTestDynamicOverlay Exports.swift
[38/58] Compiling CombineSchedulers UIScheduler.swift
[39/60] Emitting module CombineSchedulers
[40/60] Compiling CombineSchedulers Timer.swift
[41/60] Emitting module XCTestDynamicOverlay
[42/60] Compiling CombineSchedulers Lock.swift
[43/60] Compiling CombineSchedulers NSRecursiveLock.swift
[44/60] Compiling CombineSchedulers AnyScheduler.swift
[45/60] Compiling CombineSchedulers Concurrency.swift
[46/60] Compiling Clocks Lock.swift
[47/60] Compiling CombineSchedulers ImmediateScheduler.swift
[48/60] Compiling CombineSchedulers Deprecations.swift
[49/60] Compiling CombineSchedulers UIKit.swift
[50/61] Compiling CombineSchedulers UnimplementedScheduler.swift
[51/61] Compiling Clocks Timer.swift
[52/61] Compiling CombineSchedulers SwiftUI.swift
[53/61] Compiling CombineSchedulers TestScheduler.swift
[54/62] Compiling Clocks AnyClock.swift
[55/62] Compiling Clocks ImmediateClock.swift
[56/62] Emitting module Clocks
[57/62] Compiling Clocks _AsyncTimerSequence.swift
[59/62] Compiling XCTestDynamicOverlay Deprecations.swift
[60/63] Compiling Clocks SwiftUI.swift
[61/63] Compiling Clocks TestClock.swift
[63/63] Compiling Clocks UnimplementedClock.swift
[65/87] Compiling Dependencies Locale.swift
[66/87] Compiling Dependencies MainQueue.swift
[67/87] Compiling Dependencies MainRunLoop.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/87] Emitting module Dependencies
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
[69/90] Compiling Dependencies Context.swift
[70/90] Compiling Dependencies Date.swift
[71/90] Compiling Dependencies FireAndForget.swift
[72/90] Compiling Dependencies Deprecations.swift
[73/90] Compiling Dependencies Exports.swift
[74/90] Compiling Dependencies TypeName.swift
[75/90] Compiling Dependencies Assert.swift
[76/90] Compiling Dependencies Calendar.swift
[77/90] Compiling Dependencies Clocks.swift
[78/90] Compiling Dependencies OpenURL.swift
[79/90] Compiling Dependencies TimeZone.swift
[80/90] Compiling Dependencies URLSession.swift
[81/90] Compiling Dependencies UUID.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
[82/90] Compiling Dependencies WithRandomNumberGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
[83/90] Compiling Dependencies AppEntryPoint.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/Internal/AppEntryPoint.swift:3:11: error: cannot find type 'Thread' in scope
 1 | import Foundation
 2 |
 3 | extension Thread {
   |           `- error: cannot find type 'Thread' in scope
 4 |   static var isPreviewAppEntryPoint: Bool {
 5 |     guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
[84/90] Compiling Dependencies Dependency.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
[85/90] Compiling Dependencies DependencyContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
[86/90] Compiling Dependencies DependencyKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
[87/90] Compiling Dependencies DependencyValues.swift
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:285:33: error: cannot find 'Thread' in scope
283 |     set {
284 |       if DependencyValues.isPreparing {
285 |         if context == .preview, Thread.isPreviewAppEntryPoint {
    |                                 `- error: cannot find 'Thread' in scope
286 |           reportIssue("Ignoring dependencies prepared in preview app entry point")
287 |           return
/host/spi-builder-workspace/.build/checkouts/swift-dependencies/Sources/Dependencies/DependencyValues.swift:577:14: error: cannot find 'Thread' in scope
575 |           value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
576 |         case .preview:
577 |           if Thread.isPreviewAppEntryPoint {
    |              `- error: cannot find 'Thread' in scope
578 |             return Key.previewValue
579 |           }
[88/90] Compiling Dependencies PreviewTrait.swift
[89/90] Compiling Dependencies TestTrait.swift
[90/90] Compiling Dependencies WithDependencies.swift
BUILD FAILURE 6.1 wasm