The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftCurses, reference 1.1.0 (bdaa97), with Swift 6.3 for Linux on 15 Apr 2026 12:41:53 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jomy10/SwiftCurses.git
Reference: 1.1.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/Jomy10/SwiftCurses
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at bdaa972 handle sigint to cleanup ncurses
Cloned https://github.com/Jomy10/SwiftCurses.git
Revision (git rev-parse @):
bdaa97277f6b16d510e543c8a3669f0cc8352ac9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Jomy10/SwiftCurses.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Jomy10/SwiftCurses.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/Genaro-Chris/SignalHandler.git
[1/1433] Fetching signalhandler
Fetched https://github.com/Genaro-Chris/SignalHandler.git from cache (0.73s)
Creating working copy for https://github.com/Genaro-Chris/SignalHandler.git
Working copy of https://github.com/Genaro-Chris/SignalHandler.git resolved at main (bb52b9c)
warning: prohibited flag(s): -D_DEFAULT_SOURCE, -D_XOPEN_SOURCE=600
warning: prohibited flag(s): -D_DEFAULT_SOURCE, -D_XOPEN_SOURCE=600
warning: prohibited flag(s): -D_DEFAULT_SOURCE, -D_XOPEN_SOURCE=600
warning: prohibited flag(s): -D_DEFAULT_SOURCE, -D_XOPEN_SOURCE=600
Building for debugging...
[0/10] Write sources
/host/spi-builder-workspace/Sources/C_ncursesBinds/C_ncursesBinds.c:16:24: warning: passing 'wchar_t *' (aka 'int *') to parameter of type 'wint_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
   16 |   return wget_wch(win, ch);
      |                        ^~
/host/spi-builder-workspace/Sources/C_ncursesBinds/C_ncursesBinds.c:8:35: note: passing argument to parameter 'ch' here
    8 | int wget_wch(WINDOW *win, wint_t *ch);
      |                                   ^
1 warning generated.
[3/10] Compiling C_ncursesBinds C_ncursesBinds.c
[4/10] Write swift-version-24593BA9C3E375BF.txt
[6/15] Compiling SignalHandler extensions.swift
[7/15] Compiling SignalHandler SourceSequence.swift
[8/15] Emitting module SignalHandler
[9/15] Compiling SignalHandler Signals.swift
[10/15] Compiling SignalHandler SignalHandler.swift
[11/16] Wrapping AST for SignalHandler for debugging
[13/33] Compiling SwiftCurses Window+output.swift
[14/33] Compiling SwiftCurses Window+util.swift
[15/33] Compiling SwiftCurses kernel.swift
[16/33] Compiling SwiftCurses keycode.swift
[17/33] Compiling SwiftCurses error.swift
[18/33] Compiling SwiftCurses initScreen.swift
[19/33] Compiling SwiftCurses Window+input.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:83:32: warning: 'vwscanw' is deprecated [#DeprecatedDeclaration]
 81 |             return withUnsafePointer(to: cString[0]) { formatPtr in
 82 |                 let mutFormatPtr = UnsafeMutablePointer(mutating: formatPtr)
 83 |                 return ncurses.vwscanw(self.window, mutFormatPtr, valist)
    |                                `- warning: 'vwscanw' is deprecated [#DeprecatedDeclaration]
 84 |             }
 85 |         }) == ERR {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[20/33] Compiling SwiftCurses Window+mouse.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:83:32: warning: 'vwscanw' is deprecated [#DeprecatedDeclaration]
 81 |             return withUnsafePointer(to: cString[0]) { formatPtr in
 82 |                 let mutFormatPtr = UnsafeMutablePointer(mutating: formatPtr)
 83 |                 return ncurses.vwscanw(self.window, mutFormatPtr, valist)
    |                                `- warning: 'vwscanw' is deprecated [#DeprecatedDeclaration]
 84 |             }
 85 |         }) == ERR {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[21/33] Compiling SwiftCurses Window+clear.swift
[22/33] Compiling SwiftCurses Window+controls.swift
[23/33] Compiling SwiftCurses Window+dump.swift
[24/33] Compiling SwiftCurses Window.swift
[25/33] Compiling SwiftCurses color.swift
[26/35] Emitting module SwiftCurses
[27/35] Compiling SwiftCurses LinuxCompatibility.swift
[28/35] Compiling SwiftCurses Window+attributes.swift
[29/35] Compiling SwiftCurses Window+border.swift
[30/35] Compiling SwiftCurses mouseEvent.swift
[31/35] Compiling SwiftCurses settings.swift
[32/36] Wrapping AST for SwiftCurses for debugging
[34/50] Compiling Examples 05-attributes.swift
/host/spi-builder-workspace/Sources/Examples/05-attributes.swift:16:6: warning: global function 'attributesExample()' took 132ms to type-check (limit: 100ms)
14 | /// comment (/**/) in bold (passed in as a parameter;
15 | /// `swift run SwiftCursesExamples attributes [filename]`)
16 | func attributesExample() throws {
   |      `- warning: global function 'attributesExample()' took 132ms to type-check (limit: 100ms)
17 | 	let arg: String
18 | 	if CommandLine.argc == 3 {
[35/50] Compiling Examples 06-chgat.swift
/host/spi-builder-workspace/Sources/Examples/05-attributes.swift:16:6: warning: global function 'attributesExample()' took 132ms to type-check (limit: 100ms)
14 | /// comment (/**/) in bold (passed in as a parameter;
15 | /// `swift run SwiftCursesExamples attributes [filename]`)
16 | func attributesExample() throws {
   |      `- warning: global function 'attributesExample()' took 132ms to type-check (limit: 100ms)
17 | 	let arg: String
18 | 	if CommandLine.argc == 3 {
[36/50] Compiling Examples 03-print.swift
[37/50] Compiling Examples 04-input.swift
[38/50] Compiling Examples 01-helloWorld.swift
[39/50] Compiling Examples 02-init.swift
[40/50] Emitting module Examples
[41/50] Compiling Examples 07-window.swift
[42/50] Compiling Examples 08-more-border-functions.swift
[43/51] Compiling Examples main.swift
[44/51] Compiling Examples 11-mouse.swift
/host/spi-builder-workspace/Sources/Examples/11-mouse.swift:26:6: warning: global function 'mouse()' took 107ms to type-check (limit: 100ms)
 24 |
 25 | /// Example 11. Access the menu with mouse !!!
 26 | func mouse() throws {
    |      `- warning: global function 'mouse()' took 107ms to type-check (limit: 100ms)
 27 | 	var choice = 0
 28 |
[45/51] Compiling Examples 12-temporarilyLeavingCursesMode.swift
/host/spi-builder-workspace/Sources/Examples/11-mouse.swift:26:6: warning: global function 'mouse()' took 107ms to type-check (limit: 100ms)
 24 |
 25 | /// Example 11. Access the menu with mouse !!!
 26 | func mouse() throws {
    |      `- warning: global function 'mouse()' took 107ms to type-check (limit: 100ms)
 27 | 	var choice = 0
 28 |
[46/51] Compiling Examples x01-color-definition.swift
[47/51] Compiling Examples 09-colors.swift
[48/51] Compiling Examples 10-keybboard.swift
[49/52] Wrapping AST for Examples for debugging
[50/52] Write Objects.LinkFileList
[51/52] Linking Examples
Build complete! (15.16s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "signalhandler",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Genaro-Chris/SignalHandler.git"
    }
  ],
  "manifest_display_name" : "SwiftCurses",
  "name" : "SwiftCurses",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "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_dependencies" : [
        "SignalHandler"
      ],
      "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"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.