The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftFixtures, reference main (e6df8c), with Swift 6.2 for Wasm on 29 Jun 2026 02:51:57 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: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/crleonard/SwiftFixtures
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e6df8c2 Merge pull request #2 from crleonard/added-badges
Cloned https://github.com/crleonard/SwiftFixtures.git
Revision (git rev-parse @):
e6df8c24807e696649a7fd4de437abd850eb0492
SUCCESS checkout https://github.com/crleonard/SwiftFixtures.git at main
========================================
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.43s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (3.39s)
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/75] Emitting module SwiftSyntax603
[30/84] Compiling SwiftSyntax603 Empty.swift
[32/85] Compiling SwiftSyntax602 Empty.swift
[33/85] Emitting module SwiftSyntax602
[33/86] Wrapping AST for SwiftSyntax603 for debugging
[36/86] Compiling SwiftSyntax601 Empty.swift
[37/86] Emitting module SwiftSyntax601
[37/87] Wrapping AST for SwiftSyntax602 for debugging
[39/87] Wrapping AST for SwiftSyntax601 for debugging
[41/87] Emitting module SwiftSyntax600
[42/87] Compiling SwiftSyntax600 Empty.swift
[43/88] Wrapping AST for SwiftSyntax600 for debugging
[45/88] Emitting module SwiftSyntax510
[46/88] Compiling SwiftSyntax510 Empty.swift
[47/89] Wrapping AST for SwiftSyntax510 for debugging
[49/89] Emitting module SwiftSyntax509
[50/89] Compiling SwiftSyntax509 Empty.swift
[51/90] Wrapping AST for SwiftSyntax509 for debugging
[53/153] Emitting module SwiftFixtures
[54/154] Compiling SwiftSyntax AbsolutePosition.swift
[55/154] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[56/154] Compiling SwiftFixtures DateGenerators.swift
[57/154] Compiling SwiftFixtures Trait.swift
[58/154] Compiling SwiftFixtures SwiftFixtures.swift
[59/154] Compiling SwiftFixtures Sequence.swift
[60/154] Compiling SwiftFixtures FixtureContext.swift
[61/154] Compiling SwiftFixtures Sample.swift
[62/154] Compiling SwiftFixtures Random.swift
[64/157] Compiling SwiftFixtures FixtureContext.swift
[65/158] Compiling SwiftFixtures SwiftFixtures.swift
[66/158] Compiling SwiftFixtures Trait.swift
[67/158] Compiling SwiftFixtures DateGenerators.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/158] 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>
[71/158] Compiling SwiftFixtures Sequence.swift
[72/158] Compiling SwiftFixtures Random.swift
[73/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>
[76/158] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[77/158] Compiling SwiftSyntax Assert.swift
[78/158] Compiling SwiftSyntax BumpPtrAllocator.swift
[79/158] Compiling SwiftSyntax CommonAncestor.swift
[80/158] Compiling SwiftSyntax Convenience.swift
[81/158] Compiling SwiftSyntax CustomTraits.swift
[82/158] Compiling SwiftSyntax EditorPlaceholder.swift
BUILD FAILURE 6.2 wasm