Build Information
Failed to build ObfuscateMacro, reference main (daf1c4
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 19:34:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/p-x9/ObfuscateMacro.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/p-x9/ObfuscateMacro
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at daf1c40 Add Windows to CI (#21)
Cloned https://github.com/p-x9/ObfuscateMacro.git
Revision (git rev-parse @):
daf1c40b50ef9c9a358b7180d37e7713b398f431
SUCCESS checkout https://github.com/p-x9/ObfuscateMacro.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/p-x9/ObfuscateMacro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/apple/swift-crypto.git
Fetching https://github.com/apple/swift-algorithms
[1/5959] Fetching swift-algorithms
[5960/21392] Fetching swift-algorithms, swift-crypto
Fetched https://github.com/apple/swift-algorithms from cache (0.93s)
[155/15433] Fetching swift-crypto
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/apple/swift-crypto.git from cache (3.31s)
[1/70921] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.67s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (17.96s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.66s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.99s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.10s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.61s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.31s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Building for debugging...
[0/775] Write sources
[9/775] Write swift-version-24593BA9C3E375BF.txt
[10/775] Compiling _SwiftSyntaxCShims dummy.c
[11/777] Compiling a_d2i_fp.cc
[12/777] Compiling a_bool.cc
[13/777] Compiling _NumericsShims _NumericsShims.c
[14/777] Write sources
[18/779] Compiling e_rc2.cc
[18/779] Write sources
[32/779] Compiling a_bitstr.cc
[33/783] Compiling a_d2i_fp.cc
[34/783] Compiling a_bitstr.cc
[35/783] Compiling a_bool.cc
[36/797] Compiling CCryptoBoringSSLShims shims.c
[37/797] Compiling fiat_p256_adx_sqr.S
[38/797] Compiling fiat_p256_adx_mul.S
[39/797] Compiling fiat_curve25519_adx_square.S
[40/797] Compiling fiat_curve25519_adx_mul.S
[41/797] Compiling md5-x86_64-linux.S
[42/797] Compiling md5-x86_64-apple.S
[43/797] Compiling md5-586-linux.S
[44/797] Compiling md5-586-apple.S
[45/797] Compiling err_data.cc
[46/797] Compiling chacha20_poly1305_x86_64-linux.S
[47/797] Compiling chacha20_poly1305_x86_64-apple.S
[48/797] Compiling chacha20_poly1305_armv8-win.S
[49/797] Compiling chacha20_poly1305_armv8-linux.S
[50/797] Compiling chacha20_poly1305_armv8-apple.S
[51/797] Compiling chacha-x86_64-linux.S
[52/797] Compiling chacha-x86_64-apple.S
[53/797] Compiling chacha-x86-linux.S
[54/797] Compiling chacha-x86-apple.S
[55/797] Compiling chacha-armv8-win.S
[56/797] Compiling chacha-armv8-linux.S
[57/797] Compiling chacha-armv8-apple.S
[58/797] Compiling chacha-armv4-linux.S
[59/797] Compiling aes128gcmsiv-x86_64-linux.S
[60/797] Compiling aes128gcmsiv-x86_64-apple.S
[61/797] Compiling x86_64-mont5-linux.S
[62/797] Compiling x86_64-mont5-apple.S
[63/797] Compiling x86_64-mont-linux.S
[64/797] Compiling x86_64-mont-apple.S
[65/797] Compiling x86-mont-linux.S
[66/797] Compiling x86-mont-apple.S
[67/797] Compiling vpaes-x86_64-linux.S
[68/797] Compiling vpaes-x86_64-apple.S
[69/797] Compiling vpaes-x86-linux.S
[70/797] Compiling vpaes-x86-apple.S
[71/797] Compiling vpaes-armv8-win.S
[72/797] Compiling vpaes-armv8-linux.S
[73/797] Compiling vpaes-armv8-apple.S
[74/797] Compiling vpaes-armv7-linux.S
[75/797] Compiling sha512-x86_64-linux.S
[76/797] Compiling sha512-x86_64-apple.S
[77/797] Compiling sha512-armv8-win.S
[78/797] Compiling sha512-armv8-linux.S
[79/797] Compiling sha512-armv8-apple.S
[80/797] Compiling sha512-armv4-linux.S
[81/797] Compiling sha512-586-linux.S
[82/797] Compiling sha512-586-apple.S
[83/797] Compiling sha256-x86_64-linux.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[85/797] Emitting module ObfuscateSupport
/host/spi-builder-workspace/Sources/ObfuscateSupport/Method.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Methods for obfuscating data.
[86/797] Compiling ObfuscateSupport Method.swift
/host/spi-builder-workspace/Sources/ObfuscateSupport/Method.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /// Methods for obfuscating data.
[86/797] Compiling sha256-x86_64-apple.S
[87/797] Compiling sha256-armv8-win.S
[88/797] Emitting module ObfuscateSupport
[89/797] Emitting module SwiftSyntax509
[90/797] Emitting module SwiftSyntax510
BUILD FAILURE 6.2 wasm