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 1.6.0 (15cc85), with Swift 6.1 for Wasm on 31 May 2025 00:51:28 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/marinofelipe/swift-package-info.git
Reference: 1.6.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/marinofelipe/swift-package-info
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at 15cc859 Update version in code
Cloned https://github.com/marinofelipe/swift-package-info.git
Revision (git rev-parse @):
15cc8592bae32b3b3bcce3ac1187e49457c9bbeb
SUCCESS checkout https://github.com/marinofelipe/swift-package-info.git at 1.6.0
========================================
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.2.1",
            "upper_bound" : "1.3.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.0.3-RELEASE"
        ]
      },
      "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" : [
    "4",
    "5"
  ],
  "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" : [
        "RunTests.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",
        "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" : "5.9"
}
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-package-manager
[1/154821] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager from cache (15.56s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28992] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.39s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6765] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.69s)
Fetching https://github.com/apple/swift-driver.git
[1/34636] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (3.19s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70541] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.75s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-collections.git
[1/13936] Fetching swift-crypto
[2/24593] Fetching swift-crypto, yams
[3/41184] Fetching swift-crypto, yams, swift-collections
[4/45575] Fetching swift-crypto, yams, swift-collections, swift-system
[48/60961] Fetching swift-crypto, yams, swift-collections, swift-system, swift-argument-parser
[441/67116] Fetching swift-crypto, yams, swift-collections, swift-system, swift-argument-parser, swift-certificates
Fetched https://github.com/apple/swift-system.git from cache (2.46s)
[47846/62725] Fetching swift-crypto, yams, swift-collections, swift-argument-parser, swift-certificates
Fetching https://github.com/marinofelipe/http_client
[62726/63036] Fetching swift-crypto, yams, swift-collections, swift-argument-parser, swift-certificates, http_client
Fetched https://github.com/apple/swift-certificates.git from cache (4.43s)
Fetching https://github.com/tuist/XcodeProj.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.45s)
Fetched https://github.com/apple/swift-collections.git from cache (4.46s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.48s)
Fetched https://github.com/jpsim/Yams.git from cache (4.49s)
Fetched https://github.com/marinofelipe/http_client from cache (2.05s)
[1/23290] Fetching xcodeproj
Fetched https://github.com/tuist/XcodeProj.git from cache (1.84s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (7.08s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.7.1 (0.62s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/1411] Fetching pathkit
[552/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.30s)
Fetched https://github.com/tadija/AEXML.git from cache (0.31s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (1.02s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.82s)
Computing version for https://github.com/marinofelipe/http_client
Computed https://github.com/marinofelipe/http_client at 0.0.5 (0.59s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.54s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.29s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.92s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.3.0 (0.73s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.36s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.80s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.99s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.03s)
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.4
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.3
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.0.3-RELEASE (bc68941)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/6.0 (3e5d9c8)
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.3.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.3.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/marinofelipe/http_client
Working copy of https://github.com/marinofelipe/http_client resolved at 0.0.5
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.2.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/6.0 (72e785e)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/6.0 (f56e1f2)
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.0 (0687f71)
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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/640] Write sources
[12/640] Compiling aesni-x86-windows.windows.x86.S
[13/640] Compiling a_gentm.c
[14/640] Compiling a_d2i_fp.c
[15/640] Compiling llvmSupport UnicodeCaseFold.cpp
[16/640] Compiling llvmSupport Valgrind.cpp
[17/640] Compiling a_bool.c
[18/640] Write swift-version-24593BA9C3E375BF.txt
[19/640] Compiling llvmSupport circular_raw_ostream.cpp
[20/640] Compiling llvmSupport Unicode.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.
[21/648] Compiling llvmSupport Threading.cpp
[21/648] Compiling llvmSupport StringSaver.cpp
[21/648] Compiling llvmSupport TargetParser.cpp
[21/648] Compiling llvmSupport Triple.cpp
[21/648] Compiling llvmSupport Twine.cpp
[21/648] Compiling llvmSupport raw_ostream.cpp
[21/648] Compiling llvmSupport YAMLParser.cpp
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: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/620] 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.
[49/621] Compiling llvmSupport Threading.cpp
[49/621] Compiling llvmSupport raw_ostream.cpp
[49/621] Compiling llvmSupport StringRef.cpp
[49/621] Compiling llvmSupport YAMLParser.cpp
[49/621] Compiling llvmSupport StringSaver.cpp
[49/621] Compiling llvmSupport Twine.cpp
[49/621] Compiling llvmSupport TargetParser.cpp
[49/621] Compiling llvmSupport Triple.cpp
BUILD FAILURE 6.1 wasm