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 SwiftUIPolygon, reference 0.1.0 (714f72), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 00:06:48 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/CypherPoet/SwiftUIPolygon.git
Reference: 0.1.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/CypherPoet/SwiftUIPolygon
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 714f728 use px
Cloned https://github.com/CypherPoet/SwiftUIPolygon.git
Revision (git rev-parse @):
714f7287234bdc22e5469ee0bd460a5d41712b80
SUCCESS checkout https://github.com/CypherPoet/SwiftUIPolygon.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/CypherPoet/SwiftUIPolygon.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
Fetching https://github.com/guillermomuntaner/Burritos
[1/578] Fetching burritos
Fetched https://github.com/guillermomuntaner/Burritos from cache (0.25s)
Computing version for https://github.com/guillermomuntaner/Burritos
Computed https://github.com/guillermomuntaner/Burritos at 0.0.3 (0.67s)
Creating working copy for https://github.com/guillermomuntaner/Burritos
Working copy of https://github.com/guillermomuntaner/Burritos resolved at 0.0.3
Building for debugging...
[0/15] Write sources
[14/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/31] Emitting module EnvironmentVariable
/host/spi-builder-workspace/.build/checkouts/Burritos/Sources/EnvironmentVariable/EnvironmentVariable.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A  property wrapper to set and get system's environment variables values.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/31] Emitting module UndoRedo
/host/spi-builder-workspace/.build/checkouts/Burritos/Sources/UndoRedo/UndoRedo.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/31] Emitting module UserDefault
/host/spi-builder-workspace/.build/checkouts/Burritos/Sources/UserDefault/UserDefault.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A type safe property wrapper to set and get values from UserDefaults with support for defaults values.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/31] Emitting module Expirable
/host/spi-builder-workspace/.build/checkouts/Burritos/Sources/Expirable/Expirable.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A property wrapper arround a value that can expire.
[20/31] Compiling Expirable Expirable.swift
/host/spi-builder-workspace/.build/checkouts/Burritos/Sources/Expirable/Expirable.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A property wrapper arround a value that can expire.
[21/31] Compiling UndoRedo UndoRedo.swift
/host/spi-builder-workspace/.build/checkouts/Burritos/Sources/UndoRedo/UndoRedo.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 |
[22/31] Compiling UserDefault UserDefault.swift
/host/spi-builder-workspace/.build/checkouts/Burritos/Sources/UserDefault/UserDefault.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A type safe property wrapper to set and get values from UserDefaults with support for defaults values.
[23/31] Emitting module LazyConstant
[24/31] Compiling LazyConstant LazyConstant.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/32] Emitting module Trimmed
/host/spi-builder-workspace/.build/checkouts/Burritos/Sources/Trimmed/Trimmed.swift:7:8: error: no such module 'Foundation'
 5 | //  Created by Guillermo Muntaner Perelló on 03/07/2019.
 6 | //
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A wrapper arround a string that automatically trims both on initialization and reassignment.
[27/32] Compiling Trimmed Trimmed.swift
/host/spi-builder-workspace/.build/checkouts/Burritos/Sources/Trimmed/Trimmed.swift:7:8: error: no such module 'Foundation'
 5 | //  Created by Guillermo Muntaner Perelló on 03/07/2019.
 6 | //
 7 | import Foundation
   |        `- error: no such module 'Foundation'
 8 |
 9 | /// A wrapper arround a string that automatically trims both on initialization and reassignment.
[28/32] Compiling EnvironmentVariable EnvironmentVariable.swift
/host/spi-builder-workspace/.build/checkouts/Burritos/Sources/EnvironmentVariable/EnvironmentVariable.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A  property wrapper to set and get system's environment variables values.
[29/32] Emitting module LateInit
[30/32] Emitting module Lazy
BUILD FAILURE 6.2 wasm