The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MultipartFormDataParser, reference 2.3.1 (c9d8a6), with Swift 6.1 for Wasm on 29 May 2025 20:12:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/MultipartFormDataParser.git
Reference: 2.3.1
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/MultipartFormDataParser
 * tag               2.3.1      -> FETCH_HEAD
HEAD is now at c9d8a6b Bump version to 2.3.1
Cloned https://github.com/417-72KI/MultipartFormDataParser.git
Revision (git rev-parse @):
c9d8a6bfaf3e7f8237633a07e2b563b3a57ee5a6
SUCCESS checkout https://github.com/417-72KI/MultipartFormDataParser.git at 2.3.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/417-72KI/MultipartFormDataParser.git
https://github.com/417-72KI/MultipartFormDataParser.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MultipartFormDataParser",
  "name" : "MultipartFormDataParser",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "MultipartFormDataParser",
      "targets" : [
        "MultipartFormDataParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MultipartFormDataParserTests",
      "module_type" : "SwiftTarget",
      "name" : "MultipartFormDataParserTests",
      "path" : "Tests/MultipartFormDataParserTests",
      "sources" : [
        "Constants.swift",
        "Extension/NSImage+Util.swift",
        "Extension/URLSession+Linux.swift",
        "Extension/XCTest+Activity.swift",
        "MultipartFormDataParserTests.swift",
        "StubURLProtocol.swift",
        "TestEntity.swift",
        "TestFunctions/TestFunction_APIKit.swift",
        "TestFunctions/TestFunction_Alamofire.swift",
        "TestFunctions/TestFunction_Moya.swift",
        "TestFunctions/TestFunction_URLSession.swift",
        "TestResource.swift",
        "TestStub.swift",
        "Util/LinuxImage.swift"
      ],
      "target_dependencies" : [
        "MultipartFormDataParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MultipartFormDataParser",
      "module_type" : "SwiftTarget",
      "name" : "MultipartFormDataParser",
      "path" : "Sources/MultipartFormDataParser",
      "product_memberships" : [
        "MultipartFormDataParser"
      ],
      "sources" : [
        "Error.swift",
        "Extensions/Data+Util.swift",
        "MultipartFormData+Sequence.swift",
        "MultipartFormData.swift",
        "MultipartFormDataParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling MultipartFormDataParser Error.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module MultipartFormDataParser
/host/spi-builder-workspace/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/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
[5/8] Compiling MultipartFormDataParser Data+Util.swift
[6/8] Compiling MultipartFormDataParser MultipartFormData+Sequence.swift
[7/8] Compiling MultipartFormDataParser MultipartFormDataParser.swift
/host/spi-builder-workspace/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
[8/8] Compiling MultipartFormDataParser MultipartFormData.swift
/host/spi-builder-workspace/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/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/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/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 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Compiling MultipartFormDataParser MultipartFormData+Sequence.swift
[3/7] Compiling MultipartFormDataParser Data+Util.swift
[4/7] Compiling MultipartFormDataParser Error.swift
[5/7] Emitting module MultipartFormDataParser
/host/spi-builder-workspace/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/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 MultipartFormDataParser.swift
/host/spi-builder-workspace/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
[7/7] Compiling MultipartFormDataParser MultipartFormData.swift
/host/spi-builder-workspace/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/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/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/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 |     }
BUILD FAILURE 6.1 wasm