Build Information
Failed to build PCloudSDKSwift, reference 3.2.3 (cc81e0), with Swift 6.2 for Wasm on 22 Jun 2025 10:10:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pCloud/pcloud-sdk-swift.git
Reference: 3.2.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/pCloud/pcloud-sdk-swift
* tag 3.2.3 -> FETCH_HEAD
HEAD is now at cc81e02 update version in podspec
Cloned https://github.com/pCloud/pcloud-sdk-swift.git
Revision (git rev-parse @):
cc81e0250a9f378019470c78ce9a8bb501dcaeda
SUCCESS checkout https://github.com/pCloud/pcloud-sdk-swift.git at 3.2.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/pCloud/pcloud-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/35] Emitting module PCloudSDKSwift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[4/39] Compiling PCloudSDKSwift URLSessionBasedDownloadOperation.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[5/39] Compiling PCloudSDKSwift URLSessionBasedNetworkOperation.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[6/39] Compiling PCloudSDKSwift URLSessionBasedNetworkOperationUtilities.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[7/39] Compiling PCloudSDKSwift URLSessionBasedUploadOperation.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[8/39] Compiling PCloudSDKSwift URLSessionEventHub.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[9/39] Compiling PCloudSDKSwift URLSessionTaskBuilder.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[10/39] Compiling PCloudSDKSwift UploadInfo.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[11/39] Compiling PCloudSDKSwift UploadTask.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[12/39] Compiling PCloudSDKSwift FileLink.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[13/39] Compiling PCloudSDKSwift HostProvider.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[14/39] Compiling PCloudSDKSwift Keychain.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[15/39] Compiling PCloudSDKSwift Lock.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[16/39] Compiling PCloudSDKSwift NetworkAPI.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[17/39] Compiling PCloudSDKSwift OAuth.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[18/39] Compiling PCloudSDKSwift OAuthAccessTokenBasedAuthenticator.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[19/39] Compiling PCloudSDKSwift PCloud.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[20/39] Compiling PCloudSDKSwift PCloudAPI.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[21/39] Compiling PCloudSDKSwift PCloudClient.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[22/39] Compiling PCloudSDKSwift Parser.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[23/39] Compiling PCloudSDKSwift ResultUtilities.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[24/39] Compiling PCloudSDKSwift UInt64+Clamping.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[25/39] Compiling PCloudSDKSwift URLSessionBasedCallOperation.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[26/39] Compiling PCloudSDKSwift User.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[27/39] Compiling PCloudSDKSwift VoidCancellationToken.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[28/39] Compiling PCloudSDKSwift OAuthWebViewMobile.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[29/39] Compiling PCloudSDKSwift PCloud+OAuthMobile.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[30/39] Compiling PCloudSDKSwift APIServerRegion.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[31/39] Compiling PCloudSDKSwift APITaskBuilding.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[32/39] Compiling PCloudSDKSwift AnyCancellationToken.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[33/39] Compiling PCloudSDKSwift Atomic.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[34/39] Compiling PCloudSDKSwift Authenticator.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[35/39] Compiling PCloudSDKSwift CallError.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[36/39] Compiling PCloudSDKSwift CallTask.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[37/39] Compiling PCloudSDKSwift Cancellable.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[38/39] Compiling PCloudSDKSwift Content.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
[39/39] Compiling PCloudSDKSwift DownloadTask.swift
/host/spi-builder-workspace/PCloudSDKSwift/Source/Common/APIServerRegion.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum APIServerRegion: UInt {
BUILD FAILURE 6.2 wasm