The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ObfuscateMacro, reference 0.11.0 (b07258), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 19:32:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 0.11.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/p-x9/ObfuscateMacro
 * tag               0.11.0     -> FETCH_HEAD
HEAD is now at b072587 Merge pull request #28 from p-x9/feature/swift-syntax-601
Cloned https://github.com/p-x9/ObfuscateMacro.git
Revision (git rev-parse @):
b072587f7cd106cb254acb52758c1fb6ae91ab6e
SUCCESS checkout https://github.com/p-x9/ObfuscateMacro.git at 0.11.0
========================================
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-1":/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/swiftlang/swift-syntax.git
[1/15433] Fetching swift-crypto
[2934/86349] Fetching swift-crypto, swift-syntax
Fetching https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-crypto.git from cache (3.39s)
[57442/70916] Fetching swift-syntax
[66663/76875] Fetching swift-syntax, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.89s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.78s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (13.17s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.00s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.66s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.05s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.95s)
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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.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-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] Compiling _SwiftSyntaxCShims dummy.c
[9/775] Write sources
[27/775] Compiling _NumericsShims _NumericsShims.c
[28/775] Compiling fiat_p256_adx_sqr.S
[29/775] Compiling fiat_p256_adx_mul.S
[30/775] Compiling a_bitstr.cc
[31/775] Compiling fiat_curve25519_adx_square.S
[32/775] Compiling fiat_curve25519_adx_mul.S
[33/775] Compiling md5-x86_64-linux.S
[34/775] Compiling md5-x86_64-apple.S
[35/775] Compiling md5-586-linux.S
[36/775] Compiling a_d2i_fp.cc
[37/775] Compiling md5-586-apple.S
[38/775] Compiling CCryptoBoringSSLShims shims.c
[39/775] Compiling a_d2i_fp.cc
[40/775] Compiling a_bool.cc
[41/775] Compiling chacha20_poly1305_x86_64-linux.S
[42/775] Compiling chacha20_poly1305_x86_64-apple.S
[43/775] Compiling chacha20_poly1305_armv8-win.S
[44/775] Compiling chacha20_poly1305_armv8-linux.S
[45/775] Compiling chacha-x86-linux.S
[46/775] Compiling chacha-x86_64-apple.S
[47/775] Compiling chacha-x86_64-linux.S
[48/775] Compiling chacha20_poly1305_armv8-apple.S
[49/775] Compiling chacha-x86-apple.S
[50/775] Compiling chacha-armv8-win.S
[51/775] Compiling chacha-armv8-linux.S
[52/775] Write swift-version-24593BA9C3E375BF.txt
[53/775] Compiling chacha-armv8-apple.S
[54/775] Compiling a_bitstr.cc
[55/775] Compiling chacha-armv4-linux.S
[56/775] Compiling aes128gcmsiv-x86_64-linux.S
[57/775] Compiling aes128gcmsiv-x86_64-apple.S
[58/777] Compiling x86_64-mont5-apple.S
[59/778] Compiling err_data.cc
[60/783] Compiling x86_64-mont5-linux.S
[62/783] Emitting module SwiftSyntax601
[63/783] Emitting module SwiftSyntax600
[63/797] Compiling x86_64-mont-linux.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/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.
[65/797] Compiling x86_64-mont-apple.S
[66/797] Compiling x86-mont-linux.S
[67/797] Compiling x86-mont-apple.S
[68/797] Compiling vpaes-x86_64-linux.S
[69/797] Compiling vpaes-x86_64-apple.S
[70/797] Compiling vpaes-x86-linux.S
[71/797] Compiling vpaes-x86-apple.S
[72/797] Compiling vpaes-armv8-win.S
[73/797] Compiling vpaes-armv8-linux.S
[74/797] Compiling vpaes-armv8-apple.S
[75/797] Compiling vpaes-armv7-linux.S
[76/797] Compiling sha512-x86_64-linux.S
[77/797] Compiling sha512-x86_64-apple.S
[78/797] Compiling sha512-armv8-win.S
[79/797] Compiling sha512-armv8-linux.S
[80/797] Compiling sha512-armv8-apple.S
[81/797] Compiling sha512-armv4-linux.S
[82/797] Compiling sha512-586-linux.S
[83/797] Compiling sha512-586-apple.S
[84/797] Compiling sha256-x86_64-linux.S
[85/797] Compiling sha256-x86_64-apple.S
[86/797] Compiling sha256-armv8-win.S
[87/797] Compiling sha256-armv8-linux.S
[88/797] Compiling sha256-armv8-apple.S
[89/797] Compiling sha256-armv4-linux.S
[90/797] Compiling sha256-586-linux.S
[91/797] Compiling sha256-586-apple.S
[92/797] Compiling sha1-x86_64-linux.S
[93/797] Compiling sha1-x86_64-apple.S
[94/797] Compiling sha1-armv8-win.S
[95/797] Compiling sha1-armv8-linux.S
[96/797] Compiling sha1-armv8-apple.S
[97/797] Compiling sha1-armv4-large-linux.S
[98/797] Compiling sha1-586-linux.S
[99/797] Compiling sha1-586-apple.S
[100/797] Compiling rsaz-avx2-linux.S
[101/797] Compiling rsaz-avx2-apple.S
[102/797] Compiling rdrand-x86_64-linux.S
[103/797] Compiling rdrand-x86_64-apple.S
[105/797] Emitting module ObfuscateSupport
[105/797] Compiling p256_beeu-x86_64-asm-linux.S
[106/797] Compiling p256_beeu-x86_64-asm-apple.S
[107/797] Compiling p256_beeu-armv8-asm-win.S
[108/797] Compiling p256_beeu-armv8-asm-linux.S
[109/797] Compiling p256_beeu-armv8-asm-apple.S
[110/797] Compiling p256-x86_64-asm-linux.S
[111/797] Compiling p256-x86_64-asm-apple.S
[112/797] Compiling p256-armv8-asm-win.S
[113/797] Compiling p256-armv8-asm-linux.S
[114/797] Compiling p256-armv8-asm-apple.S
[115/797] Compiling ghashv8-armv8-win.S
[116/797] Compiling ghashv8-armv8-linux.S
[118/797] Emitting module SwiftSyntax509
[119/797] Compiling SwiftSyntax509 Empty.swift
[120/798] Compiling RealModule Real.swift
[120/799] Compiling ghashv8-armv8-apple.S
[122/799] Compiling SwiftSyntax510 Empty.swift
[123/799] Emitting module SwiftSyntax510
[124/800] Emitting module RealModule
[125/800] Compiling SwiftSyntax601 Empty.swift
[127/801] Compiling RealModule ElementaryFunctions.swift
[127/801] Compiling ghashv8-armv7-linux.S
[129/801] Compiling RealModule AlgebraicField.swift
[130/801] Compiling RealModule ApproximateEquality.swift
[132/801] Compiling RealModule AugmentedArithmetic.swift
[133/801] Compiling RealModule Double+Real.swift
[134/801] Compiling SwiftSyntax600 Empty.swift
[135/801] Compiling RealModule RealFunctions.swift
[136/802] Wrapping AST for SwiftSyntax509 for debugging
[139/802] Compiling RealModule Float80+Real.swift
[139/802] Compiling ghash-x86_64-apple.S
[141/802] Compiling RealModule Float+Real.swift
[142/802] Compiling RealModule Float16+Real.swift
[142/802] Compiling ghash-x86_64-linux.S
[143/803] Wrapping AST for SwiftSyntax510 for debugging
[144/803] Wrapping AST for SwiftSyntax601 for debugging
[145/803] Compiling ghash-x86-linux.S
[147/803] Wrapping AST for SwiftSyntax600 for debugging
[148/803] Compiling ghash-x86-apple.S
[149/817] Compiling ghash-ssse3-x86_64-linux.S
[150/831] Compiling ghash-ssse3-x86_64-apple.S
[151/867] Compiling ghash-ssse3-x86-linux.S
[152/867] Compiling ghash-ssse3-x86-apple.S
[153/867] Compiling ghash-neon-armv8-win.S
[154/867] Wrapping AST for RealModule for debugging
[155/867] Compiling ghash-neon-armv8-linux.S
[156/889] Compiling ghash-armv4-linux.S
[157/889] Compiling ghash-neon-armv8-apple.S
[158/892] Compiling co-586-linux.S
[159/892] Compiling co-586-apple.S
[160/892] Compiling bsaes-armv7-linux.S
[161/892] Compiling bn-armv8-win.S
[162/892] Compiling bn-armv8-apple.S
[163/892] Compiling bn-armv8-linux.S
[164/892] Compiling bn-586-linux.S
[165/892] Compiling bn-586-apple.S
[166/892] Compiling armv8-mont-win.S
[167/892] Compiling armv8-mont-linux.S
[168/892] Compiling armv8-mont-apple.S
[169/892] Compiling aesv8-gcm-armv8-win.S
[170/892] Compiling aesv8-gcm-armv8-linux.S
[171/892] Compiling armv4-mont-linux.S
[172/892] Compiling aesv8-gcm-armv8-apple.S
[173/892] Compiling aesv8-armv8-win.S
[174/892] Compiling aesv8-armv7-linux.S
[175/892] Compiling aesv8-armv8-linux.S
[176/892] Compiling aesv8-armv8-apple.S
[177/892] Compiling aesni-x86_64-linux.S
[178/892] Compiling aesni-x86-linux.S
[179/892] Compiling aesni-x86-apple.S
[180/892] Compiling aesni-x86_64-apple.S
[181/892] Compiling aesni-gcm-x86_64-linux.S
[182/892] Compiling aesni-gcm-x86_64-apple.S
[183/892] Compiling aes-gcm-avx10-x86_64-linux.S
[184/892] Compiling aes-gcm-avx10-x86_64-apple.S
[185/892] Compiling x_x509a.cc
[187/892] 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.
[187/892] Compiling x_sig.cc
[187/892] Compiling x_spki.cc
[187/892] Compiling x_val.cc
[187/892] Compiling x_x509.cc
BUILD FAILURE 6.2 wasm