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 BSWInterfaceKit, reference develop (4fea03), with Swift 6.1 for Wasm on 3 Sep 2025 14:13:11 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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/theleftbit/BSWInterfaceKit.git
Reference: develop
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/theleftbit/BSWInterfaceKit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 4fea032 Fix Release
Cloned https://github.com/theleftbit/BSWInterfaceKit.git
Revision (git rev-parse @):
4fea0329519113dcc296b02dcc1713f599d82399
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/theleftbit/BSWInterfaceKit.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/theleftbit/BSWInterfaceKit.git
https://github.com/theleftbit/BSWInterfaceKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
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/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://source.skip.tools/skip.git
Fetching https://source.skip.tools/skip-fuse-ui.git
[1/1823] Fetching skip-fuse-ui
[257/10127] Fetching skip-fuse-ui, skip
Fetching https://github.com/kean/Nuke.git
Fetched https://source.skip.tools/skip-fuse-ui.git from cache (1.35s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/theleftbit/BSWFoundation.git
Fetched https://source.skip.tools/skip.git from cache (1.65s)
[1/26115] Fetching nuke
[3135/31539] Fetching nuke, bswfoundation
Fetched https://github.com/theleftbit/BSWFoundation.git from cache (0.88s)
[6529/26115] Fetching nuke
[26116/41487] Fetching nuke, swift-snapshot-testing
Fetched https://github.com/kean/Nuke.git from cache (2.62s)
[2219/15372] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (5.21s)
Computing version for https://source.skip.tools/skip-fuse-ui.git
Computed https://source.skip.tools/skip-fuse-ui.git at 1.7.1 (7.90s)
Fetching https://source.skip.tools/skip-fuse.git
Fetching https://source.skip.tools/skip-ui.git
Fetching https://source.skip.tools/skip-bridge.git
Fetching https://source.skip.tools/swift-jni.git
Fetching https://source.skip.tools/skip-android-bridge.git
[1/113] Fetching swift-jni
[40/2532] Fetching swift-jni, skip-bridge
[260/2631] Fetching swift-jni, skip-bridge, skip-fuse
[1027/3171] Fetching swift-jni, skip-bridge, skip-fuse, skip-android-bridge
[2970/14356] Fetching swift-jni, skip-bridge, skip-fuse, skip-android-bridge, skip-ui
Fetched https://source.skip.tools/swift-jni.git from cache (2.23s)
Fetched https://source.skip.tools/skip-android-bridge.git from cache (2.23s)
Fetched https://source.skip.tools/skip-bridge.git from cache (2.23s)
Fetched https://source.skip.tools/skip-fuse.git from cache (3.36s)
Fetched https://source.skip.tools/skip-ui.git from cache (3.37s)
Computing version for https://source.skip.tools/skip.git
Computed https://source.skip.tools/skip.git at 1.6.14 (5.02s)
Computing version for https://github.com/kean/Nuke.git
Computed https://github.com/kean/Nuke.git at 12.8.0 (1.51s)
Computing version for https://source.skip.tools/swift-jni.git
Computed https://source.skip.tools/swift-jni.git at 0.3.0 (0.52s)
Computing version for https://source.skip.tools/skip-android-bridge.git
Computed https://source.skip.tools/skip-android-bridge.git at 0.6.1 (0.57s)
Fetching https://source.skip.tools/skip-foundation.git
Fetching https://source.skip.tools/swift-android-native.git
[1/453] Fetching swift-android-native
[454/3772] Fetching swift-android-native, skip-foundation
Fetched https://source.skip.tools/swift-android-native.git from cache (0.76s)
Fetched https://source.skip.tools/skip-foundation.git from cache (0.77s)
Computing version for https://source.skip.tools/skip-fuse.git
Computed https://source.skip.tools/skip-fuse.git at 1.0.2 (1.31s)
Computing version for https://source.skip.tools/skip-bridge.git
Computed https://source.skip.tools/skip-bridge.git at 0.16.1 (0.54s)
Fetching https://source.skip.tools/skip-lib.git
[1/1518] Fetching skip-lib
Fetched https://source.skip.tools/skip-lib.git from cache (0.62s)
Computing version for https://source.skip.tools/skip-foundation.git
Computed https://source.skip.tools/skip-foundation.git at 1.3.9 (1.17s)
Computing version for https://source.skip.tools/skip-lib.git
Computed https://source.skip.tools/skip-lib.git at 1.3.7 (0.68s)
Fetching https://source.skip.tools/skip-unit.git
[1/995] Fetching skip-unit
Fetched https://source.skip.tools/skip-unit.git from cache (0.61s)
Computing version for https://source.skip.tools/skip-ui.git
Computed https://source.skip.tools/skip-ui.git at 1.39.0 (1.28s)
Fetching https://source.skip.tools/skip-model.git
[1/505] Fetching skip-model
Fetched https://source.skip.tools/skip-model.git from cache (0.57s)
Computing version for https://source.skip.tools/skip-model.git
Computed https://source.skip.tools/skip-model.git at 1.6.0 (1.11s)
Computing version for https://source.skip.tools/swift-android-native.git
Computed https://source.skip.tools/swift-android-native.git at 1.4.3 (0.57s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.6 (0.58s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4577] Fetching swift-custom-dump
[4578/76425] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (6.11s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.17s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.77s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5505] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.88s)
Computing version for https://github.com/theleftbit/BSWFoundation.git
Computed https://github.com/theleftbit/BSWFoundation.git at 7.2.4 (1.50s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://source.skip.tools/skip-keychain.git
Fetching https://github.com/apple/swift-crypto.git
[1/4386] Fetching keychainaccess
[3554/20760] Fetching keychainaccess, swift-crypto
[5861/20918] Fetching keychainaccess, swift-crypto, skip-keychain
Fetched https://source.skip.tools/skip-keychain.git from cache (1.78s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (1.79s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.83s)
Computing version for https://source.skip.tools/skip-keychain.git
Computed https://source.skip.tools/skip-keychain.git at 0.3.0 (4.24s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.58s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.73s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.32s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.96s)
Computing version for https://source.skip.tools/skip-unit.git
Computed https://source.skip.tools/skip-unit.git at 1.3.7 (0.59s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.86s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (1.00s)
Creating working copy for https://github.com/kean/Nuke.git
Working copy of https://github.com/kean/Nuke.git resolved at 12.8.0
Creating working copy for https://source.skip.tools/skip-lib.git
Working copy of https://source.skip.tools/skip-lib.git resolved at 1.3.7
Creating working copy for https://source.skip.tools/skip-foundation.git
Working copy of https://source.skip.tools/skip-foundation.git resolved at 1.3.9
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/theleftbit/BSWFoundation.git
Working copy of https://github.com/theleftbit/BSWFoundation.git resolved at 7.2.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
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.6
Creating working copy for https://source.skip.tools/skip-android-bridge.git
Working copy of https://source.skip.tools/skip-android-bridge.git resolved at 0.6.1
Creating working copy for https://source.skip.tools/skip-keychain.git
Working copy of https://source.skip.tools/skip-keychain.git resolved at 0.3.0
Creating working copy for https://source.skip.tools/skip-bridge.git
Working copy of https://source.skip.tools/skip-bridge.git resolved at 0.16.1
Creating working copy for https://source.skip.tools/skip-ui.git
Working copy of https://source.skip.tools/skip-ui.git resolved at 1.39.0
Creating working copy for https://source.skip.tools/skip-fuse-ui.git
Working copy of https://source.skip.tools/skip-fuse-ui.git resolved at 1.7.1
Creating working copy for https://source.skip.tools/skip-unit.git
Working copy of https://source.skip.tools/skip-unit.git resolved at 1.3.7
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://source.skip.tools/swift-jni.git
Working copy of https://source.skip.tools/swift-jni.git resolved at 0.3.0
Creating working copy for https://source.skip.tools/swift-android-native.git
Working copy of https://source.skip.tools/swift-android-native.git resolved at 1.4.3
Creating working copy for https://source.skip.tools/skip-model.git
Working copy of https://source.skip.tools/skip-model.git resolved at 1.6.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.4.0
Creating working copy for https://source.skip.tools/skip.git
Working copy of https://source.skip.tools/skip.git resolved at 1.6.14
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://source.skip.tools/skip-fuse.git
Working copy of https://source.skip.tools/skip-fuse.git resolved at 1.0.2
Downloading binary artifact https://source.skip.tools/skip/releases/download/1.6.14/skip-linux.zip
[1369/165388726] Downloading https://source.skip.tools/skip/releases/download/1.6.14/skip-linux.zip
Downloaded https://source.skip.tools/skip/releases/download/1.6.14/skip-linux.zip (15.03s)
[1/1] Compiling plugin Create SkipLink
[2/2] Compiling plugin skipstone
Building for debugging...
[2/438] Write sources
[10/438] Copying Info.plist
[10/438] Write sources
[22/438] Compiling BSWZoomTransition.m
[22/438] Compiling UIView+Utilities.m
[24/438] Compiling BSWCollectionViewLeftAlignedLayout.m
[25/438] Compiling BSWZoomImageTransition.m
[26/438] Compiling CJNI cjni.c
[27/438] Compiling fiat_p256_adx_mul.S
[28/438] Compiling fiat_p256_adx_sqr.S
[29/438] Compiling fiat_curve25519_adx_mul.S
[30/438] Compiling fiat_curve25519_adx_square.S
[31/438] Compiling md5-x86_64-linux.S
[32/438] Compiling md5-586-apple.S
[33/438] Compiling md5-x86_64-apple.S
[33/438] Compiling md5-586-linux.S
[35/438] Compiling chacha20_poly1305_x86_64-linux.S
[36/438] Compiling chacha20_poly1305_x86_64-apple.S
[37/438] Compiling chacha20_poly1305_armv8-win.S
[38/438] Compiling chacha20_poly1305_armv8-apple.S
[39/438] Compiling chacha20_poly1305_armv8-linux.S
[40/438] Compiling UIViewController+Utilities.m
[41/438] Write swift-version-24593BA9C3E375BF.txt
[42/438] Compiling chacha-x86_64-linux.S
[43/438] Compiling chacha-x86_64-apple.S
[44/438] Compiling chacha-x86-linux.S
[45/438] Compiling chacha-armv8-win.S
[46/438] Compiling chacha-x86-apple.S
[47/438] Compiling chacha-armv8-linux.S
[48/438] Compiling chacha-armv8-apple.S
[49/438] Compiling chacha-armv4-linux.S
[50/438] Compiling CCryptoBoringSSLShims shims.c
[51/438] Compiling aes128gcmsiv-x86_64-linux.S
[52/438] Compiling aes128gcmsiv-x86_64-apple.S
[53/438] Compiling x86_64-mont5-linux.S
[54/438] Compiling x86_64-mont-linux.S
[55/438] Compiling x86_64-mont5-apple.S
[56/438] Compiling x86_64-mont-apple.S
[57/438] Compiling vpaes-x86_64-apple.S
[58/438] Compiling vpaes-x86_64-linux.S
[59/438] Compiling x86-mont-apple.S
[60/438] Compiling x86-mont-linux.S
[61/440] Compiling vpaes-x86-linux.S
[62/440] Compiling vpaes-x86-apple.S
[63/440] Compiling vpaes-armv8-win.S
[64/440] Compiling vpaes-armv8-apple.S
[65/440] Compiling vpaes-armv8-linux.S
[66/440] Compiling vpaes-armv7-linux.S
[67/440] Compiling sha512-x86_64-linux.S
[68/440] Compiling sha512-x86_64-apple.S
[69/440] Compiling sha512-armv8-win.S
[70/440] Compiling sha512-armv4-linux.S
[71/440] Compiling sha512-armv8-apple.S
[72/440] Compiling sha512-armv8-linux.S
[72/440] Compiling sha512-586-linux.S
[74/440] Compiling sha512-586-apple.S
[75/440] Compiling sha256-x86_64-linux.S
[76/440] Compiling sha256-armv8-win.S
[77/440] Compiling sha256-x86_64-apple.S
[78/440] Compiling sha256-armv8-linux.S
[79/440] Compiling sha256-armv4-linux.S
[80/440] Compiling sha256-armv8-apple.S
[81/440] Compiling sha1-x86_64-linux.S
[82/440] Compiling sha256-586-apple.S
[82/440] Compiling sha256-586-linux.S
[84/440] Compiling sha1-x86_64-apple.S
[85/440] Compiling sha1-armv8-linux.S
[86/440] Compiling sha1-armv8-win.S
[87/440] Compiling sha1-armv8-apple.S
[88/440] Compiling sha1-armv4-large-linux.S
[89/440] Compiling rsaz-avx2-apple.S
[90/440] Compiling sha1-586-linux.S
[91/440] Compiling sha1-586-apple.S
[92/440] Compiling rdrand-x86_64-linux.S
[93/440] Compiling rsaz-avx2-linux.S
[94/440] Compiling rdrand-x86_64-apple.S
[95/440] Compiling err_data.cc
[96/440] Compiling p256_beeu-x86_64-asm-apple.S
[97/440] Compiling p256_beeu-armv8-asm-linux.S
[98/440] Compiling p256_beeu-x86_64-asm-linux.S
[99/440] Compiling p256_beeu-armv8-asm-win.S
[100/440] Compiling p256_beeu-armv8-asm-apple.S
[101/440] Compiling p256-x86_64-asm-linux.S
[102/440] Compiling p256-armv8-asm-win.S
[103/440] Compiling p256-x86_64-asm-apple.S
[104/440] Compiling p256-armv8-asm-linux.S
[105/440] Compiling ghashv8-armv8-win.S
[106/440] Compiling p256-armv8-asm-apple.S
[107/440] Compiling ghashv8-armv8-linux.S
[108/440] Compiling ghashv8-armv7-linux.S
[109/440] Compiling ghash-x86_64-apple.S
[110/440] Compiling ghash-x86_64-linux.S
[111/440] Compiling ghashv8-armv8-apple.S
[112/440] Compiling ghash-x86-apple.S
[113/440] Compiling ghash-ssse3-x86_64-linux.S
[114/440] Compiling ghash-x86-linux.S
[115/440] Compiling ghash-ssse3-x86-linux.S
[116/440] Compiling ghash-ssse3-x86-apple.S
[117/440] Compiling ghash-ssse3-x86_64-apple.S
[118/440] Compiling ghash-neon-armv8-win.S
[119/440] Compiling ghash-neon-armv8-apple.S
[120/440] Compiling ghash-neon-armv8-linux.S
[121/440] Compiling ghash-armv4-linux.S
[122/440] Compiling co-586-apple.S
[123/440] Compiling bsaes-armv7-linux.S
[124/440] Compiling co-586-linux.S
[125/440] Compiling bn-armv8-win.S
[126/440] Compiling bn-armv8-linux.S
[127/440] Compiling bn-586-linux.S
[128/440] Compiling bn-586-apple.S
[128/440] Compiling bn-armv8-apple.S
[130/440] Compiling armv8-mont-apple.S
[131/440] Compiling armv8-mont-win.S
[132/440] Compiling armv8-mont-linux.S
[133/440] Compiling aesv8-gcm-armv8-linux.S
[134/440] Compiling aesv8-gcm-armv8-apple.S
[135/440] Compiling armv4-mont-linux.S
[136/440] Compiling aesv8-armv8-win.S
[137/440] Compiling aesv8-gcm-armv8-win.S
[138/440] Compiling aesv8-armv8-linux.S
[139/440] Compiling aesv8-armv8-apple.S
[140/440] Compiling aesni-x86_64-linux.S
[141/440] Compiling aesni-x86-linux.S
[142/440] Compiling aesv8-armv7-linux.S
[143/440] Compiling aesni-x86_64-apple.S
[144/440] Compiling aesni-x86-apple.S
[145/440] Compiling aesni-gcm-x86_64-linux.S
[146/440] Compiling aesni-gcm-x86_64-apple.S
[147/440] Compiling aes-gcm-avx512-x86_64-linux.S
note: Skip 1.6.14: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit/src/main at 14:12:13
/host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/skip.yml
note: skip.yml aggregate created (3819 ms) for modules: ["SkipUnit"]
/host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/XCTest.kt: note: SkipUnit/src/main/kotlin/skip/unit/XCTest.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/XCTest.kt
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit.skipcode.json: note: SkipUnit.skipcode.json (10 KB) codebase written
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/gradle/wrapper/gradle-wrapper.properties: note: gradle/wrapper/gradle-wrapper.properties (80 bytes) gradle wrapper written
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit/proguard-rules.pro: note: SkipUnit/proguard-rules.pro (350 bytes) proguard written
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit/build.gradle.kts: note: SkipUnit/build.gradle.kts (2 KB) gradle project written
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/gradle.properties: note: gradle.properties (78 bytes) gradle config written
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/settings.gradle.kts: note: settings.gradle.kts (3 KB) gradle settings written
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/.SkipUnit.sourcehash: note: .SkipUnit.sourcehash (205 bytes) sourcehash written
[148/440] Skip SkipUnit
[149/440] Compiling aes-gcm-avx512-x86_64-apple.S
[150/440] Compiling aes-gcm-avx2-x86_64-linux.S
[150/440] Copying .SkipUnit.sourcehash
[152/440] Compiling aes-gcm-avx2-x86_64-apple.S
[153/440] Compiling xwing.cc
[154/440] Compiling x_sig.cc
[155/440] Compiling x_val.cc
[156/442] Compiling x_x509a.cc
[157/443] Compiling x_spki.cc
[158/443] Compiling x_x509.cc
[160/443] Emitting module SkipUnit
[160/443] Compiling x_exten.cc
[161/443] Compiling x_req.cc
[162/443] Compiling x_pubkey.cc
[163/443] Compiling x_name.cc
[164/443] Compiling x_crl.cc
note: Skip 1.6.14: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main at 14:12:17
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/skip.yml
/host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/skip.yml: note: SkipUnit skip.yml config loaded (4739 ms)
note: skip.yml aggregate created (4859 ms) for modules: ["SkipLib", "SkipUnit"]
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit.skipcode.json: note: SkipUnit.skipcode.json codebase (10 KB) loaded (50 ms) for SkipUnit
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/CustomStringConvertible.kt: note: SkipLib/src/main/kotlin/skip/lib/CustomStringConvertible.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/CustomStringConvertible.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Globals.kt: note: SkipLib/src/main/kotlin/skip/lib/Globals.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Globals.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Concurrency.kt: note: SkipLib/src/main/kotlin/skip/lib/Concurrency.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Concurrency.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Bool.kt: note: SkipLib/src/main/kotlin/skip/lib/Bool.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Bool.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Dictionary.kt: note: SkipLib/src/main/kotlin/skip/lib/Dictionary.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Dictionary.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Set.kt: note: SkipLib/src/main/kotlin/skip/lib/Set.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Set.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Hashable.kt: note: SkipLib/src/main/kotlin/skip/lib/Hashable.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Hashable.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Equatable.kt: note: SkipLib/src/main/kotlin/skip/lib/Equatable.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Equatable.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/InOut.kt: note: SkipLib/src/main/kotlin/skip/lib/InOut.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/InOut.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/SetAlgebra.kt: note: SkipLib/src/main/kotlin/skip/lib/SetAlgebra.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/SetAlgebra.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Optional.kt: note: SkipLib/src/main/kotlin/skip/lib/Optional.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Optional.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/String.kt: note: SkipLib/src/main/kotlin/skip/lib/String.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/String.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Codable.kt: note: SkipLib/src/main/kotlin/skip/lib/Codable.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Codable.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Numbers.kt: note: SkipLib/src/main/kotlin/skip/lib/Numbers.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Numbers.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/CaseIterable.kt: note: SkipLib/src/main/kotlin/skip/lib/CaseIterable.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/CaseIterable.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Copyable.kt: note: SkipLib/src/main/kotlin/skip/lib/Copyable.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Copyable.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Struct.kt: note: SkipLib/src/main/kotlin/skip/lib/Struct.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Struct.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/OptionSet.kt: note: SkipLib/src/main/kotlin/skip/lib/OptionSet.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/OptionSet.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Error.kt: note: SkipLib/src/main/kotlin/skip/lib/Error.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Error.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/StringInterpolationProtocol.kt: note: SkipLib/src/main/kotlin/skip/lib/StringInterpolationProtocol.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/StringInterpolationProtocol.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Array.kt: note: SkipLib/src/main/kotlin/skip/lib/Array.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Array.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/IntSet.kt: note: SkipLib/src/main/kotlin/skip/lib/IntSet.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/IntSet.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Collections.kt: note: SkipLib/src/main/kotlin/skip/lib/Collections.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Collections.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/KotlinSupport.kt: note: SkipLib/src/main/kotlin/skip/lib/KotlinSupport.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/KotlinSupport.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Tuple.kt: note: SkipLib/src/main/kotlin/skip/lib/Tuple.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Tuple.kt
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Lambda.kt: note: SkipLib/src/main/kotlin/skip/lib/Lambda.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Lambda.kt
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/RawRepresentable.kt: note: SkipLib/src/main/kotlin/skip/lib/RawRepresentable.kt (245 bytes) transpilation saved from RawRepresentable.swift (275 bytes) in 57 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/ObjectIdentifier.kt: note: SkipLib/src/main/kotlin/skip/lib/ObjectIdentifier.kt (655 bytes) transpilation saved from ObjectIdentifier.swift (320 bytes) in 62 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/Identifiable.kt: note: SkipLib/src/main/kotlin/skip/lib/Identifiable.kt (266 bytes) transpilation saved from Identifiable.swift (358 bytes) in 62 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/BridgeSupport.kt: note: SkipLib/src/main/kotlin/skip/lib/BridgeSupport.kt (887 bytes) transpilation saved from BridgeSupport.swift (883 bytes) in 69 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/SkipLib.kt: note: SkipLib/src/main/kotlin/skip/lib/SkipLib.kt (234 bytes) transpilation saved from SkipLib.swift (255 bytes) in 8 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/Pointer.kt: note: SkipLib/src/main/kotlin/skip/lib/Pointer.kt (5 KB) transpilation saved from Pointer.swift (2 KB) in 76 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/Random.kt: note: SkipLib/src/main/kotlin/skip/lib/Random.kt (1 KB) transpilation saved from Random.swift (3 KB) in 112 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/Regex.kt: note: SkipLib/src/main/kotlin/skip/lib/Regex.kt (2 KB) transpilation saved from Regex.swift (2 KB) in 127 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/Result.kt: note: SkipLib/src/main/kotlin/skip/lib/Result.kt (3 KB) transpilation saved from Result.swift (2 KB) in 116 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/CodableSupport.kt: note: SkipLib/src/main/kotlin/skip/lib/CodableSupport.kt (4 KB) transpilation saved from CodableSupport.swift (3 KB) in 213 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/Math.kt: note: SkipLib/src/main/kotlin/skip/lib/Math.kt (28 KB) transpilation saved from Math.swift (15 KB) in 640 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/CoreGraphics.kt: note: SkipLib/src/main/kotlin/skip/lib/CoreGraphics.kt (15 KB) transpilation saved from CoreGraphics.swift (9 KB) in 650 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/AsyncStream.kt: note: SkipLib/src/main/kotlin/skip/lib/AsyncStream.kt (25 KB) transpilation saved from AsyncStream.swift (18 KB) in 870 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main/kotlin/skip/lib/PackageSupport.kt: note: SkipLib/src/main/kotlin/skip/lib/PackageSupport.kt (594 bytes) transpilation saved from PackageSupport.swift (Zero KB) in 0 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib.skipcode.json: note: SkipLib.skipcode.json (655 KB) codebase written
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/gradle/wrapper/gradle-wrapper.properties: note: gradle/wrapper/gradle-wrapper.properties (80 bytes) gradle wrapper written
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/proguard-rules.pro: note: SkipLib/proguard-rules.pro (349 bytes) proguard written
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/build.gradle.kts: note: SkipLib/build.gradle.kts (3 KB) gradle project written
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/gradle.properties: note: gradle.properties (78 bytes) gradle config written
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/settings.gradle.kts: note: settings.gradle.kts (3 KB) gradle settings written
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/.SkipLib.sourcehash: note: .SkipLib.sourcehash (5 KB) sourcehash written
[165/443] Skip SkipLib
[166/443] Compiling x_all.cc
[167/443] Compiling x_attrib.cc
[168/443] Compiling x_algor.cc
[169/443] Copying .SkipLib.sourcehash
[170/443] Compiling x509spki.cc
[171/443] Compiling x509rset.cc
[172/443] Compiling x509name.cc
[174/443] Compiling SkipUnit XCTest.swift
[174/443] Compiling x509cset.cc
[175/443] Compiling x509_vpm.cc
[176/443] Compiling x509_vfy.cc
[177/443] Compiling x509_v3.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[179/443] Emitting module SwiftJNI
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1324:23: error: cannot find 'dlopen' in scope
1322 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1323 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1324 |             let lib = dlopen(libname, RTLD_NOW)
     |                       `- error: cannot find 'dlopen' in scope
1325 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1326 |             typealias GetCreatedJavaVMs = @convention(c) (_ pvm: UnsafeMutablePointer<JavaVMPtr?>, _ count: Int32, _ num: UnsafeMutablePointer<Int32>) -> jint
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1324:39: error: cannot find 'RTLD_NOW' in scope
1322 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1323 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1324 |             let lib = dlopen(libname, RTLD_NOW)
     |                                       `- error: cannot find 'RTLD_NOW' in scope
