Build Information
Failed to build klaviyo-swift-sdk, reference master (b28414), with Swift 5.10 for Linux on 10 Dec 2025 02:04:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-5.10-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/klaviyo/klaviyo-swift-sdk.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/klaviyo/klaviyo-swift-sdk
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b284149 CHNL-27483: Update docs for rich push (add video support) (#471)
Cloned https://github.com/klaviyo/klaviyo-swift-sdk.git
Revision (git rev-parse @):
b28414902f5b3be50842d58e23e9fa52f58f0b9d
SUCCESS checkout https://github.com/klaviyo/klaviyo-swift-sdk.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/klaviyo/klaviyo-swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
2ec76a50fe7c: Pulling fs layer
031194576cad: Pulling fs layer
f49f3db6a794: Pulling fs layer
099074009041: Pulling fs layer
c015ed74f691: Pulling fs layer
79ecf4255fc2: Pulling fs layer
e26c1b0b38a1: Pulling fs layer
c028881404d3: Pulling fs layer
79ecf4255fc2: Waiting
e26c1b0b38a1: Waiting
c028881404d3: Waiting
099074009041: Waiting
c015ed74f691: Waiting
2ec76a50fe7c: Verifying Checksum
2ec76a50fe7c: Download complete
099074009041: Verifying Checksum
099074009041: Download complete
c015ed74f691: Verifying Checksum
c015ed74f691: Download complete
79ecf4255fc2: Verifying Checksum
79ecf4255fc2: Download complete
e26c1b0b38a1: Verifying Checksum
e26c1b0b38a1: Download complete
2ec76a50fe7c: Pull complete
031194576cad: Verifying Checksum
031194576cad: Download complete
c028881404d3: Verifying Checksum
c028881404d3: Download complete
f49f3db6a794: Verifying Checksum
031194576cad: Pull complete
f49f3db6a794: Pull complete
099074009041: Pull complete
c015ed74f691: Pull complete
79ecf4255fc2: Pull complete
e26c1b0b38a1: Pull complete
c028881404d3: Pull complete
Digest: sha256:29cd06ed395b3a820a5601000e78fbe5268c851b388429ada04eeea41d67dbe0
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2538] Fetching combine-schedulers
[2539/3320] Fetching combine-schedulers, anycodable
[3321/7971] Fetching combine-schedulers, anycodable, swift-custom-dump
[3694/12505] Fetching combine-schedulers, anycodable, swift-custom-dump, swift-case-paths
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.69s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.72s)
[1/15633] Fetching swift-snapshot-testing
Fetched https://github.com/Flight-School/AnyCodable from cache (3.09s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.09s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.18s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (1.12s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/886] Fetching swift-concurrency-extras
[887/6486] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.63s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.64s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.43s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.46s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.14.1 (0.46s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.45s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 0.11.2 (0.44s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.7 (0.45s)
Fetching https://github.com/swiftlang/swift-syntax
[1/73059] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.29s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.58s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 0.14.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.17.7
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 0.11.2
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/EncodableTests/testEventPayload.1.json
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/KlaviyoAPITests/testInvalidURL.1.txt
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/EncodableTests/testProfilePayload.1.json
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/KlaviyoAPITests/testEncodingError.1.txt
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/EncodableTests/testKlaviyoRequest.1.json
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/EncodableTests/testTokenPayload.1.json
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/KlaviyoAPITests/testInvalidStatusCode.1.txt
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/EncodableTests/testUnregisterTokenPayload.1.json
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/KlaviyoAPITests/testNetworkError.1.txt
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testDefaultUserAgent.1.txt
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testSessionDataTask.1.txt
/host/spi-builder-workspace/Tests/KlaviyoCoreTests/__Snapshots__/NetworkSessionTests/testSessionDataTask.2.txt
Building for debugging...
[0/13] Copying PrivacyInfo.xcprivacy
[0/13] Copying jstest.html
[0/13] Copying toggleHandler.js
[0/13] Copying consoleHandler.js
[0/13] Copying InAppFormsTemplate.html
[0/13] Copying klaviyo.html
[0/13] Write sources
[0/13] Copying closeHandler.js
[2/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/19] Emitting module KlaviyoSwiftExtension
/host/spi-builder-workspace/Sources/KlaviyoSwiftExtension/KlaviyoExtension.swift:8:8: error: no such module 'UserNotifications'
import UserNotifications
^
[15/19] Compiling KlaviyoSwiftExtension KlaviyoExtension.swift
/host/spi-builder-workspace/Sources/KlaviyoSwiftExtension/KlaviyoExtension.swift:8:8: error: no such module 'UserNotifications'
import UserNotifications
^
error: fatalError
[16/19] Emitting module AnyCodable
BUILD FAILURE 5.10 linux