The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HTTPCoders, reference 0.1.3 (49f599), with Swift 6.1 for Wasm on 29 May 2025 08:13:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/Frizlab/HTTPCoders.git
Reference: 0.1.3
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/Frizlab/HTTPCoders
 * tag               0.1.3      -> FETCH_HEAD
HEAD is now at 49f599a Update dependencies and enable strict concurrency checks
Cloned https://github.com/Frizlab/HTTPCoders.git
Revision (git rev-parse @):
49f599a83f9b4b986d0e49ccf73d51b0d3ae618f
SUCCESS checkout https://github.com/Frizlab/HTTPCoders.git at 0.1.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Frizlab/HTTPCoders.git
https://github.com/Frizlab/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.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/Frizlab/stream-reader.git
Fetching https://github.com/apple/swift-collections.git
[1/1051] Fetching stream-reader
[1052/17642] Fetching stream-reader, swift-collections
Fetched https://github.com/Frizlab/stream-reader.git from cache (1.22s)
Fetched https://github.com/apple/swift-collections.git from cache (1.25s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (1.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.41s)
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] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[8/38] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[9/38] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[10/38] Emitting module InternalCollectionsUtilities
[11/38] Compiling StreamReader FileDescriptorReader.swift
[12/38] Compiling StreamReader FileHandleReader.swift
[13/38] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[14/38] Compiling InternalCollectionsUtilities UInt+reversed.swift
[15/38] Compiling InternalCollectionsUtilities Descriptions.swift
[16/38] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[17/38] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[18/38] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[19/38] Compiling InternalCollectionsUtilities _SortedCollection.swift
[20/38] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[21/38] Compiling InternalCollectionsUtilities Debugging.swift
[23/94] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[24/94] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[25/94] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[26/94] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[27/94] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[28/94] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[29/94] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[30/101] Compiling StreamReader GenericStreamReader.swift
[31/102] Compiling FormURLEncodedCoder FormURLEncodedEncodingErrors.swift
[32/102] Compiling FormURLEncodedCoder FormURLEncodedParser.swift
[33/102] Compiling FormURLEncodedCoder FormURLEncodedSerializer.swift
[34/102] Compiling FormURLEncodedCoder URLQueryFragmentConvertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/102] 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 {
[36/102] Compiling OrderedCollections _HashTable+Bucket.swift
[37/102] Compiling OrderedCollections _HashTable+BucketIterator.swift
[38/102] Compiling StreamReader StreamReader.swift
[39/102] Compiling FormURLEncodedCoder FormURLEncodedEncoder.swift
[40/102] Compiling StreamReader StreamReaderErrors.swift
[41/102] Compiling StreamReader DataReader.swift
[42/102] 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 | 		}
[43/102] Compiling StreamReader InputStreamReader.swift
[44/102] 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 {
[45/102] Emitting module FormURLEncodedCoder
[46/102] Compiling FormURLEncodedCoder FormURLEncodedDecoder.swift
[48/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[49/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[50/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[51/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[52/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[53/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[54/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-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/32] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/33] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/33] 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 {
[5/33] Compiling StreamReader FileDescriptorReader.swift
[6/33] Compiling StreamReader FileHandleReader.swift
[7/34] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[8/34] Compiling InternalCollectionsUtilities Debugging.swift
[9/34] Compiling InternalCollectionsUtilities Descriptions.swift
[10/34] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[11/34] Compiling FormURLEncodedCoder URLQueryFragmentConvertible.swift
[12/34] Compiling StreamReader StreamReaderErrors.swift
[13/34] Compiling FormURLEncodedCoder FormURLEncodedEncodingErrors.swift
[14/34] Compiling FormURLEncodedCoder FormURLEncodedParser.swift
[15/34] Compiling FormURLEncodedCoder FormURLEncodedSerializer.swift
[16/34] Emitting module InternalCollectionsUtilities
[17/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 | 		}
[18/34] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[19/34] Compiling InternalCollectionsUtilities _SortedCollection.swift
[20/34] Compiling StreamReader StreamReader.swift
[21/34] Compiling StreamReader InputStreamReader.swift
[22/34] 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 {
[23/34] Compiling StreamReader Matching.swift
[24/34] Compiling StreamReader DataReader.swift
[25/34] Compiling StreamReader GenericStreamReader.swift
[26/34] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[27/34] Compiling InternalCollectionsUtilities UInt+reversed.swift
[28/34] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[29/34] Compiling InternalCollectionsUtilities Integer rank.swift
[32/35] Compiling FormURLEncodedCoder FormURLEncodedEncoder.swift
[33/35] Emitting module FormURLEncodedCoder
BUILD FAILURE 6.1 wasm