The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftFixtures, reference 0.1.0 (31b8a6), with Swift 6.2 for Wasm on 29 Jun 2026 02:54:36 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build 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.2
Building package at path:  $PWD
https://github.com/crleonard/SwiftFixtures.git
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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-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.63s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (3.60s)
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 SwiftSyntax600
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/84] Emitting module SwiftFixtures
/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 [#NominalTypes]
949 | }
950 |
951 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
952 |     /// Returns a sampled ``HTTPURLResponse`` of the requested ``SampleHTTPURLResponse`` kind.
953 |     public static func sample(_ kind: SampleHTTPURLResponse = .ok) -> HTTPURLResponse {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[31/85] Compiling SwiftSyntax602 Empty.swift
[32/85] Emitting module SwiftSyntax602
[33/86] Wrapping AST for SwiftSyntax602 for debugging
[35/86] Compiling SwiftSyntax603 Empty.swift
[36/86] Emitting module SwiftSyntax603
[38/87] Compiling SwiftSyntax509 Empty.swift
[39/87] Emitting module SwiftSyntax509
[41/88] Compiling SwiftSyntax600 Empty.swift
[41/89] Wrapping AST for SwiftSyntax603 for debugging
[43/89] Compiling SwiftSyntax601 Empty.swift
[44/89] Emitting module SwiftSyntax601
[45/90] Wrapping AST for SwiftSyntax509 for debugging
[48/90] Emitting module SwiftSyntax510
[49/90] Compiling SwiftSyntax510 Empty.swift
[49/91] Wrapping AST for SwiftSyntax600 for debugging
[50/91] Wrapping AST for SwiftSyntax601 for debugging
[52/91] Wrapping AST for SwiftSyntax510 for debugging
[54/154] Compiling SwiftFixtures SwiftFixtures.swift
[55/155] Compiling SwiftFixtures Trait.swift
[56/155] Compiling SwiftFixtures Sequence.swift
[57/155] Compiling SwiftFixtures FixtureContext.swift
[58/155] Compiling SwiftFixtures DateGenerators.swift
[59/155] Compiling SwiftSyntax Identifier.swift
[60/155] Compiling SwiftSyntax MemoryLayout.swift
[61/155] Emitting module SwiftFixtures
[62/155] Compiling SwiftFixtures Random.swift
[63/155] Compiling SwiftFixtures Sample.swift
[65/158] Compiling SwiftFixtures Trait.swift
[66/158] Compiling SwiftFixtures SwiftFixtures.swift
[67/158] 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 [#NominalTypes]
949 | }
950 |
951 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[68/158] Compiling SwiftFixtures FixtureContext.swift
[69/158] Compiling SwiftFixtures Sequence.swift
[70/158] Compiling SwiftFixturesTesting FixtureSeed.swift
[71/158] Emitting module SwiftFixturesTesting
[75/159] Compiling SwiftFixtures Random.swift
[76/159] Compiling SwiftFixtures DateGenerators.swift
[77/159] Compiling SwiftSyntax AbsolutePosition.swift
[78/159] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[79/159] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[80/159] Compiling SwiftSyntax Assert.swift
[81/159] Compiling SwiftSyntax BumpPtrAllocator.swift
[82/159] Compiling SwiftSyntax CommonAncestor.swift
[83/159] Compiling SwiftSyntax Convenience.swift
[84/159] Compiling SwiftSyntax CustomTraits.swift
[85/159] Compiling SwiftSyntax EditorPlaceholder.swift
[88/159] Compiling SwiftSyntax MissingNodeInitializers.swift
[89/159] Compiling SwiftSyntax RawSyntax.swift
[90/159] Compiling SwiftSyntax RawSyntaxArena.swift
[91/159] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[92/159] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[93/159] Compiling SwiftSyntax RawSyntaxTokenView.swift
[94/159] Compiling SwiftSyntax SourceEdit.swift
BUILD FAILURE 6.2 wasm