The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LineNoise, reference master (cbf0a3), with Swift 6.1 for Wasm on 27 May 2025 12:14:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/andybest/linenoise-swift.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/andybest/linenoise-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cbf0a35 Detect when we're running from within Xcode and mark terminal type as unsupported (#17)
Cloned https://github.com/andybest/linenoise-swift.git
Revision (git rev-parse @):
cbf0a35c6e159e4fe6a03f76c8a17ef08e907b0e
SUCCESS checkout https://github.com/andybest/linenoise-swift.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/andybest/linenoise-swift.git
https://github.com/andybest/linenoise-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "LineNoise",
  "name" : "LineNoise",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LineNoise",
      "targets" : [
        "LineNoise"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "linenoiseDemo",
      "targets" : [
        "linenoiseDemo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "linenoiseTests",
      "module_type" : "SwiftTarget",
      "name" : "linenoiseTests",
      "path" : "Tests/linenoiseTests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "AnsiCodesTests.swift",
        "EditStateTests.swift",
        "HistoryTests.swift"
      ],
      "target_dependencies" : [
        "LineNoise"
      ],
      "type" : "test"
    },
    {
      "c99name" : "linenoiseDemo",
      "module_type" : "SwiftTarget",
      "name" : "linenoiseDemo",
      "path" : "Sources/linenoiseDemo",
      "product_memberships" : [
        "linenoiseDemo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "LineNoise"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "LineNoise",
      "module_type" : "SwiftTarget",
      "name" : "LineNoise",
      "path" : "Sources/linenoise",
      "product_memberships" : [
        "LineNoise",
        "linenoiseDemo"
      ],
      "sources" : [
        "AnsiCodes.swift",
        "ControlCharacters.swift",
        "EditState.swift",
        "Errors.swift",
        "History.swift",
        "Terminal.swift",
        "linenoise.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Quick/Nimble.git
[1/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (2.12s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (4.17s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling LineNoise ControlCharacters.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/15] Emitting module LineNoise
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[6/15] Compiling LineNoise AnsiCodes.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[7/15] Compiling LineNoise linenoise.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[8/15] Compiling LineNoise History.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[9/15] Compiling LineNoise Errors.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[10/15] Compiling LineNoise EditState.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[11/15] Compiling LineNoise Terminal.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling LineNoise ControlCharacters.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[3/13] Compiling LineNoise AnsiCodes.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[4/13] Compiling LineNoise Errors.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/13] Emitting module LineNoise
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[6/13] Compiling LineNoise linenoise.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[7/13] Compiling LineNoise History.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[8/13] Compiling LineNoise EditState.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
[9/13] Compiling LineNoise Terminal.swift
/host/spi-builder-workspace/Sources/linenoise/linenoise.swift:33:12: error: no such module 'Darwin'
 31 |     import Glibc
 32 | #else
 33 |     import Darwin
    |            `- error: no such module 'Darwin'
 34 | #endif
 35 | import Foundation
BUILD FAILURE 6.1 wasm