Build Information
Failed to build Mercato, reference master (e6132a), with Swift 6.0 for Linux on 26 Sep 2025 05:13:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tikhop/Mercato.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/tikhop/Mercato
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e6132a7 Merge pull request #16 from tikhop/feat/decimal-formatted
Cloned https://github.com/tikhop/Mercato.git
Revision (git rev-parse @):
e6132a7b8ad9bfd3ad01599e3135f1ed0ac02519
SUCCESS checkout https://github.com/tikhop/Mercato.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/tikhop/Mercato.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling Mercato PeriodFormatter.swift
/host/spi-builder-workspace/Sources/Mercato/Mercato+Extras.swift:23:8: error: no such module 'StoreKit'
21 | // SOFTWARE.
22 |
23 | import StoreKit
| `- error: no such module 'StoreKit'
24 |
25 | extension Mercato {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/15] Emitting module Mercato
/host/spi-builder-workspace/Sources/Mercato/Mercato+Extras.swift:23:8: error: no such module 'StoreKit'
21 | // SOFTWARE.
22 |
23 | import StoreKit
| `- error: no such module 'StoreKit'
24 |
25 | extension Mercato {
[6/15] Compiling Mercato Mercato+Extras.swift
/host/spi-builder-workspace/Sources/Mercato/Mercato+Extras.swift:23:8: error: no such module 'StoreKit'
21 | // SOFTWARE.
22 |
23 | import StoreKit
| `- error: no such module 'StoreKit'
24 |
25 | extension Mercato {
[7/15] Compiling Mercato Mercato+StoreKit.swift
/host/spi-builder-workspace/Sources/Mercato/Mercato+Extras.swift:23:8: error: no such module 'StoreKit'
21 | // SOFTWARE.
22 |
23 | import StoreKit
| `- error: no such module 'StoreKit'
24 |
25 | extension Mercato {
[8/15] Compiling Mercato CurrencySymbolsLibrary.swift
/host/spi-builder-workspace/Sources/Mercato/Mercato+Extras.swift:23:8: error: no such module 'StoreKit'
21 | // SOFTWARE.
22 |
23 | import StoreKit
| `- error: no such module 'StoreKit'
24 |
25 | extension Mercato {
[9/15] Compiling Mercato Purchase.swift
/host/spi-builder-workspace/Sources/Mercato/Mercato+Extras.swift:23:8: error: no such module 'StoreKit'
21 | // SOFTWARE.
22 |
23 | import StoreKit
| `- error: no such module 'StoreKit'
24 |
25 | extension Mercato {
error: compile command failed due to signal 6 (use -v to see invocation)
Unhandled coercion:
(dependent_member_type assoc_type="Mercato.(file).ProductService.ProductItem@/host/spi-builder-workspace/Sources/Mercato/ProductService.swift:28:20"
(base=opened_archetype_type address=0x55bb6e9b47e8 conforms_to="Mercato.(file).StoreKitProductService@/host/spi-builder-workspace/Sources/Mercato/ProductService.swift:43:17" opened_existential_id="95164E8C-9A97-11F0-9B66-0242AC110007"
(interface_type=generic_type_param_type depth=0 index=0)
(opened_existential=existential_type
(protocol_type decl="Mercato.(file).StoreKitProductService@/host/spi-builder-workspace/Sources/Mercato/ProductService.swift:43:17"))))
(dependent_member_type assoc_type="Mercato.(file).ProductService.ProductItem@/host/spi-builder-workspace/Sources/Mercato/ProductService.swift:28:20"
(base=existential_type
(protocol_type decl="Mercato.(file).StoreKitProductService@/host/spi-builder-workspace/Sources/Mercato/ProductService.swift:43:17")))
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Mercato/Mercato+Extras.swift /host/spi-builder-workspace/Sources/Mercato/Mercato+StoreKit.swift -primary-file /host/spi-builder-workspace/Sources/Mercato/Mercato.swift -primary-file /host/spi-builder-workspace/Sources/Mercato/MercatoError.swift /host/spi-builder-workspace/Sources/Mercato/Models/PromotionalOffer.swift /host/spi-builder-workspace/Sources/Mercato/ProductService.swift /host/spi-builder-workspace/Sources/Mercato/Purchase.swift /host/spi-builder-workspace/Sources/Mercato/Utils/CurrencySymbolsLibrary.swift /host/spi-builder-workspace/Sources/Mercato/Utils/Lock.swift /host/spi-builder-workspace/Sources/Mercato/Utils/PeriodFormatter.swift /host/spi-builder-workspace/Sources/Mercato/Utils/PriceFormatter.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Mercato.build/Mercato.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Mercato.build/Mercato.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Mercato.build/MercatoError.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Mercato.build/MercatoError.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Mercato -package-name spi_builder_workspace -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Mercato.build/Mercato.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Mercato.build/MercatoError.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 6.0.3 (swift-6.0.3-RELEASE)
2. Compiling with the current language version
3. While evaluating request TypeCheckSourceFileRequest(source_file "/host/spi-builder-workspace/Sources/Mercato/Mercato.swift")
4. While evaluating request TypeCheckFunctionBodyRequest(Mercato.(file).Mercato.isEligibleForIntroOffer(for:)@/host/spi-builder-workspace/Sources/Mercato/Mercato.swift:172:17)
5. While type-checking statement at [/host/spi-builder-workspace/Sources/Mercato/Mercato.swift:172:105 - line:186:5] RangeText="{
let products = try await productService.retrieveProducts(productIds: productIds)
guard let product = products.first else {
throw MercatoError.purchase(error: .productUnavailable)
}
guard let subscription = product.subscription else {
return false
}
let subscriptionGroupID = subscription.subscriptionGroupID
return await Product.SubscriptionInfo.isEligibleForIntroOffer(for: subscriptionGroupID)
"
6. While type-checking declaration 0x55bb6e6f19f8 (at /host/spi-builder-workspace/Sources/Mercato/Mercato.swift:173:9)
7. While evaluating request PatternBindingEntryRequest((unknown decl), 0)
8. While type-checking expression at [/host/spi-builder-workspace/Sources/Mercato/Mercato.swift:173:24 - line:173:88] RangeText="try await productService.retrieveProducts(productIds: productIds"
9. While type-checking-target starting at /host/spi-builder-workspace/Sources/Mercato/Mercato.swift:173:28
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000055bb6acbbbc7
1 swift-frontend 0x000055bb6acb9b8e
2 swift-frontend 0x000055bb6acbc23a
3 libc.so.6 0x00007f886c9b0520
4 libc.so.6 0x00007f886ca049fc pthread_kill + 300
5 libc.so.6 0x00007f886c9b0476 raise + 22
6 libc.so.6 0x00007f886c9967f3 abort + 211
7 swift-frontend 0x000055bb663acf02
8 swift-frontend 0x000055bb663d20f0
9 swift-frontend 0x000055bb663d136c
10 swift-frontend 0x000055bb663aa65c
11 swift-frontend 0x000055bb663cb0a2
12 swift-frontend 0x000055bb663c9f90
13 swift-frontend 0x000055bb663cf678
14 swift-frontend 0x000055bb663b1203
15 swift-frontend 0x000055bb663ae5f0
16 swift-frontend 0x000055bb6678b766
17 swift-frontend 0x000055bb6678ab28
18 swift-frontend 0x000055bb6678b9d0
19 swift-frontend 0x000055bb6678ab69
20 swift-frontend 0x000055bb6678a160
21 swift-frontend 0x000055bb663a808d
22 swift-frontend 0x000055bb663a7b42
23 swift-frontend 0x000055bb6625e8c6
24 swift-frontend 0x000055bb6625e674
25 swift-frontend 0x000055bb6625fbb4
26 swift-frontend 0x000055bb6625fda1
27 swift-frontend 0x000055bb6633fd6a
28 swift-frontend 0x000055bb66814f2b
29 swift-frontend 0x000055bb667e2351
30 swift-frontend 0x000055bb6629f015
31 swift-frontend 0x000055bb6629ea85
32 swift-frontend 0x000055bb663363bc
33 swift-frontend 0x000055bb6633472c
34 swift-frontend 0x000055bb66333de3
35 swift-frontend 0x000055bb66333ac4
36 swift-frontend 0x000055bb66881c35
37 swift-frontend 0x000055bb667f8533
38 swift-frontend 0x000055bb66922ad9
39 swift-frontend 0x000055bb663786c8
40 swift-frontend 0x000055bb6637a5ae
41 swift-frontend 0x000055bb663785c5
42 swift-frontend 0x000055bb652844b9
43 swift-frontend 0x000055bb65001f09
44 swift-frontend 0x000055bb650011d6
45 swift-frontend 0x000055bb64dd83b7
46 libc.so.6 0x00007f886c997d90
47 libc.so.6 0x00007f886c997e40 __libc_start_main + 128
48 swift-frontend 0x000055bb64dd6ad5
BUILD FAILURE 6.0 linux