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 Bagbutik, reference main (10c4d2), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 15:06:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi --target Bagbutik-Core 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MortenGregersen/Bagbutik.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/MortenGregersen/Bagbutik
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 10c4d2d Update from new spec (4.0.0) (#233)
Cloned https://github.com/MortenGregersen/Bagbutik.git
Revision (git rev-parse @):
10c4d2dbce1c11d921fcbf2bc4d7b30d3a6b9af2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/MortenGregersen/Bagbutik.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MortenGregersen/Bagbutik.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi --target Bagbutik-Core 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/apple/swift-crypto
Fetching https://github.com/apple/swift-argument-parser
[1/15433] Fetching swift-crypto
[927/30813] Fetching swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.15s)
Fetched https://github.com/apple/swift-crypto from cache (2.26s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.12.3 (6.15s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.39s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.84s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.62s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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/36] Emitting module Bagbutik_Core
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[4/40] Compiling Bagbutik_Core AnyCodingKey.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[5/40] Compiling Bagbutik_Core Clearable.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[6/40] Compiling Bagbutik_Core Platform+PrettyName.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[7/40] Compiling Bagbutik_Core Array+String.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[8/40] Compiling Bagbutik_Core Data+Base64UrlSafe.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[9/40] Compiling Bagbutik_Core Request.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[10/40] Compiling Bagbutik_Core RequestBody.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[11/40] Compiling Bagbutik_Core BinaryResponse.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[12/40] Compiling Bagbutik_Core EmptyResponse.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[13/40] Compiling Bagbutik_Core Location.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[14/40] Compiling Bagbutik_Core PagedDocumentLinks.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[15/40] Compiling Bagbutik_Core PagingInformation.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[16/40] Compiling Bagbutik_Core Parameter.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[17/40] Compiling Bagbutik_Core Platform.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[18/40] Compiling Bagbutik_Core FileLocation.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[19/40] Compiling Bagbutik_Core Gzip.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[20/40] Compiling Bagbutik_Core HttpHeader.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[21/40] Compiling Bagbutik_Core IntegerRange.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[22/40] Compiling Bagbutik_Core JsonPointer.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[23/40] Compiling Bagbutik_Core Data+Gzip.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[24/40] Compiling Bagbutik_Core Csv.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[25/40] Compiling Bagbutik_Core DocumentLinks.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[26/40] Compiling Bagbutik_Core ErrorLinks.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[27/40] Compiling Bagbutik_Core ErrorResponse.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[28/40] Compiling Bagbutik_Core NullCodable.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[29/40] Compiling Bagbutik_Core BagbutikService.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[30/40] Compiling Bagbutik_Core HTTPMethod.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[31/40] Compiling Bagbutik_Core JWT.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[32/40] Compiling Bagbutik_Core PagedResponse.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[33/40] Compiling Bagbutik_Core PlainTextResponse.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[34/40] Compiling Bagbutik_Core ServiceError.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[35/40] Compiling Bagbutik_Core URLRequest+JWT.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[36/40] Compiling Bagbutik_Core RelationshipLinks.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[37/40] Compiling Bagbutik_Core ResourceLinks.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[38/40] Compiling Bagbutik_Core UploadOperation.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[39/40] Compiling Bagbutik_Core EndpointParameter.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
[40/40] Compiling Bagbutik_Core Parameters.swift
/host/spi-builder-workspace/Sources/Bagbutik-Core/Clearable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | ///  Wrapper for a property that can be cleared. Used in `UpdateRequest`s.
BUILD FAILURE 6.2 wasm