Build Information
Failed to build swift-package-info, reference 1.7.0 (21f1b1), with Swift 6.1 for Wasm on 17 Oct 2025 02:09:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marinofelipe/swift-package-info.git
Reference: 1.7.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.7.0 -> FETCH_HEAD
HEAD is now at 21f1b13 Add GH_TOKEN environment variable for release creation
Cloned https://github.com/marinofelipe/swift-package-info.git
Revision (git rev-parse @):
21f1b139628ea21c88af4a64338b60b01d2b68fc
SUCCESS checkout https://github.com/marinofelipe/swift-package-info.git at 1.7.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.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-0":/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/165070] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager from cache (41.93s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29309] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (6.54s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72562] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (23.26s)
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 (1.33s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35869] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (8.72s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-crypto.git
[1/16676] Fetching swift-argument-parser
[835/33899] Fetching swift-argument-parser, swift-crypto
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.35s)
Fetching https://github.com/marinofelipe/http_client
[1895/17223] Fetching swift-crypto
[2068/17410] Fetching swift-crypto, swift-toolchain-sqlite
[2087/24061] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates
[3630/29112] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates, swift-system
[3631/47314] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates, swift-system, swift-collections
[6601/47625] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates, swift-system, swift-collections, http_client
Fetched https://github.com/marinofelipe/http_client from cache (1.46s)
[8385/47314] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates, swift-system, swift-collections
Fetching https://github.com/tuist/XcodeProj.git
[19279/70891] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates, swift-system, swift-collections, xcodeproj
Fetched https://github.com/apple/swift-system.git from cache (3.45s)
[15729/65840] Fetching swift-crypto, swift-toolchain-sqlite, swift-certificates, swift-collections, xcodeproj
Fetched https://github.com/apple/swift-certificates.git from cache (8.89s)
[53878/59189] Fetching swift-crypto, swift-toolchain-sqlite, swift-collections, xcodeproj
Fetched https://github.com/apple/swift-crypto.git from cache (14.31s)
[41310/41966] Fetching swift-toolchain-sqlite, swift-collections, xcodeproj
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (11.55s)
Fetched https://github.com/apple/swift-collections.git from cache (11.78s)
Fetched https://github.com/tuist/XcodeProj.git from cache (11.55s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (18.47s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.7.1 (1.45s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1438] Fetching pathkit
[720/3565] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.86s)
Fetched https://github.com/tadija/AEXML.git from cache (0.91s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (2.73s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.56s)
Computing version for https://github.com/marinofelipe/http_client
Computed https://github.com/marinofelipe/http_client at 0.0.5 (1.82s)
Fetching https://github.com/apple/swift-log.git
[1/3943] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.84s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (11.17s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (1.94s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (3.79s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (2.02s)
Fetching https://github.com/apple/swift-asn1.git
[1/1645] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.75s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (2.39s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (1.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (2.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.75s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.63s)
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-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/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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.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.6.2
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-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-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/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/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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.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/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-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/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 llvmSupport Valgrind.cpp
[15/640] Compiling llvmSupport UnicodeCaseFold.cpp
[16/640] Compiling a_d2i_fp.c
[17/640] Compiling a_bool.c
[18/640] Compiling a_bitstr.c
[19/640] Write swift-version-24593BA9C3E375BF.txt
[20/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.
[21/640] Compiling llvmSupport Threading.cpp
[270/640] Compiling llvmSupport YAMLParser.cpp
[521/640] Compiling llvmSupport TargetParser.cpp
[571/640] Compiling llvmSupport raw_ostream.cpp
[572/640] Compiling llvmSupport Unicode.cpp
[572/640] Compiling llvmSupport Triple.cpp
[572/640] Compiling llvmSupport Twine.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/621] 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.
[53/622] Compiling llvmSupport Threading.cpp
[53/622] Compiling llvmSupport StringSaver.cpp
[53/622] Compiling llvmSupport Twine.cpp
[53/622] Compiling llvmSupport raw_ostream.cpp
[53/622] Compiling llvmSupport Unicode.cpp
[53/622] Compiling llvmSupport YAMLParser.cpp
[53/622] Compiling llvmSupport TargetParser.cpp
[53/622] Compiling llvmSupport Triple.cpp
BUILD FAILURE 6.1 wasm