Build Information
Failed to build swift-package-info, reference main (15cc85
), with Swift 6.1 for Wasm on 31 May 2025 00:50:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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 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 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.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-3":/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 (11.82s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28992] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.33s)
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.64s)
Fetching https://github.com/apple/swift-driver.git
[1/34636] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (2.25s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70541] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.37s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/jpsim/Yams.git
[1/4391] Fetching swift-system
[2/10546] Fetching swift-system, swift-certificates
[4132/27137] Fetching swift-system, swift-certificates, swift-collections
[10842/37794] Fetching swift-system, swift-certificates, swift-collections, yams
[12527/51730] Fetching swift-system, swift-certificates, swift-collections, yams, swift-crypto
[15011/67116] Fetching swift-system, swift-certificates, swift-collections, yams, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (2.60s)
Fetched https://github.com/apple/swift-certificates.git from cache (2.60s)
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/marinofelipe/http_client
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.61s)
Fetched https://github.com/apple/swift-collections.git from cache (2.64s)
Fetched https://github.com/jpsim/Yams.git from cache (2.64s)
[1/311] Fetching http_client
[312/23601] Fetching http_client, xcodeproj
Fetched https://github.com/apple/swift-crypto.git from cache (3.48s)
Fetched https://github.com/marinofelipe/http_client from cache (0.92s)
[16536/23290] Fetching xcodeproj
Fetched https://github.com/tuist/XcodeProj.git from cache (1.40s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (4.76s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.7.1 (0.88s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[1060/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.38s)
Fetched https://github.com/tadija/AEXML.git from cache (0.42s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (1.12s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (1.27s)
Computing version for https://github.com/marinofelipe/http_client
Computed https://github.com/marinofelipe/http_client at 0.0.5 (0.62s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.61s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.14s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.10s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.3.0 (0.71s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.40s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.59s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.88s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.70s)
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.3.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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-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/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/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-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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/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-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/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/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/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-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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
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
[4/640] Compiling llvmSupport UnicodeCaseFold.cpp
[5/640] Compiling llvmSupport Valgrind.cpp
[6/640] Write swift-version-24593BA9C3E375BF.txt
[7/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.
[8/640] Compiling llvmSupport Threading.cpp
[8/640] Compiling llvmSupport Unicode.cpp
[8/640] Compiling llvmSupport raw_ostream.cpp
[9/640] Compiling llvmSupport Twine.cpp
[19/640] Compiling llvmSupport TargetParser.cpp
[37/640] Compiling llvmSupport Triple.cpp
[41/640] Compiling llvmSupport YAMLParser.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/633] 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.
[8/634] Compiling llvmSupport Threading.cpp
[8/634] Compiling llvmSupport TargetParser.cpp
[8/634] Compiling llvmSupport StringSaver.cpp
[8/634] Compiling llvmSupport Twine.cpp
[8/634] Compiling llvmSupport raw_ostream.cpp
[8/634] Compiling llvmSupport Unicode.cpp
[8/634] Compiling llvmSupport YAMLParser.cpp
[8/634] Compiling llvmSupport Triple.cpp
BUILD FAILURE 6.1 wasm