Build Information
Failed to build SwiftGLFW, reference 4.3.0 (6e184a
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 10:57:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thepotatoking55/SwiftGLFW.git
Reference: 4.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/thepotatoking55/SwiftGLFW
* tag 4.3.0 -> FETCH_HEAD
HEAD is now at 6e184a7 Remove `openGLVersion` hint
Cloned https://github.com/thepotatoking55/SwiftGLFW.git
Revision (git rev-parse @):
6e184a7020d93a333ac36fe17bf00a657ae83a48
SUCCESS checkout https://github.com/thepotatoking55/SwiftGLFW.git at 4.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/thepotatoking55/SwiftGLFW.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/thepotatoking55/CGLFW3.git
[1/254] Fetching cglfw3
Fetched https://github.com/thepotatoking55/CGLFW3.git from cache (0.31s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.V7Oq7d/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.10.0", "/Package.swift", "-o", "/tmp/TemporaryDirectory.nhscQz/cglfw3-manifest"])
/Package.swift:52:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
50 | #endif
51 |
52 | let package = Package(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
53 | name: "CGLFW3",
54 | products: [ in https://github.com/thepotatoking55/CGLFW3.git
BUILD FAILURE 6.2 wasm