Build Information
Failed to build SoundKit with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lucaswkuipers/SoundKit.git
Reference: develop
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/lucaswkuipers/SoundKit
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 473d897 Update README.md
Cloned https://github.com/lucaswkuipers/SoundKit.git
Revision (git rev-parse @):
473d8976a26e3e4ce36ab36ba4fde8ee8354443c
SUCCESS checkout https://github.com/lucaswkuipers/SoundKit.git at develop
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/lucaswkuipers/SoundKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SoundKit/Sound/Sounds/Empty/empty.mp3
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Emitting module SoundKit
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[4/11] Compiling SoundKit String+removing.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[5/11] Compiling SoundKit AVAudioSession+setAmbient.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[6/11] Compiling SoundKit Array+subscript(safe).swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[7/11] Compiling SoundKit SoundPlayer.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[8/11] Compiling SoundKit EmptySound.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[9/11] Compiling SoundKit Haptic.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[10/11] Compiling SoundKit HapticPlayer.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[11/11] Compiling SoundKit Sound.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SoundKit/Sound/Sounds/Empty/empty.mp3
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling SoundKit Haptic.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Emitting module SoundKit
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[4/10] Compiling SoundKit Array+subscript(safe).swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[5/10] Compiling SoundKit String+removing.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[6/10] Compiling SoundKit AVAudioSession+setAmbient.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[7/10] Compiling SoundKit SoundPlayer.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[8/10] Compiling SoundKit Sound.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[9/10] Compiling SoundKit HapticPlayer.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
[10/10] Compiling SoundKit EmptySound.swift
/host/spi-builder-workspace/Sources/SoundKit/Extensions/AVAudioSession+setAmbient.swift:1:8: error: no such module 'AVFAudio'
import AVFAudio
^
error: fatalError
BUILD FAILURE 5.10 linux