Build Information
Failed to build SnapshotTestingWebP, reference 1.0.0 (22238d), with Swift 6.1 for Wasm on 5 Dec 2025 16:46:48 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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexey1312/SnapshotTestingWebP.git
Reference: 1.0.0
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/alexey1312/SnapshotTestingWebP
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 22238d8 Add CI and release GitHub Actions workflows
Cloned https://github.com/alexey1312/SnapshotTestingWebP.git
Revision (git rev-parse @):
22238d85de4722cfdfc3d7a2a148969bebe7a1bd
SUCCESS checkout https://github.com/alexey1312/SnapshotTestingWebP.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/alexey1312/SnapshotTestingWebP.git
https://github.com/alexey1312/SnapshotTestingWebP.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.18.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
},
{
"identity" : "libwebp",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/the-swift-collective/libwebp.git"
}
],
"manifest_display_name" : "SnapshotTestingWebP",
"name" : "SnapshotTestingWebP",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SnapshotTestingWebP",
"targets" : [
"SnapshotTestingWebP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SnapshotTestingWebPTests",
"module_type" : "SwiftTarget",
"name" : "SnapshotTestingWebPTests",
"path" : "Tests/SnapshotTestingWebPTests",
"sources" : [
"SnapshotTestingWebPTests.swift",
"SwiftUIView.swift",
"TestNSView.swift"
],
"target_dependencies" : [
"SnapshotTestingWebP"
],
"type" : "test"
},
{
"c99name" : "SnapshotTestingWebP",
"module_type" : "SwiftTarget",
"name" : "SnapshotTestingWebP",
"path" : "Sources/SnapshotTestingWebP",
"product_dependencies" : [
"SnapshotTesting",
"WebP",
"libwebp"
],
"product_memberships" : [
"SnapshotTestingWebP"
],
"sources" : [
"CompressionQuality.swift",
"NSImage.swift",
"NSView.swift",
"NSViewController.swift",
"SwiftUIView.swift",
"UIImage.swift",
"UIView.swift",
"UIViewController.swift",
"WebP/NSImage+WebP.swift",
"WebP/UIImage+WebP.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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/finestructure/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 finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/the-swift-collective/libwebp.git
[1/54] Fetching libwebp
Fetched https://github.com/the-swift-collective/libwebp.git from cache (0.34s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/15634] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.43s)
Computing version for https://github.com/the-swift-collective/libwebp.git
Computed https://github.com/the-swift-collective/libwebp.git at 1.4.1 (5.85s)
Fetching https://github.com/the-swift-collective/libpng.git
[1/30] Fetching libpng
Fetched https://github.com/the-swift-collective/libpng.git from cache (0.34s)
Computing version for https://github.com/the-swift-collective/libpng.git
Computed https://github.com/the-swift-collective/libpng.git at 1.6.45 (1.44s)
Fetching https://github.com/the-swift-collective/zlib.git
[1/48] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.33s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.7 (1.38s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4651] Fetching swift-custom-dump
[4652/77674] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (8.10s)
Fetched https://github.com/swiftlang/swift-syntax from cache (8.18s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (9.01s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.93s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (1.76s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.07s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.0 (0.97s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.7
Creating working copy for https://github.com/the-swift-collective/libpng.git
Working copy of https://github.com/the-swift-collective/libpng.git resolved at 1.6.45
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.0
Creating working copy for https://github.com/the-swift-collective/libwebp.git
Working copy of https://github.com/the-swift-collective/libwebp.git resolved at 1.4.1
Building for debugging...
[0/182] Compiling sharpyuv_cpu.c
[1/182] Compiling sharpyuv_gamma.c
[2/182] Compiling sharpyuv.c
[3/182] Compiling wicdec.c
[3/182] Compiling sharpyuv_sse2.c
[4/182] Compiling sharpyuv_dsp.c
[6/182] Compiling sharpyuv_neon.c
[7/182] Compiling pngdec.c
[8/182] Compiling tiffdec.c
[9/182] Compiling pnmdec.c
[10/182] Compiling jpegdec.c
[11/182] Compiling metadata.c
[11/182] Compiling webpdec.c
[13/182] Compiling imageio_util.c
[14/182] Compiling image_dec.c
[15/182] Compiling ZLibC uncompr.c
[15/182] Compiling image_enc.c
[17/182] Compiling ZLibC inftrees.c
[18/182] Write swift-version-24593BA9C3E375BF.txt
[19/182] Compiling sharpyuv_csp.c
[20/182] Compiling ZLibC zutil.c
[21/182] Compiling ZLibC inffast.c
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
78 | writ = write(state->fd, strm->next_in, put);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: note: did you mean 'fwrite'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:103:8: note: 'fwrite' declared here
103 | size_t fwrite(const void *__restrict, size_t, size_t, FILE *__restrict);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:108:24: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
108 | writ = write(state->fd, state->x.next, put);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
627 | if (close(state->fd) == -1)
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: note: did you mean 'fclose'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:85:5: note: 'fclose' declared here
85 | int fclose(FILE *);
| ^
3 errors generated.
[22/182] Compiling ZLibC gzwrite.c
[22/182] Compiling ZLibC trees.c
[22/182] Compiling ZLibC inflate.c
[22/182] Compiling ZLibC gzlib.c
[22/182] Compiling ZLibC infback.c
[22/182] Compiling ZLibC deflate.c
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
22 | ret = read(state->fd, buf + *have, get);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: note: did you mean 'fread'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:102:8: note: 'fread' declared here
102 | size_t fread(void *__restrict, size_t, size_t, FILE *__restrict);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:600:11: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
600 | ret = close(state->fd);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:600:11: note: did you mean 'fclose'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:85:5: note: 'fclose' declared here
85 | int fclose(FILE *);
| ^
2 errors generated.
[22/182] Compiling ZLibC gzread.c
[22/182] Compiling ZLibC gzclose.c
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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/161] Write sources
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
78 | writ = write(state->fd, strm->next_in, put);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: note: did you mean 'fwrite'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:103:8: note: 'fwrite' declared here
103 | size_t fwrite(const void *__restrict, size_t, size_t, FILE *__restrict);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:108:24: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
108 | writ = write(state->fd, state->x.next, put);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
627 | if (close(state->fd) == -1)
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: note: did you mean 'fclose'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:85:5: note: 'fclose' declared here
85 | int fclose(FILE *);
| ^
3 errors generated.
[1/161] Compiling ZLibC gzwrite.c
[1/161] Compiling ZLibC gzlib.c
[1/161] Compiling ZLibC deflate.c
[1/161] Compiling ZLibC trees.c
[1/161] Compiling ZLibC gzread.c
[1/161] Compiling ZLibC infback.c
[1/161] Compiling ZLibC inflate.c
[1/161] Compiling ZLibC gzclose.c
BUILD FAILURE 6.1 wasm