The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ExarotonAPI, reference 0.0.10 (bd9652), with Swift 6.4 for Wasm on 27 Oct 2026 17:55:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OrzMC/ExarotonAPI.git
Reference: 0.0.10
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/OrzMC/ExarotonAPI
 * tag               0.0.10     -> FETCH_HEAD
HEAD is now at bd96526 fix(status): 补上 TRANSFERRING(9) 并让未知状态码退化而不是整条消息解码失败 (#3)
Cloned https://github.com/OrzMC/ExarotonAPI.git
Revision (git rev-parse @):
bd965265ed4309b363249b8d87e1b58c7c49863d
SUCCESS checkout https://github.com/OrzMC/ExarotonAPI.git at 0.0.10
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/OrzMC/ExarotonAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-openapi-urlsession.git
Fetching https://github.com/swiftlang/swift-testing.git
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/flight-school/anycodable.git
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-openapi-runtime.git
[1/1259] Fetching swift-openapi-urlsession
[1260/3220] Fetching swift-openapi-urlsession, swift-http-types
[3065/10484] Fetching swift-openapi-urlsession, swift-http-types, swift-openapi-runtime
[10122/11266] Fetching swift-openapi-urlsession, swift-http-types, swift-openapi-runtime, anycodable
Fetched https://github.com/apple/swift-openapi-runtime.git (0.58s)
Fetching https://github.com/apple/swift-openapi-generator.git
[1/5235] Fetching starscream
[1624/24279] Fetching starscream, swift-openapi-generator
[24071/69487] Fetching starscream, swift-openapi-generator, swift-testing
Fetched https://github.com/apple/swift-openapi-urlsession.git (2.11s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-openapi-generator.git (1.55s)
[5688/50443] Fetching starscream, swift-testing
[10209/58824] Fetching starscream, swift-testing, swift-log
Fetched https://github.com/apple/swift-log.git (0.95s)
[21058/50443] Fetching starscream, swift-testing
Fetched https://github.com/flight-school/anycodable.git (9.12s)
Fetched https://github.com/apple/swift-http-types (9.12s)
Fetched https://github.com/daltoniam/Starscream.git (9.12s)
Fetched https://github.com/swiftlang/swift-testing.git (9.14s)
Computing version for https://github.com/flight-school/anycodable.git
Computed https://github.com/flight-school/anycodable.git at 0.6.7 (10.04s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.19s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.20s)
Computing version for https://github.com/swiftlang/swift-testing.git
Computed https://github.com/swiftlang/swift-testing.git at 6.4.1 (1.26s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/81259] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.55s)
Computing version for https://github.com/apple/swift-openapi-urlsession.git
Computed https://github.com/apple/swift-openapi-urlsession.git at 1.4.0 (4.50s)
Fetching https://github.com/apple/swift-collections
[1/29362] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.16s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.13.3 (1.32s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.14.3 (0.22s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
[1/11878] Fetching yams
[239/18037] Fetching yams, swift-algorithms
[13525/37350] Fetching yams, swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.97s)
[1/186435] Fetching openapikit
Fetched https://github.com/apple/swift-algorithms (6.12s)
Fetched https://github.com/jpsim/Yams (6.14s)
Fetched https://github.com/mattpolzin/OpenAPIKit (6.19s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (6.38s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.59s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (0.77s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.17s)
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.25s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.15s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (0.27s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
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/flight-school/anycodable.git
Working copy of https://github.com/flight-school/anycodable.git resolved at 0.6.7
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
Creating working copy for https://github.com/apple/swift-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.14.3
Creating working copy for https://github.com/swiftlang/swift-testing.git
Working copy of https://github.com/swiftlang/swift-testing.git resolved at 6.4.1
Creating working copy for https://github.com/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.13.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
Creating working copy for https://github.com/apple/swift-openapi-urlsession.git
Working copy of https://github.com/apple/swift-openapi-urlsession.git resolved at 1.4.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.18s)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 894]
[Planning deferred tasks]
[162 / 329]
[173 / 374] CYaml
[177 / 392] CYaml
[179 / 392] Logging
[185 / 392] InternalCollectionsUtilities
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
 28 |
 29 | import Foundation
 30 | import zlib
    |        `- error: no such module 'zlib'
 31 |
 32 | public class WSCompression: CompressionHandler {
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/DataBytes/Data+Extensions.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Engine/Engine.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Engine/NativeEngine.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Engine/WSEngine.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Framer/FoundationHTTPHandler.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Framer/FoundationHTTPServerHandler.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Framer/FrameCollector.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Framer/Framer.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Framer/HTTPHandler.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Framer/StringHTTPHandler.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/Security.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Server/Server.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Server/WebSocketServer.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Transport/FoundationTransport.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Transport/TCPTransport.swift /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Transport/Transport.swift -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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -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 -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 -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/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Starscream -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/Objects-normal/wasm32/Starscream_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/Objects-normal/wasm32/Modules/Starscream.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/Objects-normal/wasm32/Modules/Starscream.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/Objects-normal/wasm32/Starscream-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/Objects-normal/wasm32/Starscream-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/Objects-normal/wasm32/Starscream-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Starscream.build/Debug-webassembly-wasm32/Starscream-t.build/Objects-normal/wasm32/Modules/Starscream.swiftmodule
[192 / 392] InternalCollectionsUtilities
error: Build failed
BUILD FAILURE 6.4 wasm