The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-hls-kit, reference 0.6.1 (36e481), with Swift 6.2 for Android on 27 Jun 2026 02:28:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/atelier-socle/swift-hls-kit.git
Reference: 0.6.1
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.1      -> FETCH_HEAD
HEAD is now at 36e481e ci: Swift 6.2/6.3 matrix, GitHub Actions node24, Xcode 26.4
Cloned https://github.com/atelier-socle/swift-hls-kit.git
Revision (git rev-parse @):
36e481e70ca02b18828ba02a512d0e621f629d5d
SUCCESS checkout https://github.com/atelier-socle/swift-hls-kit.git at 0.6.1
========================================
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-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3f0849bce0d177c252f57ff0847fffe59d625aee973279c71a52a43c740d3c90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser.git
[1/2325] Fetching swift-docc-plugin
[257/20274] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.65s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.65s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.80s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.85s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/17] Write sources
[9/17] Write swift-version--11D90AFD9DD3AB2.txt
[11/195] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/195] Emitting module ArgumentParserToolInfo
[13/196] Wrapping AST for ArgumentParserToolInfo for debugging
[15/243] Emitting module ArgumentParser
[16/249] Emitting module HLSKit
[17/273] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/273] Compiling ArgumentParser CompletionsGenerator.swift
[19/273] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/273] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/273] Compiling ArgumentParser Argument.swift
[22/273] Compiling ArgumentParser ArgumentDiscussion.swift
[23/273] Compiling ArgumentParser ArgumentHelp.swift
[24/273] Compiling ArgumentParser AsyncCompletionsValidator.swift
[25/273] Compiling ArgumentParser CodingKeyValidator.swift
[26/273] Compiling ArgumentParser NonsenseFlagsValidator.swift
[27/273] Compiling ArgumentParser ParsableArgumentsValidation.swift
[28/273] Compiling ArgumentParser PositionalArgumentsValidator.swift
[29/273] Compiling ArgumentParser UniqueNamesValidator.swift
[30/273] Compiling ArgumentParser ArgumentVisibility.swift
[31/273] Compiling ArgumentParser CompletionKind.swift
[32/273] Compiling ArgumentParser Errors.swift
[33/273] Compiling ArgumentParser Flag.swift
[34/273] Compiling ArgumentParser NameSpecification.swift
[35/273] Compiling ArgumentParser Option.swift
[36/273] Compiling ArgumentParser OptionGroup.swift
[37/273] Compiling ArgumentParser Mutex.swift
[38/273] Compiling ArgumentParser Platform.swift
[39/273] Compiling ArgumentParser SequenceExtensions.swift
[40/273] Compiling ArgumentParser StringExtensions.swift
[41/273] Compiling ArgumentParser SwiftExtensions.swift
[42/273] Compiling ArgumentParser Tree.swift
[43/273] Compiling ArgumentParser Name.swift
[44/273] Compiling ArgumentParser Parsed.swift
[45/273] Compiling ArgumentParser ParsedValues.swift
[46/273] Compiling ArgumentParser ParserError.swift
[47/273] Compiling ArgumentParser SplitArguments.swift
[48/273] Compiling ArgumentParser DumpHelpGenerator.swift
[49/273] Compiling ArgumentParser HelpCommand.swift
[50/273] Compiling ArgumentParser HelpGenerator.swift
[51/273] Compiling ArgumentParser MessageInfo.swift
[52/273] Compiling ArgumentParser UsageGenerator.swift
[53/273] Compiling ArgumentParser CollectionExtensions.swift
[54/273] Compiling ArgumentParser Foundation.swift
[55/273] Compiling HLSKit SampleLocatorAudioAlignment.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
[56/273] Compiling HLSKit SampleTable.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
[57/273] Compiling HLSKit SampleTableParser.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
[58/273] Compiling HLSKit DRMInterop.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
[59/273] Compiling HLSKit FairPlayLiveConfig.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
[60/273] Compiling HLSKit KeyRotationPolicy.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
[61/273] Compiling HLSKit LiveDRMPipeline.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
[62/273] Compiling HLSKit LiveDRMPipelineConfig.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
[63/273] Compiling HLSKit LiveKeyManager.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
[64/273] Compiling HLSKit SessionKeyManager.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
[65/273] Compiling HLSKit ADTSParser.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
[66/273] Compiling HLSKit AudioConverterBridge.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
[67/273] Compiling HLSKit AudioEncoder.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
[68/273] Compiling HLSKit EncodedFrame.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
[69/273] Compiling HLSKit FFmpegAudioEncoder.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
[70/273] Compiling HLSKit FFmpegVideoEncoder.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
[71/273] Compiling HLSKit LiveEncoder.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
[72/273] Compiling HLSKit LiveEncoderConfiguration.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
[73/273] Compiling HLSKit LiveEncoderError.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
[74/273] Compiling HLSKit MultiBitrateEncoder.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
[75/273] Compiling HLSKit NALUnitParser.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
 74 |         return OpenSSLCryptoProvider()
 75 |     #endif
 76 | }
    | `- error: missing return in global function expected to return 'any CryptoProvider'
 77 |
 78 | // MARK: - Apple Implementation
[76/273] Compiling HLSKit VideoEncoder+PixelBuffer.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
 74 |         return OpenSSLCryptoProvider()
 75 |     #endif
 76 | }
    | `- error: missing return in global function expected to return 'any CryptoProvider'
 77 |
 78 | // MARK: - Apple Implementation
