The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PorterStemmer2, reference master (5e90cd), with Swift 6.3 for Wasm on 21 Apr 2026 10:11:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/scaraux/Swift-Porter-Stemmer-2.git
Reference: master
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/scaraux/Swift-Porter-Stemmer-2
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5e90cdb Merge pull request #1 from MaximKotliar/master
Cloned https://github.com/scaraux/Swift-Porter-Stemmer-2.git
Revision (git rev-parse @):
5e90cdbc3700a1bf0b8083ba1117c8c4e48669a6
SUCCESS checkout https://github.com/scaraux/Swift-Porter-Stemmer-2.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/scaraux/Swift-Porter-Stemmer-2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/36] Compiling libstemmer.c
[1/36] Compiling stem_ISO_8859_1_danish.c
[2/36] Compiling stem_ISO_8859_1_norwegian.c
[3/36] Compiling stem_ISO_8859_1_dutch.c
[4/36] Compiling stem_ISO_8859_1_finnish.c
[5/36] Compiling stem_ISO_8859_1_italian.c
[6/36] Compiling stem_ISO_8859_1_english.c
[7/36] Compiling api.c
[8/36] Compiling stem_UTF_8_italian.c
[9/36] Compiling stem_UTF_8_swedish.c
[10/36] Compiling stem_UTF_8_spanish.c
[11/36] Compiling utilities.c
[12/36] Compiling stem_UTF_8_russian.c
[12/36] Compiling stem_UTF_8_romanian.c
[14/36] Write swift-version-24593BA9C3E375BF.txt
[15/36] Compiling stem_UTF_8_turkish.c
[16/36] Compiling stem_UTF_8_portuguese.c
[17/36] Compiling stem_UTF_8_norwegian.c
[18/36] Compiling stem_UTF_8_porter.c
[19/36] Compiling stem_UTF_8_german.c
[20/36] Compiling stem_UTF_8_hungarian.c
[21/36] Compiling stem_UTF_8_danish.c
[22/36] Compiling stem_UTF_8_dutch.c
[23/36] Compiling stem_UTF_8_french.c
[24/36] Compiling stem_ISO_8859_1_swedish.c
[25/36] Compiling stem_UTF_8_english.c
[26/36] Compiling stem_UTF_8_finnish.c
[27/36] Compiling stem_KOI8_R_russian.c
[28/36] Compiling stem_ISO_8859_2_romanian.c
[29/36] Write sources
[30/36] Compiling stem_ISO_8859_2_hungarian.c
[31/36] Compiling stem_ISO_8859_1_porter.c
[32/36] Compiling stem_ISO_8859_1_german.c
[33/36] Compiling stem_ISO_8859_1_portuguese.c
[34/36] Compiling stem_ISO_8859_1_spanish.c
[35/36] Compiling stem_ISO_8859_1_french.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/38] Emitting module PorterStemmer2
/host/spi-builder-workspace/PorterStemmer2/Classes/Swift/PorterStemmer.swift:13:8: error: no such module 'Darwin'
11 | import Glibc
12 | #else
13 | import Darwin
   |        `- error: no such module 'Darwin'
14 | #endif
15 |
[38/38] Compiling PorterStemmer2 PorterStemmer.swift
/host/spi-builder-workspace/PorterStemmer2/Classes/Swift/PorterStemmer.swift:13:8: error: no such module 'Darwin'
11 | import Glibc
12 | #else
13 | import Darwin
   |        `- error: no such module 'Darwin'
14 | #endif
15 |
BUILD FAILURE 6.3 wasm