The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Janet, reference main (f8dbdd), with Swift 6.3 for Android on 28 Sep 2026 12:33:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/swift-janet.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/CleanCocoa/swift-janet
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f8dbddc Release 0.1.1
Cloned https://github.com/CleanCocoa/swift-janet.git
Revision (git rev-parse @):
f8dbddca41b3b5bdb91e0acd2300d0f9a22a006f
SUCCESS checkout https://github.com/CleanCocoa/swift-janet.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/CleanCocoa/swift-janet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:8ca9e1e6d70fd53f5b05e4f64d92569d697563f7f457a1485802bc9eb2cd1382
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling CJanet janet.c
[2/3] Write swift-version-272D24FF697CF451.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Emitting module Janet
/host/spi-builder-workspace/Sources/Janet/JanetVM.swift:92:5: error: cannot find 'pthread_key_create' in scope
 90 | private let liveVMKey: pthread_key_t = {
 91 |     var key = pthread_key_t()
 92 |     pthread_key_create(&key, nil)
    |     `- error: cannot find 'pthread_key_create' in scope
 93 |     return key
 94 | }()
/host/spi-builder-workspace/Sources/Janet/JanetVM.swift:92:30: error: 'nil' requires a contextual type
 90 | private let liveVMKey: pthread_key_t = {
 91 |     var key = pthread_key_t()
 92 |     pthread_key_create(&key, nil)
    |                              `- error: 'nil' requires a contextual type
 93 |     return key
 94 | }()
[5/11] Compiling Janet JanetValue+Raw.swift
[6/11] Compiling Janet JanetVM.swift
/host/spi-builder-workspace/Sources/Janet/JanetVM.swift:92:5: error: cannot find 'pthread_key_create' in scope
 90 | private let liveVMKey: pthread_key_t = {
 91 |     var key = pthread_key_t()
 92 |     pthread_key_create(&key, nil)
    |     `- error: cannot find 'pthread_key_create' in scope
 93 |     return key
 94 | }()
/host/spi-builder-workspace/Sources/Janet/JanetVM.swift:92:30: error: 'nil' requires a contextual type
 90 | private let liveVMKey: pthread_key_t = {
 91 |     var key = pthread_key_t()
 92 |     pthread_key_create(&key, nil)
    |                              `- error: 'nil' requires a contextual type
 93 |     return key
 94 | }()
/host/spi-builder-workspace/Sources/Janet/JanetVM.swift:23:18: error: cannot find 'pthread_self' in scope
 21 |         )
 22 |         threadHasLiveVM = true
 23 |         thread = pthread_self()
    |                  `- error: cannot find 'pthread_self' in scope
 24 |         janet_init()
 25 |         env = janet_core_env(nil)
/host/spi-builder-workspace/Sources/Janet/JanetVM.swift:44:39: error: cannot find 'pthread_equal' in scope
 42 |     }
 43 |
 44 |     private var isOnOwnThread: Bool { pthread_equal(thread, pthread_self()) != 0 }
    |                                       `- error: cannot find 'pthread_equal' in scope
 45 |
 46 |     /// Parses, compiles and runs `source`, returning the value of its last form.
/host/spi-builder-workspace/Sources/Janet/JanetVM.swift:44:61: error: cannot find 'pthread_self' in scope
 42 |     }
 43 |
 44 |     private var isOnOwnThread: Bool { pthread_equal(thread, pthread_self()) != 0 }
    |                                                             `- error: cannot find 'pthread_self' in scope
 45 |
 46 |     /// Parses, compiles and runs `source`, returning the value of its last form.
/host/spi-builder-workspace/Sources/Janet/JanetVM.swift:97:11: error: cannot find 'pthread_getspecific' in scope
 95 |
 96 | private var threadHasLiveVM: Bool {
 97 |     get { pthread_getspecific(liveVMKey) != nil }
    |           `- error: cannot find 'pthread_getspecific' in scope
 98 |     set { pthread_setspecific(liveVMKey, newValue ? UnsafeRawPointer(bitPattern: 1) : nil) }
 99 | }
/host/spi-builder-workspace/Sources/Janet/JanetVM.swift:98:11: error: cannot find 'pthread_setspecific' in scope
 96 | private var threadHasLiveVM: Bool {
 97 |     get { pthread_getspecific(liveVMKey) != nil }
 98 |     set { pthread_setspecific(liveVMKey, newValue ? UnsafeRawPointer(bitPattern: 1) : nil) }
    |           `- error: cannot find 'pthread_setspecific' in scope
 99 | }
100 |
[7/11] Compiling Janet JanetError.swift
[8/11] Compiling Janet JanetRuntime.swift
[9/11] Compiling Janet ThreadExecutor.swift
[10/11] Compiling Janet MainJanetRuntime.swift
[11/11] Compiling Janet JanetValue.swift
BUILD FAILURE 6.3 android