Build Information
Failed to build pecker, reference master (bd6931), with Swift 6.1 for Wasm on 28 May 2025 08:37:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/woshiccm/Pecker.git
Reference: master
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/woshiccm/Pecker
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bd69311 Merge pull request #70 from ArthurChi/master
Cloned https://github.com/woshiccm/Pecker.git
Revision (git rev-parse @):
bd6931173f57d696c24e530514bb0e8a2b3346f7
SUCCESS checkout https://github.com/woshiccm/Pecker.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/woshiccm/Pecker.git
https://github.com/woshiccm/Pecker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"exact" : [
"0.50500.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "indexstore-db",
"requirement" : {
"branch" : [
"release/5.5"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/indexstore-db.git"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"exact" : [
"0.3.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "pecker",
"name" : "pecker",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "pecker",
"targets" : [
"Pecker"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "PeckerTests",
"module_type" : "SwiftTarget",
"name" : "PeckerTests",
"path" : "Tests/PeckerTests",
"sources" : [
"PeckerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Pecker"
],
"type" : "test"
},
{
"c99name" : "PeckerKit",
"module_type" : "SwiftTarget",
"name" : "PeckerKit",
"path" : "Sources/PeckerKit",
"product_dependencies" : [
"SwiftSyntax",
"IndexStoreDB",
"SwiftToolsSupport-auto",
"Yams"
],
"product_memberships" : [
"pecker"
],
"sources" : [
"Analyzer.swift",
"CollectContext.swift",
"Configuration.swift",
"Extensions/Array+Extension.swift",
"Extensions/Dictionary+Extension.swift",
"Extensions/SwiftSyntax+Extension.swift",
"Extensions/SymbolOccurrence+Extension.swift",
"Logging/LogLevel.swift",
"Logging/Logging.swift",
"Models/Function.swift",
"Models/ReporterType.swift",
"Models/RuleType.swift",
"Models/SourceDetail.swift",
"Models/SourceLocation.swift",
"Models/XMLElement.swift",
"Models/XMLElementKind.swift",
"Models/YamlConfiguration.swift",
"Reporters/JSONReporter.swift",
"Reporters/Reporter.swift",
"Reporters/ReporterFactory.swift",
"Reporters/XcodeReporter.swift",
"Rules/AttributesRule.swift",
"Rules/BlacklistSources.swift",
"Rules/CommentRule.swift",
"Rules/Rule.swift",
"Rules/RuleFactory.swift",
"Rules/SkipOptionalFunctionRule.swift",
"Rules/SkipPublicRule.swift",
"Rules/SuperClassRule.swift",
"Rules/XCTestRule.swift",
"Rules/XMLRule.swift",
"SourceCollector.swift",
"SourceKitServer/DatabaseBuildSystem.swift",
"SourceKitServer/SourceKitServer.swift",
"SourceKitServer/Workspace.swift",
"SwiftSourceCollectVisitor.swift",
"Utils/Regex.swift",
"Utils/ThreadSafe.swift",
"Utils/Validation.swift",
"XMLServer/XMLParserCoordinator.swift",
"XMLServer/XMLServer.swift",
"YamlParser.swift"
],
"type" : "library"
},
{
"c99name" : "Pecker",
"module_type" : "SwiftTarget",
"name" : "Pecker",
"path" : "Sources/Pecker",
"product_dependencies" : [
"SwiftToolsSupport-auto",
"ArgumentParser"
],
"product_memberships" : [
"pecker"
],
"sources" : [
"PeckerCommand.swift",
"ToolMode.swift",
"main.swift"
],
"target_dependencies" : [
"PeckerKit"
],
"type" : "executable"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/indexstore-db.git
[1/5215] Fetching indexstore-db
Fetched https://github.com/apple/indexstore-db.git from cache (0.64s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6763] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.57s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-syntax.git
[1/10657] Fetching yams
[6289/26008] Fetching yams, swift-argument-parser
[15053/96456] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.48s)
[23338/81105] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (5.35s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.36s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (6.40s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50500.0 (0.88s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.63s)
Creating working copy for https://github.com/apple/indexstore-db.git
Working copy of https://github.com/apple/indexstore-db.git resolved at release/5.5 (e771994)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50500.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 0.3.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.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 main (7436264)
Building for debugging...
[0/118] Write sources
[7/118] Compiling atomic-counter.c
[8/118] Compiling TSCclibc strerror.c
[9/118] Compiling TSCclibc libc.c
[10/118] Write sources
[11/118] Compiling TSCclibc process.c
[12/118] Compiling MathExtras.cpp
[13/118] Compiling IndexStoreDB_Support Logging-NonMac.cpp
[14/118] Compiling IndexStoreDB_Support Logging-Mac.mm
/host/spi-builder-workspace/.build/checkouts/indexstore-db/lib/LLVMSupport/Support/Mutex.cpp:37:10: fatal error: 'pthread.h' file not found
37 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[15/118] Compiling Mutex.cpp
[15/118] Compiling Memory.cpp
[15/118] Compiling IndexStoreDB_Support Path.cpp
[15/118] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[15/118] Compiling MemoryBuffer.cpp
[15/118] Write swift-version-24593BA9C3E375BF.txt
[15/118] Compiling IndexStoreDB_Support Logging.cpp
[15/118] Compiling IndexStoreDB_Support PatternMatching.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[0/1] Planning build
Building for debugging...
[0/103] Write sources
/host/spi-builder-workspace/.build/checkouts/indexstore-db/lib/Support/Logging.cpp:19:10: fatal error: 'dispatch/dispatch.h' file not found
19 | #include <dispatch/dispatch.h>
| ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/103] Compiling IndexStoreDB_Support Logging.cpp
[1/103] Compiling circular_raw_ostream.cpp
[1/103] Compiling IndexStoreDB_Support PatternMatching.cpp
/host/spi-builder-workspace/.build/checkouts/indexstore-db/lib/Support/Concurrency-Mac.cpp:18:10: fatal error: 'dispatch/dispatch.h' file not found
18 | #include <dispatch/dispatch.h>
| ^~~~~~~~~~~~~~~~~~~~~
[1/103] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[1/103] Compiling raw_ostream.cpp
[1/103] Write swift-version-24593BA9C3E375BF.txt
[1/103] Compiling IndexStoreDB_Support Path.cpp
[1/103] Compiling IndexStoreDB_Support FilePathWatcher.cpp
BUILD FAILURE 6.1 wasm