Build Information
Failed to build SwiftAndroid, reference master (a44432
), with Swift 6.1 for Linux on 8 Jun 2025 10:28:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/android.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/pureswift/android
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a444325 Ignore Finder files
Cloned https://github.com/pureswift/android.git
Revision (git rev-parse @):
a4443255b2cab83f3f28b6a559f5d6dcfb9b8de7
SUCCESS checkout https://github.com/pureswift/android.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/pureswift/android.git
https://github.com/pureswift/android.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-java",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-java.git"
},
{
"identity" : "jni",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PureSwift/JNI.git"
},
{
"identity" : "java_util",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PureSwift/java_util.git"
}
],
"manifest_display_name" : "SwiftAndroid",
"name" : "SwiftAndroid",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftAndroid",
"targets" : [
"SwiftAndroid"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftAndroid",
"module_type" : "SwiftTarget",
"name" : "SwiftAndroid",
"path" : "Sources/Android",
"product_dependencies" : [
"JavaKit",
"JNI",
"java_util"
],
"product_memberships" : [
"SwiftAndroid"
],
"sources" : [
"AlertDialog.swift",
"AlertDialogBuilder.swift",
"AndroidManifestPermission.swift",
"AndroidManifestPermissionGroup.swift",
"AndroidNamespace.swift",
"AndroidPoint.swift",
"AppCompatActivity.swift",
"AppCompatDialog.swift",
"Application.swift",
"ArrayListExtension.swift",
"ComponentActivity.swift",
"ContentBroadcastReceiver.swift",
"ContentContext.swift",
"ContentContextWrapper.swift",
"ContentIntent.swift",
"ContentIntentFilter.swift",
"ContentPmPackageManager.swift",
"ContentResResources.swift",
"ContextCompat.swift",
"ContextSystemService.swift",
"Dialog.swift",
"DialogInterface.swift",
"DialogInterfaceOnClickListener.swift",
"DrawableCompat.swift",
"FullScreenDialogFragment.swift",
"GraphicsColor.swift",
"GraphicsDrawableColorDrawable.swift",
"GraphicsDrawableDrawable.swift",
"GraphicsRect.swift",
"JNI.swift",
"Menu.swift",
"MenuItem.swift",
"OsBuild.swift",
"OsBuildVersion.swift",
"OsBuildVersionCodes.swift",
"OsBundle.swift",
"OsEnvironment.swift",
"OsHandler.swift",
"OsParcelUuid.swift",
"ProgressDialog.swift",
"RecyclerView.swift",
"RecyclerViewAdapter.swift",
"RecyclerViewDividerItemDecoration.swift",
"RecyclerViewItemDecoration.swift",
"RecyclerViewLayoutManager.swift",
"RecyclerViewLinearLayoutManager.swift",
"RecyclerViewViewHolder.swift",
"Resource.swift",
"Runnable.swift",
"RuntimeConfiguration.swift",
"TextView.swift",
"Toolbar.swift",
"ToolbarOnMenuItemClickListener.swift",
"UtilDisplayMetrics.swift",
"UtilSparseArray.swift",
"VectorDrawableCompat.swift",
"View.swift",
"ViewAnimation.swift",
"ViewAnimationAnimationListener.swift",
"ViewAnimationInterpolator.swift",
"ViewCompat.swift",
"ViewDisplay.swift",
"ViewGroup.swift",
"ViewGroupLayoutParams.swift",
"ViewGroupMarginLayoutParams.swift",
"ViewLayoutInflater.swift",
"ViewOnClickListener.swift",
"ViewOnFocusChangeListener.swift",
"ViewTreeObserver.swift",
"ViewTreeObserverOnGlobalLayoutListener.swift",
"ViewWindow.swift",
"ViewWindowManager.swift",
"ViewWindowManagerLayoutParams.swift",
"WidgetAbsSeekBar.swift",
"WidgetArrayAdapter.swift",
"WidgetBaseAdapter.swift",
"WidgetBottomNavigationView.swift",
"WidgetButton.swift",
"WidgetCheckBox.swift",
"WidgetCompoundButton.swift",
"WidgetCompoundButtonOnCheckedChangeListener.swift",
"WidgetEditText.swift",
"WidgetFrameLayout.swift",
"WidgetFrameLayoutLayoutParams.swift",
"WidgetHorizontalScrollView.swift",
"WidgetImageView.swift",
"WidgetLinearLayout.swift",
"WidgetLinearLayoutCompat.swift",
"WidgetLinearLayoutLayoutParams.swift",
"WidgetNestedScrollView.swift",
"WidgetOnNavigationItemSelectedListener.swift",
"WidgetProgressBar.swift",
"WidgetSearchView.swift",
"WidgetSearchViewOnCloseListener.swift",
"WidgetSearchViewOnQueryTextListener.swift",
"WidgetSearchViewOnSuggestionListener.swift",
"WidgetSeekBar.swift",
"WidgetSeekBarOnSeekBarChangeListener.swift",
"WidgetSwipeRefreshLayout.swift",
"WidgetSwipeRefreshLayoutOnRefreshListener.swift",
"WidgetSwitchCompat.swift",
"WidgetTabLayout.swift",
"WidgetTabLayoutOnPageChangeListener.swift",
"WidgetTabLayoutOnTabSelectedListener.swift",
"WidgetTabLayoutTab.swift",
"WidgetToast.swift",
"WidgetViewPagerOnTabSelectedListener.swift",
"contentSharedPreferences.swift",
"contentSharedPreferencesEditor.swift",
"inputmethodInputMethodManager.swift",
"ioBufferedReader.swift",
"ioFile.swift",
"ioFileInputStream.swift",
"ioFileReader.swift",
"ioInputStream.swift",
"ioInputStreamReader.swift",
"ioReader.swift",
"textEditable.swift",
"textTextUtilsTruncateAt.swift",
"textTextWatcher.swift",
"viewGravity.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/swiftlang/swift-java.git
[1/7310] Fetching swift-java
Fetched https://github.com/swiftlang/swift-java.git from cache (0.48s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.CX70Lz/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.0.0", "/Package.swift", "-o", "/tmp/TemporaryDirectory.24eTqw/swift-java-manifest"])
main/Package.swift:29: Fatal error: Please set the JAVA_HOME environment variable to point to where Java is installed.
*** Signal 4: Backtracing from 0x7f39eeec7788... done ***
*** Program crashed: Illegal instruction at 0x00007f39eeec7788 ***
Thread 0 "swift-java-mani" crashed:
0 0x00007f39eeec7788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x0000561ef1456255 findJavaHome() + 1684 in swift-java-manifest
2 [ra] 0x0000561ef1456971 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000005 5
rbx 0x0000000561ef23ef 23117898735
rsi 0x8000561ef1460c00 9223466727751683072
rdi 0x0000561ef23dd010 06 00 01 00 01 00 02 00 02 00 01 00 01 00 00 00 ················
rbp 0x00007ffc2ccd9f60 20 a2 cd 2c fc 7f 00 00 55 62 45 f1 1e 56 00 00 ¢Í,ü···UbEñ·V··
rsp 0x00007ffc2ccd9ef0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x0000561ef23efbe0 ef 23 ef 61 05 00 00 00 56 ab 2b 5d eb 49 ae 83 ï#ïa····V«+]ëI®·
r9 0x00007ffc2ccd9bd0 46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65 Fatal error: Ple
r10 0x0000000000000000 0
r11 0x83ae49eb5d2bab56 9488602740145498966
r12 0x0000561ef23f0550 f0 23 ef 61 05 00 00 00 56 ab 2b 5d eb 49 ae 83 ð#ïa····V«+]ëI®·
r13 0x00007ffc2ccda1e0 10 00 00 00 00 00 00 f0 e0 fa 3e f2 1e 56 00 00 ·······ðàú>ò·V··
r14 0x0000561ef1462c40 03 00 00 00 00 00 00 00 e8 2f 46 f1 1e 56 00 00 ········è/Fñ·V··
r15 0x00007f39ef335040 e0 62 33 ef 39 7f 00 00 16 00 00 00 00 00 00 00 àb3ï9···········
rip 0x00007f39eeec7788 0f 0b 48 8d 35 4f 5c fb ff 48 8d 55 a0 45 31 e4 ··H·5O\ûÿH·U E1ä
rflags 0x0000000000010206 PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (19 omitted):
0x0000561ef1452000–0x0000561ef14610d0 8a684190e1afaa5f2e97ae55d1113194f94c4488 swift-java-manifest /tmp/TemporaryDirectory.24eTqw/swift-java-manifest
0x00007f39eebeb000–0x00007f39ef1798c0 e0daad81442ed488d8b83fd10c171fcb90baba85 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.03s in https://github.com/swiftlang/swift-java.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
docker: Error response from daemon: Get "https://registry.gitlab.com/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Run 'docker run --help' for more information
BUILD FAILURE 6.1 linux