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 TargetDependencyChecker, reference 0.1.0 (defb48), with Swift 6.1 for Wasm on 29 May 2025 12:21:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/LuizZak/TargetDependencyChecker.git
Reference: 0.1.0
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/LuizZak/TargetDependencyChecker
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at defb489 Updating to Swift 5.9
Cloned https://github.com/LuizZak/TargetDependencyChecker.git
Revision (git rev-parse @):
defb48944765d0ab81f0e0a430b68f6cd15bed4a
SUCCESS checkout https://github.com/LuizZak/TargetDependencyChecker.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/LuizZak/TargetDependencyChecker.git
https://github.com/LuizZak/TargetDependencyChecker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "revision" : [
          "509.1.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "console",
      "requirement" : {
        "exact" : [
          "0.8.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/LuizZak/console.git"
    }
  ],
  "manifest_display_name" : "TargetDependencyChecker",
  "name" : "TargetDependencyChecker",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TargetDependencyChecker",
      "targets" : [
        "TargetDependencyChecker"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TargetDependencyCheckerTests",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyCheckerTests",
      "path" : "Tests/TargetDependencyCheckerTests",
      "sources" : [
        "TargetDependencyCheckerTests.swift"
      ],
      "target_dependencies" : [
        "TargetDependencyChecker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TargetDependencyCheckerLibTests",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyCheckerLibTests",
      "path" : "Tests/TargetDependencyCheckerLibTests",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser"
      ],
      "sources" : [
        "DefaultDependencyCheckerDelegateTests.swift",
        "DependencyGraphTests.swift",
        "GraphVizGeneratorTests.swift",
        "MutexTests.swift",
        "PackageBuilder.swift"
      ],
      "target_dependencies" : [
        "TargetDependencyCheckerLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TargetDependencyCheckerLib",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyCheckerLib",
      "path" : "Sources/TargetDependencyCheckerLib",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "Console"
      ],
      "product_memberships" : [
        "TargetDependencyChecker"
      ],
      "sources" : [
        "Data/FileImportInspection.swift",
        "Data/ImportVisit.swift",
        "Data/ImportedFrameworkDeclaration.swift",
        "Data/Package.swift",
        "Data/SourceFile.swift",
        "Data/SystemFrameworks.swift",
        "Data/Target.swift",
        "DefaultDependencyCheckerDelegate.swift",
        "DependencyChecker.swift",
        "DependencyCheckerDelegate.swift",
        "DependencyCheckerEntryPoint.swift",
        "DependencyGraph.swift",
        "DiagnosticsOutput/DiagnosticsOutput.swift",
        "DiagnosticsOutput/TerminalDiagnosticsOutput.swift",
        "DiagnosticsOutput/XcodeDiagnosticsOutput.swift",
        "DirectedGraph.swift",
        "DiskFileManagerDelegate.swift",
        "FileManagerDelegate.swift",
        "GraphViz/GraphViz.swift",
        "GraphVizEntryPoint.swift",
        "GraphVizGenerator.swift",
        "JSON.swift",
        "Mutex.swift",
        "PackageDiscovery.swift",
        "PackageManager.swift",
        "PathUtils.swift",
        "SourceFileManager.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TargetDependencyChecker",
      "module_type" : "SwiftTarget",
      "name" : "TargetDependencyChecker",
      "path" : "Sources/TargetDependencyChecker",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "TargetDependencyChecker"
      ],
      "sources" : [
        "CheckCommand.swift",
        "GraphVizCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "TargetDependencyCheckerLib"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-syntax
[1/70452] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (5.23s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/LuizZak/console.git
[1/352] Fetching console
[353/15731] Fetching console, swift-argument-parser
Fetched https://github.com/LuizZak/console.git from cache (1.17s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.17s)
Computing version for https://github.com/LuizZak/console.git
Computed https://github.com/LuizZak/console.git at 0.8.0 (2.88s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.66s)
Creating working copy for https://github.com/LuizZak/console.git
Working copy of https://github.com/LuizZak/console.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 509.1.0 (43c802f)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/32] Emitting module ArgumentParserToolInfo
[12/32] Compiling SwiftSyntax509 Empty.swift
[13/32] Emitting module SwiftSyntax509
[15/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/34] Compiling Console LinuxSupport.swift
[18/34] Compiling Console Console+Command.swift
[18/34] Wrapping AST for SwiftSyntax509 for debugging
[19/79] Wrapping AST for ArgumentParserToolInfo for debugging
[21/117] Compiling Console ConsoleMenuController.swift
[22/117] Emitting module Console
[23/117] Compiling Console ConsoleDataProvider.swift
[24/117] Compiling Console Console+Paging.swift
[25/117] Compiling Console ConsoleColor+Terminal.swift
[26/117] Compiling Console Console.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Console.swift:270:13: error: cannot find 'Process' in scope
268 |
269 |         let process =
270 |             Process
    |             `- error: cannot find 'Process' in scope
271 |                 .launchedProcess(launchPath: "/usr/bin/tput",
272 |                                  arguments: ["smcup"])
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Console.swift:287:13: error: cannot find 'Process' in scope
285 |
286 |         let process =
287 |             Process
    |             `- error: cannot find 'Process' in scope
288 |                 .launchedProcess(launchPath: "/usr/bin/tput",
289 |                                  arguments: ["rmcup"])
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/24] Compiling SwiftSyntax509 Empty.swift
[4/24] Emitting module SwiftSyntax509
[5/25] Compiling Console LinuxSupport.swift
[6/25] Compiling Console Console+Command.swift
[7/25] Emitting module Console
[9/25] Compiling Console ConsoleDataProvider.swift
[10/25] Compiling Console Console.swift
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Console.swift:270:13: error: cannot find 'Process' in scope
268 |
269 |         let process =
270 |             Process
    |             `- error: cannot find 'Process' in scope
271 |                 .launchedProcess(launchPath: "/usr/bin/tput",
272 |                                  arguments: ["smcup"])
/host/spi-builder-workspace/.build/checkouts/console/Sources/Console/Console.swift:287:13: error: cannot find 'Process' in scope
285 |
286 |         let process =
287 |             Process
    |             `- error: cannot find 'Process' in scope
288 |                 .launchedProcess(launchPath: "/usr/bin/tput",
289 |                                  arguments: ["rmcup"])
[11/25] Compiling Console ConsoleColor+Terminal.swift
[12/24] Compiling Console ConsoleMenuController.swift
[13/57] Emitting module ArgumentParserToolInfo
[14/58] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/70] Compiling Console Console+Paging.swift
BUILD FAILURE 6.1 wasm