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 clutch, reference 0.5.7 (273c35), with Swift 6.1 for Wasm on 29 Jul 2025 05:30:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-nest/clutch.git
Reference: 0.5.7
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/swift-nest/clutch
 * tag               0.5.7      -> FETCH_HEAD
HEAD is now at 273c351 README/dev: 5.10 tests working
Cloned https://github.com/swift-nest/clutch.git
Revision (git rev-parse @):
273c3513dc082bdddd25abc088baca8db9d67d55
SUCCESS checkout https://github.com/swift-nest/clutch.git at 0.5.7
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-nest/clutch.git
https://github.com/swift-nest/clutch.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "clutch",
  "name" : "clutch",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "clutch",
      "targets" : [
        "clutch"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "clatch",
      "targets" : [
        "clatch"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ClutchAP",
      "targets" : [
        "ClutchAP"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "clutchTests",
      "module_type" : "SwiftTarget",
      "name" : "clutchTests",
      "path" : "Tests/clutchTests",
      "product_dependencies" : [
        "Atomics"
      ],
      "sources" : [
        "AskDataTests.swift",
        "ClutchMainTest.swift",
        "ClutchTests.swift",
        "DriverTests.swift",
        "Fixtures/KnownSystemCallFixtures.swift",
        "Fixtures/KnownSystemCalls.swift",
        "FoundationScriptSystemCallsTests.swift",
        "KnownSystemCallFixturesTests.swift",
        "Main/ClutchTestMain.swift",
        "NestOpTests.swift",
        "RecordSystemCallsTests.swift",
        "Scenarios/ClutchCommandScenario.swift",
        "Scenarios/ClutchErrCheck.swift",
        "Support/ActorArray.swift",
        "Support/AtomicIndex.swift",
        "Support/SrcLoc.swift",
        "Support/TestHelper.swift",
        "SystemCallsRecorder/Call.swift",
        "SystemCallsRecorder/CallRecordTypes.swift",
        "SystemCallsRecorder/RecordSystemCalls.swift"
      ],
      "target_dependencies" : [
        "clutchLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "clutchLib",
      "module_type" : "SwiftTarget",
      "name" : "clutchLib",
      "path" : "Sources/clutch",
      "product_memberships" : [
        "clutch",
        "ClutchAP"
      ],
      "sources" : [
        "AskDataBuilder.swift",
        "ClutchDriver.swift",
        "ClutchDriverErrors.swift",
        "DriverConfig/AskMode.swift",
        "DriverConfig/DriverConfig.swift",
        "DriverConfig/Identifier.swift",
        "DriverConfig/ModuleName.swift",
        "DriverConfig/ModuleNameHelp.swift",
        "DriverConfig/NestPaths.swift",
        "DriverConfig/NestPathsStatus.swift",
        "DriverConfig/UserAskKind.swift",
        "Files/FileItem.swift",
        "Files/FileItemHelp.swift",
        "PeerOp.swift",
        "UI/Help.swift",
        "UI/PeerNest.swift",
        "system-impl/FoundationScript.swift",
        "system-impl/FoundationScriptSystemCalls.swift",
        "system/Err.swift",
        "system/StdlibHelp.swift",
        "system/SystemCalls.swift",
        "system/SystemCallsHelp.swift"
      ],
      "target_dependencies" : [
        "MinSys"
      ],
      "type" : "library"
    },
    {
      "c99name" : "clutch",
      "module_type" : "SwiftTarget",
      "name" : "clutch",
      "path" : "Sources/clutch-tool",
      "product_memberships" : [
        "clutch"
      ],
      "sources" : [
        "clutch.swift"
      ],
      "target_dependencies" : [
        "clutchLib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "clatch",
      "module_type" : "SwiftTarget",
      "name" : "clatch",
      "path" : "Sources/clatch",
      "product_memberships" : [
        "clatch"
      ],
      "sources" : [
        "clatch.swift"
      ],
      "target_dependencies" : [
        "MinSys"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MinSys",
      "module_type" : "SwiftTarget",
      "name" : "MinSys",
      "path" : "Sources/MinSys",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "clutch",
        "clatch",
        "ClutchAP"
      ],
      "sources" : [
        "MinSys.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ClutchAP",
      "module_type" : "SwiftTarget",
      "name" : "ClutchAP",
      "path" : "Sources/ClutchAP",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "ClutchAP"
      ],
      "sources" : [
        "ClutchMain.swift"
      ],
      "target_dependencies" : [
        "clutchLib"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/apple/swift-system
Fetching https://github.com/apple/swift-atomics
[1/1808] Fetching swift-atomics
[1809/6526] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics from cache (0.48s)
Fetched https://github.com/apple/swift-system from cache (0.48s)
[1/15579] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.49s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (2.52s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.51s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.0 (0.43s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.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.6.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.0
warning: 'spi-builder-workspace': ignoring duplicate product 'SystemPackage' from package 'swift-system'
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/23] Write sources
[9/23] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/27] Emitting module MinSys
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:12:8: error: Unable to find FilePath library (from swift-system, et al
10 | public import struct SystemPackage.FilePath
11 | #else
12 | #error("Unable to find FilePath library (from swift-system, et al")
   |        `- error: Unable to find FilePath library (from swift-system, et al
13 | #endif
14 |
[12/27] Compiling MinSys MinSys.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:12:8: error: Unable to find FilePath library (from swift-system, et al
10 | public import struct SystemPackage.FilePath
11 | #else
12 | #error("Unable to find FilePath library (from swift-system, et al")
   |        `- error: Unable to find FilePath library (from swift-system, et al
13 | #endif
14 |
[13/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/27] Emitting module ArgumentParserToolInfo
[15/28] Wrapping AST for ArgumentParserToolInfo for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': ignoring duplicate product 'SystemPackage' from package 'swift-system'
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/16] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/20] Emitting module MinSys
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:12:8: error: Unable to find FilePath library (from swift-system, et al
10 | public import struct SystemPackage.FilePath
11 | #else
12 | #error("Unable to find FilePath library (from swift-system, et al")
   |        `- error: Unable to find FilePath library (from swift-system, et al
13 | #endif
14 |
[5/20] Compiling MinSys MinSys.swift
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:12:8: error: Unable to find FilePath library (from swift-system, et al
10 | public import struct SystemPackage.FilePath
11 | #else
12 | #error("Unable to find FilePath library (from swift-system, et al")
   |        `- error: Unable to find FilePath library (from swift-system, et al
13 | #endif
14 |
[6/20] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm