The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-alsa, reference main (49ca61), with Swift 6.2 for Android on 21 Jun 2025 01:35:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/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.2
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" 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/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.89s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write sources
[3/13] Copying applaus.wav
[3/13] Write sources
[6/13] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/26] Emitting module ArgumentParserToolInfo
[9/26] 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 |
[10/27] 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 |
[11/27] 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 |
[12/27] 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 |
[13/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/28] Wrapping AST for ArgumentParserToolInfo for debugging
[16/66] Emitting module ArgumentParser
[17/71] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/71] Compiling ArgumentParser CompletionsGenerator.swift
[19/71] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/71] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/71] Compiling ArgumentParser Argument.swift
[22/71] Compiling ArgumentParser ArgumentHelp.swift
[23/71] Compiling ArgumentParser OptionGroup.swift
[24/71] Compiling ArgumentParser AsyncParsableCommand.swift
[25/71] Compiling ArgumentParser CommandConfiguration.swift
[26/71] Compiling ArgumentParser CommandGroup.swift
[27/71] Compiling ArgumentParser EnumerableFlag.swift
[28/71] Compiling ArgumentParser CollectionExtensions.swift
[29/71] Compiling ArgumentParser Platform.swift
[30/71] Compiling ArgumentParser SequenceExtensions.swift
[31/71] Compiling ArgumentParser StringExtensions.swift
[32/71] Compiling ArgumentParser Tree.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/71] 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 |
<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 |
[36/71] 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 |
[37/71] 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 |
[38/71] 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 |
<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 |
[41/71] Compiling ArgumentParser Name.swift
[42/71] Compiling ArgumentParser Parsed.swift
[43/71] Compiling ArgumentParser ParsedValues.swift
[44/71] Compiling ArgumentParser ParserError.swift
[45/71] Compiling ArgumentParser SplitArguments.swift
[46/71] Compiling ArgumentParser ExpressibleByArgument.swift
[47/71] Compiling ArgumentParser ParsableArguments.swift
[48/71] Compiling ArgumentParser ParsableArgumentsValidation.swift
[49/71] Compiling ArgumentParser ParsableCommand.swift
[50/71] Compiling ArgumentParser ArgumentDecoder.swift
[51/71] Compiling ArgumentParser ArgumentVisibility.swift
[52/71] Compiling ArgumentParser CompletionKind.swift
[53/71] Compiling ArgumentParser Errors.swift
[54/71] Compiling ArgumentParser Flag.swift
[55/71] Compiling ArgumentParser NameSpecification.swift
[56/71] Compiling ArgumentParser Option.swift
[57/71] Compiling ArgumentParser DumpHelpGenerator.swift
[58/71] Compiling ArgumentParser HelpCommand.swift
[59/71] Compiling ArgumentParser HelpGenerator.swift
[60/71] Compiling ArgumentParser MessageInfo.swift
[61/71] Compiling ArgumentParser UsageGenerator.swift
[62/71] Compiling ArgumentParser ArgumentDefinition.swift
[63/71] Compiling ArgumentParser ArgumentSet.swift
[64/71] Compiling ArgumentParser CommandParser.swift
[65/71] Compiling ArgumentParser InputKey.swift
[66/71] Compiling ArgumentParser InputOrigin.swift
BUILD FAILURE 6.2 android