The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-justhtml, reference 0.4.6 (2f06b5), with Swift 6.1 for Wasm on 1 Jul 2026 07:09:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kylehowells/swift-justhtml.git
Reference: 0.4.6
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/kylehowells/swift-justhtml
 * tag               0.4.6      -> FETCH_HEAD
HEAD is now at 2f06b50 Bump package examples to 0.4.6
Cloned https://github.com/kylehowells/swift-justhtml.git
Revision (git rev-parse @):
2f06b50f3c4ca512549966f90552cbb237c1fceb
SUCCESS checkout https://github.com/kylehowells/swift-justhtml.git at 0.4.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kylehowells/swift-justhtml.git
https://github.com/kylehowells/swift-justhtml.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2325] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.77s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/29] Write sources
[9/29] Write swift-version-24593BA9C3E375BF.txt
[11/43] Compiling justhtml TreeBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/44] Compiling justhtml Tokenizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/44] Compiling justhtml Tokens.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/44] Compiling justhtml Selector.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/44] Compiling justhtml Serialize.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/44] Compiling justhtml HTMLStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/44] Compiling justhtml JustHTML.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/44] Compiling justhtml Node.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/44] Compiling justhtml ParserLimits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/44] Compiling justhtml swift_justhtml.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/44] Emitting module justhtml
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/44] Compiling justhtml Constants.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/44] Compiling justhtml Encoding.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/44] Compiling justhtml Entities.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/44] Compiling justhtml EntitiesData.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/45] Wrapping AST for justhtml for debugging
[28/57] Emitting module HTML2MD
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/57] Compiling HTML2MD main.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/58] Compiling FetchPage main.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Examples/fetchpage/main.swift:66:16: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 | final class FetchResult: @unchecked Sendable {
 65 | 	var data: Data? = nil
 66 | 	var response: URLResponse? = nil
    |                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 | 	var error: Error? = nil
 68 | }
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/Examples/fetchpage/main.swift:76:16: error: cannot find 'URLRequest' in scope
 74 | 	}
 75 |
 76 | 	var request = URLRequest(url: url)
    |                `- error: cannot find 'URLRequest' in scope
 77 | 	request.timeoutInterval = 30
 78 |
/host/spi-builder-workspace/Examples/fetchpage/main.swift:79:18: error: cannot find 'DispatchSemaphore' in scope
 77 | 	request.timeoutInterval = 30
 78 |
 79 | 	let semaphore = DispatchSemaphore(value: 0)
    |                  `- error: cannot find 'DispatchSemaphore' in scope
 80 | 	let result = FetchResult()
 81 |
