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 swift-package-collection-generator, reference main (7bc251), with Swift 6.1 for Wasm on 18 Oct 2025 01:31:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/swiftlang/swift-package-collection-generator.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/swiftlang/swift-package-collection-generator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7bc2514 Merge pull request #71 from incertum/chore/workflow-permissions
Cloned https://github.com/swiftlang/swift-package-collection-generator.git
Revision (git rev-parse @):
7bc2514946443f31242f17c25365c97491674d27
SUCCESS checkout https://github.com/swiftlang/swift-package-collection-generator.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftlang/swift-package-collection-generator.git
https://github.com/swiftlang/swift-package-collection-generator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-package-manager",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-package-manager.git"
    },
    {
      "identity" : "swift-backtrace",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-backtrace.git"
    }
  ],
  "manifest_display_name" : "swift-package-collection-generator",
  "name" : "swift-package-collection-generator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "package-collection-generate",
      "targets" : [
        "PackageCollectionGenerator"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "package-collection-sign",
      "targets" : [
        "PackageCollectionSigner"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "package-collection-validate",
      "targets" : [
        "PackageCollectionValidator"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "package-collection-diff",
      "targets" : [
        "PackageCollectionDiff"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UtilitiesTests",
      "module_type" : "SwiftTarget",
      "name" : "UtilitiesTests",
      "path" : "Tests/UtilitiesTests",
      "sources" : [
        "GitUtilitiesTests.swift"
      ],
      "target_dependencies" : [
        "Utilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Utilities",
      "module_type" : "SwiftTarget",
      "name" : "Utilities",
      "path" : "Sources/Utilities",
      "product_dependencies" : [
        "SwiftPMPackageCollections"
      ],
      "product_memberships" : [
        "package-collection-generate",
        "package-collection-sign",
        "package-collection-validate",
        "package-collection-diff"
      ],
      "sources" : [
        "Git.swift",
        "Logging.swift",
        "Path.swift",
        "Shell.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestUtilities",
      "module_type" : "SwiftTarget",
      "name" : "TestUtilities",
      "path" : "Sources/TestUtilities",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftPMPackageCollections"
      ],
      "sources" : [
        "TestUtilities.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PackageCollectionValidatorTests",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionValidatorTests",
      "path" : "Tests/PackageCollectionValidatorTests",
      "sources" : [
        "PackageCollectionValidateTests.swift"
      ],
      "target_dependencies" : [
        "PackageCollectionValidator",
        "TestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PackageCollectionValidator",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionValidator",
      "path" : "Sources/PackageCollectionValidator",
      "product_dependencies" : [
        "SwiftPMPackageCollections",
        "ArgumentParser",
        "Backtrace"
      ],
      "product_memberships" : [
        "package-collection-validate"
      ],
      "sources" : [
        "PackageCollectionValidate.swift"
      ],
      "target_dependencies" : [
        "Utilities"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PackageCollectionSignerTests",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionSignerTests",
      "path" : "Tests/PackageCollectionSignerTests",
      "sources" : [
        "PackageCollectionSignTests.swift"
      ],
      "target_dependencies" : [
        "PackageCollectionSigner",
        "TestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PackageCollectionSigner",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionSigner",
      "path" : "Sources/PackageCollectionSigner",
      "product_dependencies" : [
        "SwiftPMPackageCollections",
        "ArgumentParser",
        "Backtrace"
      ],
      "product_memberships" : [
        "package-collection-sign"
      ],
      "sources" : [
        "PackageCollectionSign.swift"
      ],
      "target_dependencies" : [
        "Utilities"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PackageCollectionGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionGeneratorTests",
      "path" : "Tests/PackageCollectionGeneratorTests",
      "sources" : [
        "GitHubPackageMetadataProviderTests.swift",
        "PackageCollectionGenerateTests.swift",
        "PackageCollectionGeneratorInputTests.swift"
      ],
      "target_dependencies" : [
        "PackageCollectionGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PackageCollectionGenerator",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionGenerator",
      "path" : "Sources/PackageCollectionGenerator",
      "product_dependencies" : [
        "SwiftPMPackageCollections",
        "ArgumentParser",
        "Backtrace"
      ],
      "product_memberships" : [
        "package-collection-generate"
      ],
      "sources" : [
        "Models/PackageCollectionExtensions.swift",
        "Models/PackageCollectionGeneratorInput.swift",
        "Models/PackageDescription.swift",
        "Models/PackageManifest.swift",
        "PackageCollectionGenerate.swift",
        "PackageMetadataProviders/GitHubPackageMetadataProvider.swift",
        "PackageMetadataProviders/PackageMetadataProvider.swift"
      ],
      "target_dependencies" : [
        "Utilities"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PackageCollectionDiffTests",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionDiffTests",
      "path" : "Tests/PackageCollectionDiffTests",
      "sources" : [
        "PackageCollectionDiffTests.swift"
      ],
      "target_dependencies" : [
        "PackageCollectionDiff",
        "TestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PackageCollectionDiff",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionDiff",
      "path" : "Sources/PackageCollectionDiff",
      "product_dependencies" : [
        "SwiftPMPackageCollections",
        "ArgumentParser",
        "Backtrace"
      ],
      "product_memberships" : [
        "package-collection-diff"
      ],
      "sources" : [
        "PackageCollectionDiff.swift"
      ],
      "target_dependencies" : [
        "Utilities"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.git
[1/165185] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (16.55s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29309] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.45s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6975] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.53s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35870] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (11.70s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/187] Fetching swift-toolchain-sqlite
[20/16869] Fetching swift-toolchain-sqlite, swift-argument-parser
[855/23528] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates
[3589/28585] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-system
[3657/46793] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-certificates, swift-system, swift-collections
[5795/64024] 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 (1.71s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.71s)
[22935/42285] Fetching swift-toolchain-sqlite, swift-certificates, swift-collections, swift-crypto
Fetching https://github.com/swift-server/swift-backtrace.git
Fetched https://github.com/apple/swift-certificates.git from cache (1.85s)
[21497/35626] Fetching swift-toolchain-sqlite, swift-collections, swift-crypto
[22877/36257] Fetching swift-toolchain-sqlite, swift-collections, swift-crypto, swift-backtrace
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (2.46s)
[31381/36070] Fetching swift-collections, swift-crypto, swift-backtrace
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.87s)
[34750/35439] Fetching swift-collections, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (3.16s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (5.03s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.73s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.70s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (1.00s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (0.57s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.70s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (0.83s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.72s)
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/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
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-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/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (c54107d)
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 main (c26cd00)
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at main (cc79a4e)
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
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-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (9cd0607)
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-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.7
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/498] Write sources
[16/498] Compiling TSCclibc strerror.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.
[17/498] Compiling TSCclibc process.c
[17/498] Compiling x86_64-mont-linux.linux.x86_64.S
[17/498] Compiling sha256.c
[17/498] Compiling TSCclibc libc.c
[17/498] Compiling cbc.c
[17/498] Compiling poly_rq_mul.S
[17/498] Compiling x86-mont-windows.windows.x86.S
[17/498] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/483] Write sources
[14/483] Compiling TSCclibc libc.c
[14/483] Compiling CSystem shims.c
[16/483] Compiling fiat_curve25519_adx_square.S
[17/483] Compiling fiat_curve25519_adx_mul.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.
[18/483] Compiling TSCclibc process.c
[18/483] Compiling v3_pmaps.c
[18/483] Compiling v3_utl.c
[18/483] Compiling v3_skey.c
[18/483] Compiling v3_prn.c
[18/483] Compiling CCryptoBoringSSLShims shims.c
[18/483] Compiling v3_purp.c
[18/483] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm