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 HTTPCoders, reference 0.1.2 (b8e713), with Swift 6.1 for Wasm on 28 May 2025 23:51:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/happn-app/HTTPCoders.git
Reference: 0.1.2
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/happn-app/HTTPCoders
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at b8e7138 Update stream reader
Cloned https://github.com/happn-app/HTTPCoders.git
Revision (git rev-parse @):
b8e713844c9a0c23a8e6c8d4a288cff444f6fdb8
SUCCESS checkout https://github.com/happn-app/HTTPCoders.git at 0.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/happn-app/HTTPCoders.git
https://github.com/happn-app/HTTPCoders.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "stream-reader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.5.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/stream-reader.git"
    }
  ],
  "manifest_display_name" : "HTTPCoders",
  "name" : "HTTPCoders",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FormDataCoder",
      "targets" : [
        "FormDataCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FormURLEncodedCoder",
      "targets" : [
        "FormURLEncodedCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FormURLEncodedCoderTests",
      "module_type" : "SwiftTarget",
      "name" : "FormURLEncodedCoderTests",
      "path" : "Tests/FormURLEncodedCoderTests",
      "sources" : [
        "FormURLEncodedEncodingTests.swift"
      ],
      "target_dependencies" : [
        "FormURLEncodedCoder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FormURLEncodedCoder",
      "module_type" : "SwiftTarget",
      "name" : "FormURLEncodedCoder",
      "path" : "Sources/FormURLEncodedCoder",
      "product_memberships" : [
        "FormURLEncodedCoder"
      ],
      "sources" : [
        "Decoder/FormURLEncodedDecoder.swift",
        "Encoder/FormURLEncodedEncoder.swift",
        "FormURLEncodedData.swift",
        "FormURLEncodedEncodingErrors.swift",
        "FormURLEncodedParser.swift",
        "FormURLEncodedSerializer.swift",
        "URLQueryFragmentConvertible.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FormDataCoderTests",
      "module_type" : "SwiftTarget",
      "name" : "FormDataCoderTests",
      "path" : "Tests/FormDataCoderTests",
      "sources" : [
        "FormDataEncoderTests.swift"
      ],
      "target_dependencies" : [
        "FormDataCoder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FormDataCoder",
      "module_type" : "SwiftTarget",
      "name" : "FormDataCoder",
      "path" : "Sources/FormDataCoder",
      "product_dependencies" : [
        "OrderedCollections",
        "StreamReader"
      ],
      "product_memberships" : [
        "FormDataCoder"
      ],
      "sources" : [
        "BasicCodingKey.swift",
        "Decoder/FormDataDecoder.Decoder.swift",
        "Decoder/FormDataDecoder.KeyedContainer.swift",
        "Decoder/FormDataDecoder.SingleValueContainer.swift",
        "Decoder/FormDataDecoder.UnkeyedContainer.swift",
        "Decoder/FormDataDecoder.swift",
        "Encoder/FormDataEncoder.Encoder.swift",
        "Encoder/FormDataEncoder.KeyedContainer.swift",
        "Encoder/FormDataEncoder.SingleValueContainer.swift",
        "Encoder/FormDataEncoder.UnkeyedContainer.swift",
        "Encoder/FormDataEncoder.swift",
        "Encoder/Storage.swift",
        "FormDataEncodingErrors.swift",
        "HTTPHeaders.swift",
        "MultipartFormData.swift",
        "MultipartParser.swift",
        "MultipartPart.swift",
        "MultipartPartConvertible.swift",
        "MultipartSerializer.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/apple/swift-collections.git
Fetching https://github.com/Frizlab/stream-reader.git
[1/1051] Fetching stream-reader
Fetched https://github.com/Frizlab/stream-reader.git from cache (0.52s)
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.19s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (2.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.90s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.6.1
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/37] Emitting module InternalCollectionsUtilities
[8/38] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[9/38] Compiling InternalCollectionsUtilities _SortedCollection.swift
[10/38] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[11/38] Compiling InternalCollectionsUtilities Debugging.swift
[12/38] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[13/38] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[14/38] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/38] Compiling InternalCollectionsUtilities Descriptions.swift
[16/38] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[17/38] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/38] Compiling InternalCollectionsUtilities Integer rank.swift
[19/38] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[20/38] Compiling InternalCollectionsUtilities UInt+reversed.swift
[21/38] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[23/94] Compiling StreamReader InputStreamReader.swift
[24/94] Compiling StreamReader StreamReader.swift
[25/95] Compiling StreamReader GenericStreamReader.swift
[26/95] Compiling StreamReader DataReader.swift
[27/95] Compiling FormURLEncodedCoder FormURLEncodedSerializer.swift
[28/95] Compiling FormURLEncodedCoder URLQueryFragmentConvertible.swift
[29/95] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[30/95] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[31/95] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[32/95] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[33/95] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[34/95] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[35/95] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[36/95] Compiling FormURLEncodedCoder FormURLEncodedEncodingErrors.swift
[37/95] Emitting module FormURLEncodedCoder
[38/95] Compiling FormURLEncodedCoder FormURLEncodedData.swift
/host/spi-builder-workspace/Sources/FormURLEncodedCoder/FormURLEncodedData.swift:81:10: warning: TODO
 79 | 			try self.asUrlDecoded().hash(into: &into)
 80 | 		} catch {
 81 | #warning("TODO")
    |          `- warning: TODO
 82 | //			Logger(label: "codes.vapor.url").report(error: error)
 83 | 		}
[39/95] Compiling FormURLEncodedCoder FormURLEncodedParser.swift
[40/95] Compiling StreamReader StreamReaderErrors.swift
[41/95] Compiling StreamReader URLSessionStreamTaskReader.swift
/host/spi-builder-workspace/.build/checkouts/stream-reader/Sources/StreamReader/Conveniences/URLSessionStreamTaskReader.swift:16:1: error: non-nominal type 'URLSessionStreamTask' (aka 'AnyObject') cannot be extended
14 |
15 | @available(macOS 10.11, *)
16 | extension URLSessionStreamTask : GenericReadStream {
   | `- error: non-nominal type 'URLSessionStreamTask' (aka 'AnyObject') cannot be extended
17 |
18 | 	public func read(_ buffer: UnsafeMutableRawPointer, maxLength len: Int) throws -> Int {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/95] Emitting module StreamReader
/host/spi-builder-workspace/.build/checkouts/stream-reader/Sources/StreamReader/Conveniences/URLSessionStreamTaskReader.swift:16:1: error: non-nominal type 'URLSessionStreamTask' (aka 'AnyObject') cannot be extended
14 |
15 | @available(macOS 10.11, *)
16 | extension URLSessionStreamTask : GenericReadStream {
   | `- error: non-nominal type 'URLSessionStreamTask' (aka 'AnyObject') cannot be extended
17 |
18 | 	public func read(_ buffer: UnsafeMutableRawPointer, maxLength len: Int) throws -> Int {
[43/95] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[44/95] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[45/102] Compiling FormURLEncodedCoder FormURLEncodedDecoder.swift
[46/102] Compiling FormURLEncodedCoder FormURLEncodedEncoder.swift
[47/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[48/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[49/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[50/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[51/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[52/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[53/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[55/103] Compiling StreamReader Matching.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/32] Compiling StreamReader URLSessionStreamTaskReader.swift
/host/spi-builder-workspace/.build/checkouts/stream-reader/Sources/StreamReader/Conveniences/URLSessionStreamTaskReader.swift:16:1: error: non-nominal type 'URLSessionStreamTask' (aka 'AnyObject') cannot be extended
14 |
15 | @available(macOS 10.11, *)
16 | extension URLSessionStreamTask : GenericReadStream {
   | `- error: non-nominal type 'URLSessionStreamTask' (aka 'AnyObject') cannot be extended
17 |
18 | 	public func read(_ buffer: UnsafeMutableRawPointer, maxLength len: Int) throws -> Int {
[3/32] Compiling StreamReader InputStreamReader.swift
[4/33] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[5/33] Compiling InternalCollectionsUtilities UInt+reversed.swift
[6/34] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[7/34] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[8/34] Compiling InternalCollectionsUtilities Debugging.swift
[9/34] Compiling FormURLEncodedCoder FormURLEncodedEncodingErrors.swift
[10/34] Compiling InternalCollectionsUtilities Descriptions.swift
[11/34] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/34] Emitting module StreamReader
/host/spi-builder-workspace/.build/checkouts/stream-reader/Sources/StreamReader/Conveniences/URLSessionStreamTaskReader.swift:16:1: error: non-nominal type 'URLSessionStreamTask' (aka 'AnyObject') cannot be extended
14 |
15 | @available(macOS 10.11, *)
16 | extension URLSessionStreamTask : GenericReadStream {
   | `- error: non-nominal type 'URLSessionStreamTask' (aka 'AnyObject') cannot be extended
17 |
18 | 	public func read(_ buffer: UnsafeMutableRawPointer, maxLength len: Int) throws -> Int {
[13/34] Compiling StreamReader FileDescriptorReader.swift
[14/34] Compiling StreamReader FileHandleReader.swift
[15/34] Compiling FormURLEncodedCoder URLQueryFragmentConvertible.swift
[16/34] Compiling FormURLEncodedCoder FormURLEncodedData.swift
/host/spi-builder-workspace/Sources/FormURLEncodedCoder/FormURLEncodedData.swift:81:10: warning: TODO
 79 | 			try self.asUrlDecoded().hash(into: &into)
 80 | 		} catch {
 81 | #warning("TODO")
    |          `- warning: TODO
 82 | //			Logger(label: "codes.vapor.url").report(error: error)
 83 | 		}
[17/34] Compiling FormURLEncodedCoder FormURLEncodedParser.swift
[18/34] Compiling FormURLEncodedCoder FormURLEncodedSerializer.swift
[19/34] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[22/34] Compiling StreamReader Matching.swift
[23/34] Compiling StreamReader StreamReader.swift
[24/34] Compiling StreamReader StreamReaderErrors.swift
[25/34] Compiling StreamReader GenericStreamReader.swift
[26/34] Compiling StreamReader DataReader.swift
[27/34] Emitting module InternalCollectionsUtilities
BUILD FAILURE 6.1 wasm