The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-hls-kit, reference 0.6.0 (0547f8), with Swift 6.2 for Android on 14 Mar 2026 23:28:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/atelier-socle/swift-hls-kit.git
Reference: 0.6.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/atelier-socle/swift-hls-kit
 * tag               0.6.0      -> FETCH_HEAD
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 0.6.0
========================================
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-3":/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/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[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.33s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.33s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (2.34s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (2.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3669] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.09s)
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
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
[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] Emitting module ArgumentParserToolInfo
[12/195] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/196] Wrapping AST for ArgumentParserToolInfo for debugging
[15/242] Emitting module HLSKit
[16/266] Compiling ArgumentParser BashCompletionsGenerator.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
[17/266] Compiling ArgumentParser CompletionsGenerator.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
[18/266] Compiling ArgumentParser FishCompletionsGenerator.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
[19/266] Compiling ArgumentParser ZshCompletionsGenerator.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
[20/266] Compiling ArgumentParser Argument.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
[21/266] Compiling ArgumentParser ArgumentDiscussion.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
[22/266] Compiling ArgumentParser ArgumentHelp.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
[23/266] Compiling ArgumentParser ArgumentVisibility.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
[24/266] Compiling ArgumentParser CompletionKind.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
[25/266] Compiling ArgumentParser Errors.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
[26/266] Compiling ArgumentParser Flag.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
[27/266] Compiling ArgumentParser NameSpecification.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
[28/266] Compiling ArgumentParser Option.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
[29/266] Compiling ArgumentParser OptionGroup.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
[30/266] Compiling ArgumentParser ParentCommand.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
[31/266] Compiling ArgumentParser AsyncParsableCommand.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
[32/266] Compiling ArgumentParser CommandConfiguration.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
[33/266] Compiling ArgumentParser CommandGroup.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
[34/266] Compiling ArgumentParser EnumerableFlag.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
[35/266] 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
[36/266] 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
[37/266] 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
[38/266] 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
[39/266] 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
[40/266] 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
[41/266] Compiling ArgumentParser UsageGenerator.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 |
[42/266] Compiling ArgumentParser CollectionExtensions.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 |
[43/266] 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 |
[44/266] 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 |
[45/266] 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 |
[46/266] 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 |
[47/266] 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 |
[48/266] 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 |
[49/266] Compiling ArgumentParser Foundation.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 |
[50/266] Compiling ArgumentParser Mutex.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 |
[51/266] Compiling ArgumentParser Platform.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 |
[52/266] Compiling ArgumentParser SequenceExtensions.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 |
[53/266] Compiling ArgumentParser StringExtensions.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 |
[54/266] Compiling ArgumentParser SwiftExtensions.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 |
[55/266] Compiling ArgumentParser InputOrigin.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 |
[56/266] Compiling ArgumentParser Name.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 |
[57/266] Compiling ArgumentParser Parsed.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 |
[58/266] Compiling ArgumentParser ParsedValues.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 |
[59/266] Compiling ArgumentParser ParserError.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 |
[60/266] Compiling ArgumentParser SplitArguments.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 |
[61/266] Compiling HLSKit MP4InfoParser.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 |
[62/266] Compiling HLSKit MP4TrackInfo.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 |
[63/266] Compiling HLSKit MediaSegmentWriter.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 |
[64/266] Compiling HLSKit MediaSegmentWriterTypes.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 |
[65/266] Compiling HLSKit SampleLocator.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 |
[66/314] Compiling HLSKit MediaSourceConfiguration.swift
[67/314] Compiling HLSKit RawMediaBuffer.swift
[68/314] Compiling HLSKit LivePipeline.swift
[69/314] Compiling HLSKit LivePipelineComponents.swift
[70/314] Compiling HLSKit LivePipelineConfiguration.swift
[71/314] Compiling HLSKit LivePipelineOrchestration.swift
[72/314] Compiling HLSKit LivePipelinePresets.swift
[73/314] Compiling HLSKit LivePipelinePresetsExtended.swift
[74/314] Compiling HLSKit LivePipelineProPresets.swift
[75/314] Compiling HLSKit LivePipelineState.swift
[76/314] Compiling HLSKit LivePipelineStatistics.swift
[77/314] Compiling HLSKit LivePipelineTransportMonitor.swift
[78/314] Compiling HLSKit DVRBuffer.swift
[79/314] Compiling HLSKit DVRPlaylist.swift
[80/314] Compiling HLSKit DVRPlaylistConfiguration.swift
[81/314] Compiling HLSKit EventPlaylist.swift
[82/314] Compiling HLSKit EventPlaylistConfiguration.swift
[83/314] Compiling HLSKit LivePlaylistError.swift
[84/314] Compiling HLSKit LivePlaylistEvent.swift
[85/314] Compiling HLSKit LivePlaylistManager.swift
[86/314] Compiling HLSKit LivePlaylistMetadata.swift
[87/314] Compiling HLSKit MediaSequenceTracker.swift
[88/314] Compiling HLSKit PlaylistRenderer.swift
[89/314] Compiling HLSKit SlidingWindowConfiguration.swift
[90/314] Compiling HLSKit SlidingWindowPlaylist.swift
[91/314] Compiling HLSKit AudioSegmenter.swift
[92/314] Compiling HLSKit CMAFWriter.swift
[93/314] Compiling HLSKit CMAFWriterBoxes.swift
[94/314] Compiling HLSKit CMAFWriterCodecConfig.swift
[95/314] Compiling HLSKit CMAFWriterMoof.swift
[96/314] Compiling HLSKit CMAFWriterVideoMoov.swift
[97/314] Compiling HLSKit IncrementalSegmenter.swift
[98/314] Compiling HLSKit LiveSegment.swift
[99/314] Compiling HLSKit LiveSegmenter.swift
[100/314] Compiling HLSKit LiveSegmenterConfiguration.swift
[101/314] Compiling HLSKit LiveSegmenterError.swift
[102/314] Compiling HLSKit PartialSegment.swift
[103/314] Compiling HLSKit SegmentRingBuffer.swift
[104/314] Compiling HLSKit VideoSegmenter.swift
[105/314] Compiling HLSKit BlockingPlaylistHandler.swift
[106/314] Compiling HLSKit BlockingPlaylistRequest.swift
[107/314] Compiling HLSKit DeltaUpdateGenerator.swift
[108/314] Compiling HLSKit HLSSkipRequest.swift
[109/314] Compiling HLSKit LLHLSConfiguration.swift
[110/314] Compiling HLSKit LLHLSError.swift
[111/314] Compiling HLSKit LLHLSEvent.swift
[112/314] Compiling HLSKit LLHLSManager.swift
[113/314] Compiling HLSKit LLHLSPlaylistRenderer.swift
[114/314] Compiling HLSKit LLPartialSegment.swift
[115/314] Compiling HLSKit PartialSegmentManager.swift
[116/338] Compiling HLSKit ServerControlConfig.swift
[117/338] Compiling HLSKit ServerControlRenderer.swift
[118/338] Compiling HLSKit ContentSteering.swift
[119/338] Compiling HLSKit DateRange.swift
[120/338] Compiling HLSKit EncryptionMethod.swift
[121/338] Compiling HLSKit HLSTag.swift
[122/338] Compiling HLSKit HLSVersion.swift
[123/338] Compiling HLSKit MasterPlaylist.swift
[124/338] Compiling HLSKit MediaPlaylist.swift
[125/338] Compiling HLSKit MediaType.swift
[126/338] Compiling HLSKit PlaylistType.swift
[127/338] Compiling HLSKit RenditionGroup.swift
[128/338] Compiling HLSKit Resolution.swift
[129/338] Compiling HLSKit Segment.swift
[130/338] Compiling HLSKit SessionData.swift
[131/338] Compiling HLSKit SubtitleCodec.swift
[132/338] Compiling HLSKit SupplementalCodecs.swift
[133/338] Compiling HLSKit Variant.swift
[134/338] Compiling HLSKit VideoRange.swift
[135/338] Compiling HLSKit DateRangeManager.swift
[136/338] Compiling HLSKit HLSInterstitial.swift
[137/338] Compiling HLSKit ID3TimedMetadata.swift
[138/338] Compiling HLSKit InterstitialManager.swift
[139/338] Compiling HLSKit LiveMetadataInjector.swift
[140/338] Compiling HLSKit ProgramDateTimeSync.swift
[141/338] 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 {
[142/338] 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 {
[143/338] 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 {
[144/338] 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 {
[145/338] 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 {
[146/338] 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 {
[147/338] 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 {
[148/338] 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 {
[149/338] 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 {
[150/338] 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 {
[151/338] 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 {
[152/338] 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 {
[153/338] 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 {
[154/338] 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 {
[155/338] 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 {
[156/338] 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 {
[157/338] 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 {
[158/338] 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 {
[159/338] 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 {
[160/338] 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 {
[161/338] 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 {
[162/338] 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 {
[163/338] 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 {
[164/338] 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 {
[165/338] 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 {
[166/338] Emitting module ArgumentParser
[180/344] Compiling HLSKit SRTPusher.swift
[181/344] Compiling HLSKit SRTPusherConfiguration.swift
[182/344] Compiling HLSKit SRTTransport.swift
[183/344] Compiling HLSKit SegmentPusher.swift
[184/344] Compiling HLSKit TransportAwarePipelinePolicy.swift
[185/344] Compiling HLSKit TransportAwarePusher.swift
[186/344] Compiling HLSKit TransportBitrateRecommendation.swift
[187/344] Compiling HLSKit TransportEvent.swift
[188/344] Compiling HLSKit TransportHealthDashboard.swift
[189/344] Compiling HLSKit TransportQuality.swift
[190/344] Compiling HLSKit TransportRecordingState.swift
[191/344] Compiling HLSKit TransportStatisticsSnapshot.swift
[192/344] Compiling HLSKit AutoChapterGenerator.swift
[193/344] Compiling HLSKit LiveToVODConverter.swift
[194/344] Compiling HLSKit RecordingStorage.swift
[195/344] Compiling HLSKit SimultaneousRecorder.swift
[196/344] Compiling HLSKit ContentSteeringConfig.swift
[197/344] Compiling HLSKit FailoverManager.swift
[198/344] Compiling HLSKit GapHandler.swift
[199/344] Compiling HLSKit RedundantStreamConfig.swift
[200/344] Compiling HLSKit SessionDataConfig.swift
[201/344] Compiling HLSKit MP4Segmenter.swift
[202/344] Compiling HLSKit MP4SegmenterHelpers.swift
[203/344] Compiling HLSKit MP4SegmenterPlaylist.swift
[216/344] Compiling ArgumentParser Tree.swift
[217/344] Compiling ArgumentParser CodingKeyValidator.swift
[218/344] Compiling ArgumentParser NonsenseFlagsValidator.swift
[219/344] Compiling ArgumentParser ParsableArgumentsValidation.swift
[220/344] Compiling ArgumentParser PositionalArgumentsValidator.swift
[221/344] Compiling ArgumentParser UniqueNamesValidator.swift
[222/344] Compiling HLSKit SCTE35Marker.swift
[223/344] Compiling HLSKit AttributeParser.swift
[224/344] Compiling HLSKit ManifestParser.swift
[225/344] Compiling HLSKit ParserError.swift
[226/344] Compiling HLSKit TagParser.swift
[227/344] Compiling HLSKit TagParserLowLatency.swift
[228/344] Compiling HLSKit VariableSubstitution.swift
[229/344] Compiling HLSKit BandwidthMonitor.swift
[230/344] Compiling HLSKit HTTPPusher.swift
[231/344] Compiling HLSKit HTTPPusherConfiguration.swift
[232/344] Compiling HLSKit IcecastPusher.swift
[233/344] Compiling HLSKit IcecastPusherConfiguration.swift
[234/344] Compiling HLSKit IcecastStreamStatistics.swift
[235/344] Compiling HLSKit IcecastTransport.swift
[236/344] Compiling HLSKit MultiDestinationPusher.swift
[237/344] Compiling HLSKit PushConnectionState.swift
[238/344] Compiling HLSKit PushError.swift
[239/344] Compiling HLSKit PushRetryPolicy.swift
[240/344] Compiling HLSKit PushStats.swift
[241/344] Compiling HLSKit QualityAwareTransport.swift
[242/344] Compiling HLSKit RTMPPusher.swift
[243/344] Compiling HLSKit RTMPPusherConfiguration.swift
[244/344] Compiling HLSKit RTMPServerCapabilities.swift
[245/344] Compiling HLSKit RTMPTransport.swift
[246/344] Compiling HLSKit SRTConnectionQuality.swift
[267/345] Wrapping AST for ArgumentParser for debugging
[269/345] Compiling HLSKit IMSC1Segmenter.swift
[270/345] Compiling HLSKit IMSC1SegmenterBoxes.swift
[271/345] Compiling HLSKit IMSC1Style.swift
[272/345] Compiling HLSKit AppleTranscoder.swift
[273/345] Compiling HLSKit AppleTranscoderFastPath.swift
[274/345] Compiling HLSKit AppleTranscoderHelpers.swift
[275/345] Compiling HLSKit AppleTranscoderSetup.swift
[276/345] Compiling HLSKit EncodingSettings.swift
[277/345] Compiling HLSKit FFmpegCommandBuilder.swift
[278/345] Compiling HLSKit FFmpegProcessRunner.swift
[279/345] Compiling HLSKit FFmpegSourceAnalyzer.swift
[280/345] Compiling HLSKit FFmpegTranscoder.swift
[281/345] Compiling HLSKit HTTPClient.swift
[282/345] Compiling HLSKit ManagedTranscoder.swift
[283/345] Compiling HLSKit ManagedTranscodingConfig.swift
[284/345] Compiling HLSKit ManagedTranscodingJob.swift
[285/345] Compiling HLSKit ManagedTranscodingProvider.swift
[286/345] Compiling HLSKit AWSJobSettingsBuilder.swift
[287/345] Compiling HLSKit AWSMediaConvertHelpers.swift
[288/345] Compiling HLSKit AWSMediaConvertProvider.swift
[289/345] Compiling HLSKit AWSSignatureV4.swift
[290/345] Compiling HLSKit CloudflareStreamProvider.swift
[291/345] Compiling HLSKit MuxProvider.swift
[292/345] Compiling HLSKit QualityPreset.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