The Swift Package Index logo.Swift Package Index

Build Information

Failed to build APWebAuthentication, reference main (f380e2), with Swift 6.4 for Wasm on 5 Nov 2026 04:33:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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/aporat/APWebAuthentication.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/aporat/APWebAuthentication
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f380e2d SwifterSwift 9 adoption: urlEncoded replaces the RFC 3986 helper, POSIX date parsing, anchor and optional helpers
Cloned https://github.com/aporat/APWebAuthentication.git
Revision (git rev-parse @):
f380e2dc08bb74470db5049f1273dd2abca16cd8
SUCCESS checkout https://github.com/aporat/APWebAuthentication.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/aporat/APWebAuthentication.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/SwifterSwift/SwifterSwift.git
[1/31269] Fetching swifterswift
Fetched https://github.com/SwifterSwift/SwifterSwift.git (1.23s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/aporat/APUserAgentGenerator.git
Fetching https://github.com/SnapKit/SnapKit.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/521] Fetching apuseragentgenerator
[387/6841] Fetching apuseragentgenerator, swiftyjson
[1786/11235] Fetching apuseragentgenerator, swiftyjson, keychainaccess
[10797/15530] Fetching apuseragentgenerator, swiftyjson, keychainaccess, snapkit
Fetching https://github.com/rhodgkins/SwiftHTTPStatusCodes.git
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git (0.60s)
[6927/11136] Fetching apuseragentgenerator, swiftyjson, snapkit
[8990/12066] Fetching apuseragentgenerator, swiftyjson, snapkit, swifthttpstatuscodes
Fetched https://github.com/rhodgkins/SwiftHTTPStatusCodes.git (0.41s)
Fetching https://github.com/Alamofire/Alamofire.git
Fetched https://github.com/SnapKit/SnapKit.git (0.97s)
[1/33089] Fetching alamofire
Fetched https://github.com/aporat/APUserAgentGenerator.git (2.85s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git (2.85s)
Fetched https://github.com/Alamofire/Alamofire.git (1.91s)
Computing version for https://github.com/aporat/APUserAgentGenerator.git
Computed https://github.com/aporat/APUserAgentGenerator.git at 2.0.0 (3.02s)
Computing version for https://github.com/SnapKit/SnapKit.git
Computed https://github.com/SnapKit/SnapKit.git at 6.0.0 (0.13s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.86s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.16s)
Computing version for https://github.com/rhodgkins/SwiftHTTPStatusCodes.git
Computed https://github.com/rhodgkins/SwiftHTTPStatusCodes.git at 3.3.2 (0.85s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (0.13s)
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/SnapKit/SnapKit.git
Working copy of https://github.com/SnapKit/SnapKit.git resolved at 6.0.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.12.2
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
Creating working copy for https://github.com/rhodgkins/SwiftHTTPStatusCodes.git
Working copy of https://github.com/rhodgkins/SwiftHTTPStatusCodes.git resolved at 3.3.2
Creating working copy for https://github.com/SwifterSwift/SwifterSwift.git
Working copy of https://github.com/SwifterSwift/SwifterSwift.git resolved at main (f89d2f7)
Creating working copy for https://github.com/aporat/APUserAgentGenerator.git
Working copy of https://github.com/aporat/APUserAgentGenerator.git resolved at 2.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 711]
[Planning deferred tasks]
[136 / 292] SwifterSwiftCoreLocation
[138 / 297] SwifterSwiftFoundation
[161 / 330] SwifterSwiftUIKit
[188 / 359] SwifterSwiftCoreGraphics
[195 / 362] SwiftyJSON
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/Constraint.swift:27:12: error: no such module 'AppKit'
 25 |     import UIKit
 26 | #else
 27 |     import AppKit
    |            `- error: no such module 'AppKit'
 28 | #endif
 29 |
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/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/Constraint.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintAttributes.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintConfig.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintConstantTarget.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintDSL.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintDescription.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintDirectionalInsetTarget.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintDirectionalInsets.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintInsetTarget.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintInsets.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintItem.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintLayoutGuide+Extensions.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintLayoutGuide.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintLayoutGuideDSL.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintLayoutSupport.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintLayoutSupportDSL.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintMaker.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintMakerEditable.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintMakerExtendable.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintMakerFinalizable.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintMakerPrioritizable.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintMakerRelatable+Extensions.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintMakerRelatable.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintMultiplierTarget.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintOffsetTarget.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintPriority.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintPriorityTarget.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintRelatableTarget.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintRelation.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintView+Extensions.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintView.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/ConstraintViewDSL.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/Debugging.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/LayoutConstraint.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/LayoutConstraintItem.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/Typealiases.swift /host/spi-builder-workspace/.build/checkouts/SnapKit/Sources/UILayoutSupport+Extensions.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 -user-module-version 6.0.0 -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/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SnapKit -package-name snapkit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/Objects-normal/wasm32/SnapKit_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/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/Objects-normal/wasm32/Modules/SnapKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/Objects-normal/wasm32/Modules/SnapKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/Objects-normal/wasm32/SnapKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/Objects-normal/wasm32/SnapKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/Objects-normal/wasm32/SnapKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SnapKit.build/Debug-webassembly-wasm32/SnapKit-t.build/Objects-normal/wasm32/Modules/SnapKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm