Build Information
Failed to build yap, reference 1.0.4 (49f520), with Swift 6.1 for macOS (SPM) on 26 Sep 2025 02:22:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finnvoor/yap.git
Reference: 1.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/finnvoor/yap
* tag 1.0.4 -> FETCH_HEAD
HEAD is now at 49f5209 Adding support for modifying maximum sentence length when outputting to .srt via CLI argument (#14)
Cloned https://github.com/finnvoor/yap.git
Revision (git rev-parse @):
49f5209619a18b08e89ee5f872fc83e0bac505ea
SUCCESS checkout https://github.com/finnvoor/yap.git at 1.0.4
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/Noora.git
Fetching https://github.com/tuist/path
Fetching https://github.com/apple/swift-log from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/369] Fetching path
[153/1708] Fetching path, rainbow
[1268/15863] Fetching path, rainbow, noora
Fetched https://github.com/apple/swift-log from cache (1.21s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.22s)
Fetched https://github.com/onevcat/Rainbow from cache (3.40s)
Fetched https://github.com/tuist/Noora.git from cache (3.40s)
Fetched https://github.com/tuist/path from cache (3.40s)
Computing version for https://github.com/tuist/Noora.git
Computed https://github.com/tuist/Noora.git at 0.40.1 (3.93s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.50s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (2.80s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.47s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.28s)
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.5.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/tuist/Noora.git
Working copy of https://github.com/tuist/Noora.git resolved at 0.40.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "yap",
"name": "yap",
"url": "https://github.com/finnvoor/yap.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/yap",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "noora",
"name": "Noora",
"url": "https://github.com/tuist/Noora.git",
"version": "0.49.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Noora",
"dependencies": [
{
"identity": "rainbow",
"name": "Rainbow",
"url": "https://github.com/onevcat/Rainbow",
"version": "4.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"dependencies": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log",
"version": "1.6.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
},
{
"identity": "path",
"name": "Path",
"url": "https://github.com/tuist/path",
"version": "0.3.8",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/path",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/finnvoor/yap.git
[1/70] Fetching yap
Fetched https://github.com/finnvoor/yap.git from cache (0.71s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/tuist/Noora.git from cache
Fetched https://github.com/tuist/Noora.git from cache (0.59s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.60s)
Computing version for https://github.com/tuist/Noora.git
Computed https://github.com/tuist/Noora.git at 0.49.1 (1.09s)
Fetching https://github.com/onevcat/Rainbow from cache
Fetching https://github.com/apple/swift-log from cache
Fetching https://github.com/tuist/path from cache
Fetched https://github.com/tuist/path from cache (0.52s)
Fetched https://github.com/onevcat/Rainbow from cache (0.52s)
Fetched https://github.com/apple/swift-log from cache (0.52s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.05s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (0.03s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.02s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (0.03s)
Creating working copy for https://github.com/finnvoor/yap.git
Working copy of https://github.com/finnvoor/yap.git resolved at 1.0.4 (49f5209)
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
Creating working copy for https://github.com/tuist/Noora.git
Working copy of https://github.com/tuist/Noora.git resolved at 0.49.1
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.6.1
Found 2 product dependencies
- swift-argument-parser
- Noora
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/finnvoor/yap.git
https://github.com/finnvoor/yap.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "noora",
"requirement" : {
"range" : [
{
"lower_bound" : "0.40.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/Noora.git"
}
],
"manifest_display_name" : "yap",
"name" : "yap",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "26"
}
],
"products" : [
{
"name" : "yap",
"targets" : [
"yap"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "yap",
"module_type" : "SwiftTarget",
"name" : "yap",
"path" : "Sources/yap",
"product_dependencies" : [
"ArgumentParser",
"Noora"
],
"product_memberships" : [
"yap"
],
"sources" : [
"Extensions/AttributedString+Extensions.swift",
"OutputFormat.swift",
"Transcribe.swift",
"Yap.swift"
],
"type" : "executable"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Write sources
[5/15] Write yap-entitlement.plist
[7/15] Write sources
[9/15] Write swift-version-2F0A5646E1D333AE.txt
[11/35] Emitting module ArgumentParserToolInfo
[12/35] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/35] Emitting module Path
[14/35] Compiling Path Path.swift
[15/74] Emitting module Logging
[16/74] Compiling Logging LogHandler.swift
[17/74] Compiling Logging MetadataProvider.swift
[18/74] Compiling Logging Locks.swift
[19/74] Compiling Logging Logging.swift
[20/74] Emitting module ArgumentParser
[21/74] Compiling ArgumentParser ArgumentHelp.swift
[22/74] Compiling ArgumentParser ArgumentVisibility.swift
[23/74] Compiling ArgumentParser CompletionKind.swift
[24/74] Compiling ArgumentParser Errors.swift
[25/74] Compiling ArgumentParser Flag.swift
[26/78] Compiling Rainbow StringGenerator.swift
[27/78] Compiling Rainbow String+Rainbow.swift
[28/79] Compiling Rainbow Style.swift
[29/79] Compiling ArgumentParser ArgumentDefinition.swift
[30/79] Compiling ArgumentParser ArgumentSet.swift
[31/79] Compiling ArgumentParser CommandParser.swift
[32/79] Compiling ArgumentParser InputKey.swift
[33/79] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/79] Compiling ArgumentParser CompletionsGenerator.swift
[35/79] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/79] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/79] Compiling ArgumentParser Argument.swift
[38/79] Compiling ArgumentParser NameSpecification.swift
[39/79] Compiling ArgumentParser Option.swift
[40/79] Compiling ArgumentParser OptionGroup.swift
[41/79] Compiling ArgumentParser AsyncParsableCommand.swift
[42/79] Compiling ArgumentParser Platform.swift
[43/79] Compiling ArgumentParser SequenceExtensions.swift
[44/79] Compiling ArgumentParser StringExtensions.swift
[45/79] Compiling ArgumentParser Tree.swift
[46/79] Compiling ArgumentParser ParsableArguments.swift
[47/79] Compiling ArgumentParser ParsableArgumentsValidation.swift
[48/79] Compiling ArgumentParser ParsableCommand.swift
[49/79] Compiling ArgumentParser ArgumentDecoder.swift
[50/79] Compiling Rainbow ControlCode.swift
[51/79] Compiling Rainbow ModesExtractor.swift
[52/79] Compiling Rainbow OutputTarget.swift
[53/79] Compiling Rainbow ColorApproximation.swift
[54/79] Compiling Rainbow Color.swift
[57/79] Emitting module Rainbow
[58/79] Compiling Rainbow Rainbow.swift
[59/79] Compiling ArgumentParser CommandConfiguration.swift
[60/79] Compiling ArgumentParser CommandGroup.swift
[61/79] Compiling ArgumentParser EnumerableFlag.swift
[62/79] Compiling ArgumentParser ExpressibleByArgument.swift
[63/79] Compiling ArgumentParser ParserError.swift
[64/79] Compiling ArgumentParser SplitArguments.swift
[65/79] Compiling ArgumentParser DumpHelpGenerator.swift
[66/79] Compiling ArgumentParser HelpCommand.swift
[67/79] Compiling ArgumentParser InputOrigin.swift
[68/79] Compiling ArgumentParser Name.swift
[69/79] Compiling ArgumentParser Parsed.swift
[70/79] Compiling ArgumentParser ParsedValues.swift
[71/79] Compiling ArgumentParser HelpGenerator.swift
[72/79] Compiling ArgumentParser MessageInfo.swift
[73/79] Compiling ArgumentParser UsageGenerator.swift
[74/79] Compiling ArgumentParser CollectionExtensions.swift
[75/106] Emitting module Noora
[76/108] Compiling Noora String+Rainbow.swift
[77/108] Compiling Noora String+ValidatableError.swift
[78/108] Compiling Noora Noora.swift
[79/108] Compiling Noora YesOrNoChoicePrompt.swift
[80/108] Compiling Noora Stack.swift
[81/108] Compiling Noora Character+isPrintable.swift
[82/108] Compiling Noora RegexValidationRule.swift
[83/108] Compiling Noora Validator.swift
[84/108] Compiling Noora LengthValidationRule.swift
[85/108] Compiling Noora NonEmptyValidationRule.swift
[86/108] Compiling Noora ValidatableRule.swift
[87/108] Compiling Noora ValidationError.swift
[88/108] Compiling Noora InputValidating.swift
[89/108] Compiling Noora Renderer.swift
[90/108] Compiling Noora Spinner.swift
[91/108] Compiling Noora StandardPipelines.swift
[92/108] Compiling Noora Terminal.swift
[93/108] Compiling Noora TerminalText.swift
[94/108] Compiling Noora ValidatableError.swift
[95/108] Compiling Noora NooraMock.swift
[96/108] Compiling Noora Theme.swift
[97/108] Compiling Noora KeyStrokeListener.swift
[98/108] Compiling Noora ProgressStep.swift
[99/108] Compiling Noora SingleChoicePrompt.swift
[100/108] Compiling Noora TextPrompt.swift
[101/108] Compiling Noora Alert.swift
[102/108] Compiling Noora CollapsibleStep.swift
[103/108] Compiling Noora ProgressBarStep.swift
[103/108] Write Objects.LinkFileList
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'String+Rainbow.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Noora.build/String+Rainbow.swift.o(String+Rainbow.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Rainbow.build/String+Rainbow.swift.o(String+Rainbow.swift.o)'
[104/108] Archiving libNoora.a
error: emit-module command failed with exit code 1 (use -v to see invocation)
[106/113] Compiling yap Yap.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[107/113] Compiling yap AttributedString+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/yap/Extensions/AttributedString+Extensions.swift:52:26: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
50 | !String(self[$0.range].characters)
51 | .trimmingCharacters(in: .whitespacesAndNewlines).isEmpty
52 | }.compactMap(\.audioTimeRange)
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
53 | guard !audioTimeRanges.isEmpty else { return nil }
54 | let start = audioTimeRanges.first!.start
[108/113] Emitting module yap
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:48:31: error: cannot find 'SpeechTranscriber' in scope
46 | }
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
| `- error: cannot find 'SpeechTranscriber' in scope
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:49:46: error: cannot infer contextual base in reference to member 'bcp47'
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
| `- error: cannot infer contextual base in reference to member 'bcp47'
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
51 | throw Error.unsupportedLocale
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:50:119: error: cannot infer key path type from context; consider explicitly specifying a root type
48 | let supported = await SpeechTranscriber.supportedLocales
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
51 | throw Error.unsupportedLocale
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:29: error: cannot find 'AssetInventory' in scope
52 | }
53 |
54 | for locale in await AssetInventory.reservedLocales {
| `- error: cannot find 'AssetInventory' in scope
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:57:19: error: cannot find 'AssetInventory' in scope
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
57 | try await AssetInventory.reserve(locale: locale)
| `- error: cannot find 'AssetInventory' in scope
58 |
59 | let transcriber = SpeechTranscriber(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:59:27: error: cannot find 'SpeechTranscriber' in scope
57 | try await AssetInventory.reserve(locale: locale)
58 |
59 | let transcriber = SpeechTranscriber(
| `- error: cannot find 'SpeechTranscriber' in scope
60 | locale: locale,
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:61:46: error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
59 | let transcriber = SpeechTranscriber(
60 | locale: locale,
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
| `- error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
62 | reportingOptions: [],
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:63:68: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
62 | reportingOptions: [],
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:65:27: error: cannot find type 'SpeechModule' in scope
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
| `- error: cannot find type 'SpeechModule' in scope
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:66:35: error: cannot find 'SpeechTranscriber' in scope
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
66 | let installed = await Set(SpeechTranscriber.installedLocales)
| `- error: cannot find 'SpeechTranscriber' in scope
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:67:44: error: cannot infer contextual base in reference to member 'bcp47'
65 | let modules: [any SpeechModule] = [transcriber]
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
| `- error: cannot infer contextual base in reference to member 'bcp47'
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
69 | try await noora.progressBarStep(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:68:40: error: cannot find 'AssetInventory' in scope
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
| `- error: cannot find 'AssetInventory' in scope
69 | try await noora.progressBarStep(
70 | message: "Downloading required assets…"
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:87:24: error: cannot find 'SpeechAnalyzer' in scope
85 | }
86 |
87 | let analyzer = SpeechAnalyzer(modules: modules)
| `- error: cannot find 'SpeechAnalyzer' in scope
88 |
89 | let audioFile = try AVAudioFile(forReading: inputFile)
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:48:25: warning: no 'async' operations occur within 'await' expression
46 | }
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
| `- warning: no 'async' operations occur within 'await' expression
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:23: warning: no 'async' operations occur within 'await' expression
52 | }
53 |
54 | for locale in await AssetInventory.reservedLocales {
| `- warning: no 'async' operations occur within 'await' expression
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
[109/113] Compiling yap OutputFormat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/yap/OutputFormat.swift:32:48: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
30 |
31 | return transcript.sentences(maxLength: maxLength).compactMap { (sentence: AttributedString) -> (CMTimeRange, String)? in
32 | guard let timeRange = sentence.audioTimeRange else { return nil }
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
33 | return (timeRange, String(sentence.characters))
34 | }.enumerated().map { index, run in
[110/113] Compiling yap Transcribe.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:48:31: error: cannot find 'SpeechTranscriber' in scope
46 | }
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
| `- error: cannot find 'SpeechTranscriber' in scope
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:49:46: error: cannot infer contextual base in reference to member 'bcp47'
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
| `- error: cannot infer contextual base in reference to member 'bcp47'
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
51 | throw Error.unsupportedLocale
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:50:119: error: cannot infer key path type from context; consider explicitly specifying a root type
48 | let supported = await SpeechTranscriber.supportedLocales
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
51 | throw Error.unsupportedLocale
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:29: error: cannot find 'AssetInventory' in scope
52 | }
53 |
54 | for locale in await AssetInventory.reservedLocales {
| `- error: cannot find 'AssetInventory' in scope
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:57:19: error: cannot find 'AssetInventory' in scope
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
57 | try await AssetInventory.reserve(locale: locale)
| `- error: cannot find 'AssetInventory' in scope
58 |
59 | let transcriber = SpeechTranscriber(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:59:27: error: cannot find 'SpeechTranscriber' in scope
57 | try await AssetInventory.reserve(locale: locale)
58 |
59 | let transcriber = SpeechTranscriber(
| `- error: cannot find 'SpeechTranscriber' in scope
60 | locale: locale,
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:61:46: error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
59 | let transcriber = SpeechTranscriber(
60 | locale: locale,
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
| `- error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
62 | reportingOptions: [],
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:63:68: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
62 | reportingOptions: [],
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:65:27: error: cannot find type 'SpeechModule' in scope
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
| `- error: cannot find type 'SpeechModule' in scope
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:66:35: error: cannot find 'SpeechTranscriber' in scope
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
66 | let installed = await Set(SpeechTranscriber.installedLocales)
| `- error: cannot find 'SpeechTranscriber' in scope
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:67:44: error: cannot infer contextual base in reference to member 'bcp47'
65 | let modules: [any SpeechModule] = [transcriber]
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
| `- error: cannot infer contextual base in reference to member 'bcp47'
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
69 | try await noora.progressBarStep(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:68:40: error: cannot find 'AssetInventory' in scope
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
| `- error: cannot find 'AssetInventory' in scope
69 | try await noora.progressBarStep(
70 | message: "Downloading required assets…"
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:87:24: error: cannot find 'SpeechAnalyzer' in scope
85 | }
86 |
87 | let analyzer = SpeechAnalyzer(modules: modules)
| `- error: cannot find 'SpeechAnalyzer' in scope
88 |
89 | let audioFile = try AVAudioFile(forReading: inputFile)
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:48:25: warning: no 'async' operations occur within 'await' expression
46 | }
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
| `- warning: no 'async' operations occur within 'await' expression
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:23: warning: no 'async' operations occur within 'await' expression
52 | }
53 |
54 | for locale in await AssetInventory.reservedLocales {
| `- warning: no 'async' operations occur within 'await' expression
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/6] Write swift-version-2F0A5646E1D333AE.txt
[3/26] Compiling Logging Locks.swift
[4/26] Compiling Logging LogHandler.swift
[5/26] Emitting module Logging
[6/26] Emitting module ArgumentParserToolInfo
[7/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/26] Compiling Path Path.swift
[9/26] Emitting module Path
[10/26] Compiling Rainbow StringGenerator.swift
[11/27] Compiling Rainbow OutputTarget.swift
[12/27] Compiling Rainbow String+Rainbow.swift
[13/27] Compiling Rainbow Rainbow.swift
[14/27] Compiling Rainbow ControlCode.swift
[15/27] Compiling Rainbow ModesExtractor.swift
[16/27] Compiling Rainbow Color.swift
[17/27] Compiling Rainbow BackgroundColor.swift
[18/27] Compiling Rainbow CodesParser.swift
[19/27] Compiling Rainbow ColorApproximation.swift
[20/27] Emitting module Rainbow
[21/27] Compiling Rainbow Style.swift
[22/66] Compiling Logging MetadataProvider.swift
[23/66] Compiling Logging Logging.swift
[24/94] Emitting module ArgumentParser
[25/98] Compiling ArgumentParser InputOrigin.swift
[26/98] Compiling ArgumentParser Name.swift
[27/98] Compiling ArgumentParser Parsed.swift
[28/98] Compiling ArgumentParser ParsedValues.swift
[29/98] Emitting module Noora
[30/100] Compiling Noora NooraMock.swift
[31/100] Compiling Noora Theme.swift
[32/100] Compiling Noora KeyStrokeListener.swift
[33/100] Compiling Noora ValidatableRule.swift
[34/100] Compiling Noora ValidationError.swift
[35/100] Compiling Noora InputValidating.swift
[36/100] Compiling Noora Renderer.swift
[37/100] Compiling Noora Spinner.swift
[38/100] Compiling Noora StandardPipelines.swift
[39/100] Compiling Noora YesOrNoChoicePrompt.swift
[40/100] Compiling Noora Stack.swift
[41/100] Compiling Noora Character+isPrintable.swift
[42/100] Compiling Noora String+Rainbow.swift
[43/100] Compiling Noora String+ValidatableError.swift
[44/100] Compiling Noora Noora.swift
[45/100] Compiling Noora Alert.swift
[46/100] Compiling Noora CollapsibleStep.swift
[47/100] Compiling Noora ProgressBarStep.swift
[48/100] Compiling Noora Terminal.swift
[49/100] Compiling Noora TerminalText.swift
[50/100] Compiling Noora ValidatableError.swift
[51/100] Compiling ArgumentParser Platform.swift
[52/100] Compiling ArgumentParser SequenceExtensions.swift
[53/100] Compiling ArgumentParser StringExtensions.swift
[54/100] Compiling ArgumentParser Tree.swift
[60/100] Compiling Noora RegexValidationRule.swift
[61/100] Compiling Noora Validator.swift
[75/100] Compiling Noora LengthValidationRule.swift
[76/100] Compiling Noora NonEmptyValidationRule.swift
[77/100] Compiling Noora ProgressStep.swift
[78/100] Compiling Noora SingleChoicePrompt.swift
[79/100] Compiling Noora TextPrompt.swift
[79/100] Write Objects.LinkFileList
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'String+Rainbow.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Noora.build/String+Rainbow.swift.o(String+Rainbow.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Rainbow.build/String+Rainbow.swift.o(String+Rainbow.swift.o)'
[80/100] Archiving libNoora.a
[82/100] Compiling ArgumentParser CommandConfiguration.swift
[83/100] Compiling ArgumentParser CommandGroup.swift
[84/100] Compiling ArgumentParser EnumerableFlag.swift
[85/100] Compiling ArgumentParser ExpressibleByArgument.swift
[86/100] Compiling ArgumentParser ParserError.swift
[87/100] Compiling ArgumentParser SplitArguments.swift
[88/100] Compiling ArgumentParser DumpHelpGenerator.swift
[89/100] Compiling ArgumentParser HelpCommand.swift
[98/105] Compiling yap Yap.swift
[99/105] Compiling yap OutputFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/yap/OutputFormat.swift:32:48: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
30 |
31 | return transcript.sentences(maxLength: maxLength).compactMap { (sentence: AttributedString) -> (CMTimeRange, String)? in
32 | guard let timeRange = sentence.audioTimeRange else { return nil }
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
33 | return (timeRange, String(sentence.characters))
34 | }.enumerated().map { index, run in
[100/105] Compiling yap Transcribe.swift
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:48:31: error: cannot find 'SpeechTranscriber' in scope
46 | }
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
| `- error: cannot find 'SpeechTranscriber' in scope
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:49:46: error: cannot infer contextual base in reference to member 'bcp47'
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
| `- error: cannot infer contextual base in reference to member 'bcp47'
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
51 | throw Error.unsupportedLocale
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:50:119: error: cannot infer key path type from context; consider explicitly specifying a root type
48 | let supported = await SpeechTranscriber.supportedLocales
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
51 | throw Error.unsupportedLocale
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:29: error: cannot find 'AssetInventory' in scope
52 | }
53 |
54 | for locale in await AssetInventory.reservedLocales {
| `- error: cannot find 'AssetInventory' in scope
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:57:19: error: cannot find 'AssetInventory' in scope
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
57 | try await AssetInventory.reserve(locale: locale)
| `- error: cannot find 'AssetInventory' in scope
58 |
59 | let transcriber = SpeechTranscriber(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:59:27: error: cannot find 'SpeechTranscriber' in scope
57 | try await AssetInventory.reserve(locale: locale)
58 |
59 | let transcriber = SpeechTranscriber(
| `- error: cannot find 'SpeechTranscriber' in scope
60 | locale: locale,
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:61:46: error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
59 | let transcriber = SpeechTranscriber(
60 | locale: locale,
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
| `- error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
62 | reportingOptions: [],
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:63:68: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
62 | reportingOptions: [],
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:65:27: error: cannot find type 'SpeechModule' in scope
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
| `- error: cannot find type 'SpeechModule' in scope
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:66:35: error: cannot find 'SpeechTranscriber' in scope
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
66 | let installed = await Set(SpeechTranscriber.installedLocales)
| `- error: cannot find 'SpeechTranscriber' in scope
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:67:44: error: cannot infer contextual base in reference to member 'bcp47'
65 | let modules: [any SpeechModule] = [transcriber]
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
| `- error: cannot infer contextual base in reference to member 'bcp47'
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
69 | try await noora.progressBarStep(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:68:40: error: cannot find 'AssetInventory' in scope
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
| `- error: cannot find 'AssetInventory' in scope
69 | try await noora.progressBarStep(
70 | message: "Downloading required assets…"
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:87:24: error: cannot find 'SpeechAnalyzer' in scope
85 | }
86 |
87 | let analyzer = SpeechAnalyzer(modules: modules)
| `- error: cannot find 'SpeechAnalyzer' in scope
88 |
89 | let audioFile = try AVAudioFile(forReading: inputFile)
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:48:25: warning: no 'async' operations occur within 'await' expression
46 | }
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
| `- warning: no 'async' operations occur within 'await' expression
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:23: warning: no 'async' operations occur within 'await' expression
52 | }
53 |
54 | for locale in await AssetInventory.reservedLocales {
| `- warning: no 'async' operations occur within 'await' expression
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[101/105] Emitting module yap
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:48:31: error: cannot find 'SpeechTranscriber' in scope
46 | }
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
| `- error: cannot find 'SpeechTranscriber' in scope
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:49:46: error: cannot infer contextual base in reference to member 'bcp47'
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
| `- error: cannot infer contextual base in reference to member 'bcp47'
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
51 | throw Error.unsupportedLocale
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:50:119: error: cannot infer key path type from context; consider explicitly specifying a root type
48 | let supported = await SpeechTranscriber.supportedLocales
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
51 | throw Error.unsupportedLocale
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:29: error: cannot find 'AssetInventory' in scope
52 | }
53 |
54 | for locale in await AssetInventory.reservedLocales {
| `- error: cannot find 'AssetInventory' in scope
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:57:19: error: cannot find 'AssetInventory' in scope
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
57 | try await AssetInventory.reserve(locale: locale)
| `- error: cannot find 'AssetInventory' in scope
58 |
59 | let transcriber = SpeechTranscriber(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:59:27: error: cannot find 'SpeechTranscriber' in scope
57 | try await AssetInventory.reserve(locale: locale)
58 |
59 | let transcriber = SpeechTranscriber(
| `- error: cannot find 'SpeechTranscriber' in scope
60 | locale: locale,
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:61:46: error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
59 | let transcriber = SpeechTranscriber(
60 | locale: locale,
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
| `- error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
62 | reportingOptions: [],
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:63:68: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
61 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
62 | reportingOptions: [],
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:65:27: error: cannot find type 'SpeechModule' in scope
63 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
| `- error: cannot find type 'SpeechModule' in scope
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:66:35: error: cannot find 'SpeechTranscriber' in scope
64 | )
65 | let modules: [any SpeechModule] = [transcriber]
66 | let installed = await Set(SpeechTranscriber.installedLocales)
| `- error: cannot find 'SpeechTranscriber' in scope
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:67:44: error: cannot infer contextual base in reference to member 'bcp47'
65 | let modules: [any SpeechModule] = [transcriber]
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
| `- error: cannot infer contextual base in reference to member 'bcp47'
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
69 | try await noora.progressBarStep(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:68:40: error: cannot find 'AssetInventory' in scope
66 | let installed = await Set(SpeechTranscriber.installedLocales)
67 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
68 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
| `- error: cannot find 'AssetInventory' in scope
69 | try await noora.progressBarStep(
70 | message: "Downloading required assets…"
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:87:24: error: cannot find 'SpeechAnalyzer' in scope
85 | }
86 |
87 | let analyzer = SpeechAnalyzer(modules: modules)
| `- error: cannot find 'SpeechAnalyzer' in scope
88 |
89 | let audioFile = try AVAudioFile(forReading: inputFile)
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:48:25: warning: no 'async' operations occur within 'await' expression
46 | }
47 |
48 | let supported = await SpeechTranscriber.supportedLocales
| `- warning: no 'async' operations occur within 'await' expression
49 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
50 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:23: warning: no 'async' operations occur within 'await' expression
52 | }
53 |
54 | for locale in await AssetInventory.reservedLocales {
| `- warning: no 'async' operations occur within 'await' expression
55 | await AssetInventory.release(reservedLocale: locale)
56 | }
[102/105] Compiling yap AttributedString+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/yap/Extensions/AttributedString+Extensions.swift:52:26: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
50 | !String(self[$0.range].characters)
51 | .trimmingCharacters(in: .whitespacesAndNewlines).isEmpty
52 | }.compactMap(\.audioTimeRange)
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
53 | guard !audioTimeRanges.isEmpty else { return nil }
54 | let start = audioTimeRanges.first!.start
BUILD FAILURE 6.1 macosSpm