Build Information
Failed to build RevenueCat, reference main (c20adb), with Swift 6.4 for Linux on 10 Oct 2026 16:30:36 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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RevenueCat/purchases-ios.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/RevenueCat/purchases-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c20adbb Stop the web checkout page flickering after the sheet is dragged (#7983)
Cloned https://github.com/RevenueCat/purchases-ios.git
Revision (git rev-parse @):
c20adbb4f2bd6c9197a06f62a807cd305909e8c3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/RevenueCat/purchases-ios.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/RevenueCat/purchases-ios.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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/quick/nimble
[1/19986] Fetching nimble
Fetched https://github.com/quick/nimble (1.04s)
[1/16501] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (1.93s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.9 (2.10s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/5669] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.49s)
[1/80415] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.47s)
Computing version for https://github.com/quick/nimble
Computed https://github.com/quick/nimble at 13.7.1 (3.63s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.42s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.60s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.32s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.49s)
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/6170] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.66s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.57s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (0.25s)
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/quick/nimble
Working copy of https://github.com/quick/nimble resolved at 13.7.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.1
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/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
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]
warning: no rule to process file '/host/spi-builder-workspace/RevenueCatUI/Resources/Media.xcassets' of type 'folder.assetcatalog' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/RevenueCatUI/Resources/icons.xcassets' of type 'folder.assetcatalog' for architecture 'x86_64'
[114 / 146] ReceiptParser
[121 / 155] ReceiptParser
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
[123 / 205] RevenueCat_CustomEntitlementComputation
/host/spi-builder-workspace/Sources/LocalReceiptParsing/Helpers/LoggerType.swift:15:8: [1;31merror: [1;39mno such module 'os'[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m import Foundation
[0;36m15 |[0;0m import os
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'os'[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m // 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 x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-linux-x86_64/ReceiptParser-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-linux-x86_64/ReceiptParser-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-linux-x86_64/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-linux-x86_64/ReceiptParser-t.build/Objects-normal/x86_64/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-linux-x86_64/ReceiptParser-t.build/Objects-normal/x86_64/Modules/ReceiptParser.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-linux-x86_64/ReceiptParser-t.build/Objects-normal/x86_64/Modules/ReceiptParser.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-linux-x86_64/ReceiptParser-t.build/Objects-normal/x86_64/ReceiptParser-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-linux-x86_64/ReceiptParser-t.build/Objects-normal/x86_64/ReceiptParser-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-linux-x86_64/ReceiptParser-t.build/Objects-normal/x86_64/ReceiptParser-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RevenueCat.build/Debug-linux-x86_64/ReceiptParser-t.build/Objects-normal/x86_64/Modules/ReceiptParser.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux