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 Required, reference main (82a4fb), with Swift 6.2 for Wasm on 19 Jun 2025 14:57:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/trilemma-dev/Required.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/trilemma-dev/Required
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 82a4fbd Better handling of equality match
Cloned https://github.com/trilemma-dev/Required.git
Revision (git rev-parse @):
82a4fbd388346ca40b1bbe815014dc45a75d503c
SUCCESS checkout https://github.com/trilemma-dev/Required.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/trilemma-dev/Required.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/40] Emitting module Required
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[4/45] Compiling Required CompileAndParse.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[5/45] Compiling Required AndRequirement+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[6/45] Compiling Required CertificateConstraint+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[7/45] Compiling Required CodeDirectoryHashConstraint+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[8/45] Compiling Required EntitlementConstraint+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[9/45] Compiling Required Evaluation.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[10/45] Compiling Required Symbols.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[11/45] Compiling Required WildcardString.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[12/45] Compiling Required Token.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[13/45] Compiling Required TokenizationError.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[14/45] Compiling Required Tokenizer.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[15/45] Compiling Required ParenthesesRequirement.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[16/45] Compiling Required Parser.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[17/45] Compiling Required ParserError.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[18/45] Compiling Required Requirement.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[19/45] Compiling Required RequirementSet.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[20/45] Compiling Required SecStaticCode+Extensions.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[21/45] Compiling Required SecTask+Extensions.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[22/45] Compiling Required SecurityCommon.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[23/45] Compiling Required SecurityError.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[24/45] Compiling Required AndRequirement.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[25/45] Compiling Required InfoConstraint.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[26/45] Compiling Required KeyExpression.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[27/45] Compiling Required MatchExpression.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[28/45] Compiling Required NegationRequirement.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[29/45] Compiling Required OrRequirement.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[30/45] Compiling Required IdentifierConstraint+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[31/45] Compiling Required InfoConstraint+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[32/45] Compiling Required MatchExpression+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[33/45] Compiling Required NegationRequirement+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[34/45] Compiling Required OrRequirement+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[35/45] Compiling Required ParenthesesRequirement+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[36/45] Compiling Required CertificateConstraint.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[37/45] Compiling Required CodeDirectoryHashConstraint.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[38/45] Compiling Required Constraint.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[39/45] Compiling Required EntitlementConstraint.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[40/45] Compiling Required IdentifierConstraint.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[41/45] Compiling Required Requirement+Evaluate.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[42/45] Compiling Required Data+Extensions.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[43/45] Compiling Required SecCertificate+Extensions.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[44/45] Compiling Required SecCode+Extensions.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
[45/45] Compiling Required SecRequirement+Extensions.swift
/host/spi-builder-workspace/Sources/Required/CompileAndParse.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | // This file serves to bridge the abstract syntax tree `Requirement` and `RequirementSet` with `SecRequirement` and
BUILD FAILURE 6.2 wasm