Build Information
Failed to build WeTransfer-Swift-SDK, reference v1.0.1 (73fe43
), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 11:38:41 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/WeTransfer/WeTransfer-Swift-SDK.git
Reference: v1.0.1
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/WeTransfer/WeTransfer-Swift-SDK
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at 73fe433 Fixed guideline and visual errors in Package.swift
Submodule path 'Submodules/WeTransfer-iOS-CI': checked out 'de7710f6f26ea4268fe35d4373ebdb22663dc7eb'
Submodule 'Submodules/WeTransfer-iOS-CI' (https://github.com/WeTransfer/WeTransfer-iOS-CI.git) registered for path 'Submodules/WeTransfer-iOS-CI'
Cloning into '/host/spi-builder-workspace/Submodules/WeTransfer-iOS-CI'...
Cloned https://github.com/WeTransfer/WeTransfer-Swift-SDK.git
Revision (git rev-parse @):
73fe433656ac446851cb9cf145a147a630fc3d62
SUCCESS checkout https://github.com/WeTransfer/WeTransfer-Swift-SDK.git at v1.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/WeTransfer/WeTransfer-Swift-SDK.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] Emitting module WeTransfer
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[4/28] Compiling WeTransfer UploadFileOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[5/28] Compiling WeTransfer UploadFilesOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[6/28] Compiling WeTransfer WeTransfer.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[7/28] Compiling WeTransfer AddFilesOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[8/28] Compiling WeTransfer CompleteUploadOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[9/28] Compiling WeTransfer CreateChunkOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[10/28] Compiling WeTransfer CreateTransferOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[11/28] Compiling WeTransfer Result.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[12/28] Compiling WeTransfer UploadChunkOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[13/28] Compiling WeTransfer Chunk.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[14/28] Compiling WeTransfer File.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[15/28] Compiling WeTransfer Transfer.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[16/28] Compiling WeTransfer APIClient.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[17/28] Compiling WeTransfer AddFiles.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[18/28] Compiling WeTransfer Authorize.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[19/28] Compiling WeTransfer CreateTransfer.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[20/28] Compiling WeTransfer Authenticator.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[21/28] Compiling WeTransfer APIEndpoint.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[22/28] Compiling WeTransfer Endpoints.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[23/28] Compiling WeTransfer Request.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[24/28] Compiling WeTransfer Upload.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[25/28] Compiling WeTransfer AsynchronousDependencyResultOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[26/28] Compiling WeTransfer AsynchronousOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[27/28] Compiling WeTransfer AsynchronousResultOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
[28/28] Compiling WeTransfer ChainedAsynchronousResultOperation.swift
/host/spi-builder-workspace/WeTransfer/Models/Chunk.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Represents a chunk of data from a file in a transfer. Used only in the uploading proces
BUILD FAILURE 6.2 wasm