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-info, reference main (cae0d2), with Swift 6.1 for Wasm on 23 Oct 2025 22:47:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/marinofelipe/swift-package-info.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/marinofelipe/swift-package-info
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cae0d2d Update CI badge to be a clickable link
Cloned https://github.com/marinofelipe/swift-package-info.git
Revision (git rev-parse @):
cae0d2d5f225577925b21f1ebbdd90be854c2bc1
SUCCESS checkout https://github.com/marinofelipe/swift-package-info.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/marinofelipe/swift-package-info.git
https://github.com/marinofelipe/swift-package-info.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" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.7.1",
            "upper_bound" : "8.8.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.git"
    },
    {
      "identity" : "http_client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.4",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/marinofelipe/http_client"
    },
    {
      "identity" : "swift-package-manager",
      "requirement" : {
        "revision" : [
          "swift-6.2-DEVELOPMENT-SNAPSHOT-2025-10-01-a"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-package-manager"
    }
  ],
  "manifest_display_name" : "swift-package-info",
  "name" : "swift-package-info",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "swift-package-info",
      "targets" : [
        "Run"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftPackageInfo",
      "targets" : [
        "SwiftPackageInfo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SwiftPackageInfoTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPackageInfoTests",
      "path" : "Tests/SwiftPackageInfoTests",
      "sources" : [
        "LibraryTests.swift"
      ],
      "target_dependencies" : [
        "SwiftPackageInfo",
        "CoreTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftPackageInfo",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPackageInfo",
      "path" : "Sources/SwiftPackageInfo",
      "product_memberships" : [
        "SwiftPackageInfo"
      ],
      "sources" : [
        "SwiftPackageInfoLibrary.swift"
      ],
      "target_dependencies" : [
        "App",
        "Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RunTests",
      "module_type" : "SwiftTarget",
      "name" : "RunTests",
      "path" : "Tests/RunTests",
      "sources" : [
        "RunE2ETests.swift"
      ],
      "target_dependencies" : [
        "Run"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Run",
      "module_type" : "SwiftTarget",
      "name" : "Run",
      "path" : "Sources/Run",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "swift-package-info"
      ],
      "sources" : [
        "ExpressibleByArgument+Run.swift",
        "Subcommands/BinarySize.swift",
        "Subcommands/Dependencies.swift",
        "Subcommands/FullAnalyzes.swift",
        "Subcommands/Platforms.swift",
        "SwiftPackageInfo.swift"
      ],
      "target_dependencies" : [
        "App",
        "Reports",
        "Core"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ReportsTests",
      "module_type" : "SwiftTarget",
      "name" : "ReportsTests",
      "path" : "Tests/ReportsTests",
      "sources" : [
        "Generators/ConsoleReportGeneratorTests.swift",
        "Generators/JSONDumpReportGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "Reports",
        "CoreTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Reports",
      "module_type" : "SwiftTarget",
      "name" : "Reports",
      "path" : "Sources/Reports",
      "product_memberships" : [
        "swift-package-info"
      ],
      "sources" : [
        "Generators/ConsoleReportGenerator.swift",
        "Generators/JSONDumpReportGenerator.swift",
        "Generators/ReportGenerating.swift",
        "Report.swift",
        "ReportCell.swift",
        "ReportFormat.swift",
        "Reporting.swift"
      ],
      "target_dependencies" : [
        "Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreTests",
      "path" : "Tests/CoreTests",
      "sources" : [
        "Helpers/FileManager+CoreTests.swift",
        "Models/PackageDefinitionTests.swift",
        "Models/SizeOnDiskTests.swift",
        "ProvidedInfoTests.swift",
        "URLExtensionTests.swift"
      ],
      "target_dependencies" : [
        "Core",
        "CoreTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoreTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "CoreTestSupport",
      "path" : "Sources/CoreTestSupport",
      "sources" : [
        "Doubles/Fixtures/Fixture+ProvidedInfo.swift",
        "Doubles/Fixtures/Fixture+SwiftPackage.swift",
        "Doubles/Fixtures/Fixture.swift",
        "Doubles/Mocks/ProgressAnimationMock.swift",
        "Doubles/Mocks/TerminalControllerMock.swift",
        "Extensions/XCTest+TestSupport.swift"
      ],
      "target_dependencies" : [
        "Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Core",
      "module_type" : "SwiftTarget",
      "name" : "Core",
      "path" : "Sources/Core",
      "product_dependencies" : [
        "SwiftPM"
      ],
      "product_memberships" : [
        "swift-package-info",
        "SwiftPackageInfo"
      ],
      "sources" : [
        "Console.swift",
        "Extensions/AbsolutePath+Core.swift",
        "Extensions/Array+Core.swift",
        "Extensions/JSONEncoder+Core.swift",
        "Extensions/KeyPath+Core.swift",
        "Extensions/Result+Core.swift",
        "Extensions/URL+Core.swift",
        "Extensions/Version+Core.swift",
        "InfoProvider.swift",
        "Models/PackageDefinition.swift",
        "Models/PackageModel.swift",
        "Models/ResurceState.swift",
        "Models/SizeOnDisk.swift",
        "PackageLoader.swift",
        "Shell.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppTests",
      "module_type" : "SwiftTarget",
      "name" : "AppTests",
      "path" : "Tests/AppTests",
      "sources" : [
        "Fixtures/Fixture+PackageContent.swift",
        "Providers/BinarySizeProvider/BinarySizeProviderErrorTests.swift",
        "Providers/BinarySizeProvider/BinarySizeProviderTests.swift",
        "Providers/DependenciesProvider/DependenciesProviderTests.swift",
        "Providers/PlatformsProvider/PlatformsProviderTests.swift"
      ],
      "target_dependencies" : [
        "App",
        "CoreTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "App",
      "module_type" : "SwiftTarget",
      "name" : "App",
      "path" : "Sources/App",
      "product_dependencies" : [
        "XcodeProj",
        "CombineHTTPClient"
      ],
      "product_memberships" : [
        "swift-package-info",
        "SwiftPackageInfo"
      ],
      "sources" : [
        "Providers/BinarySizeProvider/AppManager.swift",
        "Providers/BinarySizeProvider/BinarySizeProvider.swift",
        "Providers/BinarySizeProvider/SizeMeasurer.swift",
        "Providers/DependenciesProvider/DependenciesProvider.swift",
        "Providers/PlatformsProvider/PlatformsProvider.swift",
        "Services/SwiftPackageService.swift",
        "Services/SwiftPackageValidator.swift"
      ],
      "target_dependencies" : [
        "Core"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 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/165505] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager from cache (14.30s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29313] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (3.24s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72630] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.23s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6979] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.54s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35894] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (3.40s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/5065] Fetching swift-system
[153/5252] Fetching swift-system, swift-toolchain-sqlite
[5085/11923] Fetching swift-system, swift-toolchain-sqlite, swift-certificates
[5219/28606] Fetching swift-system, swift-toolchain-sqlite, swift-certificates, swift-argument-parser
[14617/45930] Fetching swift-system, swift-toolchain-sqlite, swift-certificates, swift-argument-parser, swift-crypto
[16431/64129] Fetching swift-system, swift-toolchain-sqlite, swift-certificates, swift-argument-parser, swift-crypto, swift-collections
Fetched https://github.com/apple/swift-certificates.git from cache (2.12s)
Fetching https://github.com/marinofelipe/http_client
[32403/57458] Fetching swift-system, swift-toolchain-sqlite, swift-argument-parser, swift-crypto, swift-collections
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (2.39s)
[44625/57271] Fetching swift-system, swift-argument-parser, swift-crypto, swift-collections
Fetching https://github.com/tuist/XcodeProj.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.43s)
[28288/40588] Fetching swift-system, swift-crypto, swift-collections
[33140/40899] Fetching swift-system, swift-crypto, swift-collections, http_client
Fetched https://github.com/marinofelipe/http_client from cache (0.63s)
[16153/22389] Fetching swift-system, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (2.81s)
[16674/45981] Fetching swift-system, swift-crypto, xcodeproj
Fetched https://github.com/apple/swift-system.git from cache (3.62s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.67s)
[23121/23592] Fetching xcodeproj
Fetched https://github.com/tuist/XcodeProj.git from cache (1.85s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (4.98s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.7.1 (0.76s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/1438] Fetching pathkit
[419/3565] Fetching pathkit, aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.35s)
Fetched https://github.com/kylef/PathKit.git from cache (0.35s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (1.00s)
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.61s)
Computing version for https://github.com/marinofelipe/http_client
Computed https://github.com/marinofelipe/http_client at 0.0.5 (0.83s)
Fetching https://github.com/apple/swift-log.git
[1/4050] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.72s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.48s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.39s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.35s)
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.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (1.02s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (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.84s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.69s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.51s)
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-DEVELOPMENT-SNAPSHOT-2025-10-01-a (0da281d)
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/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.7.1
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/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/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-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/marinofelipe/http_client
Working copy of https://github.com/marinofelipe/http_client resolved at 0.0.5
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/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-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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/640] Write sources
[14/640] Compiling a_i2d_fp.c
[15/640] Compiling a_dup.c
[16/640] Compiling a_bool.c
[17/640] Compiling a_d2i_fp.c
[18/640] Compiling a_gentm.c
[19/640] Compiling llvmSupport Valgrind.cpp
[20/640] Compiling a_bitstr.c
[21/640] Compiling llvmSupport UnicodeCaseFold.cpp
[22/640] Write swift-version-24593BA9C3E375BF.txt
[23/640] Compiling llvmSupport circular_raw_ostream.cpp
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:72:17: error: no member named 'thread' in namespace 'std'
   72 |     return std::thread::hardware_concurrency();
      |            ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:83:27: error: no member named 'thread' in namespace 'std'
   83 |   if (unsigned Val = std::thread::hardware_concurrency())
      |                      ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:90:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Threading.inc:22:10: fatal error: 'pthread.h' file not found
   22 | #include <pthread.h>
      |          ^~~~~~~~~~~
3 errors generated.
[24/640] Compiling llvmSupport Threading.cpp
[431/640] Compiling llvmSupport YAMLParser.cpp
[543/640] Compiling llvmSupport raw_ostream.cpp
[549/640] Compiling llvmSupport Unicode.cpp
[572/640] Compiling llvmSupport Twine.cpp
[573/640] Compiling llvmSupport TargetParser.cpp
[573/640] Compiling llvmSupport Triple.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/618] Write sources
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:72:17: error: no member named 'thread' in namespace 'std'
   72 |     return std::thread::hardware_concurrency();
      |            ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:83:27: error: no member named 'thread' in namespace 'std'
   83 |   if (unsigned Val = std::thread::hardware_concurrency())
      |                      ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:90:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Threading.inc:22:10: fatal error: 'pthread.h' file not found
   22 | #include <pthread.h>
      |          ^~~~~~~~~~~
3 errors generated.
[25/619] Compiling llvmSupport Threading.cpp
[25/619] Compiling llvmSupport Unicode.cpp
[25/619] Compiling llvmSupport YAMLParser.cpp
[25/619] Compiling llvmSupport Twine.cpp
[25/619] Compiling llvmSupport TargetParser.cpp
[25/619] Compiling llvmSupport StringSaver.cpp
[25/619] Compiling llvmSupport raw_ostream.cpp
[25/619] Compiling llvmSupport Triple.cpp
BUILD FAILURE 6.1 wasm