The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-sh, reference main (65ddd4), with Swift 6.1 for Wasm on 20 Jan 2026 21:26:40 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/xcode-actions/swift-sh.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/xcode-actions/swift-sh
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 65ddd46 Add description of non-implemented commands from original project
Cloned https://github.com/xcode-actions/swift-sh.git
Revision (git rev-parse @):
65ddd46d77625be893306ad13adf0ec8c61ff490
SUCCESS checkout https://github.com/xcode-actions/swift-sh.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/xcode-actions/swift-sh.git
https://github.com/xcode-actions/swift-sh.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    },
    {
      "identity" : "inlineobjectconfig",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/InlineObjectConfig.git"
    },
    {
      "identity" : "swift-xdg",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/swift-xdg.git"
    },
    {
      "identity" : "unwraporthrow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/UnwrapOrThrow.git"
    },
    {
      "identity" : "legibleerror",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/LegibleError.git"
    },
    {
      "identity" : "version",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Version.git"
    },
    {
      "identity" : "clt-logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcode-actions/clt-logger.git"
    },
    {
      "identity" : "stream-reader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.5.2",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcode-actions/stream-reader.git"
    },
    {
      "identity" : "swift-process-invocation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0-beta.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xcode-actions/swift-process-invocation.git"
    }
  ],
  "manifest_display_name" : "swift-sh",
  "name" : "swift-sh",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "swift-sh",
      "targets" : [
        "swift-sh"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftSH_Helpers",
      "targets" : [
        "SwiftSH_Helpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_sh",
      "module_type" : "SwiftTarget",
      "name" : "swift-sh",
      "path" : "Sources/swift-sh",
      "product_dependencies" : [
        "ArgumentParser",
        "CLTLogger",
        "Crypto",
        "LegibleError",
        "Logging",
        "ProcessInvocation",
        "StreamReader",
        "SystemPackage",
        "UnwrapOrThrow",
        "Version",
        "XDG"
      ],
      "product_memberships" : [
        "swift-sh"
      ],
      "sources" : [
        "Helpers/DepsPackage.swift",
        "Helpers/FilePath+ArgumentParser.swift",
        "Helpers/FilePath+Utils.swift",
        "Helpers/ImportSpecification+CustomStringConvertible.swift",
        "Helpers/ImportSpecification+Parsing.swift",
        "Helpers/ImportSpecification+Serialization.swift",
        "Helpers/ImportSpecification.swift",
        "Helpers/ScriptSource.swift",
        "Helpers/String+Utils.swift",
        "OptionGroups/BuildAndRunOptions.swift",
        "OptionGroups/GlobalOptions.swift",
        "OptionGroups/ScriptOptions.swift",
        "swift-sh.swift",
        "swift-sh⊳build.swift",
        "swift-sh⊳eject.swift",
        "swift-sh⊳run.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftSH_Helpers",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSH_Helpers",
      "path" : "Sources/SwiftSH_Helpers",
      "product_dependencies" : [
        "ArgumentParser",
        "CLTLogger",
        "InlineObjectConfig",
        "Logging",
        "ProcessInvocation",
        "StreamReader",
        "SystemPackage",
        "UnwrapOrThrow",
        "XDG"
      ],
      "product_memberships" : [
        "SwiftSH_Helpers"
      ],
      "sources" : [
        "ExportedImports.swift",
        "FilePath+ArgumentParser.swift",
        "MessageError.swift",
        "UsefulGlobals.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftSHTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSHTests",
      "path" : "Tests",
      "product_dependencies" : [
        "Logging",
        "SystemPackage"
      ],
      "sources" : [
        "HelpersTests.swift",
        "ImportSpecificationUnitTests.swift",
        "Utils/Version+Utils.swift"
      ],
      "target_dependencies" : [
        "swift-sh",
        "SwiftSH_Helpers"
      ],
      "type" : "test"
    }
  ],
  "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:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/mxcl/Version.git
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/xcode-actions/stream-reader.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
warning: 'stream-reader': skipping cache due to an error: Failed to clone repository https://github.com/xcode-actions/stream-reader.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/stream-reader-b4dacb16'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
[1/178] Fetching legibleerror
[16/227] Fetching legibleerror, unwraporthrow
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.36s)
Fetched https://github.com/mxcl/LegibleError.git from cache (0.37s)
Fetching https://github.com/Frizlab/InlineObjectConfig.git
Fetching https://github.com/Frizlab/swift-xdg.git
Fetching https://github.com/apple/swift-system.git
[1/293] Fetching version
[28/1162] Fetching version, clt-logger
[851/1169] Fetching version, clt-logger, inlineobjectconfig
[858/1401] Fetching version, clt-logger, inlineobjectconfig, swift-xdg
Fetched https://github.com/mxcl/Version.git from cache (0.66s)
Fetching https://github.com/apple/swift-log.git
[652/1108] Fetching clt-logger, inlineobjectconfig, swift-xdg
Fetched https://github.com/Frizlab/InlineObjectConfig.git from cache (0.31s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/Frizlab/swift-xdg.git from cache (0.32s)
Fetching https://github.com/apple/swift-argument-parser.git
[600/869] Fetching clt-logger
[870/6288] Fetching clt-logger, swift-system
Fetching https://github.com/xcode-actions/swift-process-invocation.git
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.85s)
[2114/5419] Fetching swift-system
Fetching https://github.com/xcode-actions/stream-reader.git
[5420/11230] Fetching swift-system, swift-log
warning: 'stream-reader': skipping cache due to an error: Failed to clone repository https://github.com/xcode-actions/stream-reader.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/stream-reader-b4dacb16'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
[7861/28329] Fetching swift-system, swift-log, swift-argument-parser
[12257/45816] Fetching swift-system, swift-log, swift-argument-parser, swift-crypto
[13633/46402] Fetching swift-system, swift-log, swift-argument-parser, swift-crypto, swift-process-invocation
Fetched https://github.com/apple/swift-system.git from cache (0.80s)
[10338/40983] Fetching swift-log, swift-argument-parser, swift-crypto, swift-process-invocation
Fetched https://github.com/xcode-actions/swift-process-invocation.git from cache (0.50s)
[12671/40397] Fetching swift-log, swift-argument-parser, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.72s)
[9771/34586] Fetching swift-argument-parser, swift-crypto
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.17s)
[2099/17487] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.66s)
error: Failed to clone repository https://github.com/xcode-actions/stream-reader.git:
    Cloning into bare repository '/host/spi-builder-workspace/.build/repositories/stream-reader-b4dacb16'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
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:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/xcode-actions/stream-reader.git
Updating https://github.com/Frizlab/UnwrapOrThrow.git
Updating https://github.com/mxcl/LegibleError.git
Updating https://github.com/mxcl/Version.git
Updating https://github.com/xcode-actions/swift-process-invocation.git
Updating https://github.com/xcode-actions/clt-logger.git
warning: 'stream-reader': skipping cache due to an error: Failed to clone repository https://github.com/xcode-actions/stream-reader.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/stream-reader-b4dacb16'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Updated https://github.com/Frizlab/UnwrapOrThrow.git (0.23s)
Updated https://github.com/mxcl/Version.git (0.23s)
Updated https://github.com/mxcl/LegibleError.git (0.23s)
Updating https://github.com/apple/swift-system.git
Updating https://github.com/Frizlab/InlineObjectConfig.git
Updating https://github.com/Frizlab/swift-xdg.git
Updating https://github.com/apple/swift-log.git
Updated https://github.com/xcode-actions/swift-process-invocation.git (0.16s)
Updated https://github.com/xcode-actions/clt-logger.git (0.16s)
Updating https://github.com/apple/swift-argument-parser.git
Updating https://github.com/apple/swift-crypto.git
Updated https://github.com/Frizlab/InlineObjectConfig.git (0.20s)
Fetching https://github.com/xcode-actions/stream-reader.git
Updated https://github.com/Frizlab/swift-xdg.git (0.20s)
Updated https://github.com/apple/swift-system.git (0.21s)
Updated https://github.com/apple/swift-log.git (0.22s)
Updated https://github.com/apple/swift-crypto.git (0.22s)
Updated https://github.com/apple/swift-argument-parser.git (0.24s)
warning: 'stream-reader': skipping cache due to an error: Failed to clone repository https://github.com/xcode-actions/stream-reader.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/stream-reader-b4dacb16'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
error: Failed to clone repository https://github.com/xcode-actions/stream-reader.git:
    Cloning into bare repository '/host/spi-builder-workspace/.build/repositories/stream-reader-b4dacb16'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
BUILD FAILURE 6.1 wasm