Build Information
Failed to build swift-hls-kit, reference main (0547f8), with Swift 6.2 for Android on 14 Mar 2026 23:27:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/atelier-socle/swift-hls-kit.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/atelier-socle/swift-hls-kit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0547f84 docs: version bump 0.6.0, DocC HEVC/audio sync, README refresh
Cloned https://github.com/atelier-socle/swift-hls-kit.git
Revision (git rev-parse @):
0547f84380f771d6a9927efe7e41708811437b15
SUCCESS checkout https://github.com/atelier-socle/swift-hls-kit.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/atelier-socle/swift-hls-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ed06329bcd62885fa27d8bb2bd26ede56f367c486166aaeeac553557f3a78bad
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser.git
[1/2171] Fetching swift-docc-plugin
[219/19402] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.28s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.30s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (1.78s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (2.33s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3669] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.85s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/17] Write sources
[9/17] Write swift-version--11D90AFD9DD3AB2.txt
[11/195] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/195] Emitting module ArgumentParserToolInfo
[13/196] Wrapping AST for ArgumentParserToolInfo for debugging
[15/242] Emitting module HLSKit
[16/242] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[17/242] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[18/242] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[19/242] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[20/242] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[21/242] Compiling ArgumentParser ArgumentDiscussion.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[22/242] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[23/242] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[24/242] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[25/242] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[26/242] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[27/242] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[28/242] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[29/242] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[30/242] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[31/242] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[32/242] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[33/242] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[34/242] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[35/242] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[36/242] Compiling ArgumentParser ParentCommand.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[37/242] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[38/242] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[39/242] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[40/242] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:122:36: error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | }
121 |
122 | var linearGain = pow(10.0, gainDB / 20.0)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
123 |
124 | // Apply gain
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:130:38: error: cannot infer key path type from context; consider explicitly specifying a root type
128 | let meter = LevelMeter()
129 | let levels = meter.measure(data: normalized, channels: channels)
130 | let maxTruePeak = levels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
131 | var peakLimited = false
132 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:142:41: error: cannot infer key path type from context; consider explicitly specifying a root type
140 |
141 | let finalLevels = meter.measure(data: normalized, channels: channels)
142 | let finalPeak = finalLevels.map(\.truePeakDB).max() ?? -.infinity
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
143 |
144 | return NormalizationResult(
/host/spi-builder-workspace/Sources/HLSKit/Audio/AudioNormalizer.swift:147:26: error: cannot convert value of type 'Double' to expected argument type 'Float'
145 | originalLoudness: originalLoudness,
146 | targetLoudness: targetLoudness,
147 | gainDB: 20.0 * log10(linearGain),
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
148 | gainLinear: linearGain,
149 | truePeakAfter: finalPeak,
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:29: error: cannot convert value of type 'Float' to expected argument type 'Double'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LevelMeter.swift:159:21: error: cannot convert return expression of type 'Double' to return type 'Float'
157 | static func toDBFS(_ linear: Float) -> Float {
158 | guard linear > 0 else { return -.infinity }
159 | return 20.0 * log10(linear)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
160 | }
161 | }
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
268 | }
269 |
/host/spi-builder-workspace/Sources/HLSKit/Audio/LoudnessMeter.swift:267:23: error: cannot convert return expression of type 'Double' to return type 'Float'
265 | private static func energyToLUFS(_ energy: Float) -> Float {
266 | guard energy > 0 else { return -.infinity }
267 | return -0.691 + 10.0 * log10(energy)
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
268 | }
269 |
[41/290] Compiling HLSKit AudioSegmenter.swift
[42/290] Compiling HLSKit CMAFWriter.swift
[43/290] Compiling HLSKit CMAFWriterBoxes.swift
[44/290] Compiling HLSKit CMAFWriterCodecConfig.swift
[45/290] Compiling HLSKit CMAFWriterMoof.swift
[46/290] Compiling HLSKit CMAFWriterVideoMoov.swift
[47/290] Compiling HLSKit IncrementalSegmenter.swift
[48/290] Compiling HLSKit LiveSegment.swift
[49/290] Compiling HLSKit LiveSegmenter.swift
[50/290] Compiling HLSKit LiveSegmenterConfiguration.swift
[51/290] Compiling HLSKit LiveSegmenterError.swift
[52/290] Compiling HLSKit PartialSegment.swift
[53/290] Compiling HLSKit SegmentRingBuffer.swift
[54/290] Compiling HLSKit VideoSegmenter.swift
[55/290] Compiling HLSKit BlockingPlaylistHandler.swift
[56/290] Compiling HLSKit BlockingPlaylistRequest.swift
[57/290] Compiling HLSKit DeltaUpdateGenerator.swift
[58/290] Compiling HLSKit HLSSkipRequest.swift
[59/290] Compiling HLSKit LLHLSConfiguration.swift
[60/290] Compiling HLSKit LLHLSError.swift
[61/290] Compiling HLSKit LLHLSEvent.swift
[62/290] Compiling HLSKit LLHLSManager.swift
[63/290] Compiling HLSKit LLHLSPlaylistRenderer.swift
[64/290] Compiling HLSKit LLPartialSegment.swift
[65/290] Compiling HLSKit PartialSegmentManager.swift
[66/314] Compiling HLSKit EncryptionConfig.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[67/314] Compiling HLSKit EncryptionError.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[68/314] Compiling HLSKit KeyManager.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[69/314] Compiling HLSKit SampleEncryptor.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[70/314] Compiling HLSKit SampleEncryptorTS.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[71/314] Compiling HLSKit SegmentEncryptor.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[72/314] Compiling HLSKit HLSEngine.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[73/314] Compiling HLSKit HLSEngineEncryption.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[74/314] Compiling HLSKit HLSEngineSegmentation.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[75/314] Compiling HLSKit HLSEngineTranscoding.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[76/314] Compiling HLSKit ManifestGenerator.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[77/314] Compiling HLSKit TagWriter.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[78/314] Compiling HLSKit DolbyVisionConfig.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[79/314] Compiling HLSKit HDRConfig.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[80/314] Compiling HLSKit HDRVariantGenerator.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[81/314] Compiling HLSKit UltraResolutionPresets.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[82/314] Compiling HLSKit VideoRangeMapper.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[83/314] Compiling HLSKit IFramePlaylistGenerator.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[84/314] Compiling HLSKit IFrameStreamInfo.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[85/314] Compiling HLSKit ThumbnailExtractor.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[86/314] Compiling HLSKit AudioFormat.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[87/314] Compiling HLSKit FileSource.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[88/314] Compiling HLSKit InputError.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[89/314] Compiling HLSKit MediaFormatDescription.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[90/314] Compiling HLSKit MediaSource.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/KeyManager.swift:141:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
139 | var bytes = Data(count: count)
140 | let read = bytes.withUnsafeMutableBytes { ptr in
141 | fread(ptr.baseAddress, 1, count, urandom)
| |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
142 | }
143 | guard read == count else {
[91/314] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[92/314] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[93/314] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[94/314] Compiling ArgumentParser Name.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[95/314] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[96/314] Compiling ArgumentParser ParsedValues.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[97/314] Compiling ArgumentParser ParserError.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[98/314] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[99/314] Compiling ArgumentParser DumpHelpGenerator.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[100/314] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[101/314] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[102/314] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[103/314] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[104/314] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[105/314] Compiling ArgumentParser Foundation.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[106/314] Compiling ArgumentParser Mutex.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[107/314] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[108/314] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[109/314] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[110/314] Compiling ArgumentParser SwiftExtensions.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[111/314] Compiling HLSKit NALUnitParser.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[112/314] Compiling HLSKit VideoEncoder+PixelBuffer.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[113/314] Compiling HLSKit VideoEncoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[114/314] Compiling HLSKit CryptoProvider.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[115/314] Compiling HLSKit EncryptedPlaylistBuilder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[116/314] Compiling HLSKit MediaSourceConfiguration.swift
[117/314] Compiling HLSKit RawMediaBuffer.swift
[118/314] Compiling HLSKit LivePipeline.swift
[119/314] Compiling HLSKit LivePipelineComponents.swift
[120/314] Compiling HLSKit LivePipelineConfiguration.swift
[121/314] Compiling HLSKit LivePipelineOrchestration.swift
[122/314] Compiling HLSKit LivePipelinePresets.swift
[123/314] Compiling HLSKit LivePipelinePresetsExtended.swift
[124/314] Compiling HLSKit LivePipelineProPresets.swift
[125/314] Compiling HLSKit LivePipelineState.swift
[126/314] Compiling HLSKit LivePipelineStatistics.swift
[127/314] Compiling HLSKit LivePipelineTransportMonitor.swift
[128/314] Compiling HLSKit DVRBuffer.swift
[129/314] Compiling HLSKit DVRPlaylist.swift
[130/314] Compiling HLSKit DVRPlaylistConfiguration.swift
[131/314] Compiling HLSKit EventPlaylist.swift
[132/314] Compiling HLSKit EventPlaylistConfiguration.swift
[133/314] Compiling HLSKit LivePlaylistError.swift
[134/314] Compiling HLSKit LivePlaylistEvent.swift
[135/314] Compiling HLSKit LivePlaylistManager.swift
[136/314] Compiling HLSKit LivePlaylistMetadata.swift
[137/314] Compiling HLSKit MediaSequenceTracker.swift
[138/314] Compiling HLSKit PlaylistRenderer.swift
[139/314] Compiling HLSKit SlidingWindowConfiguration.swift
[140/314] Compiling HLSKit SlidingWindowPlaylist.swift
[159/344] Compiling ArgumentParser Tree.swift
[160/344] Compiling ArgumentParser CodingKeyValidator.swift
[161/344] Compiling ArgumentParser NonsenseFlagsValidator.swift
[162/344] Compiling ArgumentParser ParsableArgumentsValidation.swift
[163/344] Compiling ArgumentParser PositionalArgumentsValidator.swift
[164/344] Compiling ArgumentParser UniqueNamesValidator.swift
[172/344] Emitting module ArgumentParser
[194/345] Compiling HLSKit ServerControlConfig.swift
[195/345] Compiling HLSKit ServerControlRenderer.swift
[196/345] Compiling HLSKit ContentSteering.swift
[197/345] Compiling HLSKit DateRange.swift
[198/345] Compiling HLSKit EncryptionMethod.swift
[199/345] Compiling HLSKit HLSTag.swift
[200/345] Compiling HLSKit HLSVersion.swift
[201/345] Compiling HLSKit MasterPlaylist.swift
[202/345] Compiling HLSKit MediaPlaylist.swift
[203/345] Compiling HLSKit MediaType.swift
[204/345] Compiling HLSKit PlaylistType.swift
[205/345] Compiling HLSKit RenditionGroup.swift
[206/345] Compiling HLSKit Resolution.swift
[207/345] Compiling HLSKit Segment.swift
[208/345] Compiling HLSKit SessionData.swift
[209/345] Compiling HLSKit SubtitleCodec.swift
[210/345] Compiling HLSKit SupplementalCodecs.swift
[211/345] Compiling HLSKit Variant.swift
[212/345] Compiling HLSKit VideoRange.swift
[213/345] Compiling HLSKit DateRangeManager.swift
[214/345] Compiling HLSKit HLSInterstitial.swift
[215/345] Compiling HLSKit ID3TimedMetadata.swift
[216/345] Compiling HLSKit InterstitialManager.swift
[217/345] Compiling HLSKit LiveMetadataInjector.swift
[218/345] Compiling HLSKit ProgramDateTimeSync.swift
[219/345] Compiling HLSKit SCTE35Marker.swift
[220/345] Compiling HLSKit AttributeParser.swift
[221/345] Compiling HLSKit ManifestParser.swift
[222/345] Compiling HLSKit ParserError.swift
[223/345] Compiling HLSKit TagParser.swift
[224/345] Compiling HLSKit TagParserLowLatency.swift
[225/345] Compiling HLSKit VariableSubstitution.swift
[226/345] Compiling HLSKit BandwidthMonitor.swift
[227/345] Compiling HLSKit HTTPPusher.swift
[228/345] Compiling HLSKit HTTPPusherConfiguration.swift
[229/345] Compiling HLSKit IcecastPusher.swift
[230/345] Compiling HLSKit IcecastPusherConfiguration.swift
[231/345] Compiling HLSKit IcecastStreamStatistics.swift
[232/345] Compiling HLSKit IcecastTransport.swift
[233/345] Compiling HLSKit MultiDestinationPusher.swift
[234/345] Compiling HLSKit PushConnectionState.swift
[235/345] Compiling HLSKit PushError.swift
[236/345] Compiling HLSKit PushRetryPolicy.swift
[237/345] Compiling HLSKit PushStats.swift
[238/345] Compiling HLSKit QualityAwareTransport.swift
[239/345] Compiling HLSKit RTMPPusher.swift
[240/345] Compiling HLSKit RTMPPusherConfiguration.swift
[241/345] Compiling HLSKit RTMPServerCapabilities.swift
[242/345] Compiling HLSKit RTMPTransport.swift
[243/345] Compiling HLSKit SRTConnectionQuality.swift
[243/345] Wrapping AST for ArgumentParser for debugging
[245/345] Compiling HLSKit IMSC1Segmenter.swift
[246/345] Compiling HLSKit IMSC1SegmenterBoxes.swift
[247/345] Compiling HLSKit IMSC1Style.swift
[248/345] Compiling HLSKit AppleTranscoder.swift
[249/345] Compiling HLSKit AppleTranscoderFastPath.swift
[250/345] Compiling HLSKit AppleTranscoderHelpers.swift
[251/345] Compiling HLSKit AppleTranscoderSetup.swift
[252/345] Compiling HLSKit EncodingSettings.swift
[253/345] Compiling HLSKit FFmpegCommandBuilder.swift
[254/345] Compiling HLSKit FFmpegProcessRunner.swift
[255/345] Compiling HLSKit FFmpegSourceAnalyzer.swift
[256/345] Compiling HLSKit FFmpegTranscoder.swift
[257/345] Compiling HLSKit HTTPClient.swift
[258/345] Compiling HLSKit ManagedTranscoder.swift
[259/345] Compiling HLSKit ManagedTranscodingConfig.swift
[260/345] Compiling HLSKit ManagedTranscodingJob.swift
[261/345] Compiling HLSKit ManagedTranscodingProvider.swift
[262/345] Compiling HLSKit AWSJobSettingsBuilder.swift
[263/345] Compiling HLSKit AWSMediaConvertHelpers.swift
[264/345] Compiling HLSKit AWSMediaConvertProvider.swift
[265/345] Compiling HLSKit AWSSignatureV4.swift
[266/345] Compiling HLSKit CloudflareStreamProvider.swift
[267/345] Compiling HLSKit MuxProvider.swift
[268/345] Compiling HLSKit QualityPreset.swift
[269/345] Compiling HLSKit SRTPusher.swift
[270/345] Compiling HLSKit SRTPusherConfiguration.swift
[271/345] Compiling HLSKit SRTTransport.swift
[272/345] Compiling HLSKit SegmentPusher.swift
[273/345] Compiling HLSKit TransportAwarePipelinePolicy.swift
[274/345] Compiling HLSKit TransportAwarePusher.swift
[275/345] Compiling HLSKit TransportBitrateRecommendation.swift
[276/345] Compiling HLSKit TransportEvent.swift
[277/345] Compiling HLSKit TransportHealthDashboard.swift
[278/345] Compiling HLSKit TransportQuality.swift
[279/345] Compiling HLSKit TransportRecordingState.swift
[280/345] Compiling HLSKit TransportStatisticsSnapshot.swift
[281/345] Compiling HLSKit AutoChapterGenerator.swift
[282/345] Compiling HLSKit LiveToVODConverter.swift
[283/345] Compiling HLSKit RecordingStorage.swift
[284/345] Compiling HLSKit SimultaneousRecorder.swift
[285/345] Compiling HLSKit ContentSteeringConfig.swift
[286/345] Compiling HLSKit FailoverManager.swift
[287/345] Compiling HLSKit GapHandler.swift
[288/345] Compiling HLSKit RedundantStreamConfig.swift
[289/345] Compiling HLSKit SessionDataConfig.swift
[290/345] Compiling HLSKit MP4Segmenter.swift
[291/345] Compiling HLSKit MP4SegmenterHelpers.swift
[292/345] Compiling HLSKit MP4SegmenterPlaylist.swift
[293/345] Compiling HLSKit SegmentationConfig.swift
[294/345] Compiling HLSKit SegmentationResult.swift
[295/345] Compiling HLSKit TSSegmenter.swift
[296/345] Compiling HLSKit TSSegmenterCodecExtraction.swift
[297/345] Compiling HLSKit TSSegmenterPlaylist.swift
[298/345] Compiling HLSKit MVHEVCEncoder.swift
[299/345] Compiling HLSKit MVHEVCMediaSegmentBoxes.swift
[300/345] Compiling HLSKit MVHEVCPackager.swift
[301/345] Compiling HLSKit MVHEVCPackagerBoxes.swift
[302/345] Compiling HLSKit MVHEVCSampleProcessor.swift
[303/345] Compiling HLSKit SpatialVideoConfiguration.swift
[304/345] Compiling HLSKit VideoChannelLayout.swift
[305/345] Compiling HLSKit VideoLayoutDescriptor.swift
[306/345] Compiling HLSKit VideoProjection.swift
[307/345] Compiling HLSKit AC3Encoder.swift
[308/345] Compiling HLSKit DolbyAtmosEncoder.swift
[309/345] Compiling HLSKit HiResAudioConfig.swift
[310/345] Compiling HLSKit MultiChannelLayout.swift
[311/345] Compiling HLSKit SpatialAudioConfig.swift
[312/345] Compiling HLSKit SpatialAudioEncoder.swift
[313/345] Compiling HLSKit SpatialRenditionGenerator.swift
[314/345] Compiling HLSKit IMSC1Document.swift
[315/345] Compiling HLSKit IMSC1Parser.swift
[316/345] Compiling HLSKit IMSC1Renderer.swift
[317/345] Compiling HLSKit SourceAnalyzer.swift
[318/345] Compiling HLSKit TrackProcessing.swift
[319/345] Compiling HLSKit TranscodingConfig.swift
[320/345] Compiling HLSKit TranscodingError.swift
[321/345] Compiling HLSKit TranscodingProtocol.swift
[322/345] Compiling HLSKit TranscodingResult.swift
[323/345] Compiling HLSKit TranscodingSession.swift
[324/345] Compiling HLSKit VariantPlaylistBuilder.swift
[325/345] Compiling HLSKit VideoProfile.swift
[326/345] Compiling HLSKit ADTSConverter.swift
[327/345] Compiling HLSKit AnnexBConverter.swift
[328/345] Compiling HLSKit PESPacketizer.swift
[329/345] Compiling HLSKit ProgramTables.swift
[330/345] Compiling HLSKit TSPacket.swift
[331/345] Compiling HLSKit TSPacketWriter.swift
[332/345] Compiling HLSKit TSSegmentBuilder.swift
[333/345] Compiling HLSKit TransportError.swift
[334/345] Compiling HLSKit LockedState.swift
[335/345] Compiling HLSKit AppleHLSRules.swift
[336/345] Compiling HLSKit HLSValidator.swift
[337/345] Compiling HLSKit RFC8216MediaRules.swift
[338/345] Compiling HLSKit RFC8216Rules.swift
[339/345] Compiling HLSKit ValidationReport.swift
[340/345] Compiling HLSKit VariableRules.swift
BUILD FAILURE 6.2 android