Build Information
Failed to build swift-alsa, reference main (49ca61), with Swift 6.1 for Wasm on 29 May 2025 03:23:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: 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" : "swift-alsa",
"name" : "swift-alsa",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ALSA",
"targets" : [
"ALSA"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "PCMDeviceTests",
"module_type" : "SwiftTarget",
"name" : "PCMDeviceTests",
"path" : "Tests/PCMDeviceTests",
"sources" : [
"PCMDeviceTests.swift"
],
"target_dependencies" : [
"ALSA"
],
"type" : "test"
},
{
"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" : "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-0":/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 (1.04s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.85s)
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
[1/13] Copying applaus.wav
[6/13] Write swift-version-24593BA9C3E375BF.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 ArgumentParserToolInfo ToolInfo.swift
[11/28] Wrapping AST for ArgumentParserToolInfo for debugging
[13/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 |
[14/66] Emitting module ArgumentParser
[15/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 |
[16/71] Compiling ArgumentParser ArgumentVisibility.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 |
[17/71] Compiling ArgumentParser CompletionKind.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 |
[18/71] Compiling ArgumentParser NameSpecification.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 |
[19/71] Compiling ArgumentParser Option.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 |
[20/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 |
[21/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 |
[24/71] Compiling ArgumentParser Errors.swift
[25/71] Compiling ArgumentParser Flag.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
<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 |
[4/21] 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 |
[5/22] Compiling ALSA ALSA.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 |
[6/22] Compiling ALSA ControlInterface.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/22] 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 |
[8/22] 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 |
[9/22] 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 |
[10/22] 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/22] 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/22] 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/22] 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/22] 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 |
[15/22] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm