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 Grain, reference 0.6.4 (a44e13), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 19:39:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/muukii/Grain.git
Reference: 0.6.4
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/muukii/Grain
 * tag               0.6.4      -> FETCH_HEAD
HEAD is now at a44e13c Fix overload
Cloned https://github.com/muukii/Grain.git
Revision (git rev-parse @):
a44e13c2881c678c1bd5ac60c44da3ae60b445d4
SUCCESS checkout https://github.com/muukii/Grain.git at 0.6.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/muukii/Grain.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/jpsim/Yams.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Alamofire/Alamofire.git
[1/10859] Fetching yams
[2/17714] Fetching yams, swift-tools-support-core
[2464/47855] Fetching yams, swift-tools-support-core, alamofire
[10052/63235] Fetching yams, swift-tools-support-core, alamofire, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.17s)
[26154/47855] Fetching yams, swift-tools-support-core, alamofire
Fetched https://github.com/jpsim/Yams.git from cache (2.97s)
[19213/36996] Fetching swift-tools-support-core, alamofire
Fetched https://github.com/apple/swift-tools-support-core.git from cache (6.18s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (6.31s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (7.24s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.72s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.78s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.91s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
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-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/34] Write sources
[9/34] Compiling TSCclibc strerror.c
[10/34] Compiling writer.c
[11/34] Compiling reader.c
[12/34] Write sources
[13/34] Copying PrivacyInfo.xcprivacy
[14/34] Compiling TSCclibc process.c
[15/34] Write swift-version-24593BA9C3E375BF.txt
[16/34] Compiling api.c
[17/34] Compiling TSCclibc libc.c
[18/77] Compiling parser.c
[19/77] Compiling emitter.c
[21/77] Emitting module ArgumentParserToolInfo
[21/77] Compiling scanner.c
[23/97] Compiling Yams Tag.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[24/97] Compiling Yams YamlAnchorProviding.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/99] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[26/99] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/99] Emitting module Yams
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift:8:8: error: no such module 'Foundation'
 6 | //  Copyright (c) 2024 Yams. All rights reserved.
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a YAML tag see: https://yaml.org/spec/1.2.2/
[28/99] Compiling Alamofire Combine.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[29/99] Compiling Alamofire Concurrency.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[30/99] Compiling Alamofire EventMonitor.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[31/99] Compiling Alamofire MultipartFormData.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[32/99] Compiling Alamofire MultipartUpload.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[33/99] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[34/99] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[35/99] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[36/99] Compiling Alamofire Result+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
[37/99] Compiling Alamofire StringEncoding+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
   |        `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
BUILD FAILURE 6.2 wasm