/host/spi-builder-workspace/Examples/fetchpage/main.swift:82:24: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 | 	let result = FetchResult()
 81 |
 82 | 	let task = URLSession.shared.dataTask(with: request) { data, response, error in
    |                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 83 | 		result.data = data
 84 | 		result.response = response
/host/spi-builder-workspace/Examples/fetchpage/main.swift:84:21: error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
 82 | 	let task = URLSession.shared.dataTask(with: request) { data, response, error in
 83 | 		result.data = data
 84 | 		result.response = response
    |                     `- error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
 85 | 		result.error = error
 86 | 		semaphore.signal()
/host/spi-builder-workspace/Examples/fetchpage/main.swift:99:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 97 | 	}
 98 |
 99 | 	guard let httpResponse = result.response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
100 | 		throw NSError(domain: "fetchpage", code: 2, userInfo: [NSLocalizedDescriptionKey: "Not an HTTP response"])
101 | 	}
/host/spi-builder-workspace/Examples/fetchpage/main.swift:99:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 | 	}
 98 |
 99 | 	guard let httpResponse = result.response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | 		throw NSError(domain: "fetchpage", code: 2, userInfo: [NSLocalizedDescriptionKey: "Not an HTTP response"])
101 | 	}
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Examples/fetchpage/main.swift:103:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
101 | 	}
102 |
103 | 	guard (200 ... 299).contains(httpResponse.statusCode) else {
    |                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
104 | 		throw NSError(
105 | 			domain: "fetchpage", code: 3,
/host/spi-builder-workspace/Examples/fetchpage/main.swift:106:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
104 | 		throw NSError(
105 | 			domain: "fetchpage", code: 3,
106 | 			userInfo: [NSLocalizedDescriptionKey: "HTTP \(httpResponse.statusCode)"])
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
107 | 	}
108 |
/host/spi-builder-workspace/Examples/fetchpage/main.swift:111:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
109 | 	// Determine encoding from Content-Type header, default to UTF-8
110 | 	var encoding = String.Encoding.utf8
111 | 	if let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type"),
    |                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
112 | 	   contentType.lowercased().contains("charset=iso-8859-1")
113 | 	{
/host/spi-builder-workspace/Examples/fetchpage/main.swift:122:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
120 |
121 | 	// Return final URL (after redirects)
122 | 	let finalURL = httpResponse.url ?? url
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
123 | 	return (html, finalURL)
124 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/58] Emitting module FetchPage
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Examples/fetchpage/main.swift:66:16: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 | final class FetchResult: @unchecked Sendable {
 65 | 	var data: Data? = nil
 66 | 	var response: URLResponse? = nil
    |                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 | 	var error: Error? = nil
 68 | }
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
[32/58] Emitting module HTMLTool
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/58] Emitting module Benchmark
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/58] Emitting module SwiftJustHTMLFuzz
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[35/58] Emitting module ExtractLinks
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/22] Write swift-version-24593BA9C3E375BF.txt
[4/36] Compiling justhtml HTMLStream.swift
[5/36] Compiling justhtml JustHTML.swift
[6/37] Compiling justhtml swift_justhtml.swift
[7/37] Compiling justhtml TreeBuilder.swift
[8/37] Compiling justhtml Node.swift
[9/37] Compiling justhtml ParserLimits.swift
[10/37] Compiling justhtml Tokenizer.swift
[11/37] Compiling justhtml Tokens.swift
[12/37] Compiling justhtml Selector.swift
[13/37] Compiling justhtml Serialize.swift
[14/37] Compiling justhtml Entities.swift
[15/37] Compiling justhtml EntitiesData.swift
[16/37] Emitting module justhtml
[17/37] Compiling justhtml Constants.swift
[18/37] Compiling justhtml Encoding.swift
[20/49] Emitting module HTMLTool
[21/49] Emitting module Benchmark
[22/49] Emitting module HTML2MD
[23/49] Compiling HTML2MD main.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/50] Emitting module FetchPage
/host/spi-builder-workspace/Examples/fetchpage/main.swift:66:16: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 | final class FetchResult: @unchecked Sendable {
 65 | 	var data: Data? = nil
 66 | 	var response: URLResponse? = nil
    |                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 | 	var error: Error? = nil
 68 | }
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
[25/50] Compiling FetchPage main.swift
/host/spi-builder-workspace/Examples/fetchpage/main.swift:66:16: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 | final class FetchResult: @unchecked Sendable {
 65 | 	var data: Data? = nil
 66 | 	var response: URLResponse? = nil
    |                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 | 	var error: Error? = nil
 68 | }
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/Examples/fetchpage/main.swift:76:16: error: cannot find 'URLRequest' in scope
 74 | 	}
 75 |
 76 | 	var request = URLRequest(url: url)
    |                `- error: cannot find 'URLRequest' in scope
 77 | 	request.timeoutInterval = 30
 78 |
/host/spi-builder-workspace/Examples/fetchpage/main.swift:79:18: error: cannot find 'DispatchSemaphore' in scope
 77 | 	request.timeoutInterval = 30
 78 |
 79 | 	let semaphore = DispatchSemaphore(value: 0)
    |                  `- error: cannot find 'DispatchSemaphore' in scope
 80 | 	let result = FetchResult()
 81 |
/host/spi-builder-workspace/Examples/fetchpage/main.swift:82:24: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 | 	let result = FetchResult()
 81 |
 82 | 	let task = URLSession.shared.dataTask(with: request) { data, response, error in
    |                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 83 | 		result.data = data
 84 | 		result.response = response
/host/spi-builder-workspace/Examples/fetchpage/main.swift:84:21: error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
 82 | 	let task = URLSession.shared.dataTask(with: request) { data, response, error in
 83 | 		result.data = data
 84 | 		result.response = response
    |                     `- error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
 85 | 		result.error = error
 86 | 		semaphore.signal()
/host/spi-builder-workspace/Examples/fetchpage/main.swift:99:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 97 | 	}
 98 |
 99 | 	guard let httpResponse = result.response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
100 | 		throw NSError(domain: "fetchpage", code: 2, userInfo: [NSLocalizedDescriptionKey: "Not an HTTP response"])
101 | 	}
/host/spi-builder-workspace/Examples/fetchpage/main.swift:99:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 | 	}
 98 |
 99 | 	guard let httpResponse = result.response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | 		throw NSError(domain: "fetchpage", code: 2, userInfo: [NSLocalizedDescriptionKey: "Not an HTTP response"])
101 | 	}
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Examples/fetchpage/main.swift:103:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
101 | 	}
102 |
103 | 	guard (200 ... 299).contains(httpResponse.statusCode) else {
    |                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
104 | 		throw NSError(
105 | 			domain: "fetchpage", code: 3,
/host/spi-builder-workspace/Examples/fetchpage/main.swift:106:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
104 | 		throw NSError(
105 | 			domain: "fetchpage", code: 3,
106 | 			userInfo: [NSLocalizedDescriptionKey: "HTTP \(httpResponse.statusCode)"])
    |                                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
107 | 	}
108 |
/host/spi-builder-workspace/Examples/fetchpage/main.swift:111:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
109 | 	// Determine encoding from Content-Type header, default to UTF-8
110 | 	var encoding = String.Encoding.utf8
111 | 	if let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type"),
    |                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
112 | 	   contentType.lowercased().contains("charset=iso-8859-1")
113 | 	{
/host/spi-builder-workspace/Examples/fetchpage/main.swift:122:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
120 |
121 | 	// Return final URL (after redirects)
122 | 	let finalURL = httpResponse.url ?? url
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
123 | 	return (html, finalURL)
124 | }
[26/50] Emitting module ExtractLinks
[27/50] Emitting module SwiftJustHTMLFuzz
BUILD FAILURE 6.1 wasm