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 main (6664b5), with Swift 6.1 for Wasm on 31 Aug 2025 09:52:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-nest/clutch.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6664b55 swift-format: disable UseLetInEveryBoundCaseVariable as 6.0.1 formatter
Cloned https://github.com/swift-nest/clutch.git
Revision (git rev-parse @):
6664b559c81fd4edd8b56789b6355b97d900ddb7
SUCCESS checkout https://github.com/swift-nest/clutch.git at main
========================================
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" : "13.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",
        "FoundationScriptTests.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-1":/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 -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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/1808] Fetching swift-atomics
[869/6749] Fetching swift-atomics, swift-system
[6750/22438] Fetching swift-atomics, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.81s)
Fetched https://github.com/apple/swift-atomics from cache (0.81s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.82s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.48s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (0.54s)
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-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.2
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
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 |
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:25:10: warning: no stderr
23 | @preconcurrency import Musl
24 | #else
25 | #warning("no stderr")
   |          `- warning: no stderr
26 | #endif
27 |
[12/27] Emitting module ArgumentParserToolInfo
[13/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/28] Wrapping AST for ArgumentParserToolInfo for debugging
[16/72] 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 |
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:25:10: warning: no stderr
23 | @preconcurrency import Musl
24 | #else
25 | #warning("no stderr")
   |          `- warning: no stderr
26 | #endif
27 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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 |
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:25:10: warning: no stderr
23 | @preconcurrency import Musl
24 | #else
25 | #warning("no stderr")
   |          `- warning: no stderr
26 | #endif
27 |
[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 |
/host/spi-builder-workspace/Sources/MinSys/MinSys.swift:25:10: warning: no stderr
23 | @preconcurrency import Musl
24 | #else
25 | #warning("no stderr")
   |          `- warning: no stderr
26 | #endif
27 |
[6/20] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm