Build Information
Failed to build AmplifyUtilsNotifications, reference main (be87fe), with Swift 6.2 for Android on 20 Nov 2026 21:55:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aws-amplify/amplify-swift-utils-notifications.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/aws-amplify/amplify-swift-utils-notifications
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at be87fe4 chore(deps): bump mustache from 1.1.2 to 1.1.3 (#74)
Cloned https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Revision (git rev-parse @):
be87fe46ab07f2a69220b691b24349db303e20f5
SUCCESS checkout https://github.com/aws-amplify/amplify-swift-utils-notifications.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9a42373a341cf0ac994d1354bf172b4b5ee78d50d70e79bac890b78e8d33c52e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module AmplifyUtilsNotifications
/host/spi-builder-workspace/Sources/AmplifyUtilsNotifications/AUNotificationPermissions.swift:9:8: error: no such module 'UserNotifications'
7 |
8 | import Foundation
9 | import UserNotifications
| `- error: no such module 'UserNotifications'
10 |
11 | #if canImport(WatchKit)
[4/7] Compiling AmplifyUtilsNotifications AUNotificationService.swift
/host/spi-builder-workspace/Sources/AmplifyUtilsNotifications/AUNotificationPermissions.swift:9:8: error: no such module 'UserNotifications'
7 |
8 | import Foundation
9 | import UserNotifications
| `- error: no such module 'UserNotifications'
10 |
11 | #if canImport(WatchKit)
[5/7] Compiling AmplifyUtilsNotifications PinpointNotificationPayload.swift
/host/spi-builder-workspace/Sources/AmplifyUtilsNotifications/AUNotificationPermissions.swift:9:8: error: no such module 'UserNotifications'
7 |
8 | import Foundation
9 | import UserNotifications
| `- error: no such module 'UserNotifications'
10 |
11 | #if canImport(WatchKit)
[6/7] Compiling AmplifyUtilsNotifications AUNotificationPayload.swift
/host/spi-builder-workspace/Sources/AmplifyUtilsNotifications/AUNotificationPermissions.swift:9:8: error: no such module 'UserNotifications'
7 |
8 | import Foundation
9 | import UserNotifications
| `- error: no such module 'UserNotifications'
10 |
11 | #if canImport(WatchKit)
[7/7] Compiling AmplifyUtilsNotifications AUNotificationPermissions.swift
/host/spi-builder-workspace/Sources/AmplifyUtilsNotifications/AUNotificationPermissions.swift:9:8: error: no such module 'UserNotifications'
7 |
8 | import Foundation
9 | import UserNotifications
| `- error: no such module 'UserNotifications'
10 |
11 | #if canImport(WatchKit)
BUILD FAILURE 6.2 android