Build Information
Failed to build swift-alsa, reference main (49ca61), with Swift 6.3 for Android on 22 Apr 2026 14:31:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/Vaidios/swift-alsa.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/Vaidios/swift-alsa
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 49ca610 When choosing wrong device, list of proper devices is returned
Cloned https://github.com/Vaidios/swift-alsa.git
Revision (git rev-parse @):
49ca610362c333e46e99a707523be73bc4ce3bb1
SUCCESS checkout https://github.com/Vaidios/swift-alsa.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/Vaidios/swift-alsa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/apple/swift-argument-parser
[1/17447] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.27s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (2.09s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/14] Copying applaus.wav
[3/14] Write sources
[7/14] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/27] Emitting module ALSA
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
[10/28] Compiling ALSA ALSADeviceInfo.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
[11/28] Compiling ALSA ALSADevices.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
[12/28] Compiling ALSA PCMDevice+Ext.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
[13/28] Compiling ALSA HardwareParameters.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
[14/28] Compiling ALSA PCMFormat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
[15/28] Compiling ALSA PCMStream.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
[16/28] Emitting module ArgumentParserToolInfo
[17/28] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/29] Wrapping AST for ArgumentParserToolInfo for debugging
[20/75] Emitting module ArgumentParser
[21/81] Compiling ArgumentParser ParentCommand.swift
[22/81] Compiling ArgumentParser AsyncParsableCommand.swift
[23/81] Compiling ArgumentParser CommandConfiguration.swift
[24/81] Compiling ArgumentParser CommandGroup.swift
[25/81] Compiling ArgumentParser EnumerableFlag.swift
[26/81] Compiling ArgumentParser ExpressibleByArgument.swift
[27/81] Compiling ArgumentParser ParsableArguments.swift
[28/81] Compiling ArgumentParser InputOrigin.swift
[29/81] Compiling ArgumentParser Name.swift
[30/81] Compiling ArgumentParser Parsed.swift
[31/81] Compiling ArgumentParser ParsedValues.swift
[32/81] Compiling ArgumentParser ParserError.swift
[33/81] Compiling ArgumentParser SplitArguments.swift
[34/81] Compiling ArgumentParser ArgumentVisibility.swift
[35/81] Compiling ArgumentParser CompletionKind.swift
[36/81] Compiling ArgumentParser Errors.swift
[37/81] Compiling ArgumentParser Flag.swift
[38/81] Compiling ArgumentParser NameSpecification.swift
[39/81] Compiling ArgumentParser Option.swift
[40/81] Compiling ArgumentParser OptionGroup.swift
[41/81] Compiling ArgumentParser Tree.swift
[42/81] Compiling ArgumentParser CodingKeyValidator.swift
[43/81] Compiling ArgumentParser NonsenseFlagsValidator.swift
[44/81] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/81] Compiling ArgumentParser PositionalArgumentsValidator.swift
[46/81] Compiling ArgumentParser UniqueNamesValidator.swift
[47/81] Compiling ArgumentParser BashCompletionsGenerator.swift
[48/81] Compiling ArgumentParser CompletionsGenerator.swift
[49/81] Compiling ArgumentParser FishCompletionsGenerator.swift
[50/81] Compiling ArgumentParser ZshCompletionsGenerator.swift
[51/81] Compiling ArgumentParser Argument.swift
[52/81] Compiling ArgumentParser ArgumentDiscussion.swift
[53/81] Compiling ArgumentParser ArgumentHelp.swift
[54/81] Compiling ArgumentParser Foundation.swift
[55/81] Compiling ArgumentParser Mutex.swift
[56/81] Compiling ArgumentParser Platform.swift
[57/81] Compiling ArgumentParser SequenceExtensions.swift
[58/81] Compiling ArgumentParser StringExtensions.swift
[59/81] Compiling ArgumentParser SwiftExtensions.swift
[60/81] Compiling ArgumentParser DumpHelpGenerator.swift
[61/81] Compiling ArgumentParser HelpCommand.swift
[62/81] Compiling ArgumentParser HelpGenerator.swift
[63/81] Compiling ArgumentParser MessageInfo.swift
[64/81] Compiling ArgumentParser UsageGenerator.swift
[65/81] Compiling ArgumentParser CollectionExtensions.swift
[66/81] Compiling ArgumentParser ParsableCommand.swift
[67/81] Compiling ArgumentParser ArgumentDecoder.swift
[68/81] Compiling ArgumentParser ArgumentDefinition.swift
[69/81] Compiling ArgumentParser ArgumentSet.swift
[70/81] Compiling ArgumentParser CommandParser.swift
[71/81] Compiling ArgumentParser InputKey.swift
[72/81] Compiling ALSA PCMDevice.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
[73/81] Compiling ALSA PCMAccess.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
[74/82] Compiling ALSA WAVFile.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CALSA/shim.h:1:10: error: 'alsa/asoundlib.h' file not found
1 | #include <alsa/asoundlib.h>
| `- error: 'alsa/asoundlib.h' file not found
/host/spi-builder-workspace/Sources/ALSA/ALSA.swift:1:8: error: could not build C module 'CALSA'
1 | import CALSA
| `- error: could not build C module 'CALSA'
2 | import Foundation
3 |
BUILD FAILURE 6.3 android