The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RevenueCat, reference 5.95.0 (95ad25), with Swift 6.4 for Wasm on 14 Oct 2026 00:40:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RevenueCat/purchases-ios-spm.git
Reference: 5.95.0
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/RevenueCat/purchases-ios-spm
 * tag               5.95.0     -> FETCH_HEAD
HEAD is now at 95ad250 Update RevenueCat-Swift.h for version 5.95.0
Cloned https://github.com/RevenueCat/purchases-ios-spm.git
Revision (git rev-parse @):
95ad250230efa7fc3e811c158ed264832aed2e79
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/RevenueCat/purchases-ios-spm.git at 5.95.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/RevenueCat/purchases-ios-spm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:d8610b27563fbed4643ddaec8e9397319e3b3e1372fc54686db2dacb952c1b8f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/quick/nimble
[1/20002] Fetching nimble
[20003/36503] Fetching nimble, swift-snapshot-testing
Fetched https://github.com/quick/nimble (3.34s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing (3.36s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.9 (3.53s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5669] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.46s)
[1/80500] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.39s)
Computing version for https://github.com/quick/nimble
Computed https://github.com/quick/nimble at 13.7.1 (3.55s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.35s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.52s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.33s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.50s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.14s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6177] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.77s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (1.68s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (0.26s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.9
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.2
Creating working copy for https://github.com/quick/nimble
Working copy of https://github.com/quick/nimble resolved at 13.7.1
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/RevenueCatUITests/Templates/__Snapshots__': File not found.
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__PreviewResources__
warning: 'spi-builder-workspace': Invalid Resource 'PaywallsV2/__PreviewResources__': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/RevenueCatUITests/Templates/__Snapshots__': File not found.
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__PreviewResources__
warning: 'spi-builder-workspace': Invalid Resource 'PaywallsV2/__PreviewResources__': File not found.
warning: 'spi-builder-workspace': found 19 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/RootViewLayoutSnapshotTests/testHeaderAndFooterStepReservesHeaderClearance.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/RootViewLayoutSnapshotTests/testSmallBodyCentersAboveFooter.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/RootViewLayoutSnapshotTests/testStickyFooterOnIPadCardWithoutBottomSafeArea.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/RootViewLayoutSnapshotTests/testStickyFooterReservesScrollSpaceOnIPadCard.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/RootViewLayoutSnapshotTests/testStickyFooterRootZLayerOnIPadFormSheet.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/RootViewLayoutSnapshotTests/testStickyFooterRootZLayerOnIPhoneFullScreen.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/RootViewLayoutSnapshotTests/testTransparentFooterOverlapsScrollableContent.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS15-testTextIsRedactedWhileLoading.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS15-testTextIsVisibleWhenLoaded.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS16-testTextIsRedactedWhileLoading.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS16-testTextIsVisibleWhenLoaded.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS17-testTextIsRedactedWhileLoading.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS17-testTextIsVisibleWhenLoaded.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS18-testTextIsRedactedWhileLoading.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS18-testTextIsVisibleWhenLoaded.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS26-testTextIsRedactedWhileLoading.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS26-testTextIsVisibleWhenLoaded.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS27-testTextIsRedactedWhileLoading.1.png
    /host/spi-builder-workspace/Tests/RevenueCatUITests/PaywallsV2/__Snapshots__/TextComponentViewLoadingTests/iOS27-testTextIsVisibleWhenLoaded.1.png
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 356]
[Planning deferred tasks]
[Starting]
warning: no rule to process file '/host/spi-builder-workspace/RevenueCatUI/Resources/Media.xcassets' of type 'folder.assetcatalog' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/RevenueCatUI/Resources/icons.xcassets' of type 'folder.assetcatalog' for architecture 'wasm32'
[99 / 139] RevenueCat_RevenueCatUI
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/LocalReceiptParsing/Helpers/LoggerType.swift:15:8: error: no such module 'os'
 13 |
 14 | import Foundation
 15 | import os
    |        `- error: no such module 'os'
 16 |
 17 | // swiftlint:disable force_unwrapping
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/LocalReceiptParsing/BasicTypes/ASN1Container.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/BasicTypes/ASN1ObjectIdentifier.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/BasicTypes/AppleReceipt.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/BasicTypes/InAppPurchase.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/Builders/ASN1ContainerBuilder.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/Builders/ASN1ObjectIdentifierBuilder.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/Builders/AppleReceiptBuilder.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/Builders/InAppPurchaseBuilder.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/DataConverters/ArraySlice_UInt8+Extensions.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/DataConverters/Codable+Extensions.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/DataConverters/DateFormatter+Extensions.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/DataConverters/UInt8+Extensions.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/Helpers/FileReader.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/Helpers/LoggerType.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/Helpers/ProcessInfo+Extensions.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/Helpers/ReceiptParserLogger.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/Helpers/ReceiptStrings.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/LocalReceiptFetcher.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/PurchasesReceiptParser.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/ReceiptParser-only-files/PurchasesReceiptParser+Extensions.swift /host/spi-builder-workspace/Sources/LocalReceiptParsing/ReceiptParsingError.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 -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.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/RevenueCat.build/Debug-webassembly-wasm32/ReceiptParser-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-webassembly-wasm32/ReceiptParser-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-webassembly-wasm32/ReceiptParser-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ReceiptParser -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-webassembly-wasm32/ReceiptParser-t.build/Objects-normal/wasm32/ReceiptParser_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/RevenueCat.build/Debug-webassembly-wasm32/ReceiptParser-t.build/Objects-normal/wasm32/Modules/ReceiptParser.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-webassembly-wasm32/ReceiptParser-t.build/Objects-normal/wasm32/Modules/ReceiptParser.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-webassembly-wasm32/ReceiptParser-t.build/Objects-normal/wasm32/ReceiptParser-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-webassembly-wasm32/ReceiptParser-t.build/Objects-normal/wasm32/ReceiptParser-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-webassembly-wasm32/ReceiptParser-t.build/Objects-normal/wasm32/ReceiptParser-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-webassembly-wasm32/ReceiptParser-t.build/Objects-normal/wasm32/Modules/ReceiptParser.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm