The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ALSA, reference 0.1.0 (1adfdc), with Swift 6.1 for Wasm on 29 May 2025 03:23:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Vaidios/swift-alsa.git
https://github.com/Vaidios/swift-alsa.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "ALSA",
  "name" : "ALSA",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ALSA",
      "targets" : [
        "ALSA"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Example"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Example/Assets/applaus.wav",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AudioPassthrough.swift",
        "Example.swift",
        "SoundPlayback.swift"
      ],
      "target_dependencies" : [
        "ALSA"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CALSA",
      "module_type" : "SystemLibraryTarget",
      "name" : "CALSA",
      "path" : "Sources/CALSA",
      "product_memberships" : [
        "ALSA",
        "Example"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "ALSATests",
      "module_type" : "SwiftTarget",
      "name" : "ALSATests",
      "path" : "Tests/ALSATests",
      "sources" : [
        "ALSATests.swift"
      ],
      "target_dependencies" : [
        "ALSA"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ALSA",
      "module_type" : "SwiftTarget",
      "name" : "ALSA",
      "path" : "Sources/ALSA",
      "product_memberships" : [
        "ALSA",
        "Example"
      ],
      "sources" : [
        "ALSA.swift",
        "ControlInterface/ControlInterface.swift",
        "Devices/ALSADeviceInfo.swift",
        "Devices/ALSADevices.swift",
        "PCM/Extensions/PCMDevice+Ext.swift",
        "PCM/HardwareParameters.swift",
        "PCM/PCMAccess.swift",
        "PCM/PCMDevice.swift",
        "PCM/PCMFormat.swift",
        "PCM/PCMStream.swift",
        "WAVFile.swift"
      ],
      "target_dependencies" : [
        "CALSA"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15354] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.87s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.39s)
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.0
[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 ArgumentParserToolInfo ToolInfo.swift
[9/26] Emitting module ArgumentParserToolInfo
[11/27] 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 |
[12/28] Compiling ALSA PCMDevice+Ext.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 |
[13/28] Compiling ALSA HardwareParameters.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 |
[14/28] Compiling ALSA ALSADeviceInfo.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 |
[15/28] Compiling ALSA ALSADevices.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 |
[16/28] 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 |
[17/28] 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 |
[17/28] Wrapping AST for ArgumentParserToolInfo for debugging
[19/66] Compiling ArgumentParser OptionGroup.swift
[20/66] Compiling ArgumentParser AsyncParsableCommand.swift
[21/66] Compiling ArgumentParser CommandConfiguration.swift
[22/66] Compiling ArgumentParser CommandGroup.swift
[23/66] Compiling ArgumentParser EnumerableFlag.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/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 |
[25/71] Compiling ArgumentParser BashCompletionsGenerator.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 |
[26/71] Compiling ArgumentParser CompletionsGenerator.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 |
[27/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 |
[28/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 |
[29/71] Emitting module ArgumentParser
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/21] 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 |
[4/21] 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 |
[5/22] 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 |
[6/22] Compiling ALSA PCMDevice+Ext.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 |
[7/22] Compiling ALSA HardwareParameters.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 |
[8/22] 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 |
[9/22] Compiling ALSA ALSADeviceInfo.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 |
[10/22] Compiling ALSA ALSADevices.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/22] 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 |
[12/22] Compiling ALSA ALSA.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 |
[13/22] Compiling ALSA ControlInterface.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 |
[14/22] 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 |
[15/22] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm