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 (917c39), with Swift 6.1 for Wasm on 28 May 2025 06:32:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.63.1
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 917c39b Bump swift-argument-parser from 1.4.0 to 1.5.0
Cloned https://github.com/Nef10/swift-dependency-updater.git
Revision (git rev-parse @):
917c39b55e102dda1da62f0d1bff7f8c5b0af13d
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.5.0",
            "upper_bound" : "1.6.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.0.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",
        "ResolvedPackage.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" 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/apple/swift-argument-parser
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Nef10/ShellOut.git
Fetching https://github.com/Nef10/Releases.git
[1/164] Fetching releases
[44/464] Fetching releases, shellout
[344/1660] Fetching releases, shellout, rainbow
Fetched https://github.com/Nef10/Releases.git from cache (0.35s)
Fetched https://github.com/Nef10/ShellOut.git from cache (0.36s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.37s)
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.68s)
Computing version for https://github.com/Nef10/Releases.git
Computed https://github.com/Nef10/Releases.git at 5.0.1 (2.44s)
Fetching https://github.com/JohnSundell/Require.git
[1/152] Fetching require
Fetched https://github.com/JohnSundell/Require.git from cache (0.44s)
Computing version for https://github.com/Nef10/ShellOut.git
Computed https://github.com/Nef10/ShellOut.git at 2.3.1 (1.09s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.53s)
Computing version for https://github.com/JohnSundell/Require.git
Computed https://github.com/JohnSundell/Require.git at 2.0.1 (3.05s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (0.64s)
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
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/Nef10/ShellOut.git
Working copy of https://github.com/Nef10/ShellOut.git resolved at 2.3.1
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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.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
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/37] Emitting module ArgumentParserToolInfo
[12/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/38] Compiling Rainbow String+Rainbow.swift
[15/38] Compiling Rainbow StringGenerator.swift
[15/39] Wrapping AST for ArgumentParserToolInfo for debugging
[17/39] Compiling Rainbow Style.swift
[18/77] Emitting module ArgumentParser
[19/82] Compiling Rainbow Rainbow.swift
[20/82] Compiling ArgumentParser NameSpecification.swift
[21/82] Compiling ArgumentParser Option.swift
[22/82] Compiling Rainbow OutputTarget.swift
[23/82] Compiling ArgumentParser ArgumentVisibility.swift
[24/82] Compiling ArgumentParser CompletionKind.swift
[25/82] Compiling ArgumentParser Errors.swift
[26/82] Compiling ArgumentParser Flag.swift
[27/82] Emitting module Rainbow
[28/83] Emitting module Require
[29/83] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/83] 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
[31/83] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/29] Emitting module Require
[4/29] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/29] 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
[6/29] 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
[7/29] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm