Build Information
Failed to build FlagsmithClient, reference main (99e4ca
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 12:38:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/Flagsmith/flagsmith-ios-client.git
Reference: main
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/Flagsmith/flagsmith-ios-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 99e4ca6 ci: add workflow to publish to CocoaPods (#74)
Cloned https://github.com/Flagsmith/flagsmith-ios-client.git
Revision (git rev-parse @):
99e4ca6775386edcea5a1b7c8449d71f2accdba7
SUCCESS checkout https://github.com/Flagsmith/flagsmith-ios-client.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Flagsmith/flagsmith-ios-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/realm/SwiftLint.git
Fetching https://github.com/nicklockwood/SwiftFormat
[1/48941] Fetching swiftformat
[2449/201713] Fetching swiftformat, swiftlint
Fetched https://github.com/nicklockwood/SwiftFormat from cache (42.38s)
Fetched https://github.com/realm/SwiftLint.git from cache (43.16s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.59.1 (47.95s)
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/SourceKitten.git
[2/100] Fetching collectionconcurrencykit
[101/13041] Fetching collectionconcurrencykit, cryptoswift
[1913/23915] Fetching collectionconcurrencykit, cryptoswift, yams
[2783/24844] Fetching collectionconcurrencykit, cryptoswift, yams, swiftytexttable
[4365/40988] Fetching collectionconcurrencykit, cryptoswift, yams, swiftytexttable, sourcekitten
[36181/111913] Fetching collectionconcurrencykit, cryptoswift, yams, swiftytexttable, sourcekitten, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (3.65s)
[77060/111813] Fetching cryptoswift, yams, swiftytexttable, sourcekitten, swift-syntax
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (3.65s)
Fetching https://github.com/apple/swift-argument-parser.git
[76840/110884] Fetching cryptoswift, yams, sourcekitten, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git from cache (5.33s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (5.39s)
Fetched https://github.com/jpsim/Yams.git from cache (5.56s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.55s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.93s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (9.90s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.62s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (3.66s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.89s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.77s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.54s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.40s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.09s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.63s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.4 (0.69s)
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
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.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.4
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
Creating working copy for https://github.com/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.59.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin SwiftLintCommandPlugin
[3/3] Compiling plugin SwiftLintBuildToolPlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/7] Copying PrivacyInfo.xcprivacy
[4/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/24] Emitting module FlagsmithClient
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[9/26] Compiling FlagsmithClient Flagsmith+Concurrency.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[10/26] Compiling FlagsmithClient Flagsmith.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[11/26] Compiling FlagsmithClient FlagsmithError.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[12/26] Compiling FlagsmithClient UnknownTypeValue.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[13/26] Compiling FlagsmithClient resource_bundle_accessor.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[14/26] Compiling FlagsmithClient SSEManager.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[15/26] Compiling FlagsmithClient Trait.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[16/26] Compiling FlagsmithClient ReconnectionDelay.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[17/26] Compiling FlagsmithClient Router.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[18/26] Compiling FlagsmithClient Feature.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[19/26] Compiling FlagsmithClient Flag.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[20/26] Compiling FlagsmithClient FlagEvent.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[21/26] Compiling FlagsmithClient Traits.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[22/26] Compiling FlagsmithClient TypedValue.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[23/26] Compiling FlagsmithClient CachedURLResponse.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[24/26] Compiling FlagsmithClient FlagsmithAnalytics.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[25/26] Compiling FlagsmithClient Identity.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
[26/26] Compiling FlagsmithClient APIManager.swift
/host/spi-builder-workspace/FlagsmithClient/Classes/Feature.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | /**
BUILD FAILURE 6.2 wasm