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 skip-bridge, reference 0.16.3 (0f6a89), with Swift 6.1 for Wasm on 25 Nov 2025 21:46:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skiptools/skip-bridge.git
Reference: 0.16.3
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-bridge
 * tag               0.16.3     -> FETCH_HEAD
HEAD is now at 0f6a896
Cloned https://github.com/skiptools/skip-bridge.git
Revision (git rev-parse @):
0f6a896d7e31ca48d5f5b0e911dc2cc4545fa06a
SUCCESS checkout https://github.com/skiptools/skip-bridge.git at 0.16.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/skiptools/skip-bridge.git
https://github.com/skiptools/skip-bridge.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "skip",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.8",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://source.skip.tools/skip.git"
    },
    {
      "identity" : "skip-lib",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.7",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://source.skip.tools/skip-lib.git"
    },
    {
      "identity" : "skip-foundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.9",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://source.skip.tools/skip-foundation.git"
    },
    {
      "identity" : "swift-jni",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://source.skip.tools/swift-jni.git"
    }
  ],
  "manifest_display_name" : "skip-bridge",
  "name" : "skip-bridge",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SkipBridge",
      "targets" : [
        "SkipBridge"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SkipBridgeToKotlinSamples",
      "targets" : [
        "SkipBridgeToKotlinSamples"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SkipBridgeToKotlinSamplesHelpers",
      "targets" : [
        "SkipBridgeToKotlinSamplesHelpers"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SkipBridgeToKotlinCompatSamples",
      "targets" : [
        "SkipBridgeToKotlinCompatSamples"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SkipBridgeToSwiftSamples",
      "targets" : [
        "SkipBridgeToSwiftSamples"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SkipBridgeToSwiftSamplesHelpers",
      "targets" : [
        "SkipBridgeToSwiftSamplesHelpers"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SkipBridgeToSwiftSamplesTestsSupport",
      "targets" : [
        "SkipBridgeToSwiftSamplesTestsSupport"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SkipBridgeToSwiftSamplesTestsSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "SkipBridgeToSwiftSamplesTestsSupportTests",
      "path" : "Tests/SkipBridgeToSwiftSamplesTestsSupportTests",
      "product_dependencies" : [
        "SkipTest",
        "skipstone"
      ],
      "sources" : [
        "BridgeToSwiftSamplesTests.swift",
        "XCSkipTests.swift"
      ],
      "target_dependencies" : [
        "SkipBridgeToSwiftSamplesTestsSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SkipBridgeToSwiftSamplesTestsSupport",
      "module_type" : "SwiftTarget",
      "name" : "SkipBridgeToSwiftSamplesTestsSupport",
      "path" : "Sources/SkipBridgeToSwiftSamplesTestsSupport",
      "product_dependencies" : [
        "skipstone"
      ],
      "product_memberships" : [
        "SkipBridgeToSwiftSamplesTestsSupport"
      ],
      "sources" : [
        "TestsSupport.swift"
      ],
      "target_dependencies" : [
        "SkipBridgeToSwiftSamples"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SkipBridgeToSwiftSamplesHelpers",
      "module_type" : "SwiftTarget",
      "name" : "SkipBridgeToSwiftSamplesHelpers",
      "path" : "Sources/SkipBridgeToSwiftSamplesHelpers",
      "product_dependencies" : [
        "SkipFoundation",
        "skipstone"
      ],
      "product_memberships" : [
        "SkipBridgeToSwiftSamples",
        "SkipBridgeToSwiftSamplesHelpers",
        "SkipBridgeToSwiftSamplesTestsSupport"
      ],
      "sources" : [
        "Helpers.swift"
      ],
      "target_dependencies" : [
        "SkipBridge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SkipBridgeToSwiftSamples",
      "module_type" : "SwiftTarget",
      "name" : "SkipBridgeToSwiftSamples",
      "path" : "Sources/SkipBridgeToSwiftSamples",
      "product_dependencies" : [
        "skipstone"
      ],
      "product_memberships" : [
        "SkipBridgeToSwiftSamples",
        "SkipBridgeToSwiftSamplesTestsSupport"
      ],
      "sources" : [
        "Samples.swift"
      ],
      "target_dependencies" : [
        "SkipBridgeToSwiftSamplesHelpers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SkipBridgeToKotlinSamplesTests",
      "module_type" : "SwiftTarget",
      "name" : "SkipBridgeToKotlinSamplesTests",
      "path" : "Tests/SkipBridgeToKotlinSamplesTests",
      "product_dependencies" : [
        "SkipTest",
        "skipstone"
      ],
      "sources" : [
        "BridgeToKotlinSamplesTests.swift",
        "XCSkipTests.swift"
      ],
      "target_dependencies" : [
        "SkipBridgeToKotlinSamples"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SkipBridgeToKotlinSamplesHelpers",
      "module_type" : "SwiftTarget",
      "name" : "SkipBridgeToKotlinSamplesHelpers",
      "path" : "Sources/SkipBridgeToKotlinSamplesHelpers",
      "product_dependencies" : [
        "SkipFoundation",
        "skipstone"
      ],
      "product_memberships" : [
        "SkipBridgeToKotlinSamples",
        "SkipBridgeToKotlinSamplesHelpers"
      ],
      "sources" : [
        "Helpers.swift"
      ],
      "target_dependencies" : [
        "SkipBridge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SkipBridgeToKotlinSamples",
      "module_type" : "SwiftTarget",
      "name" : "SkipBridgeToKotlinSamples",
      "path" : "Sources/SkipBridgeToKotlinSamples",
      "product_dependencies" : [
        "skipstone"
      ],
      "product_memberships" : [
        "SkipBridgeToKotlinSamples"
      ],
      "sources" : [
        "Samples.swift",
        "TestsSupport.swift"
      ],
      "target_dependencies" : [
        "SkipBridgeToKotlinSamplesHelpers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SkipBridgeToKotlinCompatSamplesTests",
      "module_type" : "SwiftTarget",
      "name" : "SkipBridgeToKotlinCompatSamplesTests",
      "path" : "Tests/SkipBridgeToKotlinCompatSamplesTests",
      "product_dependencies" : [
        "SkipTest",
        "skipstone"
      ],
      "sources" : [
        "BridgeToKotlinCompatSamplesTests.swift",
        "XCSkipTests.swift"
      ],
      "target_dependencies" : [
        "SkipBridgeToKotlinCompatSamples"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SkipBridgeToKotlinCompatSamples",
      "module_type" : "SwiftTarget",
      "name" : "SkipBridgeToKotlinCompatSamples",
      "path" : "Sources/SkipBridgeToKotlinCompatSamples",
      "product_dependencies" : [
        "SkipFoundation",
        "skipstone"
      ],
      "product_memberships" : [
        "SkipBridgeToKotlinCompatSamples"
      ],
      "sources" : [
        "Samples.swift"
      ],
      "target_dependencies" : [
        "SkipBridge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SkipBridge",
      "module_type" : "SwiftTarget",
      "name" : "SkipBridge",
      "path" : "Sources/SkipBridge",
      "product_dependencies" : [
        "SwiftJNI",
        "SkipLib",
        "skipstone"
      ],
      "product_memberships" : [
        "SkipBridge",
        "SkipBridgeToKotlinSamples",
        "SkipBridgeToKotlinSamplesHelpers",
        "SkipBridgeToKotlinCompatSamples",
        "SkipBridgeToSwiftSamples",
        "SkipBridgeToSwiftSamplesHelpers",
        "SkipBridgeToSwiftSamplesTestsSupport"
      ],
      "sources" : [
        "AnyDynamicObject.swift",
        "BridgeSupport.swift",
        "BridgedTypes.swift",
        "Closures.swift",
        "SwiftEquatable.swift",
        "SwiftHashable.swift",
        "System.swift",
        "Tuples.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://source.skip.tools/swift-jni.git
Fetching https://source.skip.tools/skip-lib.git
Fetching https://source.skip.tools/skip.git
Fetching https://source.skip.tools/skip-foundation.git
[1/3378] Fetching skip-foundation
[2771/3503] Fetching skip-foundation, swift-jni
[3504/12024] Fetching skip-foundation, swift-jni, skip
[12025/13565] Fetching skip-foundation, swift-jni, skip, skip-lib
Fetched https://source.skip.tools/swift-jni.git from cache (1.20s)
Fetched https://source.skip.tools/skip-lib.git from cache (1.20s)
Fetched https://source.skip.tools/skip-foundation.git from cache (1.21s)
Fetched https://source.skip.tools/skip.git from cache (1.22s)
Computing version for https://source.skip.tools/skip-foundation.git
Computed https://source.skip.tools/skip-foundation.git at 1.3.9 (1.82s)
Computing version for https://source.skip.tools/swift-jni.git
Computed https://source.skip.tools/swift-jni.git at 0.3.1 (0.51s)
Computing version for https://source.skip.tools/skip-lib.git
Computed https://source.skip.tools/skip-lib.git at 1.3.8 (0.60s)
Fetching https://source.skip.tools/skip-unit.git
[1/1009] Fetching skip-unit
Fetched https://source.skip.tools/skip-unit.git from cache (0.58s)
Computing version for https://source.skip.tools/skip-unit.git
Computed https://source.skip.tools/skip-unit.git at 1.4.0 (1.11s)
Computing version for https://source.skip.tools/skip.git
Computed https://source.skip.tools/skip.git at 1.6.30 (0.76s)
Creating working copy for https://source.skip.tools/skip-unit.git
Working copy of https://source.skip.tools/skip-unit.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.30
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.8
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://source.skip.tools/swift-jni.git
Working copy of https://source.skip.tools/swift-jni.git resolved at 0.3.1
Downloading binary artifact https://source.skip.tools/skip/releases/download/1.6.30/skip-linux.zip
[1369/168635381] Downloading https://source.skip.tools/skip/releases/download/1.6.30/skip-linux.zip
Downloaded https://source.skip.tools/skip/releases/download/1.6.30/skip-linux.zip (16.19s)
[1/1] Compiling plugin Create SkipLink
[2/2] Compiling plugin skipstone
Building for debugging...
[2/63] Write sources
[3/63] Copying Info.plist
[3/63] Write sources
[14/63] Compiling CJNI cjni.c
note: Skip 1.6.30: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit/src/main at 21:45:51
/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 (1729 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 (3 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
[15/63] Skip SkipUnit
[15/63] Write swift-version-24593BA9C3E375BF.txt
[17/63] Copying .SkipUnit.sourcehash
note: Skip 1.6.30: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-lib/SkipLib/destination/skipstone/SkipLib/src/main at 21:45:53
/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 (3055 ms)
note: skip.yml aggregate created (3116 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 (21 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/Identifiable.kt: note: SkipLib/src/main/kotlin/skip/lib/Identifiable.kt (266 bytes) transpilation saved from Identifiable.swift (358 bytes) in 21 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 26 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 20 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 36 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 53 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 39 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 71 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 117 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 199 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 243 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 641 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 722 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 856 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
[18/68] Skip SkipLib
[19/68] Copying .SkipLib.sourcehash
[21/68] Compiling SkipUnit XCTest.swift
[22/68] Emitting module SkipUnit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/68] Emitting module SwiftJNI
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1325:23: error: cannot find 'dlopen' in scope
1323 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1324 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1325 |             let lib = dlopen(libname, RTLD_NOW)
     |                       `- error: cannot find 'dlopen' in scope
1326 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1327 |             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:1325:39: error: cannot find 'RTLD_NOW' in scope
1323 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1324 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1325 |             let lib = dlopen(libname, RTLD_NOW)
     |                                       `- error: cannot find 'RTLD_NOW' in scope
1326 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1327 |             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:1330:43: error: cannot find 'dlsym' in scope
1328 |
1329 |             // Windows TODO: need to use GetProcAddress
1330 |             guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
     |                                           `- error: cannot find 'dlsym' in scope
1331 |                 continue
1332 |             }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1365:44: error: cannot find 'dlsym' in scope
1363 |         typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1364 |
1365 |         guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
     |                                            `- error: cannot find 'dlsym' in scope
1366 |             throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1367 |         }
[24/68] Compiling SwiftJNI SwiftJNI.swift
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1325:23: error: cannot find 'dlopen' in scope
1323 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1324 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1325 |             let lib = dlopen(libname, RTLD_NOW)
     |                       `- error: cannot find 'dlopen' in scope
1326 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1327 |             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:1325:39: error: cannot find 'RTLD_NOW' in scope
1323 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1324 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1325 |             let lib = dlopen(libname, RTLD_NOW)
     |                                       `- error: cannot find 'RTLD_NOW' in scope
1326 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1327 |             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:1330:43: error: cannot find 'dlsym' in scope
1328 |
1329 |             // Windows TODO: need to use GetProcAddress
1330 |             guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
     |                                           `- error: cannot find 'dlsym' in scope
1331 |                 continue
1332 |             }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1365:44: error: cannot find 'dlsym' in scope
1363 |         typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1364 |
1365 |         guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
     |                                            `- error: cannot find 'dlsym' in scope
1366 |             throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1367 |         }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1414:12: error: cannot find 'getenv' in scope
1412 |
1413 |         // if JAVA_HOME is unset, default to the Homebrew installation
1414 |         if getenv("JAVA_HOME") == nil {
     |            `- error: cannot find 'getenv' in scope
1415 |             if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1416 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1416:17: error: cannot find 'setenv' in scope
1414 |         if getenv("JAVA_HOME") == nil {
1415 |             if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1416 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
     |                 `- error: cannot find 'setenv' in scope
1417 |             } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1418 |                 setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1418:17: error: cannot find 'setenv' in scope
1416 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
1417 |             } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1418 |                 setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
     |                 `- error: cannot find 'setenv' in scope
1419 |             } else {
1420 |                 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:1423:25: error: cannot find 'getenv' in scope
1421 |             }
1422 |         }
1423 |         let JAVA_HOME = getenv("JAVA_HOME")!
     |                         `- error: cannot find 'getenv' in scope
1424 |         let javaHome = URL(fileURLWithPath: String(validatingUTF8: JAVA_HOME)!)
1425 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1443:79: error: cannot infer key path type from context; consider explicitly specifying a root type
1441 |
1442 |         guard let lib = libs.first(where: { FileManager.default.isReadableFile(atPath: $0.path) }) else {
1443 |             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
1444 |         }
1445 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1447:27: error: cannot find 'dlopen' in scope
1445 |
1446 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1447 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
     |                           `- error: cannot find 'dlopen' in scope
1448 |             if let error = dlerror() {
1449 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1447:44: error: cannot find 'RTLD_NOW' in scope
1445 |
1446 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1447 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
     |                                            `- error: cannot find 'RTLD_NOW' in scope
1448 |             if let error = dlerror() {
1449 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1448:28: error: cannot find 'dlerror' in scope
1446 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1447 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
1448 |             if let error = dlerror() {
     |                            `- error: cannot find 'dlerror' in scope
1449 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
1450 |             } else {
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1465:27: error: cannot find 'strlen' in scope
1463 |     init(_ string: String) {
1464 |         (length, buffer) = string.withCString {
1465 |             let len = Int(strlen($0) + 1)
     |                           `- error: cannot find 'strlen' in scope
1466 |             let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
1467 |             return (len, dst!)
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1466:37: error: cannot find 'strcpy' in scope
1464 |         (length, buffer) = string.withCString {
1465 |             let len = Int(strlen($0) + 1)
1466 |             let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
     |                                     `- error: cannot find 'strcpy' in scope
1467 |             return (len, dst!)
1468 |         }
note: Skip 1.6.30: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main at 21:45:59
/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 (51 ms)
/host/spi-builder-workspace/.build/checkouts/skip-unit/Sources/SkipUnit/Skip/skip.yml: note: SkipUnit skip.yml config loaded (2893 ms)
note: skip.yml aggregate created (3054 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 (655 KB) loaded (447 ms) for SkipLib
/host/spi-builder-workspace/.build/plugins/outputs/skip-unit/SkipUnit/destination/skipstone/SkipUnit.skipcode.json: note: SkipUnit.skipcode.json codebase (10 KB) loaded (6 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
[24/68] Skip SkipFoundation
note: Skip 1.6.30: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/src/main at 21:45:59
/host/spi-builder-workspace/Sources/SkipBridge/Skip/skip.yml: note: loading skip.yml from /host/spi-builder-workspace/Sources/SkipBridge/Skip/skip.yml
/host/spi-builder-workspace/.build/checkouts/skip-lib/Sources/SkipLib/Skip/skip.yml: note: SkipLib skip.yml config loaded (46 ms)
[24/68] Skip SkipBridge
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
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/46] Write swift-version-24593BA9C3E375BF.txt
[4/51] Emitting module SkipUnit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/51] Emitting module SwiftJNI
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1325:23: error: cannot find 'dlopen' in scope
1323 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1324 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1325 |             let lib = dlopen(libname, RTLD_NOW)
     |                       `- error: cannot find 'dlopen' in scope
1326 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1327 |             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:1325:39: error: cannot find 'RTLD_NOW' in scope
1323 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1324 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1325 |             let lib = dlopen(libname, RTLD_NOW)
     |                                       `- error: cannot find 'RTLD_NOW' in scope
1326 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1327 |             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:1330:43: error: cannot find 'dlsym' in scope
1328 |
1329 |             // Windows TODO: need to use GetProcAddress
1330 |             guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
     |                                           `- error: cannot find 'dlsym' in scope
1331 |                 continue
1332 |             }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1365:44: error: cannot find 'dlsym' in scope
1363 |         typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1364 |
1365 |         guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
     |                                            `- error: cannot find 'dlsym' in scope
1366 |             throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1367 |         }
[6/51] Compiling SwiftJNI SwiftJNI.swift
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1325:23: error: cannot find 'dlopen' in scope
1323 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1324 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1325 |             let lib = dlopen(libname, RTLD_NOW)
     |                       `- error: cannot find 'dlopen' in scope
1326 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1327 |             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:1325:39: error: cannot find 'RTLD_NOW' in scope
1323 |         for libname in [nil, "libnativehelper.so", "libart.so", "libdvm.so"] {
1324 |             // Windows TODO: need to use LoadLibraryW (see https://github.com/swiftlang/sourcekit-lsp/blob/main/Sources/SourceKitD/dlopen.swift)
1325 |             let lib = dlopen(libname, RTLD_NOW)
     |                                       `- error: cannot find 'RTLD_NOW' in scope
1326 |             typealias JavaVMPtr = UnsafeMutablePointer<JavaVM?>
1327 |             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:1330:43: error: cannot find 'dlsym' in scope
1328 |
1329 |             // Windows TODO: need to use GetProcAddress
1330 |             guard let getCreatedJavaVMs = dlsym(lib, "JNI_GetCreatedJavaVMs").map({ unsafeBitCast($0, to: (GetCreatedJavaVMs).self) }) else {
     |                                           `- error: cannot find 'dlsym' in scope
1331 |                 continue
1332 |             }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1365:44: error: cannot find 'dlsym' in scope
1363 |         typealias CreateJavaVM = @convention(c) (_ pvm: UnsafeMutablePointer<UnsafeMutablePointer<JavaVM?>?>?, _ penv: UnsafeMutablePointer<UnsafeMutablePointer<JNIEnv?>?>?, _ args: UnsafeMutableRawPointer) -> jint
1364 |
1365 |         guard let JNI_CreateJavaVM_dlsym = dlsym(library, "JNI_CreateJavaVM").map({ unsafeBitCast($0, to: (CreateJavaVM).self) }) else {
     |                                            `- error: cannot find 'dlsym' in scope
1366 |             throw JVMError(description: "Unable to dlsym JNI_CreateJavaVM")
1367 |         }
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1414:12: error: cannot find 'getenv' in scope
1412 |
1413 |         // if JAVA_HOME is unset, default to the Homebrew installation
1414 |         if getenv("JAVA_HOME") == nil {
     |            `- error: cannot find 'getenv' in scope
1415 |             if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1416 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1416:17: error: cannot find 'setenv' in scope
1414 |         if getenv("JAVA_HOME") == nil {
1415 |             if FileManager.default.fileExists(atPath: "/opt/homebrew/opt/java") {
1416 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
     |                 `- error: cannot find 'setenv' in scope
1417 |             } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1418 |                 setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1418:17: error: cannot find 'setenv' in scope
1416 |                 setenv("JAVA_HOME", "/opt/homebrew/opt/java", 0) // Homebrew ARM location
1417 |             } else if FileManager.default.fileExists(atPath: "/usr/local/opt/java") {
1418 |                 setenv("JAVA_HOME", "/usr/local/opt/java", 0) // Homebrew Intel location
     |                 `- error: cannot find 'setenv' in scope
1419 |             } else {
1420 |                 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:1423:25: error: cannot find 'getenv' in scope
1421 |             }
1422 |         }
1423 |         let JAVA_HOME = getenv("JAVA_HOME")!
     |                         `- error: cannot find 'getenv' in scope
1424 |         let javaHome = URL(fileURLWithPath: String(validatingUTF8: JAVA_HOME)!)
1425 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1443:79: error: cannot infer key path type from context; consider explicitly specifying a root type
1441 |
1442 |         guard let lib = libs.first(where: { FileManager.default.isReadableFile(atPath: $0.path) }) else {
1443 |             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
1444 |         }
1445 |
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1447:27: error: cannot find 'dlopen' in scope
1445 |
1446 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1447 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
     |                           `- error: cannot find 'dlopen' in scope
1448 |             if let error = dlerror() {
1449 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1447:44: error: cannot find 'RTLD_NOW' in scope
1445 |
1446 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1447 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
     |                                            `- error: cannot find 'RTLD_NOW' in scope
1448 |             if let error = dlerror() {
1449 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1448:28: error: cannot find 'dlerror' in scope
1446 |         // TODO: on macOS, reduce signal interception debugging issues by locating libjsig.dylib and adding it to DYLD_INSERT_LIBRARIES
1447 |         guard let dylib = dlopen(lib.path, RTLD_NOW) else {
1448 |             if let error = dlerror() {
     |                            `- error: cannot find 'dlerror' in scope
1449 |                 throw JVMError(description: "dlopen error: \(String(cString: error))")
1450 |             } else {
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1465:27: error: cannot find 'strlen' in scope
1463 |     init(_ string: String) {
1464 |         (length, buffer) = string.withCString {
1465 |             let len = Int(strlen($0) + 1)
     |                           `- error: cannot find 'strlen' in scope
1466 |             let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
1467 |             return (len, dst!)
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:1466:37: error: cannot find 'strcpy' in scope
1464 |         (length, buffer) = string.withCString {
1465 |             let len = Int(strlen($0) + 1)
1466 |             let dst = UnsafePointer(strcpy(UnsafeMutablePointer<CChar>.allocate(capacity: len), $0))
     |                                     `- error: cannot find 'strcpy' in scope
1467 |             return (len, dst!)
1468 |         }
note: Skip 1.6.30: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/skip-foundation/SkipFoundation/destination/skipstone/SkipFoundation/src/main at 21:46:30
/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 (31 ms)
[6/51] Skip SkipFoundation
note: Skip 1.6.30: skipstone plugin to: /host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/SkipBridge/destination/skipstone/SkipBridge/src/main at 21:46:30
[6/51] Skip SkipBridge
[7/51] Compiling SkipUnit XCTest.swift
BUILD FAILURE 6.1 wasm