Build Information
Successful build of Version-Control, reference 1.0.4 (95f4f3
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 20:25:26 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[131/191] Compiling Version_Control Revert.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[132/191] Compiling Version_Control Squash.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[133/191] Compiling Version_Control Stage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[134/191] Compiling Version_Control Stash.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[135/191] Compiling Version_Control Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[136/191] Compiling Version_Control Submodule.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Pull.swift:136:16: warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
134 | name: #function)
135 |
136 | if let gitErrorDescription = result.gitErrorDescription {
| `- warning: value 'gitErrorDescription' was defined but never used; consider replacing with boolean test [#no-usage]
137 | throw GitErrorParser(result: result,
138 | args: args)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Reflog.swift:66:26: warning: no 'async' operations occur within 'await' expression
64 | ]
65 |
66 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
67 | args: args,
68 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:257:26: warning: no 'async' operations occur within 'await' expression
255 | public func getRemoteURL(directoryURL: URL, name: String) async throws -> String? {
256 |
257 | let result = try await GitShell().git(args: ["remote",
| `- warning: no 'async' operations occur within 'await' expression
258 | "get-url",
259 | name],
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Remote.swift:396:26: warning: no 'async' operations occur within 'await' expression
394 | branch: String
395 | ) async throws -> (commitHash: String, ref: String) {
396 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
397 | args: [
398 | "ls-remote",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Rev-List.swift:390:13: warning: variable 'lines' was never mutated; consider changing to 'let' constant
388 | }
389 |
390 | var lines = result.stdout.components(separatedBy: .newlines)
| `- warning: variable 'lines' was never mutated; consider changing to 'let' constant
391 |
392 | guard let commitSummaryRe = try? NSRegularExpression(
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:15:25: warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
13 | case notLoaded
14 | case loading
15 | case loaded(files: [GitFileItem])
| `- warning: 'GitFileItem' is deprecated in macOS: Use `FileChange` instead [#DeprecatedDeclaration]
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:133:13: warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
131 | public func getLastAEStashEntryForBranch(directoryURL: URL,
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
| `- warning: initialization of immutable value 'stash' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
134 | let branchName = branch
135 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:134:13: warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
132 | branch: String) throws {
133 | let stash = try getStashes(directoryURL: directoryURL)
134 | let branchName = branch
| `- warning: initialization of immutable value 'branchName' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Stash.swift:146:13: warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
144 | branch: Any,
145 | untrackedFilesToStage: [WorkingDirectoryFileChange]) throws -> Bool {
146 | let fullySelectedUntrackedFiles = untrackedFilesToStage.map { $0.withIncludeAll(include: true) }
| `- warning: initialization of immutable value 'fullySelectedUntrackedFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
147 |
148 | try UpdateIndex().stageFiles(directoryURL: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:234:23: warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
232 | return files
233 | }
234 | } else if let status = status as? UntrackedEntry {
| `- warning: value 'status' was defined but never used; consider replacing with boolean test [#no-usage]
235 | files.removeValue(forKey: entry.path)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Status.swift:429:20: warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
427 | }
428 |
429 | if let rebaseState = rebaseInternalState {
| `- warning: value 'rebaseState' was defined but never used; consider replacing with boolean test [#no-usage]
430 | return try getRebaseConflictDetails(directoryURL: directoryURL)
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Submodule.swift:76:17: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
74 | let describeRange = match.range(at: 4)
75 |
76 | let status = stdout.substring(statusRange.lowerBound)
| `- warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
77 | let sha = stdout.substring(shaRange.lowerBound)
78 | let path = stdout.substring(pathRange.lowerBound)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[137/191] Compiling Version_Control AuroraNetworkingConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[138/191] Compiling Version_Control AuroraNetworkingDebug.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[139/191] Compiling Version_Control HTTPErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[140/191] Compiling Version_Control HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[141/191] Compiling Version_Control BranchUtil.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[142/191] Compiling Version_Control CommandError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[143/191] Compiling Version_Control Date.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[144/191] Compiling Version_Control FileManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[145/191] Compiling Version_Control String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[146/191] Compiling Version_Control FileUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[147/191] Compiling Version_Control DefaultBranch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[148/191] Compiling Version_Control GitAuthor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[149/191] Compiling Version_Control MediaDiff.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[150/191] Compiling Version_Control Regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[151/191] Compiling Version_Control RemoveRemotePrefix.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[152/191] Compiling Version_Control LiveShellClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[153/191] Compiling Version_Control ShellClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[154/191] Compiling Version_Control Version_Control.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Utils/Extensions/String.swift:53:21: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
51 | String(text[Range($0.range, in: text)!])
52 | }
53 | } catch let error {
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
54 | return []
55 | }
[155/191] Compiling Version_Control GitHubActions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[156/191] Compiling Version_Control Add.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[157/191] Compiling Version_Control Apply.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[158/191] Compiling Version_Control Branch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[159/191] Compiling Version_Control Check.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[160/191] Compiling Version_Control Checkout-Index.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[161/191] Compiling Version_Control Checkout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[162/191] Compiling Version_Control Cherry-Pick.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[163/191] Compiling Version_Control Clone.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[164/191] Compiling Version_Control Commit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[165/191] Compiling Version_Control Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[166/191] Compiling Version_Control Description.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[167/191] Compiling Version_Control Diff-Check.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[168/191] Compiling Version_Control Diff-Index.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[169/191] Compiling Version_Control Diff.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[170/191] Compiling Version_Control Format-Patch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[171/191] Compiling Version_Control GitIgnore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[172/191] Compiling Version_Control GitLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[173/191] Compiling Version_Control Init.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Actions/GitHub/GitHubActions.swift:72:31: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
70 | case .success(let name):
71 | branchName = name
72 | case .failure(let error):
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
73 | branchName = ""
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:27:26: warning: no 'async' operations occur within 'await' expression
25 | ]
26 |
27 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
28 | args: args,
29 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:63:26: warning: no 'async' operations occur within 'await' expression
61 |
62 | // Execute the git command using the GitShell utility
63 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
64 | args: gitCommand,
65 | path: directoryURL,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Branch.swift:190:19: warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
188 |
189 | func getCommitsOnBranch() {
190 | guard let noCommitsOnBranchRe = try? NSRegularExpression(
| `- warning: value 'noCommitsOnBranchRe' was defined but never used; consider replacing with boolean test [#no-usage]
191 | pattern: "fatal: your current branch '.*' does not have any commits yet"
192 | ) else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:22:16: warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
20 | var args: [String] = []
21 |
22 | if let callback = progressCallback {
| `- warning: value 'callback' was defined but never used; consider replacing with boolean test [#no-usage]
23 | args += ["checkout", "--progress"]
24 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:57:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
55 | initialDescription: String?
56 | ) throws -> IGitExecutionOptions {
57 | var options: IGitExecutionOptions = IGitExecutionOptions()
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
58 |
59 | guard let progressCallback = progressCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Checkout.swift:122:13: warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
120 | progressCallback: ProgressCallback?
121 | ) throws -> Bool {
122 | let opts = try getCheckoutOpts(
| `- warning: initialization of immutable value 'opts' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
123 | directoryURL: directoryURL,
124 | title: "Checking out branch \(branch.name)",
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Cherry-Pick.swift:250:13: warning: variable 'options' was never mutated; consider changing to 'let' constant
248 |
249 | // Configure git execution options
250 | var options = IGitExecutionOptions(env: ["GIT_EDITOR": ":"],
| `- warning: variable 'options' was never mutated; consider changing to 'let' constant
251 | expectedErrors: [.MergeConflicts,
252 | .ConflictModifyDeletedInBranch,
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Clone.swift:52:16: warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
50 | var gitOptions: IGitExecutionOptions = IGitExecutionOptions()
51 |
52 | if let progress = progressCallback {
| `- warning: value 'progress' was defined but never used; consider replacing with boolean test [#no-usage]
53 | args.append("--progress")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Commit.swift:89:13: warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
87 |
88 | // Stage other files
89 | let otherFiles = files.filter { !manualResolutions.keys.contains($0.path) }
| `- warning: initialization of immutable value 'otherFiles' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
90 | // Assuming `stageFiles` is implemented
91 | try UpdateIndex().stageFiles(directoryURL: directoryURL, files: files)
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/Config.swift:194:13: warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
192 | type: Any?) throws -> String? {
193 |
194 | var gitCommand: String
| `- warning: variable 'gitCommand' was never used; consider replacing with '_' or removing it [#no-usage]
195 |
196 | var flags = ["config", "-z"]
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Base/Commands/GitLog.swift:420:26: warning: no 'async' operations occur within 'await' expression
418 | sha: String
419 | ) async throws -> [String] {
420 | let result = try await GitShell().git(
| `- warning: no 'async' operations occur within 'await' expression
421 | args: [
422 | "diff",
[174/191] Compiling Version_Control APIPullRequestReviewState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[175/191] Compiling Version_Control APIRepoRuleMetadataOperator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[176/191] Compiling Version_Control APIRepoRuleType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[177/191] Compiling Version_Control APICheckConclusion.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[178/191] Compiling Version_Control APICheckStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[179/191] Compiling Version_Control APIRefState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[180/191] Compiling Version_Control GitlabAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[181/191] Compiling Version_Control Gravatar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[182/191] Compiling Version_Control Job.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[183/191] Compiling Version_Control JobSteps.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[184/191] Compiling Version_Control Jobs.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[185/191] Compiling Version_Control Workflow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[186/191] Compiling Version_Control WorkflowRun.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[187/191] Compiling Version_Control WorkflowRuns.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[188/191] Compiling Version_Control Workflows.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[189/191] Compiling Version_Control 2FA.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[190/191] Compiling Version_Control GitHubEmail.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
[191/191] Compiling Version_Control AuroraNetworking.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version-Control/Services/Networking/AuroraNetworking.swift:89:49: warning: variable 'self' was written to, but never read
87 |
88 | // Start our data task
89 | session.dataTask(with: request) { [weak self] (sitedata, response, taskError) in
| `- warning: variable 'self' was written to, but never read
90 | guard let sitedata = sitedata else {
91 | completionHandler(.failure(taskError ?? NetworkingError.customError(message: "Unknown error occurred")))
Build complete! (8.61s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Version-Control",
"name" : "Version-Control",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Version-Control",
"targets" : [
"Version-Control"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Version_Control_Test",
"module_type" : "SwiftTarget",
"name" : "Version-Control-Test",
"path" : "Tests/Version-Control-Test",
"sources" : [
"Services/Auth/GitHub/GitHubEmailTest.swift"
],
"target_dependencies" : [
"Version-Control"
],
"type" : "test"
},
{
"c99name" : "Version_Control",
"module_type" : "SwiftTarget",
"name" : "Version-Control",
"path" : "Sources/Version-Control",
"product_memberships" : [
"Version-Control"
],
"sources" : [
"Base/Actions/GitHub/GitHubActions.swift",
"Base/Commands/Add.swift",
"Base/Commands/Apply.swift",
"Base/Commands/Branch.swift",
"Base/Commands/Check.swift",
"Base/Commands/Checkout-Index.swift",
"Base/Commands/Checkout.swift",
"Base/Commands/Cherry-Pick.swift",
"Base/Commands/Clone.swift",
"Base/Commands/Commit.swift",
"Base/Commands/Config.swift",
"Base/Commands/Description.swift",
"Base/Commands/Diff-Check.swift",
"Base/Commands/Diff-Index.swift",
"Base/Commands/Diff.swift",
"Base/Commands/Format-Patch.swift",
"Base/Commands/GitIgnore.swift",
"Base/Commands/GitLog.swift",
"Base/Commands/Init.swift",
"Base/Commands/Interpret-Trailers.swift",
"Base/Commands/LFS.swift",
"Base/Commands/Merge.swift",
"Base/Commands/Pull.swift",
"Base/Commands/Push.swift",
"Base/Commands/RM.swift",
"Base/Commands/Rebase.swift",
"Base/Commands/Reflog.swift",
"Base/Commands/Refs.swift",
"Base/Commands/Remote.swift",
"Base/Commands/Reset.swift",
"Base/Commands/Rev-List.swift",
"Base/Commands/Rev-Parse.swift",
"Base/Commands/Revert.swift",
"Base/Commands/Squash.swift",
"Base/Commands/Stage.swift",
"Base/Commands/Stash.swift",
"Base/Commands/Status.swift",
"Base/Commands/Submodule.swift",
"Base/Commands/Tag.swift",
"Base/Commands/Update-Index.swift",
"Base/Commands/Update-Ref.swift",
"Base/Core/Blob/Blob.swift",
"Base/Core/Core.swift",
"Base/Core/GitProcess.swift",
"Base/Core/GitShell.swift",
"Base/Core/IExecutionOptions.swift",
"Base/Core/IGitExecutionOptions.swift",
"Base/Core/IGitResult.swift",
"Base/Core/IResult.swift",
"Base/Core/Parsers/DiffParser.swift",
"Base/Core/Parsers/GitCherryPickParser.swift",
"Base/Core/Parsers/GitDelimiterParser.swift",
"Base/Core/Parsers/GitErrorParser.swift",
"Base/Core/Parsers/GitRebaseParser.swift",
"Base/Core/Parsers/GitStatusParser.swift",
"Base/Core/Parsers/PatchFormatterParser.swift",
"Base/Core/ProcessError.swift",
"Base/Core/Progress/From-Process.swift",
"Base/Core/Progress/GitProgress.swift",
"Base/Core/Progress/LFSProgress.swift",
"Base/Models/CloneOptions.swift",
"Base/Models/Commands/Diff/Diff Component Types /DiffImage.swift",
"Base/Models/Commands/Diff/Diff Types/IBinaryDiff.swift",
"Base/Models/Commands/Diff/Diff Types/IImageDiff.swift",
"Base/Models/Commands/Diff/Diff Types/ILargeTextDiff.swift",
"Base/Models/Commands/Diff/Diff Types/ISubmoduleDiff.swift",
"Base/Models/Commands/Diff/Diff Types/ITextDiff.swift",
"Base/Models/Commands/Diff/Diff Types/IUnrenderableDiff.swift",
"Base/Models/Commands/Diff/DiffType.swift",
"Base/Models/Commands/Diff/IDiff.swift",
"Base/Models/Commands/Diff/IDiffTypes.swift",
"Base/Models/Commands/Diff/ITextDiffData.swift",
"Base/Models/Commands/Log/IChangesetData.swift",
"Base/Models/Commands/Rebase/ComputedAction.swift",
"Base/Models/Commands/Rebase/GitRebaseSnapshot.swift",
"Base/Models/Commands/Rebase/RebaseInternalState.swift",
"Base/Models/Commands/Rebase/RebaseProgressOptions.swift",
"Base/Models/Commands/Rebase/RebaseResult.swift",
"Base/Models/Commands/Status/ConflictFilesDetails.swift",
"Base/Models/Commands/Status/IStatusEntry.swift",
"Base/Models/Commands/Status/IStatusHeader.swift",
"Base/Models/Commands/Status/StatusHeadersData.swift",
"Base/Models/Commands/Status/StatusResult.swift",
"Base/Models/Commands/Status/WorkingDirectoryStatus.swift",
"Base/Models/CommitHistory.swift",
"Base/Models/CommitIdentity.swift",
"Base/Models/Diff/Diff-Data.swift",
"Base/Models/Diff/Diff-Line.swift",
"Base/Models/Diff/Diff-Selection.swift",
"Base/Models/Diff/Helper/Diff-Helper.swift",
"Base/Models/Diff/Raw-Diff.swift",
"Base/Models/Files/AppFileStatus.swift",
"Base/Models/Files/CommittedFileChange.swift",
"Base/Models/Files/FileChange.swift",
"Base/Models/Files/WorkingDirectoryFileChange.swift",
"Base/Models/GitBranch.swift",
"Base/Models/GitCommit.swift",
"Base/Models/GitFileItem.swift",
"Base/Models/GitType.swift",
"Base/Models/IGitAccount.swift",
"Base/Models/IProgress.swift",
"Base/Models/IRemote.swift",
"Base/Models/ManualConflictResolution.swift",
"Base/Models/Stash-Entry.swift",
"Errors/GitError.swift",
"Errors/IndexError.swift",
"Errors/NetworkingError.swift",
"Errors/ShellErrors.swift",
"Services/API/BitBucket/BitBucketAPI.swift",
"Services/API/BitBucket/Interfaces/Repo/IBitBucketAPIPullRequest.swift",
"Services/API/BitBucket/Interfaces/Repo/IBitbucketComment.swift",
"Services/API/BitBucket/Interfaces/Repo/IBitbucketRendered.swift",
"Services/API/GitHub/AuthorizationResponse.swift",
"Services/API/GitHub/AuthorizationResponseKind.swift",
"Services/API/GitHub/GitHubAPI.swift",
"Services/API/GitHub/GithubNetworkingConstants.swift",
"Services/API/GitHub/Interfaces/Account/IAPIEmail.swift",
"Services/API/GitHub/Interfaces/Account/IAPIFullIdentity.swift",
"Services/API/GitHub/Interfaces/Account/IAPIIdentity.swift",
"Services/API/GitHub/Interfaces/Account/IAPIOrganization.swift",
"Services/API/GitHub/Interfaces/Repo/Branch/IAPIBranch.swift",
"Services/API/GitHub/Interfaces/Repo/IAPIFullRepository.swift",
"Services/API/GitHub/Interfaces/Repo/IAPIMentionableResponse.swift",
"Services/API/GitHub/Interfaces/Repo/IAPIRepository.swift",
"Services/API/GitHub/Interfaces/Repo/IAPIRepositoryCloneInfo.swift",
"Services/API/GitHub/Interfaces/Repo/IAPIRepositoryPermissions.swift",
"Services/API/GitHub/Interfaces/Repo/Issues/IAPIIssue.swift",
"Services/API/GitHub/Interfaces/Repo/Pull Request/IAPIComment.swift",
"Services/API/GitHub/Interfaces/Repo/Pull Request/IAPIPullRequest.swift",
"Services/API/GitHub/Interfaces/Repo/Pull Request/IAPIPullRequestRef.swift",
"Services/API/GitHub/Interfaces/Repo/Pull Request/IAPIPullRequestReview.swift",
"Services/API/GitHub/Interfaces/Repo/Push/IAPIPushControl.swift",
"Services/API/GitHub/Interfaces/Repo/Ruleset/IAPIRepoRule.swift",
"Services/API/GitHub/Interfaces/Repo/Ruleset/IAPIRepoRuleMetadataParameters.swift",
"Services/API/GitHub/Interfaces/Repo/Ruleset/IAPIRepoRuleset.swift",
"Services/API/GitHub/Interfaces/Repo/Ruleset/IAPISlimRepoRuleset.swift",
"Services/API/GitHub/Interfaces/Repo/Ruleset/IRawAPIRepoRule.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPICheckSuite.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefCheckRun.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefCheckRunApp.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefCheckRunCheckSuite.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefCheckRunOutput.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefCheckRuns.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefStatus.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIRefStatusItem.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIWorkflowJob.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIWorkflowJobStep.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIWorkflowJobs.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIWorkflowRun.swift",
"Services/API/GitHub/Interfaces/Repo/Workflow/IAPIWorkflowRuns.swift",
"Services/API/GitHub/Model/Account/GithubAccount.swift",
"Services/API/GitHub/Model/Repo/Issues/APIIssueState.swift",
"Services/API/GitHub/Model/Repo/Pull Request/APIPullRequestReviewState.swift",
"Services/API/GitHub/Model/Repo/Ruleset/APIRepoRuleMetadataOperator.swift",
"Services/API/GitHub/Model/Repo/Ruleset/APIRepoRuleType.swift",
"Services/API/GitHub/Model/Repo/Workflow/APICheckConclusion.swift",
"Services/API/GitHub/Model/Repo/Workflow/APICheckStatus.swift",
"Services/API/GitHub/Model/Repo/Workflow/APIRefState.swift",
"Services/API/Gitlab/GitlabAPI.swift",
"Services/API/Global/Gravatar.swift",
"Services/Models/Github/Actions/Jobs/Job.swift",
"Services/Models/Github/Actions/Jobs/JobSteps.swift",
"Services/Models/Github/Actions/Jobs/Jobs.swift",
"Services/Models/Github/Actions/Workflow/Workflow.swift",
"Services/Models/Github/Actions/Workflow/WorkflowRun.swift",
"Services/Models/Github/Actions/Workflow/WorkflowRuns.swift",
"Services/Models/Github/Actions/Workflow/Workflows.swift",
"Services/Models/Github/Auth/2FA.swift",
"Services/Models/Github/Auth/GitHubEmail.swift",
"Services/Networking/AuroraNetworking.swift",
"Services/Networking/AuroraNetworkingConstants.swift",
"Services/Networking/AuroraNetworkingDebug.swift",
"Services/Networking/HTTPErrors.swift",
"Services/Networking/HTTPMethod.swift",
"Utils/BranchUtil.swift",
"Utils/CommandError.swift",
"Utils/Extensions/Date.swift",
"Utils/Extensions/FileManager.swift",
"Utils/Extensions/String.swift",
"Utils/FileUtils.swift",
"Utils/Helpers/DefaultBranch.swift",
"Utils/Helpers/GitAuthor.swift",
"Utils/Helpers/MediaDiff.swift",
"Utils/Helpers/Regex.swift",
"Utils/Helpers/RemoveRemotePrefix.swift",
"Utils/LiveShellClient.swift",
"Utils/ShellClient.swift",
"Version_Control.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.