The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Periphery, reference master (56a0eb), with Swift 6.4 for Wasm on 26 Sep 2026 12:44:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/peripheryapp/periphery.git
Reference: master
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/peripheryapp/periphery
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 56a0eb6 Update readme (#1150)
Cloned https://github.com/peripheryapp/periphery.git
Revision (git rev-parse @):
56a0eb6fb97b785c8fbc1044ccbc7b5d9f06ebec
SUCCESS checkout https://github.com/peripheryapp/periphery.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/peripheryapp/periphery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/ileitch/swift-index-store
[1/628] Fetching swift-index-store
Fetched https://github.com/ileitch/swift-index-store (0.52s)
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-system
[1/63] Fetching swift-filename-matcher
[55/19009] Fetching swift-filename-matcher, swift-argument-parser
Fetched https://github.com/ileitch/swift-filename-matcher (0.51s)
[379/18946] Fetching swift-argument-parser
[2654/30807] Fetching swift-argument-parser, yams
[15398/37790] Fetching swift-argument-parser, yams, swift-system
Fetched https://github.com/apple/swift-system (0.74s)
[25233/30807] Fetching swift-argument-parser, yams
[27725/32966] Fetching swift-argument-parser, yams, aexml
[32946/113035] Fetching swift-argument-parser, yams, aexml, swift-syntax
Fetched https://github.com/tadija/AEXML (1.38s)
[33210/110876] Fetching swift-argument-parser, yams, swift-syntax
Fetched https://github.com/apple/swift-argument-parser (3.27s)
Fetched https://github.com/jpsim/Yams (3.28s)
Fetched https://github.com/apple/swift-syntax (3.28s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (3.49s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 603.0.2 (0.31s)
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/tadija/AEXML
warning: 'aexml': /Package.swift:11:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 9 |         .macOS(.v10_13),
10 |         .tvOS(.v12),
11 |         .watchOS(.v4)
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
12 |     ],
13 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/tadija/AEXML at 4.7.0 (0.15s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
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-syntax
Working copy of https://github.com/apple/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/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 2.0.1
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.7.0
Creating working copy for https://github.com/ileitch/swift-index-store
Working copy of https://github.com/ileitch/swift-index-store resolved at ed1f232d33b8e03956af0f4206fbd30171a43138
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
warning: 'aexml': /host/spi-builder-workspace/.build/checkouts/AEXML/Package.swift:11:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 9 |         .macOS(.v10_13),
10 |         .tvOS(.v12),
11 |         .watchOS(.v4)
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
12 |     ],
13 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 919]
[Planning deferred tasks]
[159 / 354] SwiftSyntax601
[198 / 393] ArgumentParserToolInfo
[199 / 393] SwiftSyntax509
[210 / 400] _SwiftSyntaxCShims
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Logger/Logger.swift:31:22: error: cannot find type 'DispatchQueue' in scope
 29 |
 30 | public struct Logger: Sendable {
 31 |     let outputQueue: DispatchQueue
    |                      `- error: cannot find type 'DispatchQueue' in scope
 32 |     let quiet: Bool
 33 |     let verbose: Bool
/host/spi-builder-workspace/Sources/Logger/Logger.swift:118:59: error: cannot find type 'FILE' in scope
116 |     // MARK: - Private
117 |
118 |     func log(_ line: String, output: UnsafeMutablePointer<FILE>) {
    |                                                           `- error: cannot find type 'FILE' in scope
119 |         _ = outputQueue.sync { fputs(line + "\n", output) }
120 |     }
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Logger/Logger.swift -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 -swift-version 5 -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 -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 -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/Periphery.build/Debug-webassembly-wasm32/Logger-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Periphery.build/Debug-webassembly-wasm32/Logger-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Periphery.build/Debug-webassembly-wasm32/Logger-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Logger -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Periphery.build/Debug-webassembly-wasm32/Logger-t.build/Objects-normal/wasm32/Logger_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/Periphery.build/Debug-webassembly-wasm32/Logger-t.build/Objects-normal/wasm32/Modules/Logger.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Periphery.build/Debug-webassembly-wasm32/Logger-t.build/Objects-normal/wasm32/Modules/Logger.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Periphery.build/Debug-webassembly-wasm32/Logger-t.build/Objects-normal/wasm32/Logger-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Periphery.build/Debug-webassembly-wasm32/Logger-t.build/Objects-normal/wasm32/Logger-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Periphery.build/Debug-webassembly-wasm32/Logger-t.build/Objects-normal/wasm32/Logger-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Periphery.build/Debug-webassembly-wasm32/Logger-t.build/Objects-normal/wasm32/Modules/Logger.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm