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 SwiftDependencyUpdater, reference main (f3334d), with Swift 6.1 for Wasm on 13 Dec 2025 12:00:02 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/Nef10/swift-dependency-updater.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/Nef10/swift-dependency-updater
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f3334d5 Bump actions/upload-artifact to v6
Cloned https://github.com/Nef10/swift-dependency-updater.git
Revision (git rev-parse @):
f3334d5a92ce737193ba944119ec3ec6247ec4a5
SUCCESS checkout https://github.com/Nef10/swift-dependency-updater.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Nef10/swift-dependency-updater.git
https://github.com/Nef10/swift-dependency-updater.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.1",
            "upper_bound" : "1.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/ShellOut.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "releases",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Nef10/Releases.git"
    }
  ],
  "manifest_display_name" : "SwiftDependencyUpdater",
  "name" : "SwiftDependencyUpdater",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "SwiftDependencyUpdaterLibrary",
      "targets" : [
        "SwiftDependencyUpdaterLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-dependency-updater",
      "targets" : [
        "SwiftDependencyUpdater"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftDependencyUpdaterLibraryTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDependencyUpdaterLibraryTests",
      "path" : "Tests/SwiftDependencyUpdaterLibraryTests",
      "sources" : [
        "DependencyTests.swift",
        "Extensions/XCTest+Execution.swift",
        "Extensions/XCTestCase.swift",
        "ExtensionsTests/CollectionTests.swift",
        "ExtensionsTests/StringTests.swift",
        "HelpTests.swift",
        "PackageDescriptionTest.swift",
        "ResolvedPackageTests.swift",
        "Services/GitHubTests.swift",
        "Services/GitTests.swift",
        "SubCommands/GitHubCommandTests.swift",
        "SubCommands/ListCommandTests.swift",
        "SubCommands/UpdateCommandTests.swift",
        "SwiftPackageTests.swift",
        "SwiftPackageUpdateTests.swift",
        "TestUtils.swift",
        "UpdateTests.swift"
      ],
      "target_dependencies" : [
        "SwiftDependencyUpdaterLibrary"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDependencyUpdaterLibrary",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDependencyUpdaterLibrary",
      "path" : "Sources/SwiftDependencyUpdaterLibrary",
      "product_dependencies" : [
        "ArgumentParser",
        "ShellOut",
        "Rainbow",
        "Releases"
      ],
      "product_memberships" : [
        "SwiftDependencyUpdaterLibrary",
        "swift-dependency-updater"
      ],
      "sources" : [
        "Dependency.swift",
        "Extensions/Collection.swift",
        "Extensions/String.swift",
        "Extensions/Version.swift",
        "PackageDescription.swift",
        "ResolvedPackageParser.swift",
        "Services/Git.swift",
        "Services/GitHub.swift",
        "SubCommands/GitHubCommand.swift",
        "SubCommands/ListCommand.swift",
        "SubCommands/UpdateCommand.swift",
        "SwiftDependencyUpdater.swift",
        "SwiftPackage.swift",
        "SwiftPackageUpdate.swift",
        "Update.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftDependencyUpdater",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDependencyUpdater",
      "path" : "Sources/SwiftDependencyUpdater",
      "product_memberships" : [
        "swift-dependency-updater"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftDependencyUpdaterLibrary"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.2"
}
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 -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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
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/onevcat/Rainbow.git
Fetching https://github.com/Nef10/Releases.git
Fetching https://github.com/Nef10/ShellOut.git
[1/164] Fetching releases
[165/464] Fetching releases, shellout
[363/1826] Fetching releases, shellout, rainbow
[1283/18747] Fetching releases, shellout, rainbow, swift-argument-parser
Fetched https://github.com/Nef10/Releases.git from cache (0.26s)
Fetched https://github.com/Nef10/ShellOut.git from cache (0.26s)
[2039/18283] Fetching rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow.git from cache (0.30s)
[1354/16921] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.78s)
Computing version for https://github.com/Nef10/Releases.git
Computed https://github.com/Nef10/Releases.git at 5.0.1 (1.43s)
Fetching https://github.com/JohnSundell/Require.git
[1/152] Fetching require
Fetched https://github.com/JohnSundell/Require.git from cache (0.20s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.0 (2.68s)
Computing version for https://github.com/Nef10/ShellOut.git
Computed https://github.com/Nef10/ShellOut.git at 2.3.1 (0.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.60s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (0.92s)
Creating working copy for https://github.com/Nef10/ShellOut.git
Working copy of https://github.com/Nef10/ShellOut.git resolved at 2.3.1
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.2
Creating working copy for https://github.com/JohnSundell/Require.git
Working copy of https://github.com/JohnSundell/Require.git resolved at 2.0.1
Creating working copy for https://github.com/Nef10/Releases.git
Working copy of https://github.com/Nef10/Releases.git resolved at 5.0.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.0
warning: 'releases': 'releases' dependency on 'https://github.com/JohnSundell/ShellOut.git' conflicts with dependency on 'https://github.com/Nef10/ShellOut.git' which has the same identity 'shellout'. this will be escalated to an error in future versions of SwiftPM.
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/42] Emitting module ArgumentParserToolInfo
[13/42] Emitting module Rainbow
[14/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/44] Compiling Rainbow ConditionalStyleBuilder.swift
[16/44] Compiling Rainbow ControlCode.swift
[17/44] Compiling Rainbow StringGenerator.swift
[18/44] Compiling Rainbow Style.swift
[19/44] Compiling Rainbow String+ConditionalStyling.swift
[20/44] Compiling Rainbow String+Rainbow.swift
[21/44] Wrapping AST for ArgumentParserToolInfo for debugging
[23/88] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/88] Compiling ArgumentParser CompletionsGenerator.swift
[25/88] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/88] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/88] Compiling Rainbow StyledStringBuilder.swift
[28/88] Emitting module Require
[29/88] Compiling Require Require.swift
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:32:29: error: cannot find 'NSException' in scope
30 |
31 |             #if !os(Linux)
32 |             let exception = NSException(
   |                             `- error: cannot find 'NSException' in scope
33 |                 name: .invalidArgumentException,
34 |                 reason: message,
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:33:24: error: cannot infer contextual base in reference to member 'invalidArgumentException'
31 |             #if !os(Linux)
32 |             let exception = NSException(
33 |                 name: .invalidArgumentException,
   |                        `- error: cannot infer contextual base in reference to member 'invalidArgumentException'
34 |                 reason: message,
35 |                 userInfo: nil
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:35:27: error: 'nil' requires a contextual type
33 |                 name: .invalidArgumentException,
34 |                 reason: message,
35 |                 userInfo: nil
   |                           `- error: 'nil' requires a contextual type
36 |             )
37 |
[30/88] Compiling ArgumentParser Flag.swift
[31/88] Compiling ArgumentParser NameSpecification.swift
[32/88] Compiling ArgumentParser ArgumentHelp.swift
[33/88] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'releases': 'releases' dependency on 'https://github.com/JohnSundell/ShellOut.git' conflicts with dependency on 'https://github.com/Nef10/ShellOut.git' which has the same identity 'shellout'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write swift-version-24593BA9C3E375BF.txt
[4/34] Compiling Require Require.swift
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:32:29: error: cannot find 'NSException' in scope
30 |
31 |             #if !os(Linux)
32 |             let exception = NSException(
   |                             `- error: cannot find 'NSException' in scope
33 |                 name: .invalidArgumentException,
34 |                 reason: message,
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:33:24: error: cannot infer contextual base in reference to member 'invalidArgumentException'
31 |             #if !os(Linux)
32 |             let exception = NSException(
33 |                 name: .invalidArgumentException,
   |                        `- error: cannot infer contextual base in reference to member 'invalidArgumentException'
34 |                 reason: message,
35 |                 userInfo: nil
/host/spi-builder-workspace/.build/checkouts/Require/Sources/Require.swift:35:27: error: 'nil' requires a contextual type
33 |                 name: .invalidArgumentException,
34 |                 reason: message,
35 |                 userInfo: nil
   |                           `- error: 'nil' requires a contextual type
36 |             )
37 |
[5/34] Emitting module Require
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/34] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[7/34] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
BUILD FAILURE 6.1 wasm