The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCurses, reference master (5513ba), with Swift 6.1 for Wasm on 30 May 2025 03:42:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Jomy10/SwiftCurses.git
Reference: master
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/Jomy10/SwiftCurses
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5513ba4 fix for async cleanup
Cloned https://github.com/Jomy10/SwiftCurses.git
Revision (git rev-parse @):
5513ba40c61de3234ed09c06a3b2a42c5b3153ad
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Jomy10/SwiftCurses.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Jomy10/SwiftCurses.git
https://github.com/Jomy10/SwiftCurses.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCurses",
  "name" : "SwiftCurses",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftCurses",
      "targets" : [
        "SwiftCurses"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Examples",
      "targets" : [
        "Examples"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ncursesTests",
      "module_type" : "SwiftTarget",
      "name" : "ncursesTests",
      "path" : "Tests/ncursesTests",
      "sources" : [
        "ncursesTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCurses"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCurses",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCurses",
      "path" : "Sources/SwiftCurses",
      "product_memberships" : [
        "SwiftCurses",
        "Examples"
      ],
      "sources" : [
        "LinuxCompatibility.swift",
        "Window+attributes.swift",
        "Window+border.swift",
        "Window+clear.swift",
        "Window+controls.swift",
        "Window+dump.swift",
        "Window+input.swift",
        "Window+mouse.swift",
        "Window+output.swift",
        "Window+util.swift",
        "Window.swift",
        "color.swift",
        "error.swift",
        "initScreen.swift",
        "kernel.swift",
        "keycode.swift",
        "mouseEvent.swift",
        "settings.swift"
      ],
      "target_dependencies" : [
        "C_ncurses",
        "C_ncursesBinds",
        "C_ncursesw"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Examples",
      "module_type" : "SwiftTarget",
      "name" : "Examples",
      "path" : "Sources/Examples",
      "product_memberships" : [
        "Examples"
      ],
      "sources" : [
        "01-helloWorld.swift",
        "02-init.swift",
        "03-print.swift",
        "04-input.swift",
        "05-attributes.swift",
        "06-chgat.swift",
        "07-window.swift",
        "08-more-border-functions.swift",
        "09-colors.swift",
        "10-keybboard.swift",
        "11-mouse.swift",
        "12-temporarilyLeavingCursesMode.swift",
        "main.swift",
        "x01-color-definition.swift"
      ],
      "target_dependencies" : [
        "SwiftCurses"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "C_ncursesw",
      "module_type" : "SystemLibraryTarget",
      "name" : "C_ncursesw",
      "path" : "Sources/C_ncursesw",
      "product_memberships" : [
        "SwiftCurses",
        "Examples"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "C_ncursesBinds",
      "module_type" : "ClangTarget",
      "name" : "C_ncursesBinds",
      "path" : "Sources/C_ncursesBinds",
      "product_memberships" : [
        "SwiftCurses",
        "Examples"
      ],
      "sources" : [
        "C_ncursesBinds.c"
      ],
      "target_dependencies" : [
        "C_ncurses"
      ],
      "type" : "library"
    },
    {
      "c99name" : "C_ncurses",
      "module_type" : "SystemLibraryTarget",
      "name" : "C_ncurses",
      "path" : "Sources/C_ncurses",
      "product_memberships" : [
        "SwiftCurses",
        "Examples"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
warning: you may be able to install ncurses using your system-packager:
    apt-get install libncurses5-dev
warning: you may be able to install ncursesw using your system-packager:
    apt-get install libncursesw5-dev
warning: you may be able to install ncurses using your system-packager:
    apt-get install libncurses5-dev
warning: you may be able to install ncursesw using your system-packager:
    apt-get install libncursesw5-dev
Building for debugging...
[0/8] Write sources
/host/spi-builder-workspace/Sources/C_ncursesBinds/C_ncursesBinds.c:2:10: fatal error: 'ncurses.h' file not found
    2 | #include <ncurses.h>
      |          ^~~~~~~~~~~
1 error generated.
[2/8] Compiling C_ncursesBinds C_ncursesBinds.c
[2/8] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
warning: you may be able to install ncurses using your system-packager:
    apt-get install libncurses5-dev
warning: you may be able to install ncursesw using your system-packager:
    apt-get install libncursesw5-dev
warning: you may be able to install ncurses using your system-packager:
    apt-get install libncurses5-dev
warning: you may be able to install ncursesw using your system-packager:
    apt-get install libncursesw5-dev
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/Sources/C_ncursesBinds/C_ncursesBinds.c:2:10: fatal error: 'ncurses.h' file not found
    2 | #include <ncurses.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/6] Compiling C_ncursesBinds C_ncursesBinds.c
[0/6] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm