The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Janus, reference 0.0.7 (b40602), with Swift 6.2 for Wasm on 18 Jun 2025 15:57:13 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amarantedaniel/JanusSwift.git
Reference: 0.0.7
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/amarantedaniel/JanusSwift
 * tag               0.0.7      -> FETCH_HEAD
HEAD is now at b406022 Add support to keepalive requests
Cloned https://github.com/amarantedaniel/JanusSwift.git
Revision (git rev-parse @):
b4060229d323d64680d5829197c4a3e26000fdfc
SUCCESS checkout https://github.com/amarantedaniel/JanusSwift.git at 0.0.7
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/amarantedaniel/JanusSwift.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/24] Emitting module Janus
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[4/27] Compiling Janus KeepAliveRequest.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[5/27] Compiling Janus ListRequest.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[6/27] Compiling Janus StartRequest.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[7/27] Compiling Janus APIRoute.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[8/27] Compiling Janus URLRequestConvertible.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[9/27] Compiling Janus JSEP.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[10/27] Compiling Janus Plugin.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[11/27] Compiling Janus AttachPluginRequest.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[12/27] Compiling Janus CreateRequest.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[13/27] Compiling Janus LongPollStartResult.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[14/27] Compiling Janus LongPollWatchResult.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[15/27] Compiling Janus StartResponse.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[16/27] Compiling Janus WatchResponse.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[17/27] Compiling Janus TrickleResponse.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[18/27] Compiling Janus JanusAPI.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[19/27] Compiling Janus CreateResponse.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[20/27] Compiling Janus KeepAliveResponse.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[21/27] Compiling Janus ListResult.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[22/27] Compiling Janus WatchRequest.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[23/27] Compiling Janus TrickleRequest.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[24/27] Compiling Janus AttachPluginResponse.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[25/27] Compiling Janus APIClient.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[26/27] Compiling Janus APIClientProtocol.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
[27/27] Compiling Janus APIError.swift
/host/spi-builder-workspace/Sources/Janus/API/APIClient.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | struct APIClient: APIClientProtocol {
BUILD FAILURE 6.2 wasm