Build Information
Failed to build SagaImageReader, reference main (73773a), with Swift 6.1 for Wasm on 5 Apr 2026 06:20:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/SagaImageReader.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/loopwerk/SagaImageReader
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 73773aa feat: SagaImageReader now reads EXIF data and returns it as frontmatter to Saga
Cloned https://github.com/loopwerk/SagaImageReader.git
Revision (git rev-parse @):
73773aa8135455c9d9d122d19df6ec704d9426b5
SUCCESS checkout https://github.com/loopwerk/SagaImageReader.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/loopwerk/SagaImageReader.git
https://github.com/loopwerk/SagaImageReader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "saga",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.3",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/loopwerk/Saga.git"
},
{
"identity" : "scry",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/loopwerk/Scry.git"
}
],
"manifest_display_name" : "SagaImageReader",
"name" : "SagaImageReader",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "SagaImageReader",
"targets" : [
"SagaImageReader"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SagaImageReader",
"module_type" : "SwiftTarget",
"name" : "SagaImageReader",
"path" : "Sources/SagaImageReader",
"product_dependencies" : [
"Saga",
"Scry"
],
"product_memberships" : [
"SagaImageReader"
],
"sources" : [
"SagaImageReader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/loopwerk/Saga.git
Fetching https://github.com/loopwerk/Scry.git
[1/56] Fetching scry
[57/4784] Fetching scry, saga
[1655/4728] Fetching saga
Fetched https://github.com/loopwerk/Scry.git from cache (0.23s)
Fetched https://github.com/loopwerk/Saga.git from cache (0.45s)
Computing version for https://github.com/loopwerk/Scry.git
Computed https://github.com/loopwerk/Scry.git at 1.1.0 (0.98s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 3.3.1 (0.54s)
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/loopwerk/SagaPathKit
[1/829] Fetching sagapathkit
[830/18157] Fetching sagapathkit, swift-crypto
Fetched https://github.com/loopwerk/SagaPathKit from cache (1.92s)
Fetched https://github.com/apple/swift-crypto from cache (1.97s)
Computing version for https://github.com/loopwerk/SagaPathKit
Computed https://github.com/loopwerk/SagaPathKit at 1.6.1 (2.45s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.15.1 (3.53s)
Fetching https://github.com/apple/swift-asn1.git
[1/1789] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.25s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (2.47s)
Creating working copy for https://github.com/loopwerk/SagaPathKit
Working copy of https://github.com/loopwerk/SagaPathKit resolved at 1.6.1
Creating working copy for https://github.com/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 3.3.1
Creating working copy for https://github.com/loopwerk/Scry.git
Working copy of https://github.com/loopwerk/Scry.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.15.1
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/15] Compiling Scry EXIFTags.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/16] Emitting module SagaPathKit
/host/spi-builder-workspace/.build/checkouts/SagaPathKit/Sources/SagaPathKit.swift:8:10: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[8/16] Compiling SagaPathKit SagaPathKit.swift
/host/spi-builder-workspace/.build/checkouts/SagaPathKit/Sources/SagaPathKit.swift:8:10: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[9/16] Compiling Scry TIFFParser.swift
[10/16] Compiling Scry WebPContainer.swift
[11/16] Compiling Scry JPEGContainer.swift
[12/16] Compiling Scry Scry.swift
[13/16] Emitting module Scry
[14/16] Compiling Scry ByteReader.swift
[15/16] Compiling Scry PNGContainer.swift
[16/16] Compiling Scry EXIFError.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling Scry EXIFError.swift
[3/11] Emitting module Scry
[4/12] Compiling Scry EXIFTags.swift
[5/12] Compiling Scry Scry.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Emitting module SagaPathKit
/host/spi-builder-workspace/.build/checkouts/SagaPathKit/Sources/SagaPathKit.swift:8:10: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[7/12] Compiling SagaPathKit SagaPathKit.swift
/host/spi-builder-workspace/.build/checkouts/SagaPathKit/Sources/SagaPathKit.swift:8:10: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[8/12] Compiling Scry JPEGContainer.swift
BUILD FAILURE 6.1 wasm