1325 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1326 |             typealias GetCreatedJavaVMs = @convention(c) (_ pvm: UnsafeMutablePointer<JavaVMPtr?>, _ count: Int32, _ num: UnsafeMutablePointer<Int32>) -> jint
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1329:43: error: cannot find 'dlsym' in scope
1327 |
1328 |             // Windows TODO: need to use GetProcAddress
1329 |             guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
     |                                           `- error: cannot find 'dlsym' in scope
1330 |                 continue
1331 |             }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1364:44: error: cannot find 'dlsym' in scope
1362 |         typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1363 |
1364 |         guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
     |                                            `- error: cannot find 'dlsym' in scope
1365 |             throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1366 |         }
[180/443] Compiling SwiftJNI SwiftJNI.swift
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1324:23: error: cannot find 'dlopen' in scope
1322 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1323 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1324 |             let lib = dlopen(libname, RTLD_NOW)
     |                       `- error: cannot find 'dlopen' in scope
1325 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1326 |             typealias GetCreatedJavaVMs = @convention(c) (_ pvm: UnsafeMutablePointer<JavaVMPtr?>, _ count: Int32, _ num: UnsafeMutablePointer<Int32>) -> jint
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1324:39: error: cannot find 'RTLD_NOW' in scope
1322 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1323 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1324 |             let lib = dlopen(libname, RTLD_NOW)
     |                                       `- error: cannot find 'RTLD_NOW' in scope
1325 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1326 |             typealias GetCreatedJavaVMs = @convention(c) (_ pvm: UnsafeMutablePointer<JavaVMPtr?>, _ count: Int32, _ num: UnsafeMutablePointer<Int32>) -> jint
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1329:43: error: cannot find 'dlsym' in scope
1327 |
1328 |             // Windows TODO: need to use GetProcAddress
1329 |             guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
     |                                           `- error: cannot find 'dlsym' in scope
1330 |                 continue
1331 |             }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1364:44: error: cannot find 'dlsym' in scope
1362 |         typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1363 |
1364 |         guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
     |                                            `- error: cannot find 'dlsym' in scope
1365 |             throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1366 |         }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1413:12: error: cannot find 'getenv' in scope
1411 |
1412 |         // if JAVA_HOME is unset, default to the Homebrew installation
1413 |         if getenv("JAVA_HOME") == nil {
     |            `- error: cannot find 'getenv' in scope
1414 |             if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1415 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1415:17: error: cannot find 'setenv' in scope
1413 |         if getenv("JAVA_HOME") == nil {
1414 |             if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1415 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
     |                 `- error: cannot find 'setenv' in scope
1416 |             } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1417 |                 setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1417:17: error: cannot find 'setenv' in scope
1415 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
1416 |             } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1417 |                 setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
     |                 `- error: cannot find 'setenv' in scope
1418 |             } else {
1419 |                 throw JVMError(description: "No JAVA_HOME set, and could not locate default Java installation")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1422:25: error: cannot find 'getenv' in scope
1420 |             }
1421 |         }
1422 |         let JAVA_HOME = getenv("JAVA_HOME")!
     |                         `- error: cannot find 'getenv' in scope
