The Swift Package Index logo.Swift Package Index

Build Information

Failed to build templar, reference 1.0.1 (be6221), with Swift 6.2 for Wasm on 18 Jun 2025 00:12:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/spectraldragon/templar.git
Reference: 1.0.1
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/spectraldragon/templar
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at be6221b Fix file adding to xcodeproj file
Cloned https://github.com/spectraldragon/templar.git
Revision (git rev-parse @):
be6221bbc054c813873cbf70fa2592d2f24ecdd0
SUCCESS checkout https://github.com/spectraldragon/templar.git at 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/spectraldragon/templar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/tuist/xcodeproj.git
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/onevcat/Rainbow
[1/1248] Fetching files
[1249/2444] Fetching files, rainbow
[2445/25777] Fetching files, rainbow, xcodeproj
Fetched https://github.com/onevcat/Rainbow from cache (0.31s)
[3815/24581] Fetching files, xcodeproj
[3816/35440] Fetching files, xcodeproj, yams
Fetched https://github.com/JohnSundell/Files from cache (1.50s)
Fetched https://github.com/jpsim/Yams.git from cache (1.53s)
Fetching https://github.com/jakeheis/SwiftCLI
Fetched https://github.com/tuist/xcodeproj.git from cache (1.84s)
[1/5074] Fetching swiftcli
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.31s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 2.3.0 (4.27s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (2.14s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.7.0 (0.40s)
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/tadija/AEXML
[1/4863] Fetching swiftshell
[780/6274] Fetching swiftshell, pathkit
[6275/8401] Fetching swiftshell, pathkit, aexml
Fetched https://github.com/kylef/PathKit from cache (0.33s)
Fetched https://github.com/kareman/SwiftShell from cache (0.33s)
Fetched https://github.com/tadija/AEXML from cache (0.34s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (0.72s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.37s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.19s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (0.55s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.35s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.37s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (0.45s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
Creating working copy for https://github.com/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 6.7.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.3
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.3.3
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 2.3.0
Building for debugging...
[0/25] Write sources
[8/25] Compiling writer.c
[9/25] Compiling reader.c
[10/25] Compiling parser.c
[11/25] Compiling api.c
[12/25] Compiling emitter.c
[13/25] Compiling scanner.c
[13/25] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/82] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/82] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/84] Emitting module Yams
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/86] Emitting module Files
/host/spi-builder-workspace/.build/checkouts/Files/Sources/Files.swift:25:8: error: no such module 'Foundation'
  23 |  */
  24 |
  25 | import Foundation
     |        `- error: no such module 'Foundation'
  26 |
  27 | // MARK: - Public API
[20/86] Compiling Files Files.swift
/host/spi-builder-workspace/.build/checkouts/Files/Sources/Files.swift:25:8: error: no such module 'Foundation'
  23 |  */
  24 |
  25 | import Foundation
     |        `- error: no such module 'Foundation'
  26 |
  27 | // MARK: - Public API
[21/86] Compiling AEXML Error.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | /**
[22/86] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[23/86] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[24/86] Compiling SwiftCLI Term.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[25/86] Compiling SwiftCLI Validation.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[26/86] Compiling AEXML Parser.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | /**
[27/86] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[28/86] Compiling Yams shim.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[29/86] Compiling SwiftCLI ValueBox.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[30/86] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[31/86] Compiling AEXML Options.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/86] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/86] Emitting module AEXML
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 |
  9 | /**
[34/86] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[35/86] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[36/86] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
BUILD FAILURE 6.2 wasm