Build Information
Failed to build Versionator, reference main (84089f), with Swift 6.3 for Android on 21 Apr 2026 00:16:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Versionator.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/elegantchaos/Versionator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 84089f2 updated workflow
Cloned https://github.com/elegantchaos/Versionator.git
Revision (git rev-parse @):
84089f2c55c1e26ce92278d68e2080db331db972
SUCCESS checkout https://github.com/elegantchaos/Versionator.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/elegantchaos/Versionator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/2907] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (1.02s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.45s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.00s)
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
[1/1] Compiling plugin VersionatorPlugin
Building for debugging...
[1/26] Write sources
[9/26] Compiling CSystem shims.c
[11/26] Compiling _SubprocessCShims process_shims.c
[13/26] Write swift-version--4F562202D5529B1.txt
[15/92] Emitting module SystemPackage
[17/100] Compiling SystemPackage FilePath.swift
[18/100] Compiling SystemPackage FilePathComponentView.swift
[19/100] Compiling SystemPackage FilePathComponents.swift
[20/100] Compiling SystemPackage FilePathParsing.swift
[21/100] Compiling SystemPackage FilePathString.swift
[22/100] Compiling SystemPackage FilePathSyntax.swift
[23/100] Compiling SystemPackage FilePathTemp.swift
[24/100] Compiling SystemPackage FilePathTempPosix.swift
[25/100] Compiling SystemPackage FilePathTempWindows.swift
[26/100] Compiling SystemPackage Errno.swift
[27/100] Compiling SystemPackage ErrnoWindows.swift
[28/100] Compiling SystemPackage FileDescriptor.swift
[29/100] Compiling SystemPackage FileHelpers.swift
[30/100] Compiling SystemPackage FileOperations.swift
[31/100] Compiling SystemPackage SystemString.swift
[32/100] Compiling SystemPackage Util+StringArray.swift
[33/100] Compiling SystemPackage Util.swift
[34/100] Compiling SystemPackage UtilConsumers.swift
[35/100] Compiling SystemPackage FilePathWindows.swift
[36/100] Compiling SystemPackage FilePermissions.swift
[37/100] Compiling SystemPackage IOCompletion.swift
[38/100] Compiling SystemPackage IORequest.swift
[39/100] Compiling SystemPackage IORing.swift
[40/100] Compiling SystemPackage RawIORequest.swift
[41/100] Compiling SystemPackage Backcompat.swift
[42/100] Compiling SystemPackage CInterop.swift
[56/100] Compiling SystemPackage Syscalls.swift
[57/100] Compiling SystemPackage WindowsSyscallAdapters.swift
[58/100] Compiling SystemPackage MachPort.swift
[59/100] Compiling SystemPackage PlatformString.swift
[69/100] Emitting module VersionatorUtils
[70/100] Compiling VersionatorUtils String+AsyncSequence.swift
[71/101] Wrapping AST for VersionatorUtils for debugging
[73/101] Compiling SystemPackage Constants.swift
[74/101] Compiling SystemPackage Exports.swift
[75/101] Compiling SystemPackage Mocking.swift
[76/101] Compiling SystemPackage RawBuffer.swift
[85/102] Wrapping AST for SystemPackage for debugging
[87/124] Compiling Subprocess Input+Foundation.swift
[88/124] Compiling Subprocess Output+Foundation.swift
[89/124] Compiling Subprocess Span+SubprocessFoundation.swift
[91/125] Wrapping AST for SystemPackage for debugging
[93/147] Compiling Subprocess Input+Foundation.swift
[94/147] Compiling Subprocess Output+Foundation.swift
[95/147] Compiling Subprocess Span+SubprocessFoundation.swift
[96/147] Compiling Subprocess Subprocess+Darwin.swift
[97/147] Compiling Subprocess Subprocess+Linux.swift
[98/147] Compiling Subprocess Subprocess+Unix.swift
[99/149] Emitting module VersionatorUtils
[100/149] Compiling VersionatorUtils String+AsyncSequence.swift
[101/150] Wrapping AST for VersionatorUtils for debugging
[103/150] Compiling Subprocess Subprocess+Windows.swift
[104/150] Compiling Subprocess Result.swift
[105/150] Compiling Subprocess Span+Subprocess.swift
[106/152] Emitting module Subprocess
[111/152] Compiling Subprocess AsyncIO+Dispatch.swift
[112/152] Compiling Subprocess AsyncIO+Linux.swift
[113/152] Compiling Subprocess AsyncIO+Windows.swift
[114/152] Compiling Subprocess Teardown.swift
[115/152] Compiling Subprocess Thread.swift
[116/152] Compiling Subprocess Configuration.swift
[117/152] Compiling Subprocess Error.swift
[118/152] Compiling Subprocess Execution.swift
[119/152] Compiling Subprocess Input.swift
[120/152] Compiling Subprocess Output.swift
[121/152] Compiling Subprocess Subprocess+BSD.swift
[122/152] Compiling Subprocess API.swift
[123/152] Compiling Subprocess AsyncBufferSequence.swift
[124/152] Compiling Subprocess Buffer.swift
[128/153] Wrapping AST for Subprocess for debugging
[130/155] Emitting module VersionatorTool
[131/155] Compiling VersionatorTool VersionatorTool.swift
[132/156] Wrapping AST for VersionatorTool for debugging
[133/156] Write Objects.LinkFileList
[134/156] Linking VersionatorTool-tool
[153/157] Wrapping AST for Subprocess for debugging
[155/159] Emitting module VersionatorTool
[156/159] Compiling VersionatorTool VersionatorTool.swift
/host/spi-builder-workspace/Sources/VersionatorTool/VersionatorTool.swift:37:5: error: cannot find 'chdir' in scope
35 |
36 | let root = args[1]
37 | chdir(root)
| `- error: cannot find 'chdir' in scope
38 |
39 | // build number is derived from the commit count on the current branch
BUILD FAILURE 6.3 android