1423 |         let javaHome = URL(fileURLWithPath: String(validatingUTF8: JAVA_HOME)!)
1424 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1442:79: error: cannot infer key path type from context; consider explicitly specifying a root type
1440 |
1441 |         guard let lib = libs.first(where: { FileManager.default.isReadableFile(atPath: $0.path) }) else {
1442 |             throw JVMError(description: "Could not find libjvm in: \(libs.map(\.path))")
     |                                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1443 |         }
1444 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1446:27: error: cannot find 'dlopen' in scope
1444 |
1445 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1446 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
     |                           `- error: cannot find 'dlopen' in scope
1447 |             if let error = dlerror() {
1448 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1446:44: error: cannot find 'RTLD_NOW' in scope
1444 |
1445 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1446 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
     |                                            `- error: cannot find 'RTLD_NOW' in scope
1447 |             if let error = dlerror() {
1448 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1447:28: error: cannot find 'dlerror' in scope
1445 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1446 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
1447 |             if let error = dlerror() {
     |                            `- error: cannot find 'dlerror' in scope
1448 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
1449 |             } else {
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1464:27: error: cannot find 'strlen' in scope
1462 |     init(_ string: String) {
1463 |         (length, buffer) = string.withCString {
1464 |             let len = Int(strlen($0) + 1)
     |                           `- error: cannot find 'strlen' in scope
1465 |             let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
1466 |             return (len, dst!)
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1465:37: error: cannot find 'strcpy' in scope
1463 |         (length, buffer) = string.withCString {
1464 |             let len = Int(strlen($0) + 1)
1465 |             let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
     |                                     `- error: cannot find 'strcpy' in scope
1466 |             return (len, dst!)
1467 |         }
[181/443] Compiling SkipUnit resource_bundle_accessor.swift
[181/444] Compiling x509_set.cc
[181/444] Compiling x509_req.cc
note: Skip 1.6.14: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main at 14:12:26
/host/spi-builder-workspace/.build/checkouts/skip-foundation/Sources/SkipFoundation/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/.build/checkouts/skip-foundation/Sources/SkipFoundation/Skip/skip.yml
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/skip.yml: note: SkipLib skip.yml config loaded (68 ms)
/host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/skip.yml: note: SkipUnit skip.yml config loaded (3877 ms)
note: skip.yml aggregate created (4048 ms) for modules: ["SkipFoundation", "SkipLib", "SkipUnit"]
[181/444] Skip SkipFoundation
[181/444] Compiling x509_txt.cc
[181/444] Compiling x509_trs.cc
note: Skip 1.6.14: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main at 14:12:26
/host/spi-builder-workspace/.build/checkouts/skip-bridge/Sources/SkipBridge/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/.build/checkouts/skip-bridge/Sources/SkipBridge/Skip/skip.yml
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/skip.yml: note: SkipLib skip.yml config loaded (61 ms)
[181/444] Skip SkipBridge
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/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Create SkipLink
[2/2] Compiling plugin skipstone
Building for debugging...
[2/265] Compiling x509_def.cc
[3/265] Compiling x509_lu.cc
[4/265] Compiling x509_txt.cc
[5/265] Compiling x509_trs.cc
[6/265] Compiling x509_req.cc
[7/265] Compiling x509_obj.cc
[8/265] Compiling x509_set.cc
[9/265] Compiling x509_ext.cc
[10/265] Compiling v3_utl.cc
[11/265] Compiling x509_att.cc
[12/265] Write swift-version-24593BA9C3E375BF.txt
[12/265] Compiling x509_d2.cc
[14/265] Compiling x509.cc
[15/265] Compiling x509_cmp.cc
[17/270] Emitting module SkipUnit
[18/270] Compiling SkipUnit XCTest.swift
[19/270] Compiling SkipUnit resource_bundle_accessor.swift
[20/271] Compiling v3_skey.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/271] Emitting module SwiftJNI
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1324:23: error: cannot find 'dlopen' in scope
1322 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1323 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1324 |             let lib = dlopen(libname, RTLD_NOW)
     |                       `- error: cannot find 'dlopen' in scope
1325 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1326 |             typealias GetCreatedJavaVMs = @convention(c) (_ pvm: UnsafeMutablePointer<JavaVMPtr?>, _ count: Int32, _ num: UnsafeMutablePointer<Int32>) -> jint
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1324:39: error: cannot find 'RTLD_NOW' in scope
1322 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1323 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1324 |             let lib = dlopen(libname, RTLD_NOW)
     |                                       `- error: cannot find 'RTLD_NOW' in scope
1325 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1326 |             typealias GetCreatedJavaVMs = @convention(c) (_ pvm: UnsafeMutablePointer<JavaVMPtr?>, _ count: Int32, _ num: UnsafeMutablePointer<Int32>) -> jint
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1329:43: error: cannot find 'dlsym' in scope
1327 |
1328 |             // Windows TODO: need to use GetProcAddress
1329 |             guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
     |                                           `- error: cannot find 'dlsym' in scope
1330 |                 continue
1331 |             }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1364:44: error: cannot find 'dlsym' in scope
1362 |         typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1363 |
1364 |         guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
     |                                            `- error: cannot find 'dlsym' in scope
1365 |             throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1366 |         }
[23/271] Compiling SwiftJNI SwiftJNI.swift
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1324:23: error: cannot find 'dlopen' in scope
1322 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1323 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1324 |             let lib = dlopen(libname, RTLD_NOW)
     |                       `- error: cannot find 'dlopen' in scope
1325 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1326 |             typealias GetCreatedJavaVMs = @convention(c) (_ pvm: UnsafeMutablePointer<JavaVMPtr?>, _ count: Int32, _ num: UnsafeMutablePointer<Int32>) -> jint
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1324:39: error: cannot find 'RTLD_NOW' in scope
1322 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1323 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1324 |             let lib = dlopen(libname, RTLD_NOW)
     |                                       `- error: cannot find 'RTLD_NOW' in scope
1325 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1326 |             typealias GetCreatedJavaVMs = @convention(c) (_ pvm: UnsafeMutablePointer<JavaVMPtr?>, _ count: Int32, _ num: UnsafeMutablePointer<Int32>) -> jint
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1329:43: error: cannot find 'dlsym' in scope
1327 |
1328 |             // Windows TODO: need to use GetProcAddress
1329 |             guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
     |                                           `- error: cannot find 'dlsym' in scope
1330 |                 continue
1331 |             }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1364:44: error: cannot find 'dlsym' in scope
1362 |         typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1363 |
1364 |         guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
     |                                            `- error: cannot find 'dlsym' in scope
1365 |             throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1366 |         }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1413:12: error: cannot find 'getenv' in scope
1411 |
1412 |         // if JAVA_HOME is unset, default to the Homebrew installation
1413 |         if getenv("JAVA_HOME") == nil {
     |            `- error: cannot find 'getenv' in scope
1414 |             if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1415 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1415:17: error: cannot find 'setenv' in scope
1413 |         if getenv("JAVA_HOME") == nil {
1414 |             if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1415 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
     |                 `- error: cannot find 'setenv' in scope
1416 |             } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1417 |                 setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1417:17: error: cannot find 'setenv' in scope
1415 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
1416 |             } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1417 |                 setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
     |                 `- error: cannot find 'setenv' in scope
1418 |             } else {
1419 |                 throw JVMError(description: "No JAVA_HOME set, and could not locate default Java installation")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1422:25: error: cannot find 'getenv' in scope
1420 |             }
1421 |         }
1422 |         let JAVA_HOME = getenv("JAVA_HOME")!
     |                         `- error: cannot find 'getenv' in scope
1423 |         let javaHome = URL(fileURLWithPath: String(validatingUTF8: JAVA_HOME)!)
1424 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1442:79: error: cannot infer key path type from context; consider explicitly specifying a root type
1440 |
1441 |         guard let lib = libs.first(where: { FileManager.default.isReadableFile(atPath: $0.path) }) else {
1442 |             throw JVMError(description: "Could not find libjvm in: \(libs.map(\.path))")
     |                                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1443 |         }
1444 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1446:27: error: cannot find 'dlopen' in scope
1444 |
1445 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1446 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
     |                           `- error: cannot find 'dlopen' in scope
