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 NotionSwift, reference main (3dd240), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 01:21:14 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/chojnac/NotionSwift.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/chojnac/NotionSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3dd2406 Add support for filtering databases using the Status property type (#54)
Cloned https://github.com/chojnac/NotionSwift.git
Revision (git rev-parse @):
3dd2406ebb60d247ea781b09c9e537b2068df7c7
SUCCESS checkout https://github.com/chojnac/NotionSwift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/chojnac/NotionSwift.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/57] Emitting module NotionSwift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[4/64] Compiling NotionSwift PageCreateRequest.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[5/64] Compiling NotionSwift PageUpdateRequest.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[6/64] Compiling NotionSwift SearchRequest.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[7/64] Compiling NotionSwift ListResponse.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[8/64] Compiling NotionSwift SearchResponse.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[9/64] Compiling NotionSwift RichText+extensions.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[10/64] Compiling NotionSwift RichText.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[11/64] Compiling NotionSwift Mention.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[12/64] Compiling NotionSwift NotionLink.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[13/64] Compiling NotionSwift Page.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[14/64] Compiling NotionSwift PageParentType.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[15/64] Compiling NotionSwift PageProperty.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[16/64] Compiling NotionSwift PartialUser.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[17/64] Compiling NotionSwift BaseQueryParams.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[18/64] Compiling NotionSwift DatabaseCreateRequest.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[19/64] Compiling NotionSwift DatabaseQueryParams.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[20/64] Compiling NotionSwift DatabaseSort.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[21/64] Compiling NotionSwift DatabaseUpdateRequest.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[22/64] Compiling NotionSwift CompountFilterType.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[23/64] Compiling NotionSwift DatabaseFilter.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[24/64] Compiling NotionSwift DatabaseFilterType.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[25/64] Compiling NotionSwift DatabasePropertyFilter+Encodable.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[26/64] Compiling NotionSwift DatabasePropertyFilter.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[27/64] Compiling NotionSwift DatabaseParent.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[28/64] Compiling NotionSwift DatabaseProperty.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[29/64] Compiling NotionSwift DatabasePropertyType.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[30/64] Compiling NotionSwift DateRange.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[31/64] Compiling NotionSwift DateValue.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[32/64] Compiling NotionSwift ErrorResponse.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[33/64] Compiling NotionSwift FileFile.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[34/64] Compiling NotionSwift IconFile.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[35/64] Compiling NotionSwift AccessKeyProvider.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[36/64] Compiling NotionSwift EntityIdentifier.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[37/64] Compiling NotionSwift Logger.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[38/64] Compiling NotionSwift Types.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[39/64] Compiling NotionSwift Environment.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[40/64] Compiling NotionSwift Block.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[41/64] Compiling NotionSwift BlockColor.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[42/64] Compiling NotionSwift BlockType+Builders.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[43/64] Compiling NotionSwift User.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[44/64] Compiling NotionSwift DateFormatter+ISO8601Full.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[45/64] Compiling NotionSwift NetworkClient.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[46/64] Compiling NotionSwift NetworkClientHelpers.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[47/64] Compiling NotionSwift URLBuilder.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[48/64] Compiling NotionSwift NotionClient+Blocks.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[49/64] Compiling NotionSwift NotionClient+Database.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[50/64] Compiling NotionSwift NotionClient+Pages.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[51/64] Compiling NotionSwift NotionClient+Search.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[52/64] Compiling NotionSwift NotionClient+Users.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[53/64] Compiling NotionSwift NotionClient.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[54/64] Compiling NotionSwift NotionClientError.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[55/64] Compiling NotionSwift NotionClientType+Combine.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[56/64] Compiling NotionSwift NotionClientType.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[57/64] Compiling NotionSwift BlockType+Values.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[58/64] Compiling NotionSwift BlockType.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[59/64] Compiling NotionSwift ReadBlock.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[60/64] Compiling NotionSwift UpdateBlock.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[61/64] Compiling NotionSwift WriteBlock+Builders.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[62/64] Compiling NotionSwift WriteBlock.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[63/64] Compiling NotionSwift CoverFile.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
[64/64] Compiling NotionSwift Database.swift
/host/spi-builder-workspace/Sources/NotionSwift/AccessKeyProvider.swift:5:8: error: no such module 'Foundation'
 3 | //
 4 |
 5 | import Foundation
   |        `- error: no such module 'Foundation'
 6 |
 7 | public protocol AccessKeyProvider {
BUILD FAILURE 6.2 wasm