The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGLFW, reference 4.3.0 (6e184a), with Swift 6.1 for Wasm on 28 May 2025 19:06:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.63.1
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.1
Building package at path:  $PWD
https://github.com/thepotatoking55/SwiftGLFW.git
https://github.com/thepotatoking55/SwiftGLFW.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cglfw3",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/thepotatoking55/CGLFW3.git"
    }
  ],
  "manifest_display_name" : "SwiftGLFW",
  "name" : "SwiftGLFW",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftGLFW",
      "targets" : [
        "GLFW"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GLFWTests",
      "module_type" : "SwiftTarget",
      "name" : "GLFWTests",
      "path" : "Tests/GLFWTests",
      "sources" : [
        "GLFWTests.swift"
      ],
      "target_dependencies" : [
        "GLFW"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GLFW",
      "module_type" : "SwiftTarget",
      "name" : "GLFW",
      "path" : "Sources/GLFW",
      "product_dependencies" : [
        "CGLFW3"
      ],
      "product_memberships" : [
        "SwiftGLFW"
      ],
      "sources" : [
        "Constants.swift",
        "Error.swift",
        "Extensions.swift",
        "Input/ButtonState.swift",
        "Input/Gamepad.swift",
        "Input/Keyboard.swift",
        "Input/Mouse.swift",
        "Monitor/Monitor.swift",
        "Native Extensions/Linux.swift",
        "Native Extensions/Windows.swift",
        "Native Extensions/macOS.swift",
        "ObjectProtocol.swift",
        "Session.swift",
        "Structs/Color.swift",
        "Structs/ContentScale.swift",
        "Structs/Frame.swift",
        "Structs/Image.swift",
        "Structs/Margins.swift",
        "Structs/Point.swift",
        "Structs/Size.swift",
        "Window/Context.swift",
        "Window/Hints.swift",
        "Window/Window.swift",
        "Window/WindowAttributes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/thepotatoking55/CGLFW3.git
[1/254] Fetching cglfw3
Fetched https://github.com/thepotatoking55/CGLFW3.git from cache (0.36s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.ceEzbD/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.AytdqY/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Updating https://github.com/thepotatoking55/CGLFW3.git
Updated https://github.com/thepotatoking55/CGLFW3.git (0.16s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.VYK03Z/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.VPw6cb/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.1 wasm