1447 |             if let error = dlerror() {
1448 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1446:44: error: cannot find 'RTLD_NOW' in scope
1444 |
1445 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1446 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
     |                                            `- error: cannot find 'RTLD_NOW' in scope
1447 |             if let error = dlerror() {
1448 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1447:28: error: cannot find 'dlerror' in scope
1445 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1446 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
1447 |             if let error = dlerror() {
     |                            `- error: cannot find 'dlerror' in scope
1448 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
1449 |             } else {
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1464:27: error: cannot find 'strlen' in scope
1462 |     init(_ string: String) {
1463 |         (length, buffer) = string.withCString {
1464 |             let len = Int(strlen($0) + 1)
     |                           `- error: cannot find 'strlen' in scope
1465 |             let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
1466 |             return (len, dst!)
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1465:37: error: cannot find 'strcpy' in scope
1463 |         (length, buffer) = string.withCString {
1464 |             let len = Int(strlen($0) + 1)
1465 |             let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
     |                                     `- error: cannot find 'strcpy' in scope
1466 |             return (len, dst!)
1467 |         }
note: Skip 1.6.14: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main at 14:13:06
/host/spi-builder-workspace/.build/checkouts/skip-bridge/Sources/SkipBridge/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/.build/checkouts/skip-bridge/Sources/SkipBridge/Skip/skip.yml
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/skip.yml: note: SkipLib skip.yml config loaded (49 ms)
[23/271] Skip SkipBridge
note: Skip 1.6.14: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main at 14:13:06
/host/spi-builder-workspace/.build/checkouts/skip-foundation/Sources/SkipFoundation/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/.build/checkouts/skip-foundation/Sources/SkipFoundation/Skip/skip.yml
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/skip.yml: note: SkipLib skip.yml config loaded (46 ms)
/host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/skip.yml: note: SkipUnit skip.yml config loaded (2430 ms)
note: skip.yml aggregate created (2566 ms) for modules: ["SkipFoundation", "SkipLib", "SkipUnit"]
[23/271] Skip SkipFoundation
[23/271] Compiling v3_pcons.cc
[23/271] Compiling v3_prn.cc
[23/271] Compiling v3_pmaps.cc
[23/271] Compiling v3_purp.cc
BUILD FAILURE 6.1 wasm