The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Script.swift, reference 0.0.3 (f9e476), with Swift 6.2 (beta) for Android on 20 Jun 2025 11:19:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KS1019/Script.swift.git
Reference: 0.0.3
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/KS1019/Script.swift
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at f9e4760 Update .spi.yml (#5)
Cloned https://github.com/KS1019/Script.swift.git
Revision (git rev-parse @):
f9e47607d95a7ec7dbfee0e266d4cee22ba8b86f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KS1019/Script.swift.git at 0.0.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/KS1019/Script.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/JohnSundell/Files
[1/980] Fetching shellout
[981/2228] Fetching shellout, files
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.26s)
Fetched https://github.com/JohnSundell/Files from cache (0.26s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.52s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.3.0 (0.41s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.3.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/8] Emitting module Files
[6/8] Emitting module ShellOut
[7/8] Compiling ShellOut ShellOut.swift
[9/9] Compiling Files Files.swift
[11/17] Compiling ScriptSwift Script+Comparable.swift
[12/17] Emitting module ScriptSwift
[13/17] Compiling ScriptSwift Script+String.swift
[14/17] Compiling ScriptSwift Script+Files.swift
[15/17] Compiling ScriptSwift Script+Data.swift
[16/17] Compiling ScriptSwift Script.swift
[17/17] Compiling ScriptSwift SystemCall.swift
/host/spi-builder-workspace/Sources/ScriptSwift/SystemCall.swift:14:9: error: cannot find '_exit' in scope
12 | func exit(withError error: Error? = nil) -> Never {
13 |     guard let error = error else {
14 |         _exit(0)
   |         `- error: cannot find '_exit' in scope
15 |     }
16 |
/host/spi-builder-workspace/Sources/ScriptSwift/SystemCall.swift:17:5: error: cannot find 'fputs' in scope
15 |     }
16 |
17 |     fputs(error.localizedDescription, stderr)
   |     `- error: cannot find 'fputs' in scope
18 |     _exit(1)
19 | }
/host/spi-builder-workspace/Sources/ScriptSwift/SystemCall.swift:17:39: error: cannot find 'stderr' in scope
15 |     }
16 |
17 |     fputs(error.localizedDescription, stderr)
   |                                       `- error: cannot find 'stderr' in scope
18 |     _exit(1)
19 | }
/host/spi-builder-workspace/Sources/ScriptSwift/SystemCall.swift:18:5: error: cannot find '_exit' in scope
16 |
17 |     fputs(error.localizedDescription, stderr)
18 |     _exit(1)
   |     `- error: cannot find '_exit' in scope
19 | }
20 |
BUILD FAILURE 6.2 android