The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FengNiao, reference 0.12.0 (81da1e), with Swift 6.1 for Wasm on 6 Mar 2026 09:16:14 UTC.

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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onevcat/fengniao.git
Reference: 0.12.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/onevcat/fengniao
 * tag               0.12.0     -> FETCH_HEAD
HEAD is now at 81da1e6 Bump version to 0.12.0
Cloned https://github.com/onevcat/fengniao.git
Revision (git rev-parse @):
81da1e638444a17287625e2cd060c5e9496139ab
SUCCESS checkout https://github.com/onevcat/fengniao.git at 0.12.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/onevcat/fengniao.git
https://github.com/onevcat/fengniao.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    }
  ],
  "manifest_display_name" : "FengNiao",
  "name" : "FengNiao",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "FengNiao",
      "targets" : [
        "FengNiao"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "FengNiaoKit",
      "targets" : [
        "FengNiaoKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FengNiaoKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FengNiaoKitTests",
      "path" : "Tests/FengNiaoKitTests",
      "sources" : [
        "DeleteFilesTests.swift",
        "DeleteReferenceTests.swift",
        "FileFilterTests.swift",
        "FileInfoTests.swift",
        "FindProcessTests.swift",
        "GeneratedAssetSymbolTests.swift",
        "IntExtensionsTests.swift",
        "ResourceSearcherTests.swift",
        "SearchRuleTests.swift",
        "StringExtensionsTests.swift",
        "TestSupport.swift",
        "UsedStringSearcherTests.swift"
      ],
      "target_dependencies" : [
        "FengNiaoKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FengNiaoKit",
      "module_type" : "SwiftTarget",
      "name" : "FengNiaoKit",
      "path" : "Sources/FengNiaoKit",
      "product_dependencies" : [
        "Rainbow",
        "PathKit"
      ],
      "product_memberships" : [
        "FengNiao",
        "FengNiaoKit"
      ],
      "sources" : [
        "ExtensionFindProcess.swift",
        "Extensions.swift",
        "FengNiao.swift",
        "FileSearchRule.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FengNiaoCLITests",
      "module_type" : "SwiftTarget",
      "name" : "FengNiaoCLITests",
      "path" : "Tests/FengNiaoCLITests",
      "sources" : [
        "CLIParsingTests.swift"
      ],
      "target_dependencies" : [
        "FengNiao"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FengNiao",
      "module_type" : "SwiftTarget",
      "name" : "FengNiao",
      "path" : "Sources/FengNiao",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "FengNiao"
      ],
      "sources" : [
        "CLI.swift",
        "CommandPrompt.swift"
      ],
      "target_dependencies" : [
        "FengNiaoKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/kylef/PathKit.git
[1/1423] Fetching rainbow
[1424/2861] Fetching rainbow, pathkit
[2546/20043] Fetching rainbow, pathkit, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow.git from cache (0.29s)
[2126/18620] Fetching pathkit, swift-argument-parser
Fetched https://github.com/kylef/PathKit.git from cache (0.79s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.79s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.06s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.53s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.47s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.59s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version-24593BA9C3E375BF.txt
[10/32] Compiling Rainbow StringGenerator.swift
[11/33] Emitting module ArgumentParserToolInfo
[12/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/34] Compiling Rainbow String+Rainbow.swift
[15/34] Compiling Rainbow Style.swift
[16/34] Compiling Rainbow XcodeColorsSupport.swift
[16/34] Wrapping AST for ArgumentParserToolInfo for debugging
[18/80] Compiling ArgumentParser BashCompletionsGenerator.swift
[19/80] Compiling ArgumentParser CompletionsGenerator.swift
[20/80] Compiling ArgumentParser FishCompletionsGenerator.swift
[21/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
[22/80] Emitting module Rainbow
[23/80] Compiling ArgumentParser Argument.swift
[24/80] Compiling ArgumentParser ArgumentDiscussion.swift
[25/80] Compiling Rainbow Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/81] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[27/81] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
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/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/11] Write swift-version-24593BA9C3E375BF.txt
[4/26] Compiling Rainbow Style.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/27] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[6/27] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[7/27] Compiling Rainbow StringGenerator.swift
[8/27] Compiling Rainbow Color.swift
[9/27] Compiling Rainbow ControlCode.swift
[10/27] Emitting module Rainbow
[11/27] Compiling Rainbow BackgroundColor.swift
[12/27] Compiling Rainbow CodesParser.swift
[13/27] Compiling Rainbow ModesExtractor.swift
[14/27] Compiling Rainbow OutputTarget.swift
[15/27] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm