Build Information
Failed to build WebP, reference main (1b761b), with Swift 6.2 for Wasm on 29 Mar 2026 22:39:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ainame/Swift-WebP.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/ainame/Swift-WebP
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1b761b1 Remove MEMORY_FOOTPRINT.md
Cloned https://github.com/ainame/Swift-WebP.git
Revision (git rev-parse @):
1b761b11aec21e4efa975bbaea7740298cfec175
SUCCESS checkout https://github.com/ainame/Swift-WebP.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ainame/Swift-WebP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/SDWebImage/libwebp-Xcode.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
[1/274] Fetching libwebp-xcode
Fetched https://github.com/SDWebImage/libwebp-Xcode.git from cache (0.23s)
[1/55966] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (27.12s)
Computing version for https://github.com/SDWebImage/libwebp-Xcode.git
Computed https://github.com/SDWebImage/libwebp-Xcode.git at 1.5.0 (30.20s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.60.1 (0.68s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.60.1
Creating working copy for https://github.com/SDWebImage/libwebp-Xcode.git
Working copy of https://github.com/SDWebImage/libwebp-Xcode.git resolved at 1.5.0
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/126] Compiling lossless_enc_neon.c
[2/126] Compiling sharpyuv_neon.c
[3/126] Compiling tree_dec.c
[4/126] Compiling sharpyuv_cpu.c
[5/126] Write swift-version-24593BA9C3E375BF.txt
[6/126] Compiling quant_dec.c
[7/126] Compiling vp8_dec.c
[8/126] Compiling io_dec.c
[9/126] Compiling thread_utils.c
[9/126] Compiling random_utils.c
[9/126] Compiling utils.c
[12/126] Compiling rescaler_utils.c
[13/126] Compiling quant_levels_dec_utils.c
[14/126] Compiling huffman_utils.c
[15/126] Compiling huffman_encode_utils.c
[16/126] Compiling filters_utils.c
[17/126] Compiling quant_levels_utils.c
[18/126] Compiling palette.c
[19/126] Compiling bit_reader_utils.c
[20/126] Compiling color_cache_utils.c
[21/126] Compiling bit_writer_utils.c
[22/126] Compiling webp_enc.c
[23/126] Compiling muxinternal.c
[24/126] Compiling tree_enc.c
[25/126] Compiling muxedit.c
[26/126] Compiling token_enc.c
[27/126] Compiling muxread.c
[28/126] Compiling anim_encode.c
[29/126] Compiling vp8l_enc.c
[30/126] Compiling picture_tools_enc.c
[31/126] Compiling picture_rescale_enc.c
[32/126] Compiling syntax_enc.c
[33/126] Compiling quant_enc.c
[34/126] Compiling picture_enc.c
[35/126] Compiling predictor_enc.c
[36/126] Compiling near_lossless_enc.c
[37/126] Compiling iterator_enc.c
[38/126] Compiling picture_psnr_enc.c
[39/126] Compiling picture_csp_enc.c
[40/126] Compiling cost_enc.c
[41/126] Compiling config_enc.c
[41/126] Compiling frame_enc.c
[43/126] Compiling filter_enc.c
[43/126] Compiling histogram_enc.c
[45/126] Compiling yuv_sse41.c
[46/126] Compiling yuv_sse2.c
[47/126] Compiling yuv_mips_dsp_r2.c
[48/126] Compiling analysis_enc.c
[49/126] Compiling yuv_mips32.c
[50/126] Compiling alpha_enc.c
[51/126] Compiling yuv_neon.c
[52/126] Compiling upsampling_sse41.c
[53/126] Compiling upsampling_sse2.c
[54/126] Compiling backward_references_enc.c
[54/126] Compiling upsampling_neon.c
[56/126] Compiling backward_references_cost_enc.c
[57/126] Compiling upsampling_mips_dsp_r2.c
[58/126] Compiling upsampling_msa.c
[58/126] Compiling yuv.c
[60/126] Compiling ssim_sse2.c
[61/126] Compiling rescaler_sse2.c
[62/126] Compiling ssim.c
[62/126] Compiling rescaler_neon.c
[64/126] Compiling rescaler_mips_dsp_r2.c
[65/126] Compiling rescaler_msa.c
[66/126] Compiling rescaler_mips32.c
[67/126] Compiling lossless_sse2.c
[68/126] Compiling lossless_mips_dsp_r2.c
[69/126] Compiling lossless_sse41.c
[69/126] Compiling lossless_msa.c
[71/126] Compiling upsampling.c
[72/126] Compiling lossless_neon.c
[72/126] Compiling rescaler.c
[74/126] Compiling lossless_enc_sse2.c
[74/126] Compiling lossless_enc_sse41.c
[76/126] Compiling lossless_enc_mips_dsp_r2.c
[77/126] Compiling lossless_enc_msa.c
[78/126] Compiling filters_sse2.c
[78/126] Compiling lossless_enc_mips32.c
[80/126] Compiling filters_neon.c
[81/126] Compiling filters_mips_dsp_r2.c
[82/126] Compiling filters_msa.c
[83/126] Compiling enc_sse41.c
[84/126] Compiling enc_sse2.c
[85/126] Compiling filters.c
[86/126] Compiling enc_msa.c
[87/126] Compiling enc_mips_dsp_r2.c
[88/126] Compiling enc_mips32.c
[88/126] Compiling enc_neon.c
[90/126] Compiling lossless_enc.c
[91/126] Compiling lossless.c
[92/126] Compiling dec_sse41.c
[93/126] Compiling dec_sse2.c
[94/126] Compiling dec_msa.c
[95/126] Compiling dec_neon.c
[96/126] Compiling dec_mips_dsp_r2.c
[96/126] Compiling dec_mips32.c
[98/126] Compiling dec_clip_tables.c
[99/126] Compiling dec.c
[100/126] Compiling enc.c
[101/126] Compiling cpu.c
[102/126] Compiling cost_neon.c
[102/126] Compiling cost_sse2.c
[104/126] Compiling cost_mips_dsp_r2.c
[105/126] Compiling cost_mips32.c
[106/126] Compiling alpha_processing_sse2.c
[106/126] Compiling alpha_processing_sse41.c
[108/126] Compiling alpha_processing_neon.c
[109/126] Compiling alpha_processing_mips_dsp_r2.c
[110/126] Compiling cost.c
[111/126] Compiling alpha_processing.c
[112/126] Compiling anim_decode.c
[113/126] Compiling demux.c
[113/126] Compiling buffer_dec.c
[115/126] Compiling sharpyuv_sse2.c
[116/126] Compiling webp_dec.c
[117/126] Compiling alpha_dec.c
[118/126] Compiling frame_dec.c
[119/126] Compiling sharpyuv_dsp.c
[120/126] Compiling sharpyuv_gamma.c
[121/126] Compiling idec_dec.c
[122/126] Compiling vp8l_dec.c
[123/126] Compiling sharpyuv_csp.c
[124/126] Write sources
[125/126] Compiling sharpyuv.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[127/128] Emitting module WebP
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[128/128] Compiling WebP CGImage+Util.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
BUILD FAILURE 6.2 wasm