The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftCurses, reference master (5513ba), with Swift 6.2 for Linux on 22 Jun 2025 19:02:54 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Jomy10/SwiftCurses.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
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/8] 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.
[2/8] Compiling C_ncursesBinds C_ncursesBinds.c
[3/8] Write swift-version-24593BA9C3E375BF.txt
[5/25] Compiling SwiftCurses Window.swift
[6/25] Compiling SwiftCurses color.swift
[7/27] Compiling SwiftCurses Window+output.swift
[8/27] Compiling SwiftCurses Window+util.swift
[9/27] Compiling SwiftCurses kernel.swift
[10/27] Compiling SwiftCurses keycode.swift
[11/27] Compiling SwiftCurses mouseEvent.swift
[12/27] Compiling SwiftCurses settings.swift
[13/27] Compiling SwiftCurses error.swift
[14/27] Compiling SwiftCurses initScreen.swift
[15/27] Compiling SwiftCurses LinuxCompatibility.swift
[16/27] Compiling SwiftCurses Window+attributes.swift
[17/27] Compiling SwiftCurses Window+border.swift
[18/27] Emitting module SwiftCurses
[19/27] Compiling SwiftCurses Window+clear.swift
[20/27] Compiling SwiftCurses Window+controls.swift
[21/27] Compiling SwiftCurses Window+dump.swift
[22/27] 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>
[23/27] 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>
[24/28] Wrapping AST for SwiftCurses for debugging
[26/42] Compiling Examples main.swift
[27/43] Compiling Examples x01-color-definition.swift
[28/43] Compiling Examples 01-helloWorld.swift
[29/43] Compiling Examples 02-init.swift
[30/43] Compiling Examples 05-attributes.swift
/host/spi-builder-workspace/Sources/Examples/05-attributes.swift:16:6: warning: global function 'attributesExample()' took 113ms 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 113ms to type-check (limit: 100ms)
17 | 	let arg: String
18 | 	if CommandLine.argc == 3 {
[31/43] Compiling Examples 06-chgat.swift
/host/spi-builder-workspace/Sources/Examples/05-attributes.swift:16:6: warning: global function 'attributesExample()' took 113ms 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 113ms to type-check (limit: 100ms)
17 | 	let arg: String
18 | 	if CommandLine.argc == 3 {
[32/43] Compiling Examples 03-print.swift
[33/43] Compiling Examples 04-input.swift
[34/43] Emitting module Examples
[35/43] Compiling Examples 11-mouse.swift
/host/spi-builder-workspace/Sources/Examples/11-mouse.swift:96:18: warning: global function 'reportChoice' took 142ms to type-check (limit: 100ms)
 94 |
 95 | /// Report the choice according to mouse position
 96 | fileprivate func reportChoice(_ mouseX: Int32, _ mouseY: Int32, _ pChoice: inout Int) {
    |                  `- warning: global function 'reportChoice' took 142ms to type-check (limit: 100ms)
 97 | 	let i = startx + 2
 98 | 	let j = starty + 3
[36/43] Compiling Examples 12-temporarilyLeavingCursesMode.swift
/host/spi-builder-workspace/Sources/Examples/11-mouse.swift:96:18: warning: global function 'reportChoice' took 142ms to type-check (limit: 100ms)
 94 |
 95 | /// Report the choice according to mouse position
 96 | fileprivate func reportChoice(_ mouseX: Int32, _ mouseY: Int32, _ pChoice: inout Int) {
    |                  `- warning: global function 'reportChoice' took 142ms to type-check (limit: 100ms)
 97 | 	let i = startx + 2
 98 | 	let j = starty + 3
[37/43] Compiling Examples 07-window.swift
[38/43] Compiling Examples 08-more-border-functions.swift
[39/43] Compiling Examples 09-colors.swift
[40/43] Compiling Examples 10-keybboard.swift
[41/44] Wrapping AST for Examples for debugging
[42/44] Write Objects.LinkFileList
[43/44] Linking Examples
Build complete! (27.03s)
Build complete.
{
  "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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.