Build Information
Failed to build SwiftFixtures, reference 0.1.0 (31b8a6), with Swift 6.1 for Wasm on 29 Jun 2026 03:04:44 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>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crleonard/SwiftFixtures.git
Reference: 0.1.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/crleonard/SwiftFixtures
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 31b8a67 Merge pull request #1 from crleonard/fix-ci-warning
Cloned https://github.com/crleonard/SwiftFixtures.git
Revision (git rev-parse @):
31b8a675d8732da1f1795ca712f906f97828d46f
SUCCESS checkout https://github.com/crleonard/SwiftFixtures.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/crleonard/SwiftFixtures.git
https://github.com/crleonard/SwiftFixtures.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-syntax.git
[1/75750] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.51s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (3.54s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Building for debugging...
[0/54] Write sources
[26/54] Compiling _SwiftSyntaxCShims PlatformMutex.c
[27/54] Write swift-version-24593BA9C3E375BF.txt
[29/84] Emitting module SwiftSyntax510
<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/84] Emitting module SwiftSyntax509
<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
[31/84] Emitting module SwiftSyntax602
<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
[32/84] Emitting module SwiftSyntax600
<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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/84] Emitting module SwiftFixtures
<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/Sources/SwiftFixtures/Generators/Sample.swift:792:70: error: cannot find type 'URLRequest' in scope
790 |
791 | @usableFromInline
792 | static func urlRequest(method: String, includeJSONBody: Bool) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
793 | var request = URLRequest(url: URL.sample(.url))
794 | request.httpMethod = method
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:935:11: error: cannot find type 'URLRequest' in scope
933 | }
934 |
935 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
936 | /// Returns a sampled ``URLRequest`` of the requested ``SampleURLRequest`` kind.
937 | public static func sample(_ kind: SampleURLRequest = .get) -> URLRequest {
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:951:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
949 | }
950 |
951 | extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
952 | /// Returns a sampled ``HTTPURLResponse`` of the requested ``SampleHTTPURLResponse`` kind.
953 | public static func sample(_ kind: SampleHTTPURLResponse = .ok) -> HTTPURLResponse {
[34/85] Emitting module SwiftSyntax601
<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/85] Compiling SwiftSyntax601 Empty.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
[36/86] Compiling SwiftSyntax602 Empty.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
[38/87] Compiling SwiftSyntax600 Empty.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
[40/88] Compiling SwiftSyntax603 Empty.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
[41/88] Emitting module SwiftSyntax603
<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
[41/89] Wrapping AST for SwiftSyntax601 for debugging
[43/89] Compiling SwiftSyntax510 Empty.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
[45/90] Compiling SwiftSyntax509 Empty.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
[46/91] Wrapping AST for SwiftSyntax602 for debugging
[48/91] Wrapping AST for SwiftSyntax600 for debugging
[50/91] Wrapping AST for SwiftSyntax603 for debugging
[51/91] Wrapping AST for SwiftSyntax510 for debugging
[52/91] Wrapping AST for SwiftSyntax509 for debugging
[54/154] Emitting module SwiftFixtures
<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
[55/155] Compiling SwiftSyntax ChildNameForKeyPath.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
[56/155] Compiling SwiftSyntax Keyword.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
[57/155] Compiling SwiftFixtures SwiftFixtures.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
[58/155] Compiling SwiftFixtures FixtureContext.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
[59/155] Compiling SwiftFixtures Random.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
[60/155] Compiling SwiftFixtures Trait.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
[61/155] Compiling SwiftFixtures DateGenerators.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
[62/155] Compiling SwiftFixtures Sequence.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
[63/155] Compiling SwiftFixtures Sample.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
[65/158] Emitting module SwiftFixturesTesting
<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
[66/158] Compiling SwiftFixturesTesting FixtureSeed.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
[68/159] Compiling SwiftSyntax SyntaxNodeStructure.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
[69/159] Compiling SwiftSyntax SyntaxProtocol.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
[70/159] Compiling SwiftSyntax SyntaxText.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
[71/159] Compiling SwiftSyntax SyntaxTreeViewMode.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
[72/159] Compiling SwiftSyntax TokenDiagnostic.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
[73/159] Compiling SwiftSyntax TokenSequence.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
[74/159] Compiling SwiftSyntax TokenSyntax.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
[75/159] Compiling SwiftSyntax Trivia.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
[76/159] Compiling SwiftSyntax Utils.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
[77/167] Compiling SwiftFixtures Trait.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
[78/167] Compiling SwiftFixtures DateGenerators.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
<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
[81/167] Compiling SwiftFixtures FixtureContext.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
[82/167] Compiling SwiftFixtures SwiftFixtures.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
[83/167] Compiling SwiftFixtures Sequence.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
[84/167] Compiling SwiftFixtures Random.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
[85/167] Compiling SwiftFixtures Sample.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/Sources/SwiftFixtures/Generators/Sample.swift:792:70: error: cannot find type 'URLRequest' in scope
790 |
791 | @usableFromInline
792 | static func urlRequest(method: String, includeJSONBody: Bool) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
793 | var request = URLRequest(url: URL.sample(.url))
794 | request.httpMethod = method
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:935:11: error: cannot find type 'URLRequest' in scope
933 | }
934 |
935 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
936 | /// Returns a sampled ``URLRequest`` of the requested ``SampleURLRequest`` kind.
937 | public static func sample(_ kind: SampleURLRequest = .get) -> URLRequest {
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:951:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
949 | }
950 |
951 | extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
952 | /// Returns a sampled ``HTTPURLResponse`` of the requested ``SampleHTTPURLResponse`` kind.
953 | public static func sample(_ kind: SampleHTTPURLResponse = .ok) -> HTTPURLResponse {
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:793:23: error: cannot find 'URLRequest' in scope
791 | @usableFromInline
792 | static func urlRequest(method: String, includeJSONBody: Bool) -> URLRequest {
793 | var request = URLRequest(url: URL.sample(.url))
| `- error: cannot find 'URLRequest' in scope
794 | request.httpMethod = method
795 | request.setValue(userAgent(), forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:937:67: error: cannot find type 'URLRequest' in scope
935 | extension URLRequest {
936 | /// Returns a sampled ``URLRequest`` of the requested ``SampleURLRequest`` kind.
937 | public static func sample(_ kind: SampleURLRequest = .get) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
938 | switch kind.kind {
939 | case .get:
<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
Building for debugging...
[0/27] Write swift-version-24593BA9C3E375BF.txt
[2/57] Emitting module SwiftSyntax510
[3/57] Compiling SwiftSyntax603 Empty.swift
[4/57] Emitting module SwiftSyntax601
[5/57] Compiling SwiftFixtures Factory.swift
[6/57] Compiling SwiftFixtures Fixture.swift
[7/58] Emitting module SwiftSyntax603
[8/59] Compiling SwiftSyntax510 Empty.swift
[9/59] Compiling SwiftSyntax601 Empty.swift
[10/61] Compiling SwiftSyntax602 Empty.swift
[11/61] Emitting module SwiftSyntax509
[12/61] Emitting module SwiftSyntax600
[13/61] Compiling SwiftSyntax600 Empty.swift
[14/61] Compiling SwiftSyntax509 Empty.swift
[15/62] Emitting module SwiftSyntax602
[16/64] Compiling SwiftFixtures SwiftFixtures.swift
[20/61] Compiling SwiftFixtures Trait.swift
[22/61] Compiling SwiftFixtures Sample.swift
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:792:70: error: cannot find type 'URLRequest' in scope
790 |
791 | @usableFromInline
792 | static func urlRequest(method: String, includeJSONBody: Bool) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
793 | var request = URLRequest(url: URL.sample(.url))
794 | request.httpMethod = method
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:935:11: error: cannot find type 'URLRequest' in scope
933 | }
934 |
935 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
936 | /// Returns a sampled ``URLRequest`` of the requested ``SampleURLRequest`` kind.
937 | public static func sample(_ kind: SampleURLRequest = .get) -> URLRequest {
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:951:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
949 | }
950 |
951 | extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
952 | /// Returns a sampled ``HTTPURLResponse`` of the requested ``SampleHTTPURLResponse`` kind.
953 | public static func sample(_ kind: SampleHTTPURLResponse = .ok) -> HTTPURLResponse {
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:793:23: error: cannot find 'URLRequest' in scope
791 | @usableFromInline
792 | static func urlRequest(method: String, includeJSONBody: Bool) -> URLRequest {
793 | var request = URLRequest(url: URL.sample(.url))
| `- error: cannot find 'URLRequest' in scope
794 | request.httpMethod = method
795 | request.setValue(userAgent(), forHTTPHeaderField: "User-Agent")
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:937:67: error: cannot find type 'URLRequest' in scope
935 | extension URLRequest {
936 | /// Returns a sampled ``URLRequest`` of the requested ``SampleURLRequest`` kind.
937 | public static func sample(_ kind: SampleURLRequest = .get) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
938 | switch kind.kind {
939 | case .get:
[24/59] Compiling SwiftFixtures Sequence.swift
[26/60] Compiling SwiftFixtures SwiftFixtures.swift
[29/59] Emitting module SwiftFixtures
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:792:70: error: cannot find type 'URLRequest' in scope
790 |
791 | @usableFromInline
792 | static func urlRequest(method: String, includeJSONBody: Bool) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
793 | var request = URLRequest(url: URL.sample(.url))
794 | request.httpMethod = method
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:935:11: error: cannot find type 'URLRequest' in scope
933 | }
934 |
935 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
936 | /// Returns a sampled ``URLRequest`` of the requested ``SampleURLRequest`` kind.
937 | public static func sample(_ kind: SampleURLRequest = .get) -> URLRequest {
/host/spi-builder-workspace/Sources/SwiftFixtures/Generators/Sample.swift:951:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
949 | }
950 |
951 | extension HTTPURLResponse {
| `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
952 | /// Returns a sampled ``HTTPURLResponse`` of the requested ``SampleHTTPURLResponse`` kind.
953 | public static func sample(_ kind: SampleHTTPURLResponse = .ok) -> HTTPURLResponse {
[31/59] Compiling SwiftFixtures FixtureContext.swift
[32/59] Compiling SwiftFixtures Sequence.swift
[33/59] Compiling SwiftFixtures FixtureContext.swift
[34/59] Compiling SwiftFixtures Trait.swift
[35/60] Compiling SwiftFixtures DateGenerators.swift
[36/60] Compiling SwiftFixtures Random.swift
[37/87] Compiling SwiftFixtures DateGenerators.swift
[38/87] Compiling SwiftFixtures Random.swift
BUILD FAILURE 6.1 wasm