The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Sauron, reference 1.0.0 (334b8e), with Swift 6.2 for Wasm on 20 Jun 2025 03:56:57 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/volatilegg/Sauron.git
Reference: 1.0.0
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/volatilegg/Sauron
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 334b8e6 Ignore running ci when push to main
Cloned https://github.com/volatilegg/Sauron.git
Revision (git rev-parse @):
334b8e622d167f30c136cf510a12e327826b12ad
SUCCESS checkout https://github.com/volatilegg/Sauron.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/volatilegg/Sauron.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
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Sauron/UI/UIKit/RequestDetailsViewController.xib
    /host/spi-builder-workspace/Sources/Sauron/UI/UIKit/RequestsListViewController.xib
    /host/spi-builder-workspace/Sources/Sauron/UI/UIKit/TableViewCell/NetworkTableViewCell.xib
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/18] Emitting module Sauron
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[4/20] Compiling Sauron Thread+Extension.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[5/20] Compiling Sauron UIViewController+Extensions.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[6/20] Compiling Sauron RequestListPresentView.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[7/20] Compiling Sauron RequestsListViewController.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[8/20] Compiling Sauron Bundle+Extension.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[9/20] Compiling Sauron Data+Logging.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[10/20] Compiling Sauron RequestModel.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[11/20] Compiling Sauron RequestViewModel.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[12/20] Compiling Sauron NSAttributedString+Extensions.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[13/20] Compiling Sauron String+Extensions.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[14/20] Compiling Sauron NetworkTableViewCell.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[15/20] Compiling Sauron Atomic.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[16/20] Compiling Sauron Sauron.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[17/20] Compiling Sauron RequestDetailsViewController.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[18/20] Compiling Sauron Reqres.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[19/20] Compiling Sauron ReqresDefaultLogger.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
[20/20] Compiling Sauron ReqresLogging.swift
/host/spi-builder-workspace/Sources/Sauron/RequestModels/Reqres.swift:30:8: error: no such module 'Foundation'
 28 | // swiftlint:disable_rule:cyclomatic_complexity
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 |
 32 | let ReqresRequestHandledKey = "ReqresRequestHandledKey"
BUILD FAILURE 6.2 wasm