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 spmgraph, reference main (47ad8a), with Swift 6.1 for Wasm on 4 Nov 2025 09:56:04 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/getyourguide/spmgraph.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/getyourguide/spmgraph
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 47ad8ac Merge pull request #45 from getyourguide/readme-tweaks
Cloned https://github.com/getyourguide/spmgraph.git
Revision (git rev-parse @):
47ad8ac436a4f342145f3a3a612736d91e4882cd
SUCCESS checkout https://github.com/getyourguide/spmgraph.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/getyourguide/spmgraph.git
https://github.com/getyourguide/spmgraph.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "graphviz",
      "requirement" : {
        "exact" : [
          "0.4.2"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/GraphViz.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.2",
            "upper_bound" : "1.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-package-manager",
      "requirement" : {
        "revision" : [
          "swift-6.2-RELEASE"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-package-manager"
    },
    {
      "identity" : "filemonitor",
      "requirement" : {
        "revision" : [
          "1.2.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/aus-der-Technik/FileMonitor"
    }
  ],
  "manifest_display_name" : "spmgraph",
  "name" : "spmgraph",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "spmgraph",
      "targets" : [
        "SPMGraphExecutable"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SPMGraphKit",
      "targets" : [
        "SPMGraphVisualize",
        "SPMGraphLint",
        "SPMGraphTests"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SPMGraphDescriptionInterface",
      "targets" : [
        "SPMGraphDescriptionInterface"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SPMGraphVisualize",
      "module_type" : "SwiftTarget",
      "name" : "SPMGraphVisualize",
      "path" : "Sources/SPMGraphVisualize",
      "product_dependencies" : [
        "GraphViz",
        "SwiftPMDataModel"
      ],
      "product_memberships" : [
        "spmgraph",
        "SPMGraphKit"
      ],
      "sources" : [
        "GraphViz/GraphVizWrapper.swift",
        "Helpers/Array+Extensions.swift",
        "Helpers/Edge+Factories.swift",
        "Helpers/HelperFunctions.swift",
        "Helpers/Node+Attributes.swift",
        "Helpers/Node+Factories.swift",
        "Package+externalDependencies.swift",
        "SPMGraphVisualize.swift"
      ],
      "target_dependencies" : [
        "Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SPMGraphTests",
      "module_type" : "SwiftTarget",
      "name" : "SPMGraphTests",
      "path" : "Sources/SPMGraphTests",
      "product_memberships" : [
        "spmgraph",
        "SPMGraphKit"
      ],
      "sources" : [
        "SPMGraphTests.swift"
      ],
      "target_dependencies" : [
        "Core",
        "SPMGraphDescriptionInterface"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SPMGraphLint",
      "module_type" : "SwiftTarget",
      "name" : "SPMGraphLint",
      "path" : "Sources/SPMGraphLint",
      "product_memberships" : [
        "spmgraph",
        "SPMGraphKit"
      ],
      "sources" : [
        "SPMGraphLint.swift"
      ],
      "target_dependencies" : [
        "Core",
        "SPMGraphDescriptionInterface"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SPMGraphExecutableTests",
      "module_type" : "SwiftTarget",
      "name" : "SPMGraphExecutableTests",
      "path" : "Tests/SPMGraphExecutableTests",
      "sources" : [
        "SPMGraphExecutableE2ETests.swift"
      ],
      "target_dependencies" : [
        "SPMGraphExecutable",
        "FixtureSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SPMGraphExecutable",
      "module_type" : "SwiftTarget",
      "name" : "SPMGraphExecutable",
      "path" : "Sources/SPMGraphExecutable",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "spmgraph"
      ],
      "sources" : [
        "SPMGraph.swift",
        "Subcommands/Config.swift",
        "Subcommands/Lint.swift",
        "Subcommands/Load.swift",
        "Subcommands/Tests.swift",
        "Subcommands/Visualize.swift"
      ],
      "target_dependencies" : [
        "SPMGraphVisualize",
        "SPMGraphLint",
        "SPMGraphTests",
        "SPMGraphConfigSetup"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SPMGraphDescriptionInterfaceTests",
      "module_type" : "SwiftTarget",
      "name" : "SPMGraphDescriptionInterfaceTests",
      "path" : "Tests/SPMGraphDescriptionInterfaceTests",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "sources" : [
        "SPMGraphConfigTests.swift"
      ],
      "target_dependencies" : [
        "SPMGraphDescriptionInterface",
        "Core",
        "FixtureSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SPMGraphDescriptionInterface",
      "module_type" : "SwiftTarget",
      "name" : "SPMGraphDescriptionInterface",
      "path" : "Sources/SPMGraphDescriptionInterface",
      "product_dependencies" : [
        "SwiftPMDataModel"
      ],
      "product_memberships" : [
        "spmgraph",
        "SPMGraphKit",
        "SPMGraphDescriptionInterface"
      ],
      "sources" : [
        "SPMGraphConfigInterface.swift",
        "SPMGraphConfigLoader.swift"
      ],
      "target_dependencies" : [
        "Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SPMGraphConfigSetup",
      "module_type" : "SwiftTarget",
      "name" : "SPMGraphConfigSetup",
      "path" : "Sources/SPMGraphConfigSetup",
      "product_dependencies" : [
        "FileMonitor"
      ],
      "product_memberships" : [
        "spmgraph"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SPMGraphConfigSetup/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "SPMGraphEdit.swift",
        "SPMGraphLoad.swift"
      ],
      "target_dependencies" : [
        "Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FixtureSupport",
      "module_type" : "SwiftTarget",
      "name" : "FixtureSupport",
      "path" : "Sources/FixtureSupport",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/FixtureSupport/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Package+Fixture.swift"
      ],
      "target_dependencies" : [
        "SPMGraphDescriptionInterface",
        "Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Core",
      "module_type" : "SwiftTarget",
      "name" : "Core",
      "path" : "Sources/Core",
      "product_dependencies" : [
        "SwiftPMDataModel"
      ],
      "product_memberships" : [
        "spmgraph",
        "SPMGraphKit",
        "SPMGraphDescriptionInterface"
      ],
      "sources" : [
        "Extensions/AbsolutePath+Core.swift",
        "Extensions/KeyPath+Core.swift",
        "Extensions/ProcessInfo+Core.swift",
        "GitClient.swift",
        "PackageLoader.swift",
        "System.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-package-manager
[1/166101] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager from cache (14.11s)
Fetching https://github.com/aus-der-Technik/FileMonitor
[1/358] Fetching filemonitor
Fetched https://github.com/aus-der-Technik/FileMonitor from cache (0.24s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29325] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.42s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72712] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.98s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7005] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.51s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35954] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (2.37s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-crypto.git
[1/197] Fetching swift-toolchain-sqlite
[19/16883] Fetching swift-toolchain-sqlite, swift-argument-parser
[20/23554] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates
[587/28717] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-system
[13502/47003] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-system, swift-collections
[14302/64431] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-system, swift-collections, swift-crypto
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
[19043/59268] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-collections, swift-crypto
Fetching https://github.com/tuist/GraphViz.git
[32622/59840] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-collections, swift-crypto, graphviz
Fetched https://github.com/tuist/GraphViz.git from cache (0.44s)
[33352/59268] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-collections, swift-crypto
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.09s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.10s)
[28853/52400] Fetching swift-argument-parser, swift-collections, swift-crypto
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.02s)
[29092/35714] Fetching swift-collections, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (2.05s)
[11154/17428] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.08s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (3.62s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.59s)
Computing version for https://github.com/tuist/GraphViz.git
Computed https://github.com/tuist/GraphViz.git at 0.4.2 (0.54s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.62s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.29s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (5.79s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (2.85s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (1.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.66s)
Creating working copy for https://github.com/apple/swift-package-manager
Working copy of https://github.com/apple/swift-package-manager resolved at swift-6.2-RELEASE (3cf1cb6)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at release/6.2 (5a87516)
Creating working copy for https://github.com/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at release/6.2 (5a993c8)
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.7
Creating working copy for https://github.com/tuist/GraphViz.git
Working copy of https://github.com/tuist/GraphViz.git resolved at 0.4.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at release/6.2 (d80e185)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at release/6.2 (4f9ac60)
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.6.2
Creating working copy for https://github.com/aus-der-Technik/FileMonitor
Working copy of https://github.com/aus-der-Technik/FileMonitor resolved at 1.2.0 (ef22f14)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.0.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/541] Write sources
[15/541] Compiling hexdump.c
[15/541] Copying Resources
[18/541] Compiling cpu_arm.c
[18/541] Compiling p224-64.c
[19/541] Write sources
[25/541] Compiling posix_time.c
[26/541] Compiling a_octet.c
[27/541] Write sources
[63/541] Compiling _SwiftSyntaxCShims PlatformMutex.c
[64/541] Compiling TSCclibc strerror.c
[65/541] Compiling a_type.c
[66/541] Compiling TSCclibc libc.c
[67/541] Compiling CSystem shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:15:
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/include/process.h:3:10: fatal error: 'spawn.h' file not found
    3 | #include <spawn.h>
      |          ^~~~~~~~~
1 error generated.
[68/541] Compiling TSCclibc process.c
[68/541] Compiling fiat_curve25519_adx_square.S
[68/541] Compiling fiat_curve25519_adx_mul.S
[68/541] Compiling v3_skey.c
[68/541] Compiling v3_utl.c
[68/541] Compiling tasn_dec.c
[68/541] Compiling CCryptoBoringSSLShims shims.c
[68/541] Write swift-version-24593BA9C3E375BF.txt
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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/475] Compiling fiat_curve25519_adx_mul.S
[3/475] Compiling fiat_curve25519_adx_square.S
In file included from /host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:15:
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/include/process.h:3:10: fatal error: 'spawn.h' file not found
    3 | #include <spawn.h>
      |          ^~~~~~~~~
1 error generated.
[4/475] Write swift-version-24593BA9C3E375BF.txt
[5/475] Compiling TSCclibc process.c
[5/475] Compiling v3_pmaps.c
[5/475] Compiling v3_pcons.c
[5/475] Compiling v3_purp.c
[5/475] Compiling v3_utl.c
[5/475] Compiling v3_prn.c
[5/475] Compiling v3_skey.c
[5/475] Compiling CCryptoBoringSSLShims shims.c
BUILD FAILURE 6.1 wasm