[77/273] Compiling HLSKit VideoEncoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
 74 |         return OpenSSLCryptoProvider()
 75 |     #endif
 76 | }
    | `- error: missing return in global function expected to return 'any CryptoProvider'
 77 |
 78 | // MARK: - Apple Implementation
[78/273] Compiling HLSKit CryptoProvider.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
 74 |         return OpenSSLCryptoProvider()
 75 |     #endif
 76 | }
    | `- error: missing return in global function expected to return 'any CryptoProvider'
 77 |
 78 | // MARK: - Apple Implementation
[79/273] Compiling HLSKit EncryptedPlaylistBuilder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
 74 |         return OpenSSLCryptoProvider()
 75 |     #endif
 76 | }
    | `- error: missing return in global function expected to return 'any CryptoProvider'
 77 |
 78 | // MARK: - Apple Implementation
[88/297] Compiling ArgumentParser ParsableCommand.swift
[89/297] Compiling ArgumentParser ArgumentDecoder.swift
[90/297] Compiling ArgumentParser ArgumentDefinition.swift
[91/297] Compiling ArgumentParser ArgumentSet.swift
[92/297] Compiling ArgumentParser CommandParser.swift
[93/297] Compiling ArgumentParser InputKey.swift
[94/297] Compiling ArgumentParser InputOrigin.swift
[119/297] Compiling ArgumentParser ParentCommand.swift
[120/297] Compiling ArgumentParser AsyncParsableCommand.swift
[121/297] Compiling ArgumentParser CommandConfiguration.swift
[122/297] Compiling ArgumentParser CommandGroup.swift
[123/297] Compiling ArgumentParser EnumerableFlag.swift
[124/297] Compiling ArgumentParser ExpressibleByArgument.swift
[125/297] Compiling ArgumentParser ParsableArguments.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 |
/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 |
[132/345] Compiling HLSKit ClosedCaptionConfig.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 |
[133/345] Compiling HLSKit LiveSubtitlePlaylist.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 |
[134/345] Compiling HLSKit LiveWebVTTWriter.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 |
[135/345] Compiling HLSKit AudioFormatConverter.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 |
[136/345] Compiling HLSKit AudioNormalizer.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 |
[137/345] Compiling HLSKit ChannelMixer.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 |
[138/345] Compiling HLSKit LevelMeter.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 |
[139/345] Compiling HLSKit LoudnessMeter.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 |
[140/345] Compiling HLSKit SampleRateConverter.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 |
[141/345] Compiling HLSKit SilenceDetector.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 |
[142/345] Compiling HLSKit MasterPlaylistBuilder.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 |
[143/345] Compiling HLSKit MediaPlaylistBuilder.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 |
[144/345] Compiling HLSKit BinaryReader.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 |
[145/345] Compiling HLSKit BinaryWriter.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 |
[146/345] Compiling HLSKit InitSegmentWriter.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 |
[147/345] Compiling HLSKit MP4Box.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 |
[148/345] Compiling HLSKit MP4BoxReader.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 |
[149/345] Compiling HLSKit MP4Error.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 |
[150/345] 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 |
[151/345] 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 |
[152/345] 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 |
[153/345] 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 |
[154/345] 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 |
[169/346] Wrapping AST for ArgumentParser for debugging
[171/346] Compiling HLSKit ServerControlConfig.swift
[172/346] Compiling HLSKit ServerControlRenderer.swift
[173/346] Compiling HLSKit ContentSteering.swift
[174/346] Compiling HLSKit DateRange.swift
[175/346] Compiling HLSKit EncryptionMethod.swift
[176/346] Compiling HLSKit HLSTag.swift
[177/346] Compiling HLSKit HLSVersion.swift
[178/346] Compiling HLSKit MasterPlaylist.swift
[179/346] Compiling HLSKit MediaPlaylist.swift
[180/346] Compiling HLSKit MediaType.swift
[181/346] Compiling HLSKit PlaylistType.swift
[182/346] Compiling HLSKit RenditionGroup.swift
[183/346] Compiling HLSKit Resolution.swift
[184/346] Compiling HLSKit Segment.swift
[185/346] Compiling HLSKit SessionData.swift
[186/346] Compiling HLSKit SubtitleCodec.swift
[187/346] Compiling HLSKit SupplementalCodecs.swift
[188/346] Compiling HLSKit Variant.swift
[189/346] Compiling HLSKit VideoRange.swift
[190/346] Compiling HLSKit DateRangeManager.swift
[191/346] Compiling HLSKit HLSInterstitial.swift
[192/346] Compiling HLSKit ID3TimedMetadata.swift
[193/346] Compiling HLSKit InterstitialManager.swift
[194/346] Compiling HLSKit LiveMetadataInjector.swift
[195/346] Compiling HLSKit ProgramDateTimeSync.swift
[196/346] Compiling HLSKit SRTPusher.swift
[197/346] Compiling HLSKit SRTPusherConfiguration.swift
[198/346] Compiling HLSKit SRTTransport.swift
[199/346] Compiling HLSKit SegmentPusher.swift
[200/346] Compiling HLSKit TransportAwarePipelinePolicy.swift
[201/346] Compiling HLSKit TransportAwarePusher.swift
[202/346] Compiling HLSKit TransportBitrateRecommendation.swift
[203/346] Compiling HLSKit TransportEvent.swift
[204/346] Compiling HLSKit TransportHealthDashboard.swift
[205/346] Compiling HLSKit TransportQuality.swift
[206/346] Compiling HLSKit TransportRecordingState.swift
[207/346] Compiling HLSKit TransportStatisticsSnapshot.swift
[208/346] Compiling HLSKit AutoChapterGenerator.swift
[209/346] Compiling HLSKit LiveToVODConverter.swift
[210/346] Compiling HLSKit RecordingStorage.swift
[211/346] Compiling HLSKit SimultaneousRecorder.swift
[212/346] Compiling HLSKit ContentSteeringConfig.swift
[213/346] Compiling HLSKit FailoverManager.swift
[214/346] Compiling HLSKit GapHandler.swift
[215/346] Compiling HLSKit RedundantStreamConfig.swift
[216/346] Compiling HLSKit SessionDataConfig.swift
[217/346] Compiling HLSKit MP4Segmenter.swift
[218/346] Compiling HLSKit MP4SegmenterHelpers.swift
[219/346] Compiling HLSKit MP4SegmenterPlaylist.swift
[220/346] Compiling HLSKit SCTE35Marker.swift
[221/346] Compiling HLSKit AttributeParser.swift
[222/346] Compiling HLSKit ManifestParser.swift
[223/346] Compiling HLSKit ParserError.swift
[224/346] Compiling HLSKit TagParser.swift
[225/346] Compiling HLSKit TagParserLowLatency.swift
[226/346] Compiling HLSKit VariableSubstitution.swift
[227/346] Compiling HLSKit BandwidthMonitor.swift
[228/346] Compiling HLSKit HTTPPusher.swift
[229/346] Compiling HLSKit HTTPPusherConfiguration.swift
[230/346] Compiling HLSKit IcecastPusher.swift
[231/346] Compiling HLSKit IcecastPusherConfiguration.swift
[232/346] Compiling HLSKit IcecastStreamStatistics.swift
[233/346] Compiling HLSKit IcecastTransport.swift
[234/346] Compiling HLSKit MultiDestinationPusher.swift
[235/346] Compiling HLSKit PushConnectionState.swift
[236/346] Compiling HLSKit PushError.swift
[237/346] Compiling HLSKit PushRetryPolicy.swift
[238/346] Compiling HLSKit PushStats.swift
[239/346] Compiling HLSKit QualityAwareTransport.swift
[240/346] Compiling HLSKit RTMPPusher.swift
[241/346] Compiling HLSKit RTMPPusherConfiguration.swift
[242/346] Compiling HLSKit RTMPServerCapabilities.swift
[243/346] Compiling HLSKit RTMPTransport.swift
[244/346] Compiling HLSKit SRTConnectionQuality.swift
[245/346] 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 {
[246/346] 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 {
[247/346] 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 {
[248/346] 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 {
[249/346] 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 {
[250/346] 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 {
[251/346] 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 {
[252/346] 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 {
[253/346] 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 {
[254/346] 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 {
[255/346] 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 {
[256/346] 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 {
[257/346] 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 {
[258/346] 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 {
[259/346] 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 {
[260/346] 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 {
[261/346] 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 {
[262/346] 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 {
[263/346] 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 {
[264/346] 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 {
[265/346] 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 {
[266/346] 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 {
[267/346] 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 {
[268/346] 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 {
[269/346] 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 {
[270/346] Compiling HLSKit SegmentationConfig.swift
[271/346] Compiling HLSKit SegmentationResult.swift
[272/346] Compiling HLSKit TSSegmenter.swift
[273/346] Compiling HLSKit TSSegmenterCodecExtraction.swift
[274/346] Compiling HLSKit TSSegmenterPlaylist.swift
[275/346] Compiling HLSKit MVHEVCEncoder.swift
[276/346] Compiling HLSKit MVHEVCMediaSegmentBoxes.swift
[277/346] Compiling HLSKit MVHEVCPackager.swift
[278/346] Compiling HLSKit MVHEVCPackagerBoxes.swift
[279/346] Compiling HLSKit MVHEVCSampleProcessor.swift
[280/346] Compiling HLSKit SpatialVideoConfiguration.swift
[281/346] Compiling HLSKit VideoChannelLayout.swift
[282/346] Compiling HLSKit VideoLayoutDescriptor.swift
[283/346] Compiling HLSKit VideoProjection.swift
[284/346] Compiling HLSKit AC3Encoder.swift
[285/346] Compiling HLSKit DolbyAtmosEncoder.swift
[286/346] Compiling HLSKit HiResAudioConfig.swift
[287/346] Compiling HLSKit MultiChannelLayout.swift
[288/346] Compiling HLSKit SpatialAudioConfig.swift
[289/346] Compiling HLSKit SpatialAudioEncoder.swift
[290/346] Compiling HLSKit SpatialRenditionGenerator.swift
[291/346] Compiling HLSKit IMSC1Document.swift
[292/346] Compiling HLSKit IMSC1Parser.swift
[293/346] Compiling HLSKit IMSC1Renderer.swift
[294/346] Compiling HLSKit SourceAnalyzer.swift
[295/346] Compiling HLSKit TrackProcessing.swift
[296/346] Compiling HLSKit TranscodingConfig.swift
[297/346] Compiling HLSKit TranscodingError.swift
[298/346] Compiling HLSKit TranscodingProtocol.swift
[299/346] Compiling HLSKit TranscodingResult.swift
[300/346] Compiling HLSKit TranscodingSession.swift
[301/346] Compiling HLSKit VariantPlaylistBuilder.swift
[302/346] Compiling HLSKit VideoProfile.swift
[303/346] Compiling HLSKit ADTSConverter.swift
[304/346] Compiling HLSKit AnnexBConverter.swift
[305/346] Compiling HLSKit PESPacketizer.swift
[306/346] Compiling HLSKit ProgramTables.swift
[307/346] Compiling HLSKit TSPacket.swift
[308/346] Compiling HLSKit TSPacketWriter.swift
[309/346] Compiling HLSKit TSSegmentBuilder.swift
[310/346] Compiling HLSKit TransportError.swift
[311/346] Compiling HLSKit LockedState.swift
[312/346] Compiling HLSKit AppleHLSRules.swift
[313/346] Compiling HLSKit HLSValidator.swift
[314/346] Compiling HLSKit RFC8216MediaRules.swift
[315/346] Compiling HLSKit RFC8216Rules.swift
[316/346] Compiling HLSKit ValidationReport.swift
[317/346] Compiling HLSKit VariableRules.swift
[318/346] Compiling HLSKit IMSC1Segmenter.swift
[319/346] Compiling HLSKit IMSC1SegmenterBoxes.swift
[320/346] Compiling HLSKit IMSC1Style.swift
[321/346] Compiling HLSKit AppleTranscoder.swift
[322/346] Compiling HLSKit AppleTranscoderFastPath.swift
[323/346] Compiling HLSKit AppleTranscoderHelpers.swift
[324/346] Compiling HLSKit AppleTranscoderSetup.swift
[325/346] Compiling HLSKit EncodingSettings.swift
[326/346] Compiling HLSKit FFmpegCommandBuilder.swift
[327/346] Compiling HLSKit FFmpegProcessRunner.swift
[328/346] Compiling HLSKit FFmpegSourceAnalyzer.swift
[329/346] Compiling HLSKit FFmpegTranscoder.swift
[330/346] Compiling HLSKit HTTPClient.swift
[331/346] Compiling HLSKit ManagedTranscoder.swift
[332/346] Compiling HLSKit ManagedTranscodingConfig.swift
[333/346] Compiling HLSKit ManagedTranscodingJob.swift
[334/346] Compiling HLSKit ManagedTranscodingProvider.swift
[335/346] Compiling HLSKit AWSJobSettingsBuilder.swift
[336/346] Compiling HLSKit AWSMediaConvertHelpers.swift
[337/346] Compiling HLSKit AWSMediaConvertProvider.swift
[338/346] Compiling HLSKit AWSSignatureV4.swift
[339/346] Compiling HLSKit CloudflareStreamProvider.swift
[340/346] Compiling HLSKit MuxProvider.swift
[341/346] Compiling HLSKit QualityPreset.swift
BUILD FAILURE 6.2 android