Build Information
Failed to build http-client, reference main (5b7398), with Swift 6.2 for Wasm on 2 Oct 2026 21:02:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-3":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zunda-pixel/http-client.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/zunda-pixel/http-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5b7398c Bump github.com/swift-server/async-http-client from 1.36.1 to 1.36.2 (#26)
Cloned https://github.com/zunda-pixel/http-client.git
Revision (git rev-parse @):
5b7398cd6a30c6510d906f51ab5bf6274212b076
SUCCESS checkout https://github.com/zunda-pixel/http-client.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/zunda-pixel/http-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-3":/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:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/swift-server/async-http-client.git
[1/1939] Fetching swift-http-types
[1940/18337] Fetching swift-http-types, async-http-client
Fetched https://github.com/apple/swift-http-types from cache (1.00s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.00s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (1.21s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/6486] Fetching swift-distributed-tracing
[66/8371] Fetching swift-distributed-tracing, swift-atomics
[104/14530] Fetching swift-distributed-tracing, swift-atomics, swift-algorithms
[14470/22762] Fetching swift-distributed-tracing, swift-atomics, swift-algorithms, swift-log
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.69s)
[9938/16276] Fetching swift-atomics, swift-algorithms, swift-log
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-service-context.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.74s)
[9541/10117] Fetching swift-atomics, swift-log
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.92s)
Fetched https://github.com/apple/swift-log.git from cache (0.93s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2867] Fetching swift-nio-transport-services
[2868/15122] Fetching swift-nio-transport-services, swift-nio-http2
[15123/16558] Fetching swift-nio-transport-services, swift-nio-http2, swift-service-context
[16387/102823] Fetching swift-nio-transport-services, swift-nio-http2, swift-service-context, swift-nio
[17394/119677] Fetching swift-nio-transport-services, swift-nio-http2, swift-service-context, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.11s)
Fetched https://github.com/apple/swift-service-context.git from cache (1.08s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.09s)
Fetching https://github.com/apple/swift-configuration.git
[4294/103119] Fetching swift-nio, swift-nio-ssl
[72928/107006] Fetching swift-nio, swift-nio-ssl, swift-configuration
Fetched https://github.com/apple/swift-configuration.git from cache (0.68s)
[76377/103119] Fetching swift-nio, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.86s)
[65562/86265] Fetching swift-nio
[86266/92958] Fetching swift-nio, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.67s)
Fetched https://github.com/apple/swift-nio.git from cache (4.73s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (5.76s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.98s)
Fetching https://github.com/apple/swift-numerics.git
[1/6658] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.75s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (0.89s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2849] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.51s)
[1/7090] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.68s)
[1/28528] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.76s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.19s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.38s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.0 (0.18s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6799] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.75s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.23s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.33s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.23s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.22s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.23s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.25s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.54s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1253] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.42s)
[1/1986] Fetching swift-asn1
[1987/9584] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.62s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.62s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.81s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.24s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.23s)
Fetching https://github.com/apple/swift-crypto.git
[1/18572] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.67s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (2.40s)
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Building for debugging...
[0/458] Write sources
[27/458] Compiling _CWASI _CWASI.c
[28/458] Compiling _NumericsShims _NumericsShims.c
[29/458] Compiling _AtomicsShims.c
[30/458] Compiling CNIOWASI CNIOWASI.c
[31/458] Compiling CSystem shims.c
[32/458] Compiling CNIOPosix event_loop_id.c
[33/458] Compiling CNIOOpenBSD shim.c
[34/458] Compiling CNIOLinux shim.c
[35/458] Compiling CNIOLinux liburing_shims.c
[36/458] Compiling CNIOFreeBSD shim.c
[37/458] Compiling CNIOWindows shim.c
[38/458] Compiling CNIOWindows WSAStartup.c
[38/458] Compiling CNIOLLHTTP c_nio_http.c
[40/458] Write swift-version-24593BA9C3E375BF.txt
[41/458] Compiling CNIOExtrasZlib zutil.c
[42/458] Compiling CNIOLLHTTP c_nio_api.c
[43/458] Compiling CNIOExtrasZlib inffast.c
[44/458] Compiling CNIOExtrasZlib inftrees.c
[45/458] Compiling CNIOExtrasZlib trees.c
[46/464] Compiling CNIOExtrasZlib inflate.c
[47/484] Compiling CNIOExtrasZlib deflate.c
[48/554] Compiling CNIOLLHTTP c_nio_llhttp.c
[50/564] Compiling RealModule RealFunctions.swift
[51/565] Compiling _NIODataStructures _TinyArray.swift
[52/565] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[53/565] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[54/565] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[55/568] Compiling _NIODataStructures PriorityQueue.swift
[56/568] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[57/568] Compiling InternalCollectionsUtilities Integer rank.swift
[58/569] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[59/569] Compiling InternalCollectionsUtilities String+Padding.swift
[60/569] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[61/569] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[62/569] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[63/569] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[64/569] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[65/569] Compiling InternalCollectionsUtilities Span+Extras.swift
[66/569] Compiling HTTPTypes HTTPField.swift
[67/569] Compiling HTTPTypes HTTPFieldName.swift
[68/569] Compiling HTTPTypes HTTP2ErrorCode.swift
[69/569] Compiling HTTPTypes HTTP3ErrorCode.swift
[70/569] Emitting module InternalCollectionsUtilities
[73/569] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[74/569] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[75/569] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[76/569] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[77/569] Emitting module _NIOBase64
[80/569] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[81/569] Compiling InternalCollectionsUtilities UInt+reversed.swift
[82/569] Compiling _NIOBase64 Base64.swift
[83/569] Compiling RealModule Float16+Real.swift
[84/569] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[85/569] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[86/569] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[87/569] Compiling InternalCollectionsUtilities MutableRef.swift
[88/569] Compiling RealModule Float80+Real.swift
[89/569] Compiling RealModule Real.swift
[90/570] Compiling Logging Logger+With.swift
[91/570] Compiling RealModule RelaxedArithmetic.swift
[92/570] Compiling ServiceContextModule ServiceContextKey.swift
[93/570] Emitting module RealModule
[99/570] Emitting module ServiceContextModule
[100/570] Compiling ServiceContextModule ServiceContext.swift
[101/570] Compiling Logging LoggingSystem.swift
[102/572] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[103/572] Compiling InternalCollectionsUtilities _SortedCollection.swift
[104/572] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[107/573] Compiling CNIOExtrasZlib adler32.c
[108/573] Compiling CNIOExtrasZlib crc32.c
[109/573] Compiling CNIODarwin shim.c
[110/583] Compiling fiat_p256_adx_sqr.S
[112/583] Emitting module SpanPreview
[113/583] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[114/583] Compiling SpanPreview InputSpan.swift
[115/583] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[115/584] Compiling fiat_p256_adx_mul.S
[117/584] Compiling Logging Logger+Attributes.swift
[118/584] Compiling Logging Logger.swift
[124/585] Compiling Instrumentation NoOpInstrument.swift
[124/585] Compiling fiat_curve25519_adx_square.S
[126/585] Compiling Instrumentation MultiplexInstrument.swift
[127/585] Emitting module Instrumentation
[128/585] Emitting module Logging
[128/585] Compiling fiat_curve25519_adx_mul.S
[134/594] Compiling SystemPackage PlatformString.swift
[135/607] Compiling Logging MetadataProvider.swift
[136/615] Emitting module SystemPackage
[137/615] Compiling DequeModule _DequeBuffer.swift
[138/615] Compiling DequeModule _DequeBufferHeader.swift
[139/615] Compiling DequeModule RigidDeque+Append.swift
[140/615] Compiling DequeModule RigidDeque+Consumption.swift
[141/615] Compiling DequeModule RigidDeque+ContainerOperations.swift
[142/615] Compiling DequeModule Deque+Codable.swift
[143/615] Compiling DequeModule Deque+Collection.swift
[144/615] Compiling DequeModule Deque+CustomReflectable.swift
[145/615] Compiling DequeModule Deque+Descriptions.swift
[146/619] Compiling DequeModule Deque+Equatable.swift
[147/619] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[148/620] Compiling DequeModule RigidDeque+Insertions.swift
[149/620] Compiling DequeModule RigidDeque+Iterable.swift
[150/620] Compiling DequeModule Deque+Extras.swift
[151/620] Compiling DequeModule Deque+Hashable.swift
[152/620] Compiling DequeModule Deque+Testing.swift
[153/622] Compiling SystemPackage FileFlags.swift
[154/622] Compiling SystemPackage FileMode.swift
[155/622] Compiling SystemPackage FileType.swift
[156/622] Compiling SystemPackage Identifiers.swift
[157/622] Compiling SystemPackage Stat.swift
[158/623] Compiling DequeModule Deque._Storage.swift
[159/623] Compiling DequeModule Deque._UnsafeHandle.swift
[160/623] Compiling DequeModule Deque.swift
[161/623] Compiling DequeModule RigidDeque+Prepend.swift
[162/623] Compiling DequeModule RigidDeque+Removals.swift
[163/623] Compiling DequeModule RigidDeque+Deprecations.swift
[164/623] Compiling DequeModule RigidDeque+Descriptions.swift
[165/623] Compiling DequeModule RigidDeque+Equatable.swift
[166/623] Compiling DequeModule RigidDeque+Hashable.swift
[167/623] Compiling DequeModule RigidDeque+Initializers.swift
[168/632] Compiling Instrumentation Locks.swift
[169/632] Compiling HTTPTypes HTTPParsedFields.swift
[170/632] Compiling Instrumentation InstrumentationSystem.swift
[171/632] Compiling Instrumentation Instrument.swift
[176/634] Compiling _NIODataStructures Heap.swift
[177/634] Emitting module _NIODataStructures
[180/643] Compiling Tracing InstrumentationSystem+Tracing.swift
[182/644] Compiling Tracing TracerProtocol.swift
[182/644] Compiling CNIOBoringSSLShims shims.c
[184/644] Compiling DequeModule UniqueDeque+Initializers.swift
[185/644] Compiling DequeModule UniqueDeque+Insertions.swift
[186/644] Compiling DequeModule UniqueDeque+Iterable.swift
[187/644] Compiling DequeModule UniqueDeque+Prepend.swift
[188/644] Compiling DequeModule UniqueDeque+Removals.swift
[189/649] Compiling DequeModule UniqueDeque+Consumption.swift
[190/649] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[191/649] Compiling DequeModule UniqueDeque+Deprecations.swift
[192/649] Compiling DequeModule UniqueDeque+Descriptions.swift
[193/649] Compiling DequeModule UniqueDeque+Equatable.swift
[194/649] Compiling DequeModule UniqueDeque+Hashable.swift
[195/649] Compiling HTTPTypes HTTPRequest+URL.swift
[196/649] Compiling HTTPTypes HTTPRequest.swift
[197/649] Compiling Tracing WithTracer.swift
[198/649] Compiling HTTPTypes HTTPFields.swift
[199/649] Compiling HTTPTypes HTTPFieldValue.swift
[200/649] Emitting module Tracing
[201/649] Emitting module HTTPTypes
[202/649] Compiling Tracing TracingTime.swift
[211/649] Compiling DequeModule RigidDeque+Replacements.swift
[212/649] Compiling DequeModule RigidDeque+Testing.swift
[213/649] Compiling DequeModule RigidDeque.swift
[214/649] Compiling DequeModule UniqueDeque+Append.swift
[221/649] Compiling Tracing Tracer.swift
[222/649] Compiling Tracing TracerProtocol+Legacy.swift
[223/649] Compiling Tracing SpanProtocol.swift
[224/649] Compiling Tracing NoOpTracer.swift
[226/650] Compiling HTTPTypes HTTPResponse.swift
[227/657] Compiling tls_method.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[247/658] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:50:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
49 | @available(HTTPTypes 1.0, *)
50 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
51 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
52 | ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
154 | @available(HTTPTypes 1.0, *)
155 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
156 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 | ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[247/658] Compiling tls_record.cc
[248/658] Compiling tls13_server.cc
[250/658] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:50:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
49 | @available(HTTPTypes 1.0, *)
50 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
51 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
52 | ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
154 | @available(HTTPTypes 1.0, *)
155 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
156 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 | ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:58:19: error: cannot find type 'URLSessionTaskDelegate' in scope
56 | public func data(
57 | for request: HTTPRequest,
58 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
59 | ) async throws -> (Data, HTTPResponse) {
60 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:79:19: error: cannot find type 'URLSessionTaskDelegate' in scope
77 | for request: HTTPRequest,
78 | fromFile fileURL: URL,
79 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
80 | ) async throws -> (Data, HTTPResponse) {
81 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:100:19: error: cannot find type 'URLSessionTaskDelegate' in scope
98 | for request: HTTPRequest,
99 | from bodyData: Data,
100 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
101 | ) async throws -> (Data, HTTPResponse) {
102 | guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:119:19: error: cannot find type 'URLSessionTaskDelegate' in scope
117 | public func download(
118 | for request: HTTPRequest,
119 | delegate: URLSessionTaskDelegate? = nil
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
120 | ) async throws -> (URL, HTTPResponse) {
121 | guard let urlRequest = URLRequest(httpRequest: request) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[251/658] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[251/658] Compiling tls13_enc.cc
[253/658] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[254/658] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[255/658] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[255/658] Compiling ssl_transcript.cc
[255/658] Compiling ssl_x509.cc
[255/658] Compiling ssl_versions.cc
[255/658] Compiling tls13_both.cc
[255/658] Compiling t1_enc.cc
[255/658] Compiling tls13_client.cc
BUILD FAILURE 6.2 wasm