The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FOSUtilities, reference 0.3.6 (e58bb1), with Swift 6.2 for Wasm on 19 Apr 2026 23:06:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/foscomputerservices/FOSUtilities.git
Reference: 0.3.6
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/foscomputerservices/FOSUtilities
 * tag               0.3.6      -> FETCH_HEAD
HEAD is now at e58bb1a Fix LocalizableDate decoding issues in FOSTesting
Cloned https://github.com/foscomputerservices/FOSUtilities.git
Revision (git rev-parse @):
e58bb1aa8e30dbb9cf6c51a377666ef05550783d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/foscomputerservices/FOSUtilities.git at 0.3.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/foscomputerservices/FOSUtilities.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/vapor/leaf-kit.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/jpsim/Yams.git
[1/2277] Fetching swift-docc-plugin
[1504/16212] Fetching swift-docc-plugin, fluent-kit
[1687/21242] Fetching swift-docc-plugin, fluent-kit, leaf-kit
[8003/32793] Fetching swift-docc-plugin, fluent-kit, leaf-kit, yams
[10844/110106] Fetching swift-docc-plugin, fluent-kit, leaf-kit, yams, vapor
Fetched https://github.com/vapor/leaf-kit.git from cache (1.30s)
[22780/105076] Fetching swift-docc-plugin, fluent-kit, yams, vapor
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/vapor/fluent-kit.git from cache (1.47s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.47s)
[12557/88864] Fetching yams, vapor
[25142/106280] Fetching yams, vapor, swift-crypto
[25970/181263] Fetching yams, vapor, swift-crypto, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (4.86s)
[157715/169712] Fetching vapor, swift-crypto, swift-syntax
Fetched https://github.com/apple/swift-crypto.git from cache (4.21s)
Fetched https://github.com/vapor/vapor.git from cache (5.54s)
[74983/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.77s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (14.19s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (0.65s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.77s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.28s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (3.25s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.30s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.56.0 (0.69s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/vapor/sql-kit.git
[1/1267] Fetching swift-service-context
[1268/7022] Fetching swift-service-context, swift-distributed-tracing
[1269/9767] Fetching swift-service-context, swift-distributed-tracing, swift-service-lifecycle
[1774/16402] Fetching swift-service-context, swift-distributed-tracing, swift-service-lifecycle, swift-log
[5387/22646] Fetching swift-service-context, swift-distributed-tracing, swift-service-lifecycle, swift-log, sql-kit
[22647/105818] Fetching swift-service-context, swift-distributed-tracing, swift-service-lifecycle, swift-log, sql-kit, swift-nio
Fetched https://github.com/vapor/sql-kit.git from cache (0.63s)
[17234/99574] Fetching swift-service-context, swift-distributed-tracing, swift-service-lifecycle, swift-log, swift-nio
Fetched https://github.com/apple/swift-service-context.git from cache (8.30s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (8.31s)
Fetched https://github.com/apple/swift-log.git from cache (8.31s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (8.32s)
Fetched https://github.com/apple/swift-nio.git from cache (8.45s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (8.96s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.43s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6247] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.48s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.06s)
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.63s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (2.06s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.36.0 (0.56s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.14.2 (0.68s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.121.4 (0.71s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-metrics.git
[1/3187] Fetching swift-metrics
[1085/9697] Fetching swift-metrics, swift-nio-extras
[1345/15755] Fetching swift-metrics, swift-nio-extras, swift-algorithms
[1949/22906] Fetching swift-metrics, swift-nio-extras, swift-algorithms, swift-certificates
[5582/26569] Fetching swift-metrics, swift-nio-extras, swift-algorithms, swift-certificates, multipart-kit
[6817/29227] Fetching swift-metrics, swift-nio-extras, swift-algorithms, swift-certificates, multipart-kit, websocket-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (1.79s)
Fetched https://github.com/apple/swift-metrics.git from cache (1.80s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.80s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.81s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.81s)
Fetching https://github.com/vapor/routing-kit.git
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1650/25072] Fetching multipart-kit, routing-kit
[2079/31743] Fetching multipart-kit, routing-kit, console-kit
[2346/33563] Fetching multipart-kit, routing-kit, console-kit, swift-atomics
[12186/45671] Fetching multipart-kit, routing-kit, console-kit, swift-atomics, swift-nio-http2
[18269/61089] Fetching multipart-kit, routing-kit, console-kit, swift-atomics, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/vapor/multipart-kit.git from cache (3.63s)
Fetching https://github.com/vapor/async-kit.git
[52184/57426] Fetching routing-kit, console-kit, swift-atomics, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/vapor/routing-kit.git from cache (1.90s)
Fetching https://github.com/swift-server/async-http-client.git
[31546/36017] Fetching console-kit, swift-atomics, swift-nio-http2, swift-nio-ssl
[32010/38513] Fetching console-kit, swift-atomics, swift-nio-http2, swift-nio-ssl, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.42s)
[34630/36017] Fetching console-kit, swift-atomics, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.26s)
[22830/23909] Fetching console-kit, swift-atomics, swift-nio-ssl
[23910/39612] Fetching console-kit, swift-atomics, swift-nio-ssl, async-http-client
Fetched https://github.com/apple/swift-atomics.git from cache (3.03s)
Fetched https://github.com/vapor/console-kit.git from cache (3.03s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.06s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.36s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (5.49s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.47s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (2.11s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.2 (0.42s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2843] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.32s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.81s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.36s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.40s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.0 (0.67s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.16.0 (0.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.25s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (2.02s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.10.0 (0.44s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.41s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.36s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.27.0 (0.49s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (0.62s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1242] Fetching swift-http-structured-headers
[1181/2285] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.28s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.28s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.75s)
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.38s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (1.08s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (0.53s)
Fetching https://github.com/apple/swift-configuration.git
[1/3214] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git from cache (0.44s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (1.04s)
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.0
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.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.2
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.10.0
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
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.3
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
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.36.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
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/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.16.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.0
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.4.1
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.33.1
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.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.121.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/vapor/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.14.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.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.43.0
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
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.34.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.27.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
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/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.56.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.56s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/1765] Write sources
[27/1765] Compiling _NumericsShims _NumericsShims.c
[28/1765] Write sources
[34/1765] Write swift-version-24593BA9C3E375BF.txt
[35/1765] Write sources
[36/1765] Compiling _AtomicsShims.c
[37/1771] Compiling aes.cc
[39/1781] Compiling a_bool.cc
[40/1810] Compiling a_bitstr.cc
[40/1810] Write sources
[58/1810] Emitting module _CertificateInternals
[58/1810] Compiling a_bool.cc
[60/1830] Emitting module _NIODataStructures
[60/1830] Compiling a_bitstr.cc
[62/1841] Compiling SwiftASN1 TimeUtilities.swift
[63/1841] Compiling SwiftASN1 UTCTime.swift
[64/1843] Compiling RealModule RealFunctions.swift
[65/1844] Compiling RealModule AugmentedArithmetic.swift
[66/1844] Compiling RealModule Double+Real.swift
[67/1844] Compiling SwiftASN1 ASN1OctetString.swift
[68/1844] Compiling SwiftASN1 ASN1Strings.swift
[69/1844] Compiling SwiftASN1 ArraySliceBigint.swift
[70/1844] Compiling SwiftASN1 GeneralizedTime.swift
[71/1844] Emitting module SwiftASN1
[74/1844] Compiling RealModule AlgebraicField.swift
[75/1844] Compiling SwiftASN1 ASN1Integer.swift
[76/1844] Compiling SwiftASN1 ASN1Null.swift
[77/1844] Compiling RealModule ApproximateEquality.swift
[78/1844] Compiling RealModule ElementaryFunctions.swift
[79/1844] Compiling RealModule Float+Real.swift
[80/1844] Emitting module RealModule
[81/1844] Compiling ServiceContextModule ServiceContextKey.swift
[82/1844] Compiling RealModule Real.swift
[83/1844] Emitting module _NIOBase64
[84/1844] Compiling _NIOBase64 Base64.swift
[85/1845] Compiling RealModule Float80+Real.swift
[88/1845] Compiling RealModule Float16+Real.swift
[89/1845] Emitting module ServiceContextModule
[92/1845] Compiling ServiceContextModule ServiceContext.swift
[93/1846] Compiling RealModule RelaxedArithmetic.swift
[94/1847] Write sources
[115/1847] Emitting module FOSMacros
[118/1847] Compiling FOSMacros ViewModelMacro.swift
[119/1847] Compiling _CertificateInternals _TinyArray.swift
[120/1849] Compiling _NIODataStructures PriorityQueue.swift
[121/1851] Compiling _NIODataStructures _TinyArray.swift
[122/1860] Compiling Instrumentation Instrument.swift
[123/1860] Write sources
[135/1878] Compiling Instrumentation NoOpInstrument.swift
[135/1878] Compiling writer.c
[137/1878] Compiling Instrumentation MultiplexInstrument.swift
[138/1878] Emitting module Instrumentation
[139/1878] Compiling Instrumentation InstrumentationSystem.swift
[140/1883] Compiling InternalCollectionsUtilities Debugging.swift
[141/1883] Compiling InternalCollectionsUtilities Descriptions.swift
[142/1883] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[143/1885] Compiling InternalCollectionsUtilities _SortedCollection.swift
[144/1885] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[145/1885] Compiling CoreMetrics WithMetricsFactory.swift
[146/1885] Compiling CoreMetrics MappingMetricsFactory.swift
[147/1885] Compiling InternalCollectionsUtilities String+Padding.swift
[148/1885] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[149/1885] Compiling InternalCollectionsUtilities Integer rank.swift
[150/1885] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[151/1885] Compiling InternalCollectionsUtilities UInt+reversed.swift
[152/1885] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[153/1885] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[154/1885] Compiling Logging MetadataProvider.swift
[155/1885] Compiling Instrumentation Locks.swift
[156/1886] Emitting module Logging
[157/1886] Compiling Logging Locks.swift
[158/1886] Compiling CoreMetrics Locks.swift
[160/1886] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[162/1886] Compiling _NIODataStructures Heap.swift
[163/1887] Emitting module CoreMetrics
[165/1887] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[168/1896] Compiling Tracing InstrumentationSystem+Tracing.swift
[169/1899] Compiling FOSMacros FieldValidationModelMacro.swift
[170/1899] Compiling FOSMacros Stubbable.swift
[171/1899] Emitting module InternalCollectionsUtilities
[172/1899] Compiling ConcurrencyHelpers LockedValueBox.swift
[173/1899] Compiling FOSMacros VersionedFactoryMethodMacro.swift
[174/1899] Compiling FOSMacros ViewModelFactoryMacro.swift
[175/1899] Compiling FOSMacros FOSMacros.swift
[176/1899] Compiling FOSMacros SystemVersion.swift
[177/1899] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[178/1899] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[179/1899] Compiling Tracing TracingTime.swift
[180/1900] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[181/1900] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[182/1900] Compiling InternalCollectionsUtilities Span+Extras.swift
[185/1901] Emitting module Tracing
[187/1901] Compiling scanner.c
[189/1901] Compiling Tracing TracerProtocol.swift
[189/1901] Wrapping AST for FOSMacros for debugging
[190/1901] Compiling reader.c
[192/1901] Emitting module ConcurrencyHelpers
[193/1901] Compiling ConcurrencyHelpers Lock.swift
[195/1949] Compiling Tracing Tracer.swift
[196/1949] Compiling Tracing TracerProtocol+Legacy.swift
[197/2022] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[198/2037] Compiling HeapModule Heap+Descriptions.swift
[199/2037] Compiling Logging LogEvent.swift
[200/2037] Compiling Logging LogHandler.swift
[201/2037] Compiling Logging Logging.swift
[203/2038] Compiling CoreMetrics Metrics.swift
[205/2045] Compiling HeapModule _HeapNode.swift
[206/2045] Compiling HeapModule Heap.swift
[207/2047] Compiling HeapModule Heap+Invariants.swift
[208/2047] Compiling HeapModule Heap+UnsafeHandle.swift
[209/2047] Compiling Tracing NoOpTracer.swift
[210/2047] Compiling Tracing SpanProtocol.swift
[211/2048] Emitting module HeapModule
[214/2049] Compiling UnixSignals UnixSignal.swift
[215/2049] Compiling UnixSignals UnixSignalsSequence.swift
[216/2049] Emitting module UnixSignals
[217/2050] Write Objects.LinkFileList
[219/2050] Emitting module Metrics
[220/2050] Compiling Metrics Metrics.swift
[222/2160] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[223/2160] Compiling HashTreeCollections _HashNode.swift
[224/2160] Compiling HashTreeCollections _HashNodeHeader.swift
[225/2160] Compiling HashTreeCollections _HashSlot.swift
[226/2160] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[227/2160] Compiling HashTreeCollections _HashNode+Structural merge.swift
[228/2160] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[229/2160] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[230/2164] Compiling HashTreeCollections _HashNode+Structural union.swift
[231/2164] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[232/2164] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[233/2164] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[234/2164] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[235/2164] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[236/2164] Compiling HashTreeCollections TreeDictionary+Keys.swift
[237/2164] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[238/2164] Compiling HashTreeCollections TreeDictionary+Merge.swift
[239/2164] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[240/2164] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[241/2164] Compiling HashTreeCollections TreeDictionary+Collection.swift
[242/2164] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[243/2164] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[244/2164] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[245/2164] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[246/2164] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[247/2164] Compiling HashTreeCollections TreeDictionary+Filter.swift
[248/2171] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[249/2171] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[250/2171] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[251/2171] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[252/2171] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[253/2171] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[254/2171] Compiling ContainersPreview BorrowingSequence.swift
[255/2171] Compiling ContainersPreview BidirectionalContainer.swift
[256/2171] Compiling ContainersPreview Container+Filter.swift
[257/2171] Compiling ContainersPreview Container+SpanwiseZip.swift
[258/2171] Compiling ContainersPreview Container.swift
[259/2171] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[260/2171] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[261/2171] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[262/2171] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[262/2171] Compiling parser.c
[264/2171] Compiling ContainersPreview Box.swift
[265/2171] Compiling ContainersPreview Inout.swift
[266/2171] Compiling ContainersPreview InputSpan.swift
[267/2171] Compiling ContainersPreview Shared.swift
[268/2171] Emitting module ContainersPreview
[277/2171] Compiling ContainersPreview OutputSpan+Extras.swift
[278/2171] Compiling ContainersPreview TemporaryAllocation.swift
[279/2171] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[280/2171] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[281/2171] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[286/2172] Compiling HashTreeCollections _RawHashNode.swift
[287/2172] Compiling HashTreeCollections _UnmanagedHashNode.swift
[288/2172] Compiling HashTreeCollections _UnsafePath.swift
[289/2172] Compiling HashTreeCollections TreeDictionary+Codable.swift
[290/2172] Compiling emitter.c
[307/2172] Compiling api.c
[308/2212] Compiling CXKCPShims shims.c
[310/2212] Compiling OrderedCollections OrderedSet+SubSequence.swift
[311/2212] Compiling OrderedCollections OrderedSet+Testing.swift
[312/2212] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[313/2212] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[314/2212] Compiling OrderedCollections OrderedSet.swift
[315/2212] Compiling OrderedCollections _UnsafeBitset.swift
[316/2212] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[317/2212] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[318/2212] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[319/2212] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[319/2242] Linking FOSMacros-tool
[320/2242] Compiling SimpleFIPS202.c
[322/2242] Compiling HashTreeCollections TreeDictionary.swift
[323/2242] Compiling HashTreeCollections TreeSet+Codable.swift
[324/2242] Compiling HashTreeCollections TreeSet+Collection.swift
[325/2242] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[326/2242] Compiling HashTreeCollections TreeSet+Debugging.swift
[327/2242] Compiling HashTreeCollections TreeSet+Descriptions.swift
[328/2242] Compiling HashTreeCollections TreeSet+Equatable.swift
[329/2242] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[330/2242] Compiling HashTreeCollections TreeSet+Extras.swift
[331/2242] Compiling HashTreeCollections TreeSet+Filter.swift
[331/2242] Compiling KeccakSponge.c
[333/2242] Compiling DequeModule UniqueDeque+Hashable.swift
[334/2242] Compiling DequeModule UniqueDeque+Initializers.swift
[335/2242] Compiling DequeModule UniqueDeque+Insertions.swift
[336/2242] Compiling DequeModule UniqueDeque+Prepend.swift
[337/2242] Compiling DequeModule UniqueDeque+Removals.swift
[338/2242] Compiling DequeModule UniqueDeque+Consumption.swift
[339/2242] Compiling DequeModule UniqueDeque+Container.swift
[340/2242] Compiling DequeModule UniqueDeque+Descriptions.swift
[341/2242] Compiling DequeModule UniqueDeque+Equatable.swift
[342/2242] Compiling DequeModule UniqueDeque+Experimental.swift
[353/2247] Compiling OrderedCollections OrderedSet+Sendable.swift
[354/2247] Compiling Yams AliasDereferencingStrategy.swift
[355/2247] Compiling Yams Anchor.swift
[356/2247] Compiling Yams Constructor.swift
[357/2247] Compiling Yams Decoder.swift
[358/2247] Compiling Yams Emitter.swift
[359/2247] Compiling Yams Encoder.swift
[360/2247] Compiling Yams Mark.swift
[361/2247] Compiling Yams Node.Alias.swift
[362/2247] Compiling Yams Node.Mapping.swift
[363/2247] Compiling Yams Node.Scalar.swift
[364/2256] Compiling DequeModule RigidDeque+Removals.swift
[365/2256] Compiling DequeModule RigidDeque+Replacements.swift
[366/2256] Compiling DequeModule RigidDeque+Testing.swift
[367/2256] Compiling DequeModule RigidDeque.swift
[368/2256] Compiling DequeModule UniqueDeque+Append.swift
[369/2256] Compiling Yams YamlAnchorProviding.swift
[370/2256] Compiling DequeModule RigidDeque+Experimental.swift
[371/2256] Compiling DequeModule RigidDeque+Hashable.swift
[372/2256] Compiling DequeModule RigidDeque+Initializers.swift
[373/2256] Compiling DequeModule RigidDeque+Insertions.swift
[374/2256] Compiling DequeModule RigidDeque+Prepend.swift
[375/2256] Compiling Yams Parser.swift
[376/2256] Compiling Yams RedundancyAliasingStrategy.swift
[377/2256] Compiling Yams Representer.swift
[378/2256] Compiling Yams Resolver.swift
[379/2256] Compiling Yams String+Yams.swift
[380/2256] Compiling Yams Tag.swift
[398/2256] Compiling _RopeModule String Utilities.swift
[399/2256] Compiling _RopeModule String.Index+ABI.swift
[400/2256] Compiling _RopeModule _CharacterRecognizer.swift
[401/2256] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[402/2256] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[403/2256] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[404/2256] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[405/2256] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[406/2256] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[407/2256] Compiling HashTreeCollections TreeSet.swift
[407/2256] Compiling KeccakP-1600-opt64.c
[408/2256] Compiling KeccakHash.c
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:312:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     ///   - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
311 |     ///   - allowCellular: Allow requests to be made over cellular connections (default: true)
312 |     public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
    |                                                                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |         let sessionConfig = URLSessionConfiguration.default
314 |         sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:417:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
415 |     }
416 |
417 |     private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, responseMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
    |                                                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
418 |         do {
419 |             try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:483:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 |     }
482 |
483 |     @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
    |                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
484 |         if let error {
485 |             throw error
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:483:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 |     }
482 |
483 |     @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
    |                                                                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
484 |         if let error {
485 |             throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:504:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
502 |     }
503 |
504 |     private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
505 |         guard let expectedMimeType else { return }
506 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:313:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
311 |     ///   - allowCellular: Allow requests to be made over cellular connections (default: true)
312 |     public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
313 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
314 |         sessionConfig.allowsCellularAccess = allowCellular
315 |         sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:348:26: error: cannot find 'URLRequest' in scope
346 |     /// - Throws: ``DataFetchError`` or **errorType**
347 |     public func send<ResultValue: Decodable & Sendable>(data: Data? = nil, to url: URL, httpMethod: String, headers: [(field: String, value: String)]?, locale: Locale?, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
348 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
349 |         urlRequest.httpMethod = httpMethod
350 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 |     func dataTask(
29 |         with request: URLRequest,
   |                       `- error: cannot find type 'URLRequest' in scope
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:413:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
411 |                     }
412 |                 }
413 |                 .resume()
    |                  `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
414 |         }
415 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:443:39: warning: forced cast from 'ResultValue?' to 'ResultValue' only unwraps optionals; did you mean to use '!'?
441 |                         // NOTE: The compiler has no idea what type it's dealing with here,
442 |                         //  so we can ignore the warnings.
443 |                         result = (tmp as! ResultValue) // swiftlint:disable:this force_cast
    |                                       `- warning: forced cast from 'ResultValue?' to 'ResultValue' only unwraps optionals; did you mean to use '!'?
444 |                     } else {
445 |                         throw DataFetchError.badResponseMimeType(responseMimeType ?? "<unknown>")
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:488:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
486 |         }
487 |
488 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
489 |             fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
490 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:488:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
486 |         }
487 |
488 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
489 |             fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
490 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:492:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
490 |         }
491 |
492 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
493 |             throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
494 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:493:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
491 |
492 |         guard (200...299).contains(httpResponse.statusCode) else {
493 |             throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
    |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
494 |         }
495 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:507:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
505 |         guard let expectedMimeType else { return }
506 |
507 |         guard let mimeType = response.mimeType else {
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
508 |             throw DataFetchError.badResponseMimeType("<None Received>")
509 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:312:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     ///   - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
311 |     ///   - allowCellular: Allow requests to be made over cellular connections (default: true)
312 |     public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
    |                                                                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |         let sessionConfig = URLSessionConfiguration.default
314 |         sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:417:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
415 |     }
416 |
417 |     private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, responseMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
    |                                                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
418 |         do {
419 |             try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:483:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 |     }
482 |
483 |     @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
    |                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
484 |         if let error {
485 |             throw error
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:483:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 |     }
482 |
483 |     @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
    |                                                                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
484 |         if let error {
485 |             throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:504:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
502 |     }
503 |
504 |     private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
505 |         guard let expectedMimeType else { return }
506 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:313:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
311 |     ///   - allowCellular: Allow requests to be made over cellular connections (default: true)
312 |     public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
313 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
314 |         sessionConfig.allowsCellularAccess = allowCellular
315 |         sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:348:26: error: cannot find 'URLRequest' in scope
346 |     /// - Throws: ``DataFetchError`` or **errorType**
347 |     public func send<ResultValue: Decodable & Sendable>(data: Data? = nil, to url: URL, httpMethod: String, headers: [(field: String, value: String)]?, locale: Locale?, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
348 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
349 |         urlRequest.httpMethod = httpMethod
350 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 |     func dataTask(
29 |         with request: URLRequest,
   |                       `- error: cannot find type 'URLRequest' in scope
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:413:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
411 |                     }
412 |                 }
413 |                 .resume()
    |                  `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
414 |         }
415 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:443:39: warning: forced cast from 'ResultValue?' to 'ResultValue' only unwraps optionals; did you mean to use '!'?
441 |                         // NOTE: The compiler has no idea what type it's dealing with here,
442 |                         //  so we can ignore the warnings.
443 |                         result = (tmp as! ResultValue) // swiftlint:disable:this force_cast
    |                                       `- warning: forced cast from 'ResultValue?' to 'ResultValue' only unwraps optionals; did you mean to use '!'?
444 |                     } else {
445 |                         throw DataFetchError.badResponseMimeType(responseMimeType ?? "<unknown>")
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:488:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
486 |         }
487 |
488 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
489 |             fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
490 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:488:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
486 |         }
487 |
488 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
489 |             fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
490 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:492:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
490 |         }
491 |
492 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
493 |             throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
494 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:493:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
491 |
492 |         guard (200...299).contains(httpResponse.statusCode) else {
493 |             throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
    |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
494 |         }
495 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:507:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
505 |         guard let expectedMimeType else { return }
506 |
507 |         guard let mimeType = response.mimeType else {
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
508 |             throw DataFetchError.badResponseMimeType("<None Received>")
509 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:312:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     ///   - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
311 |     ///   - allowCellular: Allow requests to be made over cellular connections (default: true)
312 |     public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
    |                                                                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |         let sessionConfig = URLSessionConfiguration.default
314 |         sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:417:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
415 |     }
416 |
417 |     private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, responseMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
    |                                                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
418 |         do {
419 |             try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:483:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 |     }
482 |
483 |     @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
    |                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
484 |         if let error {
485 |             throw error
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:483:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 |     }
482 |
483 |     @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
    |                                                                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
484 |         if let error {
485 |             throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:504:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
502 |     }
503 |
504 |     private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
505 |         guard let expectedMimeType else { return }
506 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:313:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
311 |     ///   - allowCellular: Allow requests to be made over cellular connections (default: true)
312 |     public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
313 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
314 |         sessionConfig.allowsCellularAccess = allowCellular
315 |         sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:348:26: error: cannot find 'URLRequest' in scope
346 |     /// - Throws: ``DataFetchError`` or **errorType**
347 |     public func send<ResultValue: Decodable & Sendable>(data: Data? = nil, to url: URL, httpMethod: String, headers: [(field: String, value: String)]?, locale: Locale?, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
348 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
349 |         urlRequest.httpMethod = httpMethod
350 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 |     func dataTask(
29 |         with request: URLRequest,
   |                       `- error: cannot find type 'URLRequest' in scope
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:413:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
411 |                     }
412 |                 }
413 |                 .resume()
    |                  `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
414 |         }
415 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:443:39: warning: forced cast from 'ResultValue?' to 'ResultValue' only unwraps optionals; did you mean to use '!'?
441 |                         // NOTE: The compiler has no idea what type it's dealing with here,
442 |                         //  so we can ignore the warnings.
443 |                         result = (tmp as! ResultValue) // swiftlint:disable:this force_cast
    |                                       `- warning: forced cast from 'ResultValue?' to 'ResultValue' only unwraps optionals; did you mean to use '!'?
444 |                     } else {
445 |                         throw DataFetchError.badResponseMimeType(responseMimeType ?? "<unknown>")
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:488:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
486 |         }
487 |
488 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
489 |             fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
490 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:488:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
486 |         }
487 |
488 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
489 |             fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
490 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:492:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
490 |         }
491 |
492 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
493 |             throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
494 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:493:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
491 |
492 |         guard (200...299).contains(httpResponse.statusCode) else {
493 |             throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
    |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
494 |         }
495 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:507:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
505 |         guard let expectedMimeType else { return }
506 |
507 |         guard let mimeType = response.mimeType else {
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
508 |             throw DataFetchError.badResponseMimeType("<None Received>")
509 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:312:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     ///   - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
311 |     ///   - allowCellular: Allow requests to be made over cellular connections (default: true)
312 |     public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
    |                                                                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |         let sessionConfig = URLSessionConfiguration.default
314 |         sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:417:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
415 |     }
416 |
417 |     private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, responseMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
    |                                                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
418 |         do {
419 |             try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:483:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 |     }
482 |
483 |     @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
    |                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
484 |         if let error {
485 |             throw error
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:483:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 |     }
482 |
483 |     @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
    |                                                                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
484 |         if let error {
485 |             throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:504:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
502 |     }
503 |
504 |     private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
505 |         guard let expectedMimeType else { return }
506 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:313:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
311 |     ///   - allowCellular: Allow requests to be made over cellular connections (default: true)
312 |     public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
313 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
314 |         sessionConfig.allowsCellularAccess = allowCellular
315 |         sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:348:26: error: cannot find 'URLRequest' in scope
346 |     /// - Throws: ``DataFetchError`` or **errorType**
347 |     public func send<ResultValue: Decodable & Sendable>(data: Data? = nil, to url: URL, httpMethod: String, headers: [(field: String, value: String)]?, locale: Locale?, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
348 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
349 |         urlRequest.httpMethod = httpMethod
350 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 |     func dataTask(
29 |         with request: URLRequest,
   |                       `- error: cannot find type 'URLRequest' in scope
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:413:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
411 |                     }
412 |                 }
413 |                 .resume()
    |                  `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
414 |         }
415 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:443:39: warning: forced cast from 'ResultValue?' to 'ResultValue' only unwraps optionals; did you mean to use '!'?
441 |                         // NOTE: The compiler has no idea what type it's dealing with here,
442 |                         //  so we can ignore the warnings.
443 |                         result = (tmp as! ResultValue) // swiftlint:disable:this force_cast
    |                                       `- warning: forced cast from 'ResultValue?' to 'ResultValue' only unwraps optionals; did you mean to use '!'?
