Build Information
Failed to build console-kit, reference main (5acfda), with Swift 6.4 for Wasm on 26 Sep 2026 23:41:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/console-kit.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/vapor/console-kit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5acfda6 Modernise (#244)
Cloned https://github.com/vapor/console-kit.git
Revision (git rev-parse @):
5acfda60e08b2d5bad3607a381e7948792585f44
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/console-kit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/vapor/console-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/8165] Fetching swift-log
[8166/11978] Fetching swift-log, swift-configuration
[10569/18715] Fetching swift-log, swift-configuration, swift-async-algorithms
Fetched https://github.com/apple/swift-configuration.git (0.59s)
[13218/14902] Fetching swift-log, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.66s)
Fetched https://github.com/apple/swift-log.git (0.66s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (2.02s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2843] Fetching swift-service-lifecycle
[1707/9826] Fetching swift-service-lifecycle, swift-system
Fetched https://github.com/swift-server/swift-service-lifecycle (0.60s)
[4958/6983] Fetching swift-system
Fetching https://github.com/apple/swift-collections
[6984/34762] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system (2.00s)
Fetched https://github.com/apple/swift-collections (1.33s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (2.24s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.1 (0.28s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.0 (0.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.18s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.21s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.6
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 421]
[Planning deferred tasks]
[52 / 145] CSystem
[80 / 157] Logging
[82 / 175] SystemPackage
[83 / 175] Logging
[84 / 175] SystemPackage
[96 / 175] InternalCollectionsUtilities
[100 / 175] Logging
[105 / 175] SystemPackage
[105 / 175] Logging
[109 / 175] InternalCollectionsUtilities
[109 / 175] Logging-product
[111 / 175] SpanPreview
[113 / 176] Logging
[116 / 176] Logging
[118 / 176] Logging
[122 / 182] SpanPreview
[128 / 191] SpanPreview
[135 / 193] SpanPreview
[140 / 193] OrderedCollections
[141 / 193] OrderedCollections
[142 / 193] OrderedCollections
[142 / 193] DequeModule
[144 / 194] DequeModule
[146 / 203] DequeModule
[147 / 203] DequeModule
[148 / 203] DequeModule
[149 / 204] InternalCollectionsUtilities
[150 / 204] DequeModule
[154 / 204] InternalCollectionsUtilities
[156 / 204]
[162 / 204] DequeModule
[162 / 204] OrderedCollections
[165 / 205] OrderedCollections
[165 / 205] DequeModule
[172 / 208] Configuration
[180 / 225] Configuration
[181 / 226] DequeModule
[182 / 226] Configuration
[185 / 226] DequeModule
[188 / 226] AsyncAlgorithms
[197 / 226] Configuration-product
[198 / 226] Configuration-product
[200 / 226] ConsoleLogger
[201 / 226] ConsoleLogger
[202 / 226] ConsoleKit
[203 / 226]
[206 / 236] ConsoleLogger
[209 / 236] AsyncAlgorithms
[215 / 236] ConsoleLogger
[218 / 236]
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/ConsoleLogger/LoggerFragments/LoggerFragment.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile LoggerFragment.swift
[221 / 240] ConsoleLoggerExample-product
/host/spi-builder-workspace/Sources/ConsoleLogger/LoggerFragments/LoggerFragment.swift:346:9: [1;31merror: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m344 |[0;0m
[0;36m345 |[0;0m private func timestamp() -> String {
[0;36m346 |[0;0m unsafe withUnsafeTemporaryAllocation(of: CChar.self, capacity: 255) {
[0;36m|[0;0m `- [1;31merror: [1;39mno unsafe operations occur within 'unsafe' expression[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
[0;36m347 |[0;0m #if os(Windows)
[0;36m348 |[0;0m var localTime = self.source.now()
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/ConsoleLogger/ANSIColor.swift /host/spi-builder-workspace/Sources/ConsoleLogger/ConsoleLogger+bootstrap.swift /host/spi-builder-workspace/Sources/ConsoleLogger/ConsoleLogger.swift /host/spi-builder-workspace/Sources/ConsoleLogger/ConsoleLoggerPrinter.swift /host/spi-builder-workspace/Sources/ConsoleLogger/LogRecord.swift /host/spi-builder-workspace/Sources/ConsoleLogger/LoggerFragments/DefaultLoggerFragments.swift -primary-file /host/spi-builder-workspace/Sources/ConsoleLogger/LoggerFragments/LoggerFragment.swift /host/spi-builder-workspace/Sources/ConsoleLogger/LoggerFragments/LoggerFragmentBuilder.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/console-kit.build/Debug-webassembly-wasm32/ConsoleLogger-t.build/Objects-normal/wasm32/LoggerFragment.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/console-kit.build/Debug-webassembly-wasm32/ConsoleLogger-t.build/Objects-normal/wasm32/LoggerFragment.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/console-kit.build/Debug-webassembly-wasm32/ConsoleLogger-t.build/Objects-normal/wasm32/LoggerFragment.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/console-kit.build/Debug-webassembly-wasm32/ConsoleLogger-t.build/Objects-normal/wasm32/LoggerFragment.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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 -warnings-as-errors -warnings-as-errors -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D ConfigReader -D Xcode -serialize-debugging-options -enable-experimental-feature SuppressedAssociatedTypesWithDefaults -enable-experimental-feature LifetimeDependence -enable-experimental-feature Lifetimes -enable-upcoming-feature LifetimeDependence -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-upcoming-feature ImmutableWeakCaptures -enable-experimental-feature DebugDescriptionMacro -strict-memory-safety -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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/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/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/console-kit.build/Debug-webassembly-wasm32/ConsoleLogger-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/console-kit.build/Debug-webassembly-wasm32/ConsoleLogger-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/console-kit.build/Debug-webassembly-wasm32/ConsoleLogger-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ConsoleLogger -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/console-kit.build/Debug-webassembly-wasm32/ConsoleLogger-t.build/Objects-normal/wasm32/ConsoleLogger_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/console-kit.build/Debug-webassembly-wasm32/ConsoleLogger-t.build/Objects-normal/wasm32/LoggerFragment.o -index-unit-output-path /console-kit.build/Debug-webassembly-wasm32/ConsoleLogger-t.build/Objects-normal/wasm32/LoggerFragment.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm