Build Information
Failed to build InopaySDK, reference main (268bda), with Swift 6.3 for macOS (SPM) on 9 May 2026 07:07:00 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fofanay/inopay-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fofanay/inopay-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 268bdad feat(ui): InopayUI module v0.2.0-alpha.1 — 14 SwiftUI screens
Cloned https://github.com/fofanay/inopay-ios.git
Revision (git rev-parse @):
268bdada2e1fee8e598a4f2b07c49d60125df6a6
SUCCESS checkout https://github.com/fofanay/inopay-ios.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "inopay-ios",
"name": "InopaySDK",
"url": "https://github.com/fofanay/inopay-ios.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/inopay-ios",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/fofanay/inopay-ios.git
[1/52] Fetching inopay-ios
Fetched https://github.com/fofanay/inopay-ios.git from cache (0.56s)
Creating working copy for https://github.com/fofanay/inopay-ios.git
Working copy of https://github.com/fofanay/inopay-ios.git resolved at main (268bdad)
warning: '.resolve-product-dependencies': dependency 'inopay-ios' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/fofanay/inopay-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module InopaySDK
/Users/admin/builder/spi-builder-workspace/Sources/InopaySDK/InopayClient.swift:160:16: error: type 'ErrPayload' cannot be nested in generic function 'request(_:method:body:)'
158 | }
159 |
160 | struct ErrPayload: Decodable { let error: String?; let detail: String? }
| `- error: type 'ErrPayload' cannot be nested in generic function 'request(_:method:body:)'
161 | let payload = try? decoder.decode(ErrPayload.self, from: data)
162 | throw InopayError(
[5/5] Compiling InopaySDK InopayClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/InopaySDK/InopayClient.swift:160:16: error: type 'ErrPayload' cannot be nested in generic function 'request(_:method:body:)'
158 | }
159 |
160 | struct ErrPayload: Decodable { let error: String?; let detail: String? }
| `- error: type 'ErrPayload' cannot be nested in generic function 'request(_:method:body:)'
161 | let payload = try? decoder.decode(ErrPayload.self, from: data)
162 | throw InopayError(
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/InopayUI/README-INOPAYUI.md
BUILD FAILURE 6.3 macosSpm