Build Information
Failed to build xlsxwriter.swift, reference main (5f581a
), with Swift 6.1 for Wasm on 29 May 2025 10:17:01 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/damuellen/xlsxwriter.swift.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/damuellen/xlsxwriter.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5f581ad Merge remote-tracking branch 'origin/SPM'
Cloned https://github.com/damuellen/xlsxwriter.swift.git
Revision (git rev-parse @):
5f581ad5194e7e7cd1c6f04e98c99f42c4a347e3
SUCCESS checkout https://github.com/damuellen/xlsxwriter.swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/damuellen/xlsxwriter.swift.git
https://github.com/damuellen/xlsxwriter.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "libxlsxwriter",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/jmcnamara/libxlsxwriter"
}
],
"manifest_display_name" : "xlsxwriter.swift",
"name" : "xlsxwriter.swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "xlsxwriter",
"targets" : [
"xlsxwriter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "xlsxwriterTests",
"module_type" : "SwiftTarget",
"name" : "xlsxwriterTests",
"path" : "Tests/xlsxwriterTests",
"sources" : [
"XCTestManifests.swift",
"xlsxwriterTests.swift"
],
"target_dependencies" : [
"xlsxwriter"
],
"type" : "test"
},
{
"c99name" : "xlsxwriter",
"module_type" : "SwiftTarget",
"name" : "xlsxwriter",
"path" : "Sources/xlsxwriter",
"product_dependencies" : [
"libxlsxwriter"
],
"product_memberships" : [
"xlsxwriter"
],
"sources" : [
"Cell_Range.swift",
"Chart_Series.swift",
"Chartsheet.swift",
"Enumerations.swift",
"Format.swift",
"Workbook.swift",
"Worksheet.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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/jmcnamara/libxlsxwriter
[1/20778] Fetching libxlsxwriter
Fetched https://github.com/jmcnamara/libxlsxwriter from cache (2.71s)
Creating working copy for https://github.com/jmcnamara/libxlsxwriter
Working copy of https://github.com/jmcnamara/libxlsxwriter resolved at main (21c11a2)
Building for debugging...
[0/32] Write sources
[1/32] Compiling custom.c
[2/32] Compiling content_types.c
/host/spi-builder-workspace/.build/checkouts/libxlsxwriter/third_party/tmpfileplus/tmpfileplus.c:290:18: error: use of undeclared identifier 'P_tmpdir'; did you mean 'tmpdir'?
290 | tempdirs[i++] = P_tmpdir;
| ^~~~~~~~
| tmpdir
/host/spi-builder-workspace/.build/checkouts/libxlsxwriter/third_party/tmpfileplus/tmpfileplus.c:270:8: note: 'tmpdir' declared here
270 | char *tmpdir = NULL;
| ^
1 error generated.
[3/32] Compiling tmpfileplus.c
[3/32] Compiling drawing.c
[3/32] Compiling ioapi.c
[3/32] Compiling core.c
[3/32] Compiling zip.c
[3/32] Compiling comment.c
[3/32] Compiling format.c
[3/32] Write swift-version-24593BA9C3E375BF.txt
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
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/libxlsxwriter/third_party/minizip/zip.c:30:10: fatal error: 'zlib.h' file not found
30 | #include "zlib.h"
| ^~~~~~~~
1 error generated.
[0/29] Compiling zip.c
In file included from /host/spi-builder-workspace/.build/checkouts/libxlsxwriter/third_party/minizip/ioapi.c:29:
/host/spi-builder-workspace/.build/checkouts/libxlsxwriter/third_party/minizip/ioapi.h:52:10: fatal error: 'zlib.h' file not found
52 | #include "zlib.h"
| ^~~~~~~~
1 error generated.
[0/29] Compiling ioapi.c
[0/29] Compiling md5.c
[0/29] Compiling xmlwriter.c
[0/29] Compiling worksheet.c
[0/29] Compiling workbook.c
[0/29] Compiling tmpfileplus.c
[0/29] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm