Build Information
Failed to build Trap, reference main (971f41), with Swift 6.2 for Wasm on 21 Jun 2025 16:21:09 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cursorinsight/ci-trap-ios.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/cursorinsight/ci-trap-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 971f414 Merge pull request #18 from cursorinsight/denes-app-version
Cloned https://github.com/cursorinsight/ci-trap-ios.git
Revision (git rev-parse @):
971f414ca5d799e2a6e03afbf55c8663e587d2ab
SUCCESS checkout https://github.com/cursorinsight/ci-trap-ios.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/cursorinsight/ci-trap-ios.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/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.92s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.86s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/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/35] Emitting module Trap
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[6/35] Compiling Trap Config.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[7/35] Compiling Trap Constants.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[8/35] Compiling Trap Bluetooth.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[9/35] Compiling Trap Datasource.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[10/35] Compiling Trap Gesture.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[11/39] Compiling Trap Pinch.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[12/39] Compiling Trap Pointer.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[13/39] Compiling Trap Stylus.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[14/39] Compiling Trap Swipe.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[15/39] Compiling Trap Tap.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[16/39] Compiling Trap Reporter.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[17/39] Compiling Trap Storage.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[18/39] Compiling Trap Cached.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[19/39] Compiling Trap Http.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[20/39] Compiling Trap Metadata.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[21/39] Compiling Trap PreciseLocation.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[22/39] Compiling Trap Accelerometer.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[23/39] Compiling Trap Gravity.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[24/39] Compiling Trap ConcurrentRingQueue.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[25/39] Compiling Trap FileCache.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[26/39] Compiling Trap RingQueue.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[27/39] Compiling Trap Manager.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[28/39] Compiling Trap Gyroscope.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[29/39] Compiling Trap Magnetometer.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[30/39] Compiling Trap Sensor.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[31/39] Compiling Trap WiFi.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[32/39] Compiling Trap Touch.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[33/39] Compiling Trap TrapWindowEventDispatcher.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[34/39] Compiling Trap Battery.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[35/39] Compiling Trap Location.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[36/39] Compiling Trap Transport.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[37/39] Compiling Trap Websocket.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[38/39] Compiling Trap DataCompression.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
[39/39] Compiling Trap Time.swift
/host/spi-builder-workspace/Sources/Trap/Config.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// The configuration of the data collection system happens
BUILD FAILURE 6.2 wasm