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 master (fae7b8), with Swift 6.1 for Wasm on 28 May 2025 05:16:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 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/llvm-swift/filecheck
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fae7b88 fix documentation with argument name
Cloned https://github.com/llvm-swift/filecheck.git
Revision (git rev-parse @):
fae7b883f3fb3d79c10ec0a71992343b1c625b5c
SUCCESS checkout https://github.com/llvm-swift/filecheck.git at master
========================================
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-0":/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/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser
[1/81] Fetching chalk
[82/15432] Fetching chalk, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (1.12s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.13s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (1.77s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.57s)
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] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/18] Emitting module ArgumentParserToolInfo
[10/19] Wrapping AST for ArgumentParserToolInfo for debugging
[12/57] Compiling ArgumentParser OptionGroup.swift
[13/57] Compiling ArgumentParser AsyncParsableCommand.swift
[14/57] Compiling ArgumentParser CommandConfiguration.swift
[15/57] Compiling ArgumentParser CommandGroup.swift
[16/57] Compiling ArgumentParser EnumerableFlag.swift
[17/62] Emitting module ArgumentParser
[18/62] Compiling ArgumentParser ArgumentVisibility.swift
[19/62] Compiling ArgumentParser CompletionKind.swift
[20/62] Compiling ArgumentParser Errors.swift
[21/62] Compiling ArgumentParser Flag.swift
[22/62] Compiling ArgumentParser NameSpecification.swift
[23/62] Compiling ArgumentParser Option.swift
[24/62] Emitting module Chalk
[25/62] Compiling Chalk Chalk.swift
[26/63] Compiling ArgumentParser CollectionExtensions.swift
[27/63] Compiling ArgumentParser Platform.swift
[28/63] Compiling ArgumentParser SequenceExtensions.swift
[29/63] Compiling ArgumentParser StringExtensions.swift
[30/63] Compiling ArgumentParser Tree.swift
[31/66] Wrapping AST for Chalk for debugging
[33/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/68] Compiling ArgumentParser CompletionsGenerator.swift
[35/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/68] Compiling ArgumentParser Argument.swift
[38/68] Compiling ArgumentParser ArgumentHelp.swift
[39/69] Compiling ArgumentParser Name.swift
[40/69] Compiling ArgumentParser Parsed.swift
[41/69] Compiling ArgumentParser ParsedValues.swift
[42/69] Compiling ArgumentParser ParserError.swift
[43/69] Compiling ArgumentParser SplitArguments.swift
[44/69] Compiling ArgumentParser DumpHelpGenerator.swift
[45/69] Compiling ArgumentParser HelpCommand.swift
[46/69] Compiling ArgumentParser HelpGenerator.swift
[47/69] Compiling ArgumentParser MessageInfo.swift
[48/69] Compiling ArgumentParser UsageGenerator.swift
[49/69] Compiling ArgumentParser ExpressibleByArgument.swift
[50/69] Compiling ArgumentParser ParsableArguments.swift
[51/69] Compiling ArgumentParser ParsableArgumentsValidation.swift
[52/69] Compiling ArgumentParser ParsableCommand.swift
[53/69] Compiling ArgumentParser ArgumentDecoder.swift
[54/69] Compiling ArgumentParser ArgumentDefinition.swift
[55/69] Compiling ArgumentParser ArgumentSet.swift
[56/69] Compiling ArgumentParser CommandParser.swift
[57/69] Compiling ArgumentParser InputKey.swift
[58/69] Compiling ArgumentParser InputOrigin.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[59/70] 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 |
[60/70] 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 |
[61/70] 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 |
[62/70] 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 |
[63/70] 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 |
[64/70] 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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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] Compiling Chalk Chalk.swift
[4/13] Emitting module Chalk
[6/19] Emitting module ArgumentParserToolInfo
[7/19] Compiling ArgumentParserToolInfo ToolInfo.swift
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 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 |
[11/19] 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 |
[12/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 |
[13/19] 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 |
[14/19] 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