The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PureSQL, reference main (3d0986), with Swift 6.4 for Wasm on 5 Nov 2026 07:35:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wickwirew/PureSQL.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/wickwirew/PureSQL
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3d09866 immediate tx for writes
Cloned https://github.com/wickwirew/PureSQL.git
Revision (git rev-parse @):
3d098668fad951abb9ecc0887c12b826686fbd67
SUCCESS checkout https://github.com/wickwirew/PureSQL.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/wickwirew/PureSQL.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-argument-parser
[1/11878] Fetching yams
[5822/31212] Fetching yams, swift-argument-parser
[6134/60828] Fetching yams, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-argument-parser (1.00s)
[29465/41494] Fetching yams, swift-collections
[41495/123123] Fetching yams, swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections (4.82s)
Fetched https://github.com/jpsim/Yams (4.83s)
Fetched https://github.com/swiftlang/swift-syntax (4.83s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (4.99s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (1.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.5 (0.23s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.20s)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1677]
[Planning 565 / 1677]
[Planning 1446 / 1677]
[Planning deferred tasks]
[Constructing 101 / 3636]
[Constructing 3352 / 3636]
[Starting]
[7 / 719]
[191 / 719] SwiftBasicFormat
[301 / 730] SwiftSyntax602
[308 / 751] SwiftSyntax602
[332 / 751] Yams
[334 / 751] Yams
[335 / 751] SwiftSyntax603
[345 / 752] Yams
[346 / 752] Yams-product
[349 / 754] Yams
[350 / 754] Yams
[351 / 754] Yams-product
[353 / 754] Yams-product
[356 / 754] SwiftSyntax603
[364 / 755] SwiftSyntax603
[371 / 760] SwiftSyntax601
[384 / 762] SwiftSyntax601
[389 / 765] SwiftSyntax600
[396 / 777] SwiftSyntax600
[416 / 783] SwiftSyntax602
[436 / 793] SwiftSyntax509
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:342:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
340 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
341 |         // it uses with `String(format:...)`
342 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
343 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
344 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/AliasDereferencingStrategy.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Anchor.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Emitter.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Mark.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Node.Alias.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Node.Mapping.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Node.Scalar.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Node.Sequence.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Node.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Parser.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/RedundancyAliasingStrategy.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Resolver.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/String+Yams.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Tag.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/YamlAnchorProviding.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/YamlError.swift /host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/YamlTagProviding.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/Yams.build/Debug-webassembly-wasm32/Yams-t.build/Objects-normal/wasm32/supplementaryOutputs-10 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 6.2.2 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/Yams/Sources/CYaml/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/Yams/Sources/CYaml/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Yams.build/Debug-webassembly-wasm32/Yams-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Yams.build/Debug-webassembly-wasm32/Yams-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Yams.build/Debug-webassembly-wasm32/Yams-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -Xcc -DYAML_DECLARE_STATIC -no-auto-bridging-header-chaining -module-name Yams -package-name yams -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Yams.build/Debug-webassembly-wasm32/Yams-t.build/Objects-normal/wasm32/Yams_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Yams.build/Debug-webassembly-wasm32/Yams-t.build/Objects-normal/wasm32/Parser.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Yams.build/Debug-webassembly-wasm32/Yams-t.build/Objects-normal/wasm32/RedundancyAliasingStrategy.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Yams.build/Debug-webassembly-wasm32/Yams-t.build/Objects-normal/wasm32/Representer.o -index-unit-output-path /Yams.build/Debug-webassembly-wasm32/Yams-t.build/Objects-normal/wasm32/Parser.o -index-unit-output-path /Yams.build/Debug-webassembly-wasm32/Yams-t.build/Objects-normal/wasm32/RedundancyAliasingStrategy.o -index-unit-output-path /Yams.build/Debug-webassembly-wasm32/Yams-t.build/Objects-normal/wasm32/Representer.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm