Build Information
Failed to build yap, reference main (b597b7
), with Swift 6.1 for macOS (SPM) on 24 Jun 2025 19:20:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finnvoor/yap.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/finnvoor/yap
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b597b7f Fix locale handling
Cloned https://github.com/finnvoor/yap.git
Revision (git rev-parse @):
b597b7f4227a9915c51ee301816605400856fb62
SUCCESS checkout https://github.com/finnvoor/yap.git at main
Fetching https://github.com/tuist/path
Fetching https://github.com/tuist/Noora.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-log from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/1196] Fetching rainbow
[157/1550] Fetching rainbow, path
[1193/13431] Fetching rainbow, path, noora
Fetched https://github.com/apple/swift-log from cache (1.06s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.07s)
Fetched https://github.com/tuist/path from cache (2.76s)
Fetched https://github.com/tuist/Noora.git from cache (2.76s)
Computing version for https://github.com/tuist/Noora.git
Fetched https://github.com/onevcat/Rainbow from cache (2.76s)
Computed https://github.com/tuist/Noora.git at 0.40.1 (3.29s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (3.40s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (3.24s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.48s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.46s)
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/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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/tuist/Noora.git
Working copy of https://github.com/tuist/Noora.git resolved at 0.40.1
========================================
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.5.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.41.0",
"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.1.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.5.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.3",
"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/46] Fetching yap
Fetched https://github.com/finnvoor/yap.git from cache (0.73s)
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.57s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.58s)
Computing version for https://github.com/tuist/Noora.git
Computed https://github.com/tuist/Noora.git at 0.41.0 (0.63s)
Fetching https://github.com/apple/swift-log from cache
Fetching https://github.com/tuist/path from cache
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.53s)
Fetched https://github.com/tuist/path from cache (0.53s)
Fetched https://github.com/apple/swift-log from cache (0.53s)
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.59s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (0.02s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.02s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (0.02s)
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.3
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/tuist/Noora.git
Working copy of https://github.com/tuist/Noora.git resolved at 0.41.0
Creating working copy for https://github.com/finnvoor/yap.git
Working copy of https://github.com/finnvoor/yap.git resolved at main (b597b7f)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
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
[2/15] Write yap-entitlement.plist
[2/15] Write sources
[9/15] Write swift-version-2F0A5646E1D333AE.txt
[11/35] Emitting module ArgumentParserToolInfo
[12/35] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/35] Compiling Path Path.swift
[14/35] Emitting module Path
[15/74] Compiling Logging MetadataProvider.swift
[16/74] Compiling Logging LogHandler.swift
[17/74] Compiling Logging Locks.swift
[18/74] Compiling Logging Logging.swift
[19/74] Emitting module Logging
[20/74] Compiling Rainbow String+Rainbow.swift
[21/74] Compiling Rainbow StringGenerator.swift
[22/75] Emitting module ArgumentParser
[23/79] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/79] Compiling ArgumentParser CompletionsGenerator.swift
[25/79] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/79] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/79] Compiling ArgumentParser Argument.swift
[28/79] Compiling Rainbow Style.swift
[29/79] Compiling ArgumentParser CommandConfiguration.swift
[30/79] Compiling ArgumentParser CommandGroup.swift
[31/79] Compiling ArgumentParser EnumerableFlag.swift
[32/79] Compiling ArgumentParser ExpressibleByArgument.swift
[33/79] Compiling ArgumentParser NameSpecification.swift
[34/79] Compiling ArgumentParser Option.swift
[35/79] Compiling ArgumentParser OptionGroup.swift
[36/79] Compiling ArgumentParser AsyncParsableCommand.swift
[37/79] Compiling ArgumentParser ArgumentHelp.swift
[38/79] Compiling ArgumentParser ArgumentVisibility.swift
[39/79] Compiling ArgumentParser CompletionKind.swift
[40/79] Compiling ArgumentParser Errors.swift
[41/79] Compiling ArgumentParser Flag.swift
[42/79] Compiling ArgumentParser ArgumentDefinition.swift
[43/79] Compiling ArgumentParser ArgumentSet.swift
[44/79] Compiling ArgumentParser CommandParser.swift
[45/79] Compiling ArgumentParser InputKey.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 ArgumentParser Platform.swift
[51/79] Compiling ArgumentParser SequenceExtensions.swift
[52/79] Compiling ArgumentParser StringExtensions.swift
[53/79] Compiling ArgumentParser Tree.swift
[54/79] Compiling Rainbow ModesExtractor.swift
[55/79] Compiling Rainbow OutputTarget.swift
[56/79] Compiling Rainbow ControlCode.swift
[57/79] Compiling Rainbow Rainbow.swift
[58/79] Compiling Rainbow Color.swift
[59/79] Emitting module Rainbow
[62/79] Compiling Rainbow ColorApproximation.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 RegexValidationRule.swift
[77/108] Compiling Noora Validator.swift
[78/108] Compiling Noora Alert.swift
[79/108] Compiling Noora CollapsibleStep.swift
[80/108] Compiling Noora ProgressBarStep.swift
[81/108] Compiling Noora YesOrNoChoicePrompt.swift
[82/108] Compiling Noora Stack.swift
[83/108] Compiling Noora Character+isPrintable.swift
[84/108] Compiling Noora ValidatableRule.swift
[85/108] Compiling Noora ValidationError.swift
[86/108] Compiling Noora InputValidating.swift
[87/108] Compiling Noora Terminal.swift
[88/108] Compiling Noora TerminalText.swift
[89/108] Compiling Noora ValidatableError.swift
[90/108] Compiling Noora NooraMock.swift
[91/108] Compiling Noora Theme.swift
[92/108] Compiling Noora KeyStrokeListener.swift
[93/108] Compiling Noora LengthValidationRule.swift
[94/108] Compiling Noora NonEmptyValidationRule.swift
[95/108] Compiling Noora Renderer.swift
[96/108] Compiling Noora Spinner.swift
[97/108] Compiling Noora StandardPipelines.swift
[98/108] Compiling Noora String+Rainbow.swift
[99/108] Compiling Noora String+ValidatableError.swift
[100/108] Compiling Noora Noora.swift
[101/108] Compiling Noora ProgressStep.swift
[102/108] Compiling Noora SingleChoicePrompt.swift
[103/108] Compiling Noora TextPrompt.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
[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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[107/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:43:31: error: cannot find 'SpeechTranscriber' in scope
41 | }
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
| `- error: cannot find 'SpeechTranscriber' in scope
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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:44:46: error: cannot infer contextual base in reference to member 'bcp47'
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
| `- error: cannot infer contextual base in reference to member 'bcp47'
45 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
46 | throw Error.unsupportedLocale
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:45:119: error: cannot infer key path type from context; consider explicitly specifying a root type
43 | let supported = await SpeechTranscriber.supportedLocales
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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
46 | throw Error.unsupportedLocale
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:49:29: error: cannot find 'AssetInventory' in scope
47 | }
48 |
49 | for locale in await AssetInventory.allocatedLocales {
| `- error: cannot find 'AssetInventory' in scope
50 | await AssetInventory.deallocate(locale: locale)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:52:19: error: cannot find 'AssetInventory' in scope
50 | await AssetInventory.deallocate(locale: locale)
51 | }
52 | try await AssetInventory.allocate(locale: locale)
| `- error: cannot find 'AssetInventory' in scope
53 |
54 | let transcriber = SpeechTranscriber(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:27: error: cannot find 'SpeechTranscriber' in scope
52 | try await AssetInventory.allocate(locale: locale)
53 |
54 | let transcriber = SpeechTranscriber(
| `- error: cannot find 'SpeechTranscriber' in scope
55 | locale: locale,
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:56:46: error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
54 | let transcriber = SpeechTranscriber(
55 | locale: locale,
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
| `- error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
57 | reportingOptions: [],
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:58:68: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
57 | reportingOptions: [],
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:60:27: error: cannot find type 'SpeechModule' in scope
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
| `- error: cannot find type 'SpeechModule' in scope
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:61:35: error: cannot find 'SpeechTranscriber' in scope
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
61 | let installed = await Set(SpeechTranscriber.installedLocales)
| `- error: cannot find 'SpeechTranscriber' in scope
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:62:44: error: cannot infer contextual base in reference to member 'bcp47'
60 | let modules: [any SpeechModule] = [transcriber]
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
| `- error: cannot infer contextual base in reference to member 'bcp47'
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
64 | try await noora.progressBarStep(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:63:40: error: cannot find 'AssetInventory' in scope
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
| `- error: cannot find 'AssetInventory' in scope
64 | try await noora.progressBarStep(
65 | message: "Downloading required assets…"
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:82:24: error: cannot find 'SpeechAnalyzer' in scope
80 | }
81 |
82 | let analyzer = SpeechAnalyzer(modules: modules)
| `- error: cannot find 'SpeechAnalyzer' in scope
83 |
84 | let audioFile = try AVAudioFile(forReading: inputFile)
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:43:25: warning: no 'async' operations occur within 'await' expression
41 | }
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
| `- warning: no 'async' operations occur within 'await' expression
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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:23: warning: no 'async' operations occur within 'await' expression
47 | }
48 |
49 | for locale in await AssetInventory.allocatedLocales {
| `- warning: no 'async' operations occur within 'await' expression
50 | await AssetInventory.deallocate(locale: locale)
51 | }
[108/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: 40).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
[109/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
[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:43:31: error: cannot find 'SpeechTranscriber' in scope
41 | }
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
| `- error: cannot find 'SpeechTranscriber' in scope
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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:44:46: error: cannot infer contextual base in reference to member 'bcp47'
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
| `- error: cannot infer contextual base in reference to member 'bcp47'
45 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
46 | throw Error.unsupportedLocale
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:45:119: error: cannot infer key path type from context; consider explicitly specifying a root type
43 | let supported = await SpeechTranscriber.supportedLocales
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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
46 | throw Error.unsupportedLocale
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:49:29: error: cannot find 'AssetInventory' in scope
47 | }
48 |
49 | for locale in await AssetInventory.allocatedLocales {
| `- error: cannot find 'AssetInventory' in scope
50 | await AssetInventory.deallocate(locale: locale)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:52:19: error: cannot find 'AssetInventory' in scope
50 | await AssetInventory.deallocate(locale: locale)
51 | }
52 | try await AssetInventory.allocate(locale: locale)
| `- error: cannot find 'AssetInventory' in scope
53 |
54 | let transcriber = SpeechTranscriber(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:27: error: cannot find 'SpeechTranscriber' in scope
52 | try await AssetInventory.allocate(locale: locale)
53 |
54 | let transcriber = SpeechTranscriber(
| `- error: cannot find 'SpeechTranscriber' in scope
55 | locale: locale,
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:56:46: error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
54 | let transcriber = SpeechTranscriber(
55 | locale: locale,
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
| `- error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
57 | reportingOptions: [],
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:58:68: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
57 | reportingOptions: [],
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:60:27: error: cannot find type 'SpeechModule' in scope
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
| `- error: cannot find type 'SpeechModule' in scope
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:61:35: error: cannot find 'SpeechTranscriber' in scope
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
61 | let installed = await Set(SpeechTranscriber.installedLocales)
| `- error: cannot find 'SpeechTranscriber' in scope
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:62:44: error: cannot infer contextual base in reference to member 'bcp47'
60 | let modules: [any SpeechModule] = [transcriber]
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
| `- error: cannot infer contextual base in reference to member 'bcp47'
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
64 | try await noora.progressBarStep(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:63:40: error: cannot find 'AssetInventory' in scope
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
| `- error: cannot find 'AssetInventory' in scope
64 | try await noora.progressBarStep(
65 | message: "Downloading required assets…"
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:82:24: error: cannot find 'SpeechAnalyzer' in scope
80 | }
81 |
82 | let analyzer = SpeechAnalyzer(modules: modules)
| `- error: cannot find 'SpeechAnalyzer' in scope
83 |
84 | let audioFile = try AVAudioFile(forReading: inputFile)
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:43:25: warning: no 'async' operations occur within 'await' expression
41 | }
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
| `- warning: no 'async' operations occur within 'await' expression
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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:23: warning: no 'async' operations occur within 'await' expression
47 | }
48 |
49 | for locale in await AssetInventory.allocatedLocales {
| `- warning: no 'async' operations occur within 'await' expression
50 | await AssetInventory.deallocate(locale: locale)
51 | }
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] Emitting module ArgumentParserToolInfo
[4/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[5/26] Compiling Logging MetadataProvider.swift
[6/26] Emitting module Path
[7/26] Compiling Path Path.swift
[8/26] Compiling Rainbow StringGenerator.swift
[9/66] Compiling Rainbow String+Rainbow.swift
[10/66] Compiling Rainbow OutputTarget.swift
[11/66] Compiling Rainbow ModesExtractor.swift
[12/66] Compiling Rainbow ControlCode.swift
[13/66] Compiling Rainbow Rainbow.swift
[14/66] Compiling Logging Locks.swift
[15/66] Compiling Logging LogHandler.swift
[16/66] Compiling Logging Logging.swift
[17/66] Emitting module Logging
[18/67] Compiling Rainbow Color.swift
[19/67] Compiling ArgumentParser NameSpecification.swift
[20/67] Compiling ArgumentParser Option.swift
[21/67] Compiling Rainbow ColorApproximation.swift
[22/67] Emitting module Rainbow
[23/67] Compiling Rainbow Style.swift
[24/94] Emitting module ArgumentParser
[25/98] Compiling Noora LengthValidationRule.swift
[26/98] Compiling Noora NonEmptyValidationRule.swift
[27/100] Emitting module Noora
[28/100] Compiling Noora ValidatableRule.swift
[29/100] Compiling Noora ValidationError.swift
[30/100] Compiling Noora InputValidating.swift
[31/100] Compiling Noora String+Rainbow.swift
[32/100] Compiling Noora String+ValidatableError.swift
[33/100] Compiling Noora Noora.swift
[34/100] Compiling Noora YesOrNoChoicePrompt.swift
[35/100] Compiling Noora Stack.swift
[36/100] Compiling Noora Character+isPrintable.swift
[37/100] Compiling Noora Terminal.swift
[38/100] Compiling Noora TerminalText.swift
[39/100] Compiling Noora ValidatableError.swift
[40/100] Compiling Noora RegexValidationRule.swift
[41/100] Compiling Noora Validator.swift
[51/100] Compiling Noora StandardPipelines.swift
[52/100] Compiling Noora ProgressStep.swift
[53/100] Compiling Noora SingleChoicePrompt.swift
[54/100] Compiling Noora TextPrompt.swift
[56/100] Compiling Noora Alert.swift
[57/100] Compiling Noora CollapsibleStep.swift
[58/100] Compiling Noora ProgressBarStep.swift
[59/100] Compiling Noora NooraMock.swift
[60/100] Compiling Noora Theme.swift
[61/100] Compiling Noora KeyStrokeListener.swift
[62/100] Compiling Noora Renderer.swift
[63/100] Compiling Noora Spinner.swift
[64/100] Compiling ArgumentParser Platform.swift
[65/100] Compiling ArgumentParser SequenceExtensions.swift
[66/100] Compiling ArgumentParser StringExtensions.swift
[67/100] Compiling ArgumentParser Tree.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 HelpGenerator.swift
[83/100] Compiling ArgumentParser MessageInfo.swift
[84/100] Compiling ArgumentParser UsageGenerator.swift
[85/100] Compiling ArgumentParser CollectionExtensions.swift
[92/100] Compiling ArgumentParser EnumerableFlag.swift
[93/100] Compiling ArgumentParser ExpressibleByArgument.swift
[94/100] Compiling ArgumentParser ArgumentDefinition.swift
[95/100] Compiling ArgumentParser ArgumentSet.swift
[96/100] Compiling ArgumentParser CommandParser.swift
[97/100] Compiling ArgumentParser InputKey.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: 40).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:43:31: error: cannot find 'SpeechTranscriber' in scope
41 | }
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
| `- error: cannot find 'SpeechTranscriber' in scope
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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:44:46: error: cannot infer contextual base in reference to member 'bcp47'
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
| `- error: cannot infer contextual base in reference to member 'bcp47'
45 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
46 | throw Error.unsupportedLocale
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:45:119: error: cannot infer key path type from context; consider explicitly specifying a root type
43 | let supported = await SpeechTranscriber.supportedLocales
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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
46 | throw Error.unsupportedLocale
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:49:29: error: cannot find 'AssetInventory' in scope
47 | }
48 |
49 | for locale in await AssetInventory.allocatedLocales {
| `- error: cannot find 'AssetInventory' in scope
50 | await AssetInventory.deallocate(locale: locale)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:52:19: error: cannot find 'AssetInventory' in scope
50 | await AssetInventory.deallocate(locale: locale)
51 | }
52 | try await AssetInventory.allocate(locale: locale)
| `- error: cannot find 'AssetInventory' in scope
53 |
54 | let transcriber = SpeechTranscriber(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:27: error: cannot find 'SpeechTranscriber' in scope
52 | try await AssetInventory.allocate(locale: locale)
53 |
54 | let transcriber = SpeechTranscriber(
| `- error: cannot find 'SpeechTranscriber' in scope
55 | locale: locale,
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:56:46: error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
54 | let transcriber = SpeechTranscriber(
55 | locale: locale,
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
| `- error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
57 | reportingOptions: [],
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:58:68: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
57 | reportingOptions: [],
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:60:27: error: cannot find type 'SpeechModule' in scope
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
| `- error: cannot find type 'SpeechModule' in scope
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:61:35: error: cannot find 'SpeechTranscriber' in scope
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
61 | let installed = await Set(SpeechTranscriber.installedLocales)
| `- error: cannot find 'SpeechTranscriber' in scope
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:62:44: error: cannot infer contextual base in reference to member 'bcp47'
60 | let modules: [any SpeechModule] = [transcriber]
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
| `- error: cannot infer contextual base in reference to member 'bcp47'
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
64 | try await noora.progressBarStep(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:63:40: error: cannot find 'AssetInventory' in scope
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
| `- error: cannot find 'AssetInventory' in scope
64 | try await noora.progressBarStep(
65 | message: "Downloading required assets…"
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:82:24: error: cannot find 'SpeechAnalyzer' in scope
80 | }
81 |
82 | let analyzer = SpeechAnalyzer(modules: modules)
| `- error: cannot find 'SpeechAnalyzer' in scope
83 |
84 | let audioFile = try AVAudioFile(forReading: inputFile)
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:43:25: warning: no 'async' operations occur within 'await' expression
41 | }
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
| `- warning: no 'async' operations occur within 'await' expression
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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:23: warning: no 'async' operations occur within 'await' expression
47 | }
48 |
49 | for locale in await AssetInventory.allocatedLocales {
| `- warning: no 'async' operations occur within 'await' expression
50 | await AssetInventory.deallocate(locale: locale)
51 | }
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:43:31: error: cannot find 'SpeechTranscriber' in scope
41 | }
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
| `- error: cannot find 'SpeechTranscriber' in scope
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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:44:46: error: cannot infer contextual base in reference to member 'bcp47'
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
| `- error: cannot infer contextual base in reference to member 'bcp47'
45 | noora.error(.alert("Locale \"\(locale.identifier)\" is not supported. Supported locales:\n\(supported.map(\.identifier))"))
46 | throw Error.unsupportedLocale
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:45:119: error: cannot infer key path type from context; consider explicitly specifying a root type
43 | let supported = await SpeechTranscriber.supportedLocales
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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
46 | throw Error.unsupportedLocale
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:49:29: error: cannot find 'AssetInventory' in scope
47 | }
48 |
49 | for locale in await AssetInventory.allocatedLocales {
| `- error: cannot find 'AssetInventory' in scope
50 | await AssetInventory.deallocate(locale: locale)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:52:19: error: cannot find 'AssetInventory' in scope
50 | await AssetInventory.deallocate(locale: locale)
51 | }
52 | try await AssetInventory.allocate(locale: locale)
| `- error: cannot find 'AssetInventory' in scope
53 |
54 | let transcriber = SpeechTranscriber(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:54:27: error: cannot find 'SpeechTranscriber' in scope
52 | try await AssetInventory.allocate(locale: locale)
53 |
54 | let transcriber = SpeechTranscriber(
| `- error: cannot find 'SpeechTranscriber' in scope
55 | locale: locale,
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:56:46: error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
54 | let transcriber = SpeechTranscriber(
55 | locale: locale,
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
| `- error: reference to member 'etiquetteReplacements' cannot be resolved without a contextual type
57 | reportingOptions: [],
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:58:68: error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
56 | transcriptionOptions: censor ? [.etiquetteReplacements] : [],
57 | reportingOptions: [],
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
| `- error: reference to member 'audioTimeRange' cannot be resolved without a contextual type
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:60:27: error: cannot find type 'SpeechModule' in scope
58 | attributeOptions: outputFormat.needsAudioTimeRange ? [.audioTimeRange] : []
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
| `- error: cannot find type 'SpeechModule' in scope
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:61:35: error: cannot find 'SpeechTranscriber' in scope
59 | )
60 | let modules: [any SpeechModule] = [transcriber]
61 | let installed = await Set(SpeechTranscriber.installedLocales)
| `- error: cannot find 'SpeechTranscriber' in scope
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:62:44: error: cannot infer contextual base in reference to member 'bcp47'
60 | let modules: [any SpeechModule] = [transcriber]
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
| `- error: cannot infer contextual base in reference to member 'bcp47'
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
64 | try await noora.progressBarStep(
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:63:40: error: cannot find 'AssetInventory' in scope
61 | let installed = await Set(SpeechTranscriber.installedLocales)
62 | if !installed.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) {
63 | if let request = try await AssetInventory.assetInstallationRequest(supporting: modules) {
| `- error: cannot find 'AssetInventory' in scope
64 | try await noora.progressBarStep(
65 | message: "Downloading required assets…"
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:82:24: error: cannot find 'SpeechAnalyzer' in scope
80 | }
81 |
82 | let analyzer = SpeechAnalyzer(modules: modules)
| `- error: cannot find 'SpeechAnalyzer' in scope
83 |
84 | let audioFile = try AVAudioFile(forReading: inputFile)
/Users/admin/builder/spi-builder-workspace/Sources/yap/Transcribe.swift:43:25: warning: no 'async' operations occur within 'await' expression
41 | }
42 |
43 | let supported = await SpeechTranscriber.supportedLocales
| `- warning: no 'async' operations occur within 'await' expression
44 | guard supported.map({ $0.identifier(.bcp47) }).contains(locale.identifier(.bcp47)) else {
45 | 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:23: warning: no 'async' operations occur within 'await' expression
47 | }
48 |
49 | for locale in await AssetInventory.allocatedLocales {
| `- warning: no 'async' operations occur within 'await' expression
50 | await AssetInventory.deallocate(locale: locale)
51 | }
[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