Build Information
Failed to build skip-fuse, reference main (7095f9), with Swift 6.1 for Wasm on 30 Mar 2026 03:20:34 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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skiptools/skip-fuse.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/skiptools/skip-fuse
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7095f92 Update license and copyright headers
Cloned https://github.com/skiptools/skip-fuse.git
Revision (git rev-parse @):
7095f9225c9c12b85d7f0edbbe16aa99bcd809dc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/skiptools/skip-fuse.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/skiptools/skip-fuse.git
https://github.com/skiptools/skip-fuse.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "skip-android-bridge",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://source.skip.tools/skip-android-bridge.git"
},
{
"identity" : "swift-jni",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://source.skip.tools/swift-jni.git"
}
],
"manifest_display_name" : "skip-fuse",
"name" : "skip-fuse",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "maccatalyst",
"version" : "16.0"
}
],
"products" : [
{
"name" : "SkipFuse",
"targets" : [
"SkipFuse"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "SkipFuseTests",
"module_type" : "SwiftTarget",
"name" : "SkipFuseTests",
"path" : "Tests/SkipFuseTests",
"sources" : [
"SkipFuseTests.swift"
],
"target_dependencies" : [
"SkipFuse"
],
"type" : "test"
},
{
"c99name" : "SkipFuse",
"module_type" : "SwiftTarget",
"name" : "SkipFuse",
"path" : "Sources/SkipFuse",
"product_dependencies" : [
"SkipAndroidBridge",
"SwiftJNI"
],
"product_memberships" : [
"SkipFuse"
],
"sources" : [
"SkipFuse.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://source.skip.tools/swift-jni.git
Fetching https://source.skip.tools/skip-android-bridge.git
[1/190] Fetching swift-jni
[191/860] Fetching swift-jni, skip-android-bridge
Fetched https://source.skip.tools/swift-jni.git from cache (5.69s)
Fetched https://source.skip.tools/skip-android-bridge.git from cache (5.69s)
Computing version for https://source.skip.tools/swift-jni.git
Computed https://source.skip.tools/swift-jni.git at 0.5.0 (6.28s)
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.62s)
Fetching https://source.skip.tools/skip.git
Fetching https://source.skip.tools/swift-android-native.git
Fetching https://source.skip.tools/skip-bridge.git
Fetching https://source.skip.tools/skip-foundation.git
[1/898] Fetching swift-android-native
[899/3574] Fetching swift-android-native, skip-bridge
[980/12526] Fetching swift-android-native, skip-bridge, skip
[1204/16559] Fetching swift-android-native, skip-bridge, skip, skip-foundation
Fetched https://source.skip.tools/swift-android-native.git from cache (0.68s)
[12626/15661] Fetching skip-bridge, skip, skip-foundation
Fetched https://source.skip.tools/skip-bridge.git from cache (0.87s)
Fetched https://source.skip.tools/skip-foundation.git from cache (0.87s)
Fetched https://source.skip.tools/skip.git from cache (1.06s)
Computing version for https://source.skip.tools/swift-android-native.git
Computed https://source.skip.tools/swift-android-native.git at 1.5.1 (1.73s)
Computing version for https://source.skip.tools/skip-foundation.git
Computed https://source.skip.tools/skip-foundation.git at 1.3.16 (0.57s)
Fetching https://source.skip.tools/skip-lib.git
[1/1736] Fetching skip-lib
Fetched https://source.skip.tools/skip-lib.git from cache (0.56s)
Computing version for https://source.skip.tools/skip-lib.git
Computed https://source.skip.tools/skip-lib.git at 1.3.9 (1.08s)
Fetching https://source.skip.tools/skip-unit.git
[1/1069] Fetching skip-unit
Fetched https://source.skip.tools/skip-unit.git from cache (0.56s)
Computing version for https://source.skip.tools/skip-unit.git
Computed https://source.skip.tools/skip-unit.git at 1.6.0 (1.19s)
Computing version for https://source.skip.tools/skip.git
Computed https://source.skip.tools/skip.git at 1.8.2 (0.67s)
Computing version for https://source.skip.tools/skip-bridge.git
Computed https://source.skip.tools/skip-bridge.git at 0.16.7 (0.61s)
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.5.1
Creating working copy for https://source.skip.tools/swift-jni.git
Working copy of https://source.skip.tools/swift-jni.git resolved at 0.5.0
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.16
Creating working copy for https://source.skip.tools/skip-unit.git
Working copy of https://source.skip.tools/skip-unit.git resolved at 1.6.0
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.git
Working copy of https://source.skip.tools/skip.git resolved at 1.8.2
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.9
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.7
Downloading binary artifact https://source.skip.tools/skip/releases/download/1.8.2/skip-linux.zip
[903/165031099] Downloading https://source.skip.tools/skip/releases/download/1.8.2/skip-linux.zip
Downloaded https://source.skip.tools/skip/releases/download/1.8.2/skip-linux.zip (17.76s)
[1/1] Compiling plugin Create SkipLink
[2/2] Compiling plugin skipstone
Building for debugging...
[2/38] Write sources
[4/38] Copying Info.plist
[6/38] Write sources
[8/38] Copying Info.plist
[11/38] Compiling CJNI cjni.c
[12/38] Write swift-version-24593BA9C3E375BF.txt
note: Skip 1.8.2: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit/src/main at 03:19:54
/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 (2870 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 (24 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 (3 KB) gradle project written
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/gradle.properties: note: gradle.properties (79 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 (287 bytes) sourcehash written
[13/40] Skip SkipUnit
[14/40] Copying .SkipUnit.sourcehash
[16/43] Emitting module SkipUnit
note: Skip 1.8.2: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main at 03:19:57
/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 (2448 ms)
note: skip.yml aggregate created (2548 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 (24 KB) loaded (361 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/Duration.kt: note: SkipLib/src/main/kotlin/skip/lib/Duration.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/Duration.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/BridgeSupport.kt: note: SkipLib/src/main/kotlin/skip/lib/BridgeSupport.kt (887 bytes) transpilation saved from BridgeSupport.swift (883 bytes) in 6 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 (685 bytes) transpilation saved from ObjectIdentifier.swift (320 bytes) in 10 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 11 ms
/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 1 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 24 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 29 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 17 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 22 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 33 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 29 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 146 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 178 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 (26 KB) transpilation saved from AsyncStream.swift (18 KB) in 266 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 (665 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 (79 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
[16/43] Skip SkipLib
[17/43] Copying .SkipLib.sourcehash
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/43] Emitting module SwiftJNI
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1479:23: error: cannot find 'dlopen' in scope
1477 | for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1478 | // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1479 | let lib = dlopen(libname, RTLD_NOW)
| `- error: cannot find 'dlopen' in scope
1480 | typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1481 | 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:1479:39: error: cannot find 'RTLD_NOW' in scope
1477 | for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1478 | // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1479 | let lib = dlopen(libname, RTLD_NOW)
| `- error: cannot find 'RTLD_NOW' in scope
1480 | typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1481 | 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:1484:43: error: cannot find 'dlsym' in scope
1482 |
1483 | // Windows TODO: need to use GetProcAddress
1484 | guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
| `- error: cannot find 'dlsym' in scope
1485 | continue
1486 | }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1519:44: error: cannot find 'dlsym' in scope
1517 | typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1518 |
1519 | guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
| `- error: cannot find 'dlsym' in scope
1520 | throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1521 | }
[20/43] Compiling SwiftJNI SwiftJNI.swift
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1479:23: error: cannot find 'dlopen' in scope
1477 | for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1478 | // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1479 | let lib = dlopen(libname, RTLD_NOW)
| `- error: cannot find 'dlopen' in scope
1480 | typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1481 | 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:1479:39: error: cannot find 'RTLD_NOW' in scope
1477 | for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1478 | // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1479 | let lib = dlopen(libname, RTLD_NOW)
| `- error: cannot find 'RTLD_NOW' in scope
1480 | typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1481 | 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:1484:43: error: cannot find 'dlsym' in scope
1482 |
1483 | // Windows TODO: need to use GetProcAddress
1484 | guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
| `- error: cannot find 'dlsym' in scope
1485 | continue
1486 | }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1519:44: error: cannot find 'dlsym' in scope
1517 | typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1518 |
1519 | guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
| `- error: cannot find 'dlsym' in scope
1520 | throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1521 | }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1568:12: error: cannot find 'getenv' in scope
1566 |
1567 | // if JAVA_HOME is unset, default to the Homebrew installation
1568 | if getenv("JAVA_HOME") == nil {
| `- error: cannot find 'getenv' in scope
1569 | if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1570 | setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1570:17: error: cannot find 'setenv' in scope
1568 | if getenv("JAVA_HOME") == nil {
1569 | if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1570 | setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
| `- error: cannot find 'setenv' in scope
1571 | } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1572 | setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1572:17: error: cannot find 'setenv' in scope
1570 | setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
1571 | } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1572 | setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
| `- error: cannot find 'setenv' in scope
1573 | } else {
1574 | 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:1577:25: error: cannot find 'getenv' in scope
1575 | }
1576 | }
1577 | let JAVA_HOME = getenv("JAVA_HOME")!
| `- error: cannot find 'getenv' in scope
1578 | let javaHome = URL(fileURLWithPath: String(validatingUTF8: JAVA_HOME)!)
1579 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1598:79: error: cannot infer key path type from context; consider explicitly specifying a root type
1596 |
1597 | guard let lib = libs.first(where: { FileManager.default.isReadableFile(atPath: $0.path) }) else {
1598 | 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
1599 | }
1600 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1602:27: error: cannot find 'dlopen' in scope
1600 |
1601 | // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1602 | guard let dylib = dlopen(lib.path, RTLD_NOW) else {
| `- error: cannot find 'dlopen' in scope
1603 | if let error = dlerror() {
1604 | throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1602:44: error: cannot find 'RTLD_NOW' in scope
1600 |
1601 | // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1602 | guard let dylib = dlopen(lib.path, RTLD_NOW) else {
| `- error: cannot find 'RTLD_NOW' in scope
1603 | if let error = dlerror() {
1604 | throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1603:28: error: cannot find 'dlerror' in scope
1601 | // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1602 | guard let dylib = dlopen(lib.path, RTLD_NOW) else {
1603 | if let error = dlerror() {
| `- error: cannot find 'dlerror' in scope
1604 | throw JVMError(description: "dlopen error: \(String(cString: error))")
1605 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1621:27: error: cannot find 'strlen' in scope
1619 | init(_ string: String) {
1620 | (length, buffer) = string.withCString {
1621 | let len = Int(strlen($0) + 1)
| `- error: cannot find 'strlen' in scope
1622 | let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
1623 | return (len, dst!)
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1622:37: error: cannot find 'strcpy' in scope
1620 | (length, buffer) = string.withCString {
1621 | let len = Int(strlen($0) + 1)
1622 | let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
| `- error: cannot find 'strcpy' in scope
1623 | return (len, dst!)
1624 | }
note: Skip 1.8.2: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main at 03:20:01
/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 (34 ms)
[20/43] Skip SkipFoundation
note: Skip 1.8.2: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main at 03:20:01
[20/43] Skip SkipBridge
[21/43] Compiling SkipUnit XCTest.swift
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Create SkipLink
[2/2] Compiling plugin skipstone
Building for debugging...
note: Skip 1.8.2: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main at 03:20:22
/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 (28 ms)
/host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/skip.yml: note: SkipUnit skip.yml config loaded (2028 ms)
note: skip.yml aggregate created (3420 ms) for modules: ["SkipBridge", "SkipLib", "SkipUnit"]
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib.skipcode.json: note: SkipLib.skipcode.json codebase (665 KB) loaded (584 ms) for SkipLib
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit.skipcode.json: note: SkipUnit.skipcode.json codebase (24 KB) loaded (11 ms) for SkipUnit
/host/spi-builder-workspace/.build/checkouts/skip-bridge/Sources/SkipBridge/Skip/Reflector.kt: note: SkipBridge/src/main/kotlin/skip/bridge/Reflector.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-bridge/Sources/SkipBridge/Skip/Reflector.kt
/host/spi-builder-workspace/.build/checkouts/skip-bridge/Sources/SkipBridge/Skip/AndroidManifest.xml: note: SkipBridge/src/main/AndroidManifest.xml override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-bridge/Sources/SkipBridge/Skip/AndroidManifest.xml
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/BridgeSupport.kt: note: SkipBridge/src/main/kotlin/skip/bridge/BridgeSupport.kt (1 KB) transpilation saved from BridgeSupport.swift (8 KB) in 21 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/SwiftEquatable.kt: note: SkipBridge/src/main/kotlin/skip/bridge/SwiftEquatable.kt (1 KB) transpilation saved from SwiftEquatable.swift (5 KB) in 21 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/SwiftHashable.kt: note: SkipBridge/src/main/kotlin/skip/bridge/SwiftHashable.kt (1 KB) transpilation saved from SwiftHashable.swift (5 KB) in 22 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/System.kt: note: SkipBridge/src/main/kotlin/skip/bridge/System.kt (4 KB) transpilation saved from System.swift (7 KB) in 23 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/BridgedTypes.kt: note: SkipBridge/src/main/kotlin/skip/bridge/BridgedTypes.kt (3 KB) transpilation saved from BridgedTypes.swift (51 KB) in 38 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main/kotlin/skip/bridge/Closures.kt: note: SkipBridge/src/main/kotlin/skip/bridge/Closures.kt (13 KB) transpilation saved from Closures.swift (77 KB) in 112 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge.skipcode.json: note: SkipBridge.skipcode.json (61 KB) codebase written
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/src/main/swift/Package.swift: note: SkipBridge/src/main/swift/Package.swift (5 KB) skippackage written
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/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-bridge/SkipBridge/destination/skipstone/SkipBridge/proguard-rules.pro: note: SkipBridge/proguard-rules.pro (352 bytes) proguard written
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/SkipBridge/build.gradle.kts: note: SkipBridge/build.gradle.kts (6 KB) gradle project written
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/gradle.properties: note: gradle.properties (79 bytes) gradle config written
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/settings.gradle.kts: note: settings.gradle.kts (3 KB) gradle settings written
/host/spi-builder-workspace/.build/plugins/outputs/skip-bridge/SkipBridge/destination/skipstone/.SkipBridge.sourcehash: note: .SkipBridge.sourcehash (998 bytes) sourcehash written
[2/24] Skip SkipBridge
[3/24] Copying .SkipBridge.sourcehash
note: Skip 1.8.2: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main at 03:20:22
/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 (25 ms)
/host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/skip.yml: note: SkipUnit skip.yml config loaded (1362 ms)
note: skip.yml aggregate created (1436 ms) for modules: ["SkipFoundation", "SkipLib", "SkipUnit"]
/host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib.skipcode.json: note: SkipLib.skipcode.json codebase (665 KB) loaded (333 ms) for SkipLib
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit.skipcode.json: note: SkipUnit.skipcode.json codebase (24 KB) loaded (10 ms) for SkipUnit
/host/spi-builder-workspace/.build/checkouts/skip-foundation/Sources/SkipFoundation/Skip/UrlEncoderUtil.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/UrlEncoderUtil.kt override linked from project source /host/spi-builder-workspace/.build/checkouts/skip-foundation/Sources/SkipFoundation/Skip/UrlEncoderUtil.kt
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/DateIntervalFormatter.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/DateIntervalFormatter.kt (516 bytes) transpilation saved from DateIntervalFormatter.swift (189 bytes) in 3 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/DateComponentsFormatter.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/DateComponentsFormatter.kt (518 bytes) transpilation saved from DateComponentsFormatter.swift (191 bytes) in 9 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/AttributedString.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/AttributedString.kt (2 KB) transpilation saved from AttributedString.swift (2 KB) in 22 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/ComparisonResult.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/ComparisonResult.kt (1 KB) transpilation saved from ComparisonResult.swift (487 bytes) in 31 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/DateInterval.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/DateInterval.kt (4 KB) transpilation saved from DateInterval.swift (2 KB) in 31 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Dispatch.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Dispatch.kt (11 KB) transpilation saved from Dispatch.swift (6 KB) in 41 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/IndexSet.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/IndexSet.kt (178 bytes) transpilation saved from IndexSet.swift (157 bytes) in 0 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Formatter.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Formatter.kt (5 KB) transpilation saved from Formatter.swift (3 KB) in 34 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/CharacterSet.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/CharacterSet.kt (19 KB) transpilation saved from CharacterSet.swift (10 KB) in 88 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Digest.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Digest.kt (11 KB) transpilation saved from Digest.swift (8 KB) in 91 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/ISO8601DateFormatter.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/ISO8601DateFormatter.kt (11 KB) transpilation saved from ISO8601DateFormatter.swift (8 KB) in 78 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/HTTPURLResponse.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/HTTPURLResponse.kt (10 KB) transpilation saved from HTTPURLResponse.swift (9 KB) in 67 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Data.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Data.kt (29 KB) transpilation saved from Data.swift (13 KB) in 153 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/LocalizedStringResource.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/LocalizedStringResource.kt (5 KB) transpilation saved from LocalizedStringResource.swift (3 KB) in 32 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/IndexPath.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/IndexPath.kt (5 KB) transpilation saved from IndexPath.swift (4 KB) in 149 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/DateFormatter.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/DateFormatter.kt (24 KB) transpilation saved from DateFormatter.swift (11 KB) in 222 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Logger.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Logger.kt (4 KB) transpilation saved from Logger.swift (3 KB) in 34 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/NSLock.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/NSLock.kt (2 KB) transpilation saved from NSLock.swift (2 KB) in 25 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/JSONSerialization+Parser.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/JSONSerialization+Parser.kt (12 KB) transpilation saved from JSONSerialization+Parser.swift (5 KB) in 109 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Number.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Number.kt (3 KB) transpilation saved from Number.swift (3 KB) in 28 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Bundle.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Bundle.kt (38 KB) transpilation saved from Bundle.swift (26 KB) in 297 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Date.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Date.kt (21 KB) transpilation saved from Date.swift (12 KB) in 315 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/MarkdownNode.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/MarkdownNode.kt (9 KB) transpilation saved from MarkdownNode.swift (8 KB) in 123 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/OSAllocatedUnfairLock.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/OSAllocatedUnfairLock.kt (4 KB) transpilation saved from OSAllocatedUnfairLock.swift (2 KB) in 22 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/NotificationCenter.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/NotificationCenter.kt (10 KB) transpilation saved from NotificationCenter.swift (6 KB) in 128 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/DateComponents.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/DateComponents.kt (38 KB) transpilation saved from DateComponents.swift (24 KB) in 289 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/FileManager.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/FileManager.kt (46 KB) transpilation saved from FileManager.swift (29 KB) in 298 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/OperationQueue.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/OperationQueue.kt (18 KB) transpilation saved from OperationQueue.swift (6 KB) in 54 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Scanner.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Scanner.kt (11 KB) transpilation saved from Scanner.swift (4 KB) in 33 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/RelativeDateTimeFormatter.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/RelativeDateTimeFormatter.kt (11 KB) transpilation saved from RelativeDateTimeFormatter.swift (8 KB) in 72 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Locale.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Locale.kt (18 KB) transpilation saved from Locale.swift (12 KB) in 172 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/StringEncoding.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/StringEncoding.kt (1 KB) transpilation saved from StringEncoding.swift (1 KB) in 12 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/SkipFoundation.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/SkipFoundation.kt (3 KB) transpilation saved from SkipFoundation.swift (2 KB) in 20 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/StringLocalizationValue.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/StringLocalizationValue.kt (5 KB) transpilation saved from StringLocalizationValue.swift (4 KB) in 35 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Thread.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Thread.kt (3 KB) transpilation saved from Thread.swift (2 KB) in 52 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Timer.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Timer.kt (7 KB) transpilation saved from Timer.swift (4 KB) in 33 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/PropertyListSerialization.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/PropertyListSerialization.kt (16 KB) transpilation saved from PropertyListSerialization.swift (10 KB) in 102 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/TimeZone.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/TimeZone.kt (9 KB) transpilation saved from TimeZone.swift (6 KB) in 87 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/URLResponse.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/URLResponse.kt (3 KB) transpilation saved from URLResponse.swift (2 KB) in 18 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/JSONSerialization.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/JSONSerialization.kt (46 KB) transpilation saved from JSONSerialization.swift (26 KB) in 380 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/NumberFormatter.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/NumberFormatter.kt (19 KB) transpilation saved from NumberFormatter.swift (14 KB) in 249 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/URLSessionConfiguration.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/URLSessionConfiguration.kt (8 KB) transpilation saved from URLSessionConfiguration.swift (3 KB) in 21 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Unicode.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Unicode.kt (3 KB) transpilation saved from Unicode.swift (2 KB) in 14 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/XMLParser.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/XMLParser.kt (811 bytes) transpilation saved from XMLParser.swift (243 bytes) in 1 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/UUID.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/UUID.kt (4 KB) transpilation saved from UUID.swift (2 KB) in 41 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/URLComponents.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/URLComponents.kt (15 KB) transpilation saved from URLComponents.swift (8 KB) in 143 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/JSONEncoder.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/JSONEncoder.kt (48 KB) transpilation saved from JSONEncoder.swift (42 KB) in 421 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/URLRequest.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/URLRequest.kt (14 KB) transpilation saved from URLRequest.swift (5 KB) in 62 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/ProcessInfo.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/ProcessInfo.kt (28 KB) transpilation saved from ProcessInfo.swift (17 KB) in 231 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/String.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/String.kt (11 KB) transpilation saved from String.swift (11 KB) in 152 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/JSONDecoder.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/JSONDecoder.kt (43 KB) transpilation saved from JSONDecoder.swift (36 KB) in 558 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/URLSession.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/URLSession.kt (27 KB) transpilation saved from URLSession.swift (17 KB) in 161 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/URL.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/URL.kt (36 KB) transpilation saved from URL.swift (21 KB) in 267 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/UserDefaults.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/UserDefaults.kt (29 KB) transpilation saved from UserDefaults.swift (15 KB) in 199 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Calendar_Enumerate.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Calendar_Enumerate.kt (11 KB) transpilation saved from Calendar_Enumerate.swift (95 KB) in 400 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/NSError.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/NSError.kt (49 KB) transpilation saved from NSError.swift (46 KB) in 365 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/URLSessionTask.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/URLSessionTask.kt (42 KB) transpilation saved from URLSessionTask.swift (32 KB) in 382 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/Calendar.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/Calendar.kt (140 KB) transpilation saved from Calendar.swift (30 KB) in 1070 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main/kotlin/skip/foundation/PackageSupport.kt: note: SkipFoundation/src/main/kotlin/skip/foundation/PackageSupport.kt (476 bytes) transpilation saved from PackageSupport.swift (Zero KB) in 0 ms
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation.skipcode.json: note: SkipFoundation.skipcode.json (1.3 MB) codebase written
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/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-foundation/SkipFoundation/destination/skipstone/SkipFoundation/proguard-rules.pro: note: SkipFoundation/proguard-rules.pro (356 bytes) proguard written
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/build.gradle.kts: note: SkipFoundation/build.gradle.kts (3 KB) gradle project written
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/gradle.properties: note: gradle.properties (79 bytes) gradle config written
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/settings.gradle.kts: note: settings.gradle.kts (3 KB) gradle settings written
/host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/.SkipFoundation.sourcehash: note: .SkipFoundation.sourcehash (5 KB) sourcehash written
[4/24] Skip SkipFoundation
[5/24] Write swift-version-24593BA9C3E375BF.txt
[6/24] Copying .SkipFoundation.sourcehash
[8/29] Emitting module SkipUnit
[9/29] Compiling SkipUnit XCTest.swift
[10/29] Compiling SkipUnit resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/30] Emitting module SwiftJNI
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1479:23: error: cannot find 'dlopen' in scope
1477 | for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1478 | // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1479 | let lib = dlopen(libname, RTLD_NOW)
| `- error: cannot find 'dlopen' in scope
1480 | typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1481 | 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:1479:39: error: cannot find 'RTLD_NOW' in scope
1477 | for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1478 | // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1479 | let lib = dlopen(libname, RTLD_NOW)
| `- error: cannot find 'RTLD_NOW' in scope
1480 | typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1481 | 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:1484:43: error: cannot find 'dlsym' in scope
1482 |
1483 | // Windows TODO: need to use GetProcAddress
1484 | guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
| `- error: cannot find 'dlsym' in scope
1485 | continue
1486 | }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1519:44: error: cannot find 'dlsym' in scope
1517 | typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1518 |
1519 | guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
| `- error: cannot find 'dlsym' in scope
1520 | throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1521 | }
[12/30] Compiling SwiftJNI SwiftJNI.swift
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1479:23: error: cannot find 'dlopen' in scope
1477 | for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1478 | // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1479 | let lib = dlopen(libname, RTLD_NOW)
| `- error: cannot find 'dlopen' in scope
1480 | typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1481 | 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:1479:39: error: cannot find 'RTLD_NOW' in scope
1477 | for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1478 | // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1479 | let lib = dlopen(libname, RTLD_NOW)
| `- error: cannot find 'RTLD_NOW' in scope
1480 | typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1481 | 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:1484:43: error: cannot find 'dlsym' in scope
1482 |
1483 | // Windows TODO: need to use GetProcAddress
1484 | guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
| `- error: cannot find 'dlsym' in scope
1485 | continue
1486 | }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1519:44: error: cannot find 'dlsym' in scope
1517 | typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1518 |
1519 | guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
| `- error: cannot find 'dlsym' in scope
1520 | throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1521 | }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1568:12: error: cannot find 'getenv' in scope
1566 |
1567 | // if JAVA_HOME is unset, default to the Homebrew installation
1568 | if getenv("JAVA_HOME") == nil {
| `- error: cannot find 'getenv' in scope
1569 | if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1570 | setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1570:17: error: cannot find 'setenv' in scope
1568 | if getenv("JAVA_HOME") == nil {
1569 | if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1570 | setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
| `- error: cannot find 'setenv' in scope
1571 | } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1572 | setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1572:17: error: cannot find 'setenv' in scope
1570 | setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
1571 | } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1572 | setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
| `- error: cannot find 'setenv' in scope
1573 | } else {
1574 | 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:1577:25: error: cannot find 'getenv' in scope
1575 | }
1576 | }
1577 | let JAVA_HOME = getenv("JAVA_HOME")!
| `- error: cannot find 'getenv' in scope
1578 | let javaHome = URL(fileURLWithPath: String(validatingUTF8: JAVA_HOME)!)
1579 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1598:79: error: cannot infer key path type from context; consider explicitly specifying a root type
1596 |
1597 | guard let lib = libs.first(where: { FileManager.default.isReadableFile(atPath: $0.path) }) else {
1598 | 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
1599 | }
1600 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1602:27: error: cannot find 'dlopen' in scope
1600 |
1601 | // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1602 | guard let dylib = dlopen(lib.path, RTLD_NOW) else {
| `- error: cannot find 'dlopen' in scope
1603 | if let error = dlerror() {
1604 | throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1602:44: error: cannot find 'RTLD_NOW' in scope
1600 |
1601 | // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1602 | guard let dylib = dlopen(lib.path, RTLD_NOW) else {
| `- error: cannot find 'RTLD_NOW' in scope
1603 | if let error = dlerror() {
1604 | throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1603:28: error: cannot find 'dlerror' in scope
1601 | // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1602 | guard let dylib = dlopen(lib.path, RTLD_NOW) else {
1603 | if let error = dlerror() {
| `- error: cannot find 'dlerror' in scope
1604 | throw JVMError(description: "dlopen error: \(String(cString: error))")
1605 | } else {
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1621:27: error: cannot find 'strlen' in scope
1619 | init(_ string: String) {
1620 | (length, buffer) = string.withCString {
1621 | let len = Int(strlen($0) + 1)
| `- error: cannot find 'strlen' in scope
1622 | let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
1623 | return (len, dst!)
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1622:37: error: cannot find 'strcpy' in scope
1620 | (length, buffer) = string.withCString {
1621 | let len = Int(strlen($0) + 1)
1622 | let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
| `- error: cannot find 'strcpy' in scope
1623 | return (len, dst!)
1624 | }
note: Skip 1.8.2: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-android-bridge/SkipAndroidBridge/destination/skipstone/SkipAndroidBridge/src/main at 03:20:28
/host/spi-builder-workspace/.build/checkouts/skip-android-bridge/Sources/SkipAndroidBridge/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/.build/checkouts/skip-android-bridge/Sources/SkipAndroidBridge/Skip/skip.yml
[13/30] Skip SkipAndroidBridge
BUILD FAILURE 6.1 wasm