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 FileCheck, reference 0.2.6 (f7c5f1), with Swift 6.1 for Wasm on 28 May 2025 05:16:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/llvm-swift/filecheck.git
Reference: 0.2.6
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/llvm-swift/filecheck
 * tag               0.2.6      -> FETCH_HEAD
HEAD is now at f7c5f1a fixup! Upgrade Argument Parser to 1.1.0
Cloned https://github.com/llvm-swift/filecheck.git
Revision (git rev-parse @):
f7c5f1a9479b33a876a6f5632ca2b92a7ce4b667
SUCCESS checkout https://github.com/llvm-swift/filecheck.git at 0.2.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/llvm-swift/filecheck.git
https://github.com/llvm-swift/filecheck.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "chalk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Chalk.git"
    }
  ],
  "manifest_display_name" : "FileCheck",
  "name" : "FileCheck",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "filecheck",
      "targets" : [
        "filecheck-tool"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "FileCheck",
      "targets" : [
        "FileCheck"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "filecheck_tool",
      "module_type" : "SwiftTarget",
      "name" : "filecheck-tool",
      "path" : "Sources/filecheck-tool",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "filecheck"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "FileCheck"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FileCheckTests",
      "module_type" : "SwiftTarget",
      "name" : "FileCheckTests",
      "path" : "Tests/FileCheckTests",
      "sources" : [
        "DAGSpec.swift",
        "DefinesSpec.swift",
        "EmptySpec.swift",
        "FileCheckSpec.swift",
        "LabelSpec.swift",
        "LineCountSpec.swift",
        "MultiPrefixSpec.swift",
        "RegexScopeSpec.swift",
        "VariableRefSpec.swift"
      ],
      "target_dependencies" : [
        "FileCheck"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FileCheck",
      "module_type" : "SwiftTarget",
      "name" : "FileCheck",
      "path" : "Sources/FileCheck",
      "product_dependencies" : [
        "Chalk"
      ],
      "product_memberships" : [
        "filecheck",
        "FileCheck"
      ],
      "sources" : [
        "CheckString.swift",
        "Diagnostics.swift",
        "EditDistance.swift",
        "FileCheck.swift",
        "Pattern.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mxcl/Chalk.git
[1/81] Fetching chalk
Fetched https://github.com/mxcl/Chalk.git from cache (0.33s)
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.09s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (2.57s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.15s)
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/14] Write sources
[6/14] Write swift-version-24593BA9C3E375BF.txt
[8/18] Emitting module ArgumentParserToolInfo
[9/18] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/19] Wrapping AST for ArgumentParserToolInfo for debugging
[12/57] Compiling Chalk Chalk.swift
[13/57] Emitting module Chalk
[14/58] Wrapping AST for Chalk for debugging
[16/58] Emitting module ArgumentParser
[17/69] Compiling FileCheck Diagnostics.swift
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
[18/69] Compiling ArgumentParser Name.swift
[19/69] Compiling ArgumentParser Parsed.swift
[20/69] Compiling ArgumentParser ParsedValues.swift
[21/69] Compiling ArgumentParser ParserError.swift
[22/69] Compiling ArgumentParser SplitArguments.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/69] Emitting module FileCheck
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
[24/69] Compiling FileCheck CheckString.swift
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
[25/69] Compiling FileCheck Pattern.swift
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
[26/69] Compiling FileCheck FileCheck.swift
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
[27/69] Compiling FileCheck EditDistance.swift
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/9] Write swift-version-24593BA9C3E375BF.txt
[3/13] Emitting module Chalk
[4/13] Compiling Chalk Chalk.swift
[6/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/19] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/19] Emitting module FileCheck
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
[10/19] Compiling FileCheck CheckString.swift
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
[11/31] Compiling FileCheck EditDistance.swift
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
[12/57] Compiling FileCheck FileCheck.swift
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
[13/57] Compiling FileCheck Diagnostics.swift
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
[14/57] Compiling FileCheck Pattern.swift
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:6:10: error: no such module 'Darwin'
  4 |   import Glibc
  5 | #else
  6 |   import Darwin
    |          `- error: no such module 'Darwin'
  7 | #endif
  8 |
BUILD FAILURE 6.1 wasm