Build Information
Failed to build SwiftyProfiler, reference v0.0.13 (d5908a
), with Swift 6.1 for Wasm on 28 May 2025 04:18:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/KS1019/SwiftyProfiler.git
Reference: v0.0.13
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/KS1019/SwiftyProfiler
* tag v0.0.13 -> FETCH_HEAD
HEAD is now at d5908a9 fix
Cloned https://github.com/KS1019/SwiftyProfiler.git
Revision (git rev-parse @):
d5908a9f02220dba64294a27dcf69c8c5526c6a1
SUCCESS checkout https://github.com/KS1019/SwiftyProfiler.git at v0.0.13
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/KS1019/SwiftyProfiler.git
https://github.com/KS1019/SwiftyProfiler.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftyxcactivitylog",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/KS1019/SwiftyXcActivityLog"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable"
}
],
"manifest_display_name" : "SwiftyProfiler",
"name" : "SwiftyProfiler",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
}
],
"products" : [
{
"name" : "swprofiler",
"targets" : [
"SwiftyProfiler"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftyProfilerTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyProfilerTests",
"path" : "Tests/SwiftyProfilerTests",
"sources" : [
"SwiftyProfilerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftyProfiler"
],
"type" : "test"
},
{
"c99name" : "SwiftyProfiler",
"module_type" : "SwiftTarget",
"name" : "SwiftyProfiler",
"path" : "Sources/SwiftyProfiler",
"product_dependencies" : [
"SwiftyXcActivityLog",
"SwiftyTextTable",
"ArgumentParser"
],
"product_memberships" : [
"swprofiler"
],
"sources" : [
"main.swift",
"reporters/Reporter.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/scottrhoyt/SwiftyTextTable
Fetching https://github.com/KS1019/SwiftyXcActivityLog
Fetching https://github.com/apple/swift-argument-parser
[1/929] Fetching swiftytexttable
[930/1049] Fetching swiftytexttable, swiftyxcactivitylog
[112/120] Fetching swiftyxcactivitylog
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.24s)
Fetched https://github.com/KS1019/SwiftyXcActivityLog from cache (0.27s)
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.02s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (3.55s)
Computing version for https://github.com/KS1019/SwiftyXcActivityLog
Computed https://github.com/KS1019/SwiftyXcActivityLog at 0.0.5 (0.61s)
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/1024jp/GzipSwift
[1/1236] Fetching files
[2/2785] Fetching files, gzipswift
Fetched https://github.com/1024jp/GzipSwift from cache (0.36s)
Fetched https://github.com/JohnSundell/Files from cache (0.37s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (1.10s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (0.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.56s)
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.0
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/KS1019/SwiftyXcActivityLog
Working copy of https://github.com/KS1019/SwiftyXcActivityLog resolved at 0.0.5
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/19] Write sources
[8/19] Compiling system-zlib anchor.c
[9/19] Write swift-version-24593BA9C3E375BF.txt
[11/27] Emitting module ArgumentParserToolInfo
[12/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/28] Wrapping AST for ArgumentParserToolInfo for debugging
[15/66] Emitting module ArgumentParser
[16/71] Emitting module SwiftyTextTable
[17/71] Compiling SwiftyTextTable TextTable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/72] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[19/72] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[20/72] Compiling Files Files.swift
[21/72] Emitting module Files
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write swift-version-24593BA9C3E375BF.txt
[3/19] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/19] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[5/19] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
[6/19] Compiling SwiftyTextTable TextTable.swift
[7/19] Emitting module SwiftyTextTable
[9/20] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/21] Wrapping AST for SwiftyTextTable for debugging
[11/21] Emitting module Files
[12/21] Compiling Files Files.swift
BUILD FAILURE 6.1 wasm