The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ALSA, reference 0.1.0 (1adfdc), with Swift 6.2 for Linux on 21 Jun 2025 01:35:32 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.2-latest swift build --triple x86_64-unknown-linux-gnu 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: 0.1.0
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
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 1adfdc4 Create LICENSE
Cloned https://github.com/Vaidios/swift-alsa.git
Revision (git rev-parse @):
1adfdc4241b12c49a587ccd4567fda8e30591343
SUCCESS checkout https://github.com/Vaidios/swift-alsa.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.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.5.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write sources
[5/13] Copying applaus.wav
[6/13] Write swift-version-24593BA9C3E375BF.txt
[8/26] Compiling ALSA PCMStream.swift
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 |
[9/27] Emitting module ArgumentParserToolInfo
[10/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/28] Wrapping AST for ArgumentParserToolInfo for debugging
[13/66] Compiling ArgumentParser ArgumentVisibility.swift
[14/66] Compiling ArgumentParser CompletionKind.swift
[15/66] Compiling ArgumentParser Errors.swift
[16/66] Compiling ArgumentParser Flag.swift
[17/66] Compiling ArgumentParser NameSpecification.swift
[18/66] Compiling ArgumentParser Option.swift
[19/71] Compiling ArgumentParser BashCompletionsGenerator.swift
[20/71] Compiling ArgumentParser CompletionsGenerator.swift
[21/71] Compiling ArgumentParser FishCompletionsGenerator.swift
[22/71] Compiling ArgumentParser ZshCompletionsGenerator.swift
[23/71] Compiling ArgumentParser Argument.swift
[24/71] Compiling ArgumentParser ArgumentHelp.swift
[25/71] Emitting module ArgumentParser
[26/71] Compiling ALSA PCMDevice.swift
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 |
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 |
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 |
[29/71] Compiling ALSA PCMAccess.swift
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 |
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 |
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 |
[32/71] Compiling ALSA PCMFormat.swift
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 |
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 |
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/71] Emitting module ALSA
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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
/host/spi-builder-workspace/Sources/CALSA/module.modulemap:2:12: error: header '/usr/include/alsa/asoundlib.h' not found
1 | module CALSA [system] {
2 |     header "/usr/include/alsa/asoundlib.h"
  |            `- error: header '/usr/include/alsa/asoundlib.h' not found
3 |     link "asound"
4 |     export *
/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 ArgumentParser Name.swift
[38/71] Compiling ArgumentParser Parsed.swift
[39/71] Compiling ArgumentParser ParsedValues.swift
[40/71] Compiling ArgumentParser ParserError.swift
[41/71] Compiling ArgumentParser SplitArguments.swift
[42/71] Compiling ArgumentParser DumpHelpGenerator.swift
[43/71] Compiling ArgumentParser HelpCommand.swift
[44/71] Compiling ArgumentParser HelpGenerator.swift
[45/71] Compiling ArgumentParser MessageInfo.swift
[46/71] Compiling ArgumentParser UsageGenerator.swift
[47/71] Compiling ArgumentParser ExpressibleByArgument.swift
[48/71] Compiling ArgumentParser ParsableArguments.swift
[49/71] Compiling ArgumentParser ParsableArgumentsValidation.swift
[50/71] Compiling ArgumentParser ParsableCommand.swift
[51/71] Compiling ArgumentParser ArgumentDecoder.swift
[52/71] Compiling ArgumentParser OptionGroup.swift
[53/71] Compiling ArgumentParser AsyncParsableCommand.swift
[54/71] Compiling ArgumentParser CommandConfiguration.swift
[55/71] Compiling ArgumentParser CommandGroup.swift
[56/71] Compiling ArgumentParser EnumerableFlag.swift
[57/71] Compiling ArgumentParser ArgumentDefinition.swift
[58/71] Compiling ArgumentParser ArgumentSet.swift
[59/71] Compiling ArgumentParser CommandParser.swift
[60/71] Compiling ArgumentParser InputKey.swift
[61/71] Compiling ArgumentParser InputOrigin.swift
BUILD FAILURE 6.2 linux