The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build YNetwork, reference 1.0.2 (840a53), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 03:59:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/codeandtheory/ynetwork-ios.git
Reference: 1.0.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/codeandtheory/ynetwork-ios
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 840a537 Issue 18 - Adding Upload Completion Handler for Handling Custom/Error… (#19)
Cloned https://github.com/codeandtheory/ynetwork-ios.git
Revision (git rev-parse @):
840a537e515bd0822827183dcd1639e876971dc5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/codeandtheory/ynetwork-ios.git at 1.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/codeandtheory/ynetwork-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/59] Compiling YNetwork NetworkManager+refresh.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[4/59] Compiling YNetwork NetworkManager.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[5/59] Compiling YNetwork NetworkManagerConfiguration.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[6/59] Compiling YNetwork FileDownloadProgress.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[7/59] Compiling YNetwork FileProgress.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[8/59] Compiling YNetwork FileUploadProgress.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[9/59] Compiling YNetwork URLBuilder.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[10/59] Compiling YNetwork URLNetworkEngine.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[11/66] Compiling YNetwork MultipartRequest.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[12/66] Compiling YNetwork NetworkEngine.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[13/66] Compiling YNetwork NetworkRequest.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[14/66] Compiling YNetwork ParametersBuilder.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[15/66] Compiling YNetwork PathRepresentable.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[16/66] Compiling YNetwork SessionManager.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[17/66] Compiling YNetwork UIImageMultipartFile.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[18/66] Compiling YNetwork Data+AppendString.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[19/66] Compiling YNetwork Data+HttpResponse.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[20/66] Compiling YNetwork Error+Code.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[21/66] Compiling YNetwork String+isAbsoluteURLPath.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[22/66] Compiling YNetwork StringInterpolation+JSON.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[23/66] Compiling YNetwork StringInterpolation+URLRequest.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[24/66] Compiling YNetwork URLRequest+FileSaver.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[25/66] Compiling YNetwork EmptyNetworkResponse.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[26/66] Compiling YNetwork JSONDecoder+Extension.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[27/66] Compiling YNetwork JSONEncoder+Extension.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[28/66] Compiling YNetwork URLProtocolStub.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[29/66] Compiling YNetwork URLProtocolStubNetworkEngine.swift.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[30/66] Compiling YNetwork NetworkEngineConfiguration.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[31/66] Compiling YNetwork NetworkManager+Logging.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[32/66] Compiling YNetwork NetworkManager+URLSessionDownloadDelegate.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[33/66] Compiling YNetwork NetworkManager+URLSessionTaskDelegate.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[34/66] Compiling YNetwork HttpError.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[35/66] Compiling YNetwork JWTClaim.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[36/66] Compiling YNetwork JWTToken.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[37/66] Compiling YNetwork GifBuilder.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[38/66] Compiling YNetwork ImageBuilder.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[39/66] Compiling YNetwork MultiImageBuilder.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[40/66] Compiling YNetwork FormUrlEncoder.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[41/66] Compiling YNetwork JSONDataParserFactory.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[42/66] Compiling YNetwork BodyBuilder.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[43/66] Compiling YNetwork Cancelabel.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[44/66] Compiling YNetwork DataDecoder.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[45/66] Compiling YNetwork DataEncoder.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[46/66] Compiling YNetwork DataParserFactory.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[47/66] Compiling YNetwork JWTTokenRepresentable.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[48/66] Compiling YNetwork MultipartBuilder.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[49/66] Compiling YNetwork MultipartFile.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[50/66] Compiling YNetwork String+regex.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[51/66] Compiling YNetwork APICompletion.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[52/66] Compiling YNetwork HttpHeader.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[53/66] Compiling YNetwork NetworkEngineCompletion.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[54/66] Compiling YNetwork Parameters.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[55/66] Compiling YNetwork HttpMethod.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[56/66] Compiling YNetwork HttpResponseType.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[57/66] Compiling YNetwork ImageContentType.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[58/66] Compiling YNetwork JWTDecodeError.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[59/66] Compiling YNetwork MultipartElement.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[60/66] Compiling YNetwork NetworkError.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[61/66] Compiling YNetwork RequestContentType.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[62/66] Compiling YNetwork ResponseContentType.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[63/66] Compiling YNetwork SerializationError.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[64/66] Compiling YNetwork UIImageDataType.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
[65/66] Compiling YNetwork CharacterSet+formUrlAllowed.swift
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/66] Emitting module YNetwork
/host/spi-builder-workspace/Sources/YNetwork/Core/Extensions/String+regex.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | /// Add simpler regular exression matching
BUILD FAILURE 6.2 wasm