444 |                     } else {
445 |                         throw DataFetchError.badResponseMimeType(responseMimeType ?? "<unknown>")
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:488:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
486 |         }
487 |
488 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
489 |             fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
490 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:488:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
486 |         }
487 |
488 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
489 |             fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
490 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:492:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
490 |         }
491 |
492 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
493 |             throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
494 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:493:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
491 |
492 |         guard (200...299).contains(httpResponse.statusCode) else {
493 |             throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
    |                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
494 |         }
495 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:507:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
505 |         guard let expectedMimeType else { return }
506 |
507 |         guard let mimeType = response.mimeType else {
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
508 |             throw DataFetchError.badResponseMimeType("<None Received>")
509 |         }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:38:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 36 |     ///  | Accept-Language | <provided locale> |
 37 |     func fetch<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil) async throws -> ResultValue {
 38 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 39 |             .fetch(self, headers: headers, locale: locale)
 40 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:58:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 56 |     ///  | Accept-Language | <provided locale> |
 57 |     func fetch<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
 58 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 59 |             .fetch(self, headers: headers, locale: locale, errorType: errorType)
 60 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:76:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 74 |     ///  | Content-Type | application/json;charset=utf-8 |
 75 |     func send<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
 76 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 77 |             .post(data: data, to: self, headers: headers)
 78 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:95:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 93 |     ///  | Content-Type | application/json;charset=utf-8 |
 94 |     func send<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
 95 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 96 |             .post(
 97 |                 data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:118:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
116 |     ///  | Content-Type | application/json;charset=utf-8 |
117 |     func delete<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
118 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
119 |             .delete(data: data, at: self, headers: headers)
120 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:137:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
135 |     ///  | Content-Type | application/json;charset=utf-8 |
136 |     func delete<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
137 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
138 |             .delete(
139 |                 data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     func dataTask(
24 |         with url: URL,
25 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
   |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         with url: URL,
25 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 |     ) -> URLSessionDataTask
   |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 |     func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 |     func dataTask(
29 |         with request: URLRequest,
   |                       `- error: cannot find type 'URLRequest' in scope
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     func dataTask(
29 |         with request: URLRequest,
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
   |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         with request: URLRequest,
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
   |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) -> URLSessionDataTask
32 |
33 |     static func session(config: URLSessionConfiguration) -> Self
   |                                 `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
34 | }
35 |
36 | extension URLSession: URLSessionProtocol {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
37 |     public static func session(config: URLSessionConfiguration) -> Self {
38 |         // REVIEWED - dgh: This odd construction is due to the way that
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:38:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 36 |     ///  | Accept-Language | <provided locale> |
 37 |     func fetch<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil) async throws -> ResultValue {
 38 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 39 |             .fetch(self, headers: headers, locale: locale)
 40 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:58:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 56 |     ///  | Accept-Language | <provided locale> |
 57 |     func fetch<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
 58 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 59 |             .fetch(self, headers: headers, locale: locale, errorType: errorType)
 60 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:76:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 74 |     ///  | Content-Type | application/json;charset=utf-8 |
 75 |     func send<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
 76 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 77 |             .post(data: data, to: self, headers: headers)
 78 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:95:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 93 |     ///  | Content-Type | application/json;charset=utf-8 |
 94 |     func send<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
 95 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 96 |             .post(
 97 |                 data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:118:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
116 |     ///  | Content-Type | application/json;charset=utf-8 |
117 |     func delete<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
118 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
119 |             .delete(data: data, at: self, headers: headers)
120 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:137:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
135 |     ///  | Content-Type | application/json;charset=utf-8 |
136 |     func delete<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
137 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
138 |             .delete(
139 |                 data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     func dataTask(
24 |         with url: URL,
25 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
   |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         with url: URL,
25 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 |     ) -> URLSessionDataTask
   |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 |     func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 |     func dataTask(
29 |         with request: URLRequest,
   |                       `- error: cannot find type 'URLRequest' in scope
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     func dataTask(
29 |         with request: URLRequest,
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
   |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         with request: URLRequest,
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
   |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) -> URLSessionDataTask
32 |
33 |     static func session(config: URLSessionConfiguration) -> Self
   |                                 `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
34 | }
35 |
36 | extension URLSession: URLSessionProtocol {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
37 |     public static func session(config: URLSessionConfiguration) -> Self {
38 |         // REVIEWED - dgh: This odd construction is due to the way that
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:38:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 36 |     ///  | Accept-Language | <provided locale> |
 37 |     func fetch<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil) async throws -> ResultValue {
 38 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 39 |             .fetch(self, headers: headers, locale: locale)
 40 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:58:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 56 |     ///  | Accept-Language | <provided locale> |
 57 |     func fetch<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
 58 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 59 |             .fetch(self, headers: headers, locale: locale, errorType: errorType)
 60 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:76:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 74 |     ///  | Content-Type | application/json;charset=utf-8 |
 75 |     func send<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
 76 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 77 |             .post(data: data, to: self, headers: headers)
 78 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:95:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 93 |     ///  | Content-Type | application/json;charset=utf-8 |
 94 |     func send<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
 95 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 96 |             .post(
 97 |                 data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:118:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
116 |     ///  | Content-Type | application/json;charset=utf-8 |
117 |     func delete<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
118 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
119 |             .delete(data: data, at: self, headers: headers)
120 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:137:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
135 |     ///  | Content-Type | application/json;charset=utf-8 |
136 |     func delete<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
137 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
138 |             .delete(
139 |                 data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     func dataTask(
24 |         with url: URL,
25 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
   |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         with url: URL,
25 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 |     ) -> URLSessionDataTask
   |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 |     func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 |     func dataTask(
29 |         with request: URLRequest,
   |                       `- error: cannot find type 'URLRequest' in scope
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     func dataTask(
29 |         with request: URLRequest,
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
   |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         with request: URLRequest,
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
   |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) -> URLSessionDataTask
32 |
33 |     static func session(config: URLSessionConfiguration) -> Self
   |                                 `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
34 | }
35 |
36 | extension URLSession: URLSessionProtocol {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
37 |     public static func session(config: URLSessionConfiguration) -> Self {
38 |         // REVIEWED - dgh: This odd construction is due to the way that
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:38:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 36 |     ///  | Accept-Language | <provided locale> |
 37 |     func fetch<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil) async throws -> ResultValue {
 38 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 39 |             .fetch(self, headers: headers, locale: locale)
 40 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:58:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 56 |     ///  | Accept-Language | <provided locale> |
 57 |     func fetch<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
 58 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 59 |             .fetch(self, headers: headers, locale: locale, errorType: errorType)
 60 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:76:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 74 |     ///  | Content-Type | application/json;charset=utf-8 |
 75 |     func send<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
 76 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 77 |             .post(data: data, to: self, headers: headers)
 78 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:95:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 93 |     ///  | Content-Type | application/json;charset=utf-8 |
 94 |     func send<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
 95 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
 96 |             .post(
 97 |                 data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:118:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
116 |     ///  | Content-Type | application/json;charset=utf-8 |
117 |     func delete<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
118 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
119 |             .delete(data: data, at: self, headers: headers)
120 |     }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:137:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
135 |     ///  | Content-Type | application/json;charset=utf-8 |
136 |     func delete<ResultValue: Decodable & Sendable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
137 |         try await DataFetch<URLSession>.default
    |                   `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
138 |             .delete(
139 |                 data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     func dataTask(
24 |         with url: URL,
25 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
   |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         with url: URL,
25 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 |     ) -> URLSessionDataTask
   |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 |     func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 |     func dataTask(
29 |         with request: URLRequest,
   |                       `- error: cannot find type 'URLRequest' in scope
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     func dataTask(
29 |         with request: URLRequest,
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
   |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         with request: URLRequest,
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
   |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) -> URLSessionDataTask
32 |
33 |     static func session(config: URLSessionConfiguration) -> Self
   |                                 `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
34 | }
35 |
36 | extension URLSession: URLSessionProtocol {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
37 |     public static func session(config: URLSessionConfiguration) -> Self {
38 |         // REVIEWED - dgh: This odd construction is due to the way that
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[422/2260] Emitting module FOSFoundation
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:312:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     ///   - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
311 |     ///   - allowCellular: Allow requests to be made over cellular connections (default: true)
312 |     public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
    |                                                                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |         let sessionConfig = URLSessionConfiguration.default
314 |         sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:417:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
415 |     }
416 |
417 |     private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, responseMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
    |                                                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
418 |         do {
419 |             try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:483:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 |     }
482 |
483 |     @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
    |                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
484 |         if let error {
485 |             throw error
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:483:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 |     }
482 |
483 |     @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
    |                                                                                                                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
484 |         if let error {
485 |             throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:504:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
502 |     }
503 |
504 |     private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
505 |         guard let expectedMimeType else { return }
506 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     func dataTask(
24 |         with url: URL,
25 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
   |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         with url: URL,
25 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 |     ) -> URLSessionDataTask
   |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 |     func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 |     func dataTask(
29 |         with request: URLRequest,
   |                       `- error: cannot find type 'URLRequest' in scope
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     func dataTask(
29 |         with request: URLRequest,
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
   |                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         with request: URLRequest,
30 |         completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 |     ) -> URLSessionDataTask
   |          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 |     static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     ) -> URLSessionDataTask
32 |
33 |     static func session(config: URLSessionConfiguration) -> Self
   |                                 `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
34 | }
35 |
36 | extension URLSession: URLSessionProtocol {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
37 |     public static func session(config: URLSessionConfiguration) -> Self {
38 |         // REVIEWED - dgh: This odd construction is due to the way that
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
   |                  `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 |     /// A simplified API to send an **Encodable** over a web socket
42 |     ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:51:25: error: cannot find 'DispatchSemaphore' in scope
 49 |         operation: @escaping @Sendable () async throws -> Success
 50 |     ) throws {
 51 |         let semaphore = DispatchSemaphore(value: 0)
    |                         `- error: cannot find 'DispatchSemaphore' in scope
 52 |         let box = ResultBox<Error>()
 53 |
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:93:25: error: cannot find 'DispatchSemaphore' in scope
 91 |         operation: @escaping @Sendable () async throws -> R
 92 |     ) throws -> R {
 93 |         let semaphore = DispatchSemaphore(value: 0)
    |                         `- error: cannot find 'DispatchSemaphore' in scope
 94 |         let box = ResultBox<Result<R, Error>>()
 95 |
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:51:25: error: cannot find 'DispatchSemaphore' in scope
 49 |         operation: @escaping @Sendable () async throws -> Success
 50 |     ) throws {
 51 |         let semaphore = DispatchSemaphore(value: 0)
    |                         `- error: cannot find 'DispatchSemaphore' in scope
 52 |         let box = ResultBox<Error>()
 53 |
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:93:25: error: cannot find 'DispatchSemaphore' in scope
 91 |         operation: @escaping @Sendable () async throws -> R
 92 |     ) throws -> R {
 93 |         let semaphore = DispatchSemaphore(value: 0)
    |                         `- error: cannot find 'DispatchSemaphore' in scope
 94 |         let box = ResultBox<Result<R, Error>>()
 95 |
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:51:25: error: cannot find 'DispatchSemaphore' in scope
 49 |         operation: @escaping @Sendable () async throws -> Success
 50 |     ) throws {
 51 |         let semaphore = DispatchSemaphore(value: 0)
    |                         `- error: cannot find 'DispatchSemaphore' in scope
 52 |         let box = ResultBox<Error>()
 53 |
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:93:25: error: cannot find 'DispatchSemaphore' in scope
 91 |         operation: @escaping @Sendable () async throws -> R
 92 |     ) throws -> R {
 93 |         let semaphore = DispatchSemaphore(value: 0)
    |                         `- error: cannot find 'DispatchSemaphore' in scope
 94 |         let box = ResultBox<Result<R, Error>>()
 95 |
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:51:25: error: cannot find 'DispatchSemaphore' in scope
 49 |         operation: @escaping @Sendable () async throws -> Success
 50 |     ) throws {
 51 |         let semaphore = DispatchSemaphore(value: 0)
    |                         `- error: cannot find 'DispatchSemaphore' in scope
 52 |         let box = ResultBox<Error>()
 53 |
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:93:25: error: cannot find 'DispatchSemaphore' in scope
 91 |         operation: @escaping @Sendable () async throws -> R
 92 |     ) throws -> R {
 93 |         let semaphore = DispatchSemaphore(value: 0)
    |                         `- error: cannot find 'DispatchSemaphore' in scope
 94 |         let box = ResultBox<Result<R, Error>>()
 95 |
[429/2260] Compiling Yams Node.Sequence.swift
[430/2260] Compiling Yams Node.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
   |                  `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 |     /// A simplified API to send an **Encodable** over a web socket
42 |     ///
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
   |                  `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 |     /// A simplified API to send an **Encodable** over a web socket
42 |     ///
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
   |                  `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 |     /// A simplified API to send an **Encodable** over a web socket
42 |     ///
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
   |                  `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 |     /// A simplified API to send an **Encodable** over a web socket
42 |     ///
[445/2260] Compiling CVaporBcrypt blf.c
[455/2260] Compiling FOSFoundation String+Polyfill.swift
[456/2260] Compiling FOSFoundation String+Utilities.swift
[456/2260] Compiling CVaporBcrypt bcrypt.c
[457/2260] Compiling CSystem shims.c
[458/2260] Compiling CNIOWindows shim.c
[466/2260] Compiling DequeModule UniqueDeque+Replacements.swift
[467/2260] Compiling DequeModule UniqueDeque.swift
[468/2260] Compiling DequeModule _DequeSlot.swift
[469/2260] Compiling DequeModule _UnsafeDequeHandle.swift
[470/2260] Compiling DequeModule _UnsafeDequeSegments.swift
[471/2291] Compiling SystemPackage FilePathTemp.swift
[472/2291] Compiling SystemPackage FilePathTempPosix.swift
[473/2291] Compiling SystemPackage FilePathTempWindows.swift
[474/2291] Compiling SystemPackage FilePath.swift
[475/2291] Compiling SystemPackage FilePathComponentView.swift
[476/2291] Compiling SystemPackage FilePathComponents.swift
[477/2291] Compiling SystemPackage Errno.swift
[478/2291] Compiling SystemPackage ErrnoWindows.swift
[479/2291] Compiling SystemPackage FileDescriptor.swift
[480/2291] Compiling SystemPackage FileHelpers.swift
[481/2291] Compiling SystemPackage FileOperations.swift
[482/2291] Compiling SystemPackage FilePathSyntax.swift
[483/2291] Emitting module OrderedCollections
[484/2292] Compiling CNIOWindows WSAStartup.c
[486/2292] Compiling RoutingKit Router.swift
[489/2292] Compiling SystemPackage FilePathParsing.swift
[490/2292] Compiling SystemPackage FilePathString.swift
[491/2292] Compiling SystemPackage IORing.swift
[492/2292] Compiling SystemPackage RawIORequest.swift
[493/2292] Compiling SystemPackage Backcompat.swift
[494/2292] Compiling SystemPackage CInterop.swift
[495/2292] Compiling SystemPackage Constants.swift
[496/2292] Compiling SystemPackage Exports.swift
[496/2292] Compiling CNIOWASI CNIOWASI.c
[497/2292] Compiling CNIOSHA1 c_nio_sha1.c
[498/2292] Compiling CNIOPosix event_loop_id.c
[499/2292] Compiling CNIOOpenBSD shim.c
[500/2292] Emitting module RoutingKit
[502/2292] Compiling RoutingKit Parameters.swift
[503/2292] Compiling RoutingKit AnyRouter.swift
[504/2292] Compiling RoutingKit PathComponent.swift
[504/2292] Compiling CNIOLinux shim.c
[505/2292] Compiling CNIOLinux liburing_shims.c
[507/2292] Compiling SystemPackage Syscalls.swift
[508/2292] Compiling SystemPackage WindowsSyscallAdapters.swift
[509/2292] Compiling SystemPackage MachPort.swift
[510/2292] Compiling SystemPackage PlatformString.swift
[511/2296] Emitting module _RopeModule
[514/2296] Compiling SystemPackage SystemString.swift
[515/2296] Compiling SystemPackage Util+StringArray.swift
[525/2296] Compiling SystemPackage Mocking.swift
[526/2296] Compiling SystemPackage RawBuffer.swift
[526/2296] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.2 wasm