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 w3w-swift-wrapper, reference v4.0.2 (3c0115), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 11:17:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/what3words/w3w-swift-wrapper.git
Reference: v4.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/what3words/w3w-swift-wrapper
 * tag               v4.0.2     -> FETCH_HEAD
HEAD is now at 3c01152 Merge pull request #18 from what3words/staging
Cloned https://github.com/what3words/w3w-swift-wrapper.git
Revision (git rev-parse @):
3c01152aa316b7a9714f038b34a8adb4adeb7c4a
SUCCESS checkout https://github.com/what3words/w3w-swift-wrapper.git at v4.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/what3words/w3w-swift-wrapper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/what3words/w3w-swift-core.git
Fetching https://github.com/what3words/w3w-swift-voice-api.git
[1/464] Fetching w3w-swift-core
[465/519] Fetching w3w-swift-core, w3w-swift-voice-api
Fetched https://github.com/what3words/w3w-swift-core.git from cache (0.30s)
Fetched https://github.com/what3words/w3w-swift-voice-api.git from cache (0.30s)
Computing version for https://github.com/what3words/w3w-swift-voice-api.git
Computed https://github.com/what3words/w3w-swift-voice-api.git at 1.0.0 (1.27s)
Computing version for https://github.com/what3words/w3w-swift-core.git
Computed https://github.com/what3words/w3w-swift-core.git at 1.1.3 (0.39s)
Creating working copy for https://github.com/what3words/w3w-swift-core.git
Working copy of https://github.com/what3words/w3w-swift-core.git resolved at 1.1.3
Creating working copy for https://github.com/what3words/w3w-swift-voice-api.git
Working copy of https://github.com/what3words/w3w-swift-voice-api.git resolved at 1.0.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/50] Emitting module W3WSwiftCore
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[6/56] Compiling W3WSwiftCore W3WSuggestion.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[7/56] Compiling W3WSwiftCore W3WAudioStreamProtocol.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[8/56] Compiling W3WSwiftCore W3WVoiceListeningState.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[9/56] Compiling W3WSwiftCore W3WVoiceProtocol.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[10/56] Compiling W3WSwiftCore W3WVoiceSuggestion+W3WSwiftCore.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[11/56] Compiling W3WSwiftCore W3WSettings+W3WSwiftCore.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[12/56] Compiling W3WSwiftCore W3WUser.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[13/56] Compiling W3WSwiftCore W3WAudioRecorder.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[14/56] Compiling W3WSwiftCore W3WAudioRecording.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[15/56] Compiling W3WSwiftCore W3WAudioStream.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[16/56] Compiling W3WSwiftCore W3WEncoding.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[17/56] Compiling W3WSwiftCore W3WMicrophone.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[18/56] Compiling W3WSwiftCore ApiExtension.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[19/56] Compiling W3WSwiftCore W3WEventsSubscriptions.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[20/56] Compiling W3WSwiftCore W3WLive.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[21/56] Compiling W3WSwiftCore W3WRegex.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[22/56] Compiling W3WSwiftCore W3WDebouncer.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[23/56] Compiling W3WSwiftCore W3WThread.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[24/56] Compiling W3WSwiftCore W3WBox.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[25/56] Compiling W3WSwiftCore W3WOptionAcceptorProtocol.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[26/56] Compiling W3WSwiftCore W3WOptionProtocol.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[27/56] Compiling W3WSwiftCore W3WOptions.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[28/56] Compiling W3WSwiftCore W3WDuration.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[29/56] Compiling W3WSwiftCore ClosureDefinitions.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[30/56] Compiling W3WSwiftCore W3WError+W3WSwiftCore.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[31/56] Compiling W3WSwiftCore W3WMeasurementSystem.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[32/56] Compiling W3WSwiftCore W3WUtilitiesProtocol.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[33/56] Compiling W3WSwiftCore W3WCountry.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[34/56] Compiling W3WSwiftCore W3WLanguage.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[35/56] Compiling W3WSwiftCore W3WRanked.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[36/56] Compiling W3WSwiftCore W3WSquare.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[37/56] Compiling W3WSwiftCore W3WCircle.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[38/56] Compiling W3WSwiftCore W3WDistance.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[39/56] Compiling W3WSwiftCore W3WLine.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[40/56] Compiling W3WSwiftCore W3WPolygon.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[41/56] Compiling W3WSwiftCore W3WInputType.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[42/56] Compiling W3WSwiftCore W3WOption.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[43/56] Compiling W3WSwiftCore SdkExtension.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[44/56] Compiling W3WSwiftCore SdkTypes.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[45/56] Compiling W3WSwiftCore W3WGpsReading.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[46/56] Compiling W3WSwiftCore W3WGpsState.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[47/56] Compiling W3WSwiftCore W3WGpsStatus.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[48/56] Compiling W3WSwiftCore W3WProtocolV3.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[49/56] Compiling W3WSwiftCore W3WProtocolV4.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[50/56] Compiling W3WSwiftCore W3WMockTranslation.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[51/56] Compiling W3WSwiftCore W3WTranslate.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[52/56] Compiling W3WSwiftCore W3WTranslationsProtocol.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[53/56] Compiling W3WSwiftCore W3WJson.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[54/56] Compiling W3WSwiftCore W3WRequest.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[55/56] Compiling W3WSwiftCore W3WEvent.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
[56/56] Compiling W3WSwiftCore W3WEventSubscriberProtocol.swift
/host/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Accounts/W3WUser.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | #if canImport(Combine)
BUILD FAILURE 6.2 wasm