The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StubNetworkKit, reference 0.5.0 (7d8f8d), with Swift 6.1 for Wasm on 29 May 2025 20:04:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/417-72KI/StubNetworkKit.git
Reference: 0.5.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/417-72KI/StubNetworkKit
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 7d8f8d3 Bump version to 0.5.0
Cloned https://github.com/417-72KI/StubNetworkKit.git
Revision (git rev-parse @):
7d8f8d33d23f54ad7fc2d3f8cee5c44e27a92dbc
SUCCESS checkout https://github.com/417-72KI/StubNetworkKit.git at 0.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/417-72KI/StubNetworkKit.git
https://github.com/417-72KI/StubNetworkKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "multipartformdataparser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/417-72KI/MultipartFormDataParser.git"
    }
  ],
  "manifest_display_name" : "StubNetworkKit",
  "name" : "StubNetworkKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "StubNetworkKit",
      "targets" : [
        "StubNetworkKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StubNetworkKit",
      "module_type" : "SwiftTarget",
      "name" : "StubNetworkKit",
      "path" : "Sources/StubNetworkKit",
      "product_dependencies" : [
        "MultipartFormDataParser"
      ],
      "product_memberships" : [
        "StubNetworkKit"
      ],
      "sources" : [
        "Condition/ANDStubCondition.swift",
        "Condition/AnyStubCondition.swift",
        "Condition/Body.swift",
        "Condition/Header.swift",
        "Condition/Host.swift",
        "Condition/Method.swift",
        "Condition/ORStubCondition.swift",
        "Condition/Path.swift",
        "Condition/PathExtension.swift",
        "Condition/QueryParams.swift",
        "Condition/Scheme.swift",
        "Condition/StubCondition+ResultBuilder.swift",
        "Condition/StubCondition.swift",
        "Matcher/StubMatcher+Operators.swift",
        "Matcher/StubMatcher.swift",
        "Response/StubResponse+Fixtures.swift",
        "Response/StubResponse+Path.swift",
        "Response/StubResponse.swift",
        "Stub.swift",
        "StubError.swift",
        "StubNetworking.swift",
        "StubURLProtocol.swift",
        "Util/Extension/Sequence.swift",
        "Util/JSON.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 -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 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/417-72KI/MultipartFormDataParser.git
[1/1934] Fetching multipartformdataparser
Fetched https://github.com/417-72KI/MultipartFormDataParser.git from cache (0.28s)
Computing version for https://github.com/417-72KI/MultipartFormDataParser.git
Computed https://github.com/417-72KI/MultipartFormDataParser.git at 2.3.1 (1.27s)
Creating working copy for https://github.com/417-72KI/MultipartFormDataParser.git
Working copy of https://github.com/417-72KI/MultipartFormDataParser.git resolved at 2.3.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling MultipartFormDataParser MultipartFormData+Sequence.swift
[5/9] Compiling MultipartFormDataParser MultipartFormData.swift
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormData.swift:18:37: error: cannot find type 'URLRequest' in scope
16 | // MARK: - Static functions
17 | public extension MultipartFormData {
18 |     static func parse(from request: URLRequest) throws -> Self {
   |                                     `- error: cannot find type 'URLRequest' in scope
19 |         try MultipartFormDataParser.parse(request)
20 |     }
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormDataParser.swift:59:34: error: cannot find type 'URLRequest' in scope
57 | // MARK: - Static functions
58 | extension MultipartFormDataParser {
59 |     static func parse(_ request: URLRequest) throws -> MultipartFormData {
   |                                  `- error: cannot find type 'URLRequest' in scope
60 |         guard let contentType = request.value(forHTTPHeaderField: "Content-Type") else {
61 |             throw MultipartFormDataError.noContentType
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormData.swift:19:37: error: 'parse' is inaccessible due to 'fileprivate' protection level
17 | public extension MultipartFormData {
18 |     static func parse(from request: URLRequest) throws -> Self {
19 |         try MultipartFormDataParser.parse(request)
   |                                     `- error: 'parse' is inaccessible due to 'fileprivate' protection level
20 |     }
21 | }
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormDataParser.swift:14:10: note: 'parse' declared here
12 | // MARK: - Functions
13 | private extension MultipartFormDataParser {
14 |     func parse(_ stream: InputStream) throws -> MultipartFormData {
   |          `- note: 'parse' declared here
15 |         try parse(extractData(from: stream))
16 |     }
[6/9] Compiling MultipartFormDataParser MultipartFormDataParser.swift
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormDataParser.swift:59:34: error: cannot find type 'URLRequest' in scope
57 | // MARK: - Static functions
58 | extension MultipartFormDataParser {
59 |     static func parse(_ request: URLRequest) throws -> MultipartFormData {
   |                                  `- error: cannot find type 'URLRequest' in scope
60 |         guard let contentType = request.value(forHTTPHeaderField: "Content-Type") else {
61 |             throw MultipartFormDataError.noContentType
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Compiling MultipartFormDataParser Error.swift
[8/9] Compiling MultipartFormDataParser Data+Util.swift
[9/9] Emitting module MultipartFormDataParser
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormData.swift:18:37: error: cannot find type 'URLRequest' in scope
16 | // MARK: - Static functions
17 | public extension MultipartFormData {
18 |     static func parse(from request: URLRequest) throws -> Self {
   |                                     `- error: cannot find type 'URLRequest' in scope
19 |         try MultipartFormDataParser.parse(request)
20 |     }
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormDataParser.swift:59:34: error: cannot find type 'URLRequest' in scope
57 | // MARK: - Static functions
58 | extension MultipartFormDataParser {
59 |     static func parse(_ request: URLRequest) throws -> MultipartFormData {
   |                                  `- error: cannot find type 'URLRequest' in scope
60 |         guard let contentType = request.value(forHTTPHeaderField: "Content-Type") else {
61 |             throw MultipartFormDataError.noContentType
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling MultipartFormDataParser MultipartFormData.swift
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormData.swift:18:37: error: cannot find type 'URLRequest' in scope
16 | // MARK: - Static functions
17 | public extension MultipartFormData {
18 |     static func parse(from request: URLRequest) throws -> Self {
   |                                     `- error: cannot find type 'URLRequest' in scope
19 |         try MultipartFormDataParser.parse(request)
20 |     }
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormDataParser.swift:59:34: error: cannot find type 'URLRequest' in scope
57 | // MARK: - Static functions
58 | extension MultipartFormDataParser {
59 |     static func parse(_ request: URLRequest) throws -> MultipartFormData {
   |                                  `- error: cannot find type 'URLRequest' in scope
60 |         guard let contentType = request.value(forHTTPHeaderField: "Content-Type") else {
61 |             throw MultipartFormDataError.noContentType
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormData.swift:19:37: error: 'parse' is inaccessible due to 'fileprivate' protection level
17 | public extension MultipartFormData {
18 |     static func parse(from request: URLRequest) throws -> Self {
19 |         try MultipartFormDataParser.parse(request)
   |                                     `- error: 'parse' is inaccessible due to 'fileprivate' protection level
20 |     }
21 | }
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormDataParser.swift:14:10: note: 'parse' declared here
12 | // MARK: - Functions
13 | private extension MultipartFormDataParser {
14 |     func parse(_ stream: InputStream) throws -> MultipartFormData {
   |          `- note: 'parse' declared here
15 |         try parse(extractData(from: stream))
16 |     }
[3/7] Compiling MultipartFormDataParser MultipartFormDataParser.swift
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormDataParser.swift:59:34: error: cannot find type 'URLRequest' in scope
57 | // MARK: - Static functions
58 | extension MultipartFormDataParser {
59 |     static func parse(_ request: URLRequest) throws -> MultipartFormData {
   |                                  `- error: cannot find type 'URLRequest' in scope
60 |         guard let contentType = request.value(forHTTPHeaderField: "Content-Type") else {
61 |             throw MultipartFormDataError.noContentType
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Compiling MultipartFormDataParser MultipartFormData+Sequence.swift
[5/7] Emitting module MultipartFormDataParser
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormData.swift:18:37: error: cannot find type 'URLRequest' in scope
16 | // MARK: - Static functions
17 | public extension MultipartFormData {
18 |     static func parse(from request: URLRequest) throws -> Self {
   |                                     `- error: cannot find type 'URLRequest' in scope
19 |         try MultipartFormDataParser.parse(request)
20 |     }
/host/spi-builder-workspace/.build/checkouts/MultipartFormDataParser/Sources/MultipartFormDataParser/MultipartFormDataParser.swift:59:34: error: cannot find type 'URLRequest' in scope
57 | // MARK: - Static functions
58 | extension MultipartFormDataParser {
59 |     static func parse(_ request: URLRequest) throws -> MultipartFormData {
   |                                  `- error: cannot find type 'URLRequest' in scope
60 |         guard let contentType = request.value(forHTTPHeaderField: "Content-Type") else {
61 |             throw MultipartFormDataError.noContentType
[6/7] Compiling MultipartFormDataParser Error.swift
[7/7] Compiling MultipartFormDataParser Data+Util.swift
BUILD FAILURE 6